repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
jupeter/zf1 | library/Zend/Config/Writer.php | 2431 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | bsd-3-clause |
darkrsw/safe | tests/browser_extensions/js1_7/extensions/XXXregress-392308.js | 2774 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | bsd-3-clause |
js0701/chromium-crosswalk | third_party/WebKit/Source/platform/LifecycleNotifier.h | 4783 | /*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
* Copyright (C) 2013 Google Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the ... | bsd-3-clause |
nwjs/chromium.src | third_party/google-closure-library/closure/goog/dom/savedcaretrange_test.js | 7324 | /**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
goog.module('goog.dom.SavedCaretRangeTest');
goog.setTestOnly();
const Range = goog.require('goog.dom.Range');
const SavedCaretRange = goog.require('goog.dom.SavedCaretRange');
const dom = goog.require('goog.dom');
co... | bsd-3-clause |
olegkaliuga/yii | vendor/paypal/work/merchant-sdk-php/samples/MassPay/MassPay.html.php | 3396 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>PayPal Merchant SDK - MassPay</title>
<link rel="stylesheet" href="../Common/sdk.css"/>
<script type="text/javascript" s... | bsd-3-clause |
youtube/cobalt | third_party/chromium/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java | 11938 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.media;
import android.content.Context;
import android.graphics.ImageFormat;
import android.hardware.display.DisplayManager;
import a... | bsd-3-clause |
scheib/chromium | tools/perf/page_sets/maps_perf_test/config.js | 289 | // This file was generated by the _js_query_arg_file Skylark rule defined in
// maps/vectortown/performance/script/build_defs.bzl.
var testConfig = "overridePixelRatio=1&title=chrome_smoothness_performancetest_config&nobudget=false&nodraw=false&noprefetch=true&viewport=basic&wait=true";
| bsd-3-clause |
hujiajie/chromium-crosswalk | ui/app_list/search/history.cc | 1669 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/app_list/search/history.h"
#include <stddef.h>
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#incl... | bsd-3-clause |
strahanjen/strahanjen.github.io | elasticsearch-master/core/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverRequest.java | 9336 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | bsd-3-clause |
BlueHotDog/sails-migrations | test/fixtures/sample_apps/0.9.8/node_modules/sails/test/config/integration/load.test.js | 3853 | var assert = require('assert');
var appHelper = require('./helpers/appHelper');
var path = require('path');
var fs = require('fs');
describe('Configs', function() {
this.timeout(30000);
var appName = 'testApp';
var config;
var sailsserver;
var up = false;
describe('in production env', function () {
before(f... | mit |
grokcore/dev.lexycross | wordsmithed/src/gevent-socketio/tests/jstests/tests/suite.js | 1679 | testTransport = function(transports)
{
var prefix = "socketio - " + transports + ": ";
connect = function(transports)
{
// Force transport
io.transports = transports;
deepEqual(io.transports, transports, "Force transports");
var options = { 'force new connection': true }
return io.connect(... | mit |
motherjones/congress-vote-tracker | syria/dev/mojo_site/mobile_files/theme.css | 26889 | /*
* Theme: Narcissus
*/
/* Global Reset */
#dsq-content ul,
#dsq-content li,
#dsq-content ol,
#dsq-content cite,
#dsq-content div,
#dsq-content table,
#dsq-content td,
#dsq-content th,
#dsq-content p,
#dsq-content a,
#dsq-content img,
#dsq-content caption {
border: 0;
padding: 0;
margin: 0;
float: n... | mit |
shahabhijeet/azure-sdk-for-net | src/AzureStack/Admin/ComputeAdmin/Compute.Admin.Tests/src/QuotaTests.cs | 11692 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
using Microsoft.AzureStack.Management.Compute.Admin;
using Microsoft.AzureStack.Management.Compute.Admin.Models;
using System.Linq;
using System.Net;
using... | mit |
owen-kellie-smith/mediawiki | wiki/extensions/SemanticMediaWiki/tests/phpunit/includes/DataValues/ImportValueTest.php | 805 | <?php
namespace SMW\Tests\DataValues;
use SMW\DataValues\ImportValue;
/**
* @covers \SMW\DataValues\ImportValue
*
* @group semantic-mediawiki
*
* @license GNU GPL v2+
* @since 2.2
*
* @author mwjames
*/
class ImportValueTest extends \PHPUnit_Framework_TestCase {
public function testCanConstruct() {
$th... | mit |
ndykman/CodeContracts | Microsoft.Research/Contracts/MsCorlib/Sources/System.Security.Policy.Hash.cs | 3951 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... | mit |
ndykman/CodeContracts | Microsoft.Research/Contracts/System/Sources/System.ComponentModel.SingleConverter.cs | 2183 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... | mit |
casivaagustin/drupalcon-mentoring | src/core/modules/field/src/Entity/FieldConfig.php | 11622 | <?php
/**
* @file
* Contains \Drupal\field\Entity\FieldConfig.
*/
namespace Drupal\field\Entity;
use Drupal\Component\Utility\SafeMarkup;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Field\FieldConfigBase;
use Drupal\Core\Field\FieldException;
use Drupal\field\FieldStorageConfigInterface;
use Dr... | mit |
1yvT0s/illacceptanything | data/france.code-civil/Livre Ier/Titre IV/Article 132.md | 115 | Article 132
----
Le mariage de l'absent reste dissous, même si le jugement déclaratif d'absence a
été annulé.
| mit |
jmwenda/feedbunch | vendor/assets/bower_components/bootlint/test/fixtures/grid/spacer-col/last-child.html | 1087 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Test</title>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.co... | mit |
benishouga/DefinitelyTyped | types/angular-file-upload/index.d.ts | 8307 | // Type definitions for angular-file-upload 2.5
// Project: https://github.com/nervgh/angular-file-upload
// Definitions by: Cyril Gandon <https://github.com/cyrilgandon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
import * as angular from 'angular';
export interface ... | mit |
loic425/Sylius | src/Sylius/Component/Product/Resolver/AvailableProductOptionValuesResolver.php | 1552 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Product\Resolver;
use Doctrine\Common\Collection... | mit |
cez81/gitea | vendor/github.com/go-git/go-billy/v5/helper/polyfill/polyfill.go | 2297 | package polyfill
import (
"os"
"path/filepath"
"github.com/go-git/go-billy/v5"
)
// Polyfill is a helper that implements all missing method from billy.Filesystem.
type Polyfill struct {
billy.Basic
c capabilities
}
type capabilities struct{ tempfile, dir, symlink, chroot bool }
// New creates a new filesystem... | mit |
hedgehogsbattle/First | README.md | 12 | First
=====
| mit |
lrosskamp/makealist-public | vendor/cache/ruby/2.3.0/gems/devise-4.3.0/test/support/webrat/integrations/rails.rb | 717 | require 'webrat/core/elements/form'
require 'action_dispatch/testing/integration'
module Webrat
Form.class_eval do
def self.parse_rails_request_params(params)
Rack::Utils.parse_nested_query(params)
end
end
module Logging
# Avoid RAILS_DEFAULT_LOGGER deprecation warning
def logger # :nodoc:... | mit |
alphonsekurian/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/Internal/NamespaceCache.cs | 21688 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Runtime... | mit |
ericleigh007/azure-stream-analytics | Samples/SensorDataAnalytics/SourceCode/Archived/PowerBIRestDemo-master/PowerBIRestDemo/Results/ChallengeResult.cs | 964 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace PowerBIRestDemo.Results
{
public class ChallengeResult : IHttpActionResult
{
public ChallengeResult(string ... | mit |
vishin-pavel/quick-app | www/protected/extensions/YiiMongoDbSuite/examples/MongoImage.php | 1364 | <?php
/**
* EMongoGridFS.php
*
* PHP version 5.2+
*
* @author Jose Martinez <jmartinez@ibitux.com>
* @author Philippe Gaultier <pgaultier@ibitux.com>
* @copyright 2010 Ibitux
* @license http://www.yiiframework.com/license/ BSD license
* @version SVN: $Revision: $
* @category ext
* @package ext.YiiMongoD... | mit |
shyamalschandra/Mocha.jl | src/cuda/cudnn.jl | 21485 | export CuDNN
module CuDNN
using ..CUDA
# cudnnStatus_t
const CUDNN_STATUS_SUCCESS = 0
const CUDNN_STATUS_NOT_INITIALIZED = 1
const CUDNN_STATUS_ALLOC_FAILED = 2
const CUDNN_STATUS_BAD_PARAM = 3
const CUDNN_STATUS_INTERNAL_ERROR = 4
const CUDNN_STATUS_INVALID_VALUE = 5
const CUDNN_STAT... | mit |
xvadur01/BPIS | vendor/nette/reflection/src/Reflection/Property.php | 2431 | <?php
/**
* This file is part of the Nette Framework (http://nette.org)
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
*/
namespace Nette\Reflection;
use Nette,
Nette\Utils\ObjectMixin;
/**
* Reports information about a classes variable.
*
* @author David Grudl
* @property-read ClassType $dec... | mit |
StrellaGroup/frappe | frappe/docs/user/zh/guides/app-development/insert-a-document-via-api.md | 1320 | # Insert A Document Via Api
You can insert documents via a script using the `frappe.get_doc` method
### Examples:
#### 1. Insert a ToDo
todo = frappe.get_doc({"doctype":"ToDo", "description": "test"})
todo.insert()
---
#### 2. Insert without the user's permissions being checked:
todo = frappe.get_doc... | mit |
extend1994/cdnjs | ajax/libs/jQuery.mmenu/8.2.3/addons/navbars/_navbar.next.js | 1073 | import Mmenu from '../../core/oncanvas/mmenu.oncanvas';
import * as DOM from '../../core/_dom';
// DEPRECATED
// Will be removed in version 8.2
export default function (navbar) {
// Add content
var next = DOM.create('a.mm-btn.mm-btn_next.mm-navbar__btn');
navbar.append(next);
// Update to opened panel
... | mit |
paolodenti/openhab | bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/CalDavLoaderImpl.java | 23171 | /**
* Copyright (c) 2010-2016, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | epl-1.0 |
mpranivong/golf-phpnuke | wp/wp-content/plugins/wordcents/src/io/apiCurlIO.php | 9202 | <?php
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | gpl-2.0 |
apopple/linux | drivers/net/virtio_net.c | 86010 | // SPDX-License-Identifier: GPL-2.0-or-later
/* A network driver using virtio.
*
* Copyright 2007 Rusty Russell <rusty@rustcorp.com.au> IBM Corporation
*/
//#define DEBUG
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/module.h>
#include <linux/virtio.h>
#includ... | gpl-2.0 |
reuk/waveguide | wayverb/JuceLibraryCode/modules/juce_graphics/contexts/juce_GraphicsContext.h | 35638 | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details... | gpl-2.0 |
GargoyleSoftware/voip-client-ios | submodules/linphone/mediastreamer2/src/msqueue.c | 2949 | /*
mediastreamer2 library - modular sound and video processing and streaming
Copyright (C) 2006 Simon MORLAT (simon.morlat@linphone.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either versio... | gpl-2.0 |
chancegrissom/qmk_firmware | keyboards/handwired/dactyl_manuform/5x6/keymaps/default/keymap.c | 3031 | /* A standard layout for the Dactyl Manuform 5x6 Keyboard */
#include QMK_KEYBOARD_H
extern keymap_config_t keymap_config;
#define _QWERTY 0
#define _LOWER 1
#define _RAISE 2
#define RAISE MO(_RAISE)
#define LOWER MO(_LOWER)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_5x6(... | gpl-2.0 |
kenorb/mangalashribhuti | tmp/omega-tools/jalu-d672bf72/css/footer.css | 473 | /* ----------- styles for Footer Zone ---------------------- */
.footer-outer-wrapper { /* mauve bg */
padding-top: 20px;
padding-bottom: 20px;
}
#zone-footer {
font: 11px verdana, arial, sans-serif;
color: #fff;
}
#zone-footer a:link { color: #fff; text-decoration:none; }
#zone-footer a:visited { color: #fff; ... | gpl-2.0 |
dwihn0r/keepassx | src/dialogs/TrashCanDlg.cpp | 3752 | /***************************************************************************
* Copyright (C) 2007 by Tarek Saidi *
* tarek.saidi@arcor.de *
* *
* This pr... | gpl-2.0 |
zhuowei/dolphin | Source/Core/Core/HW/Sram.cpp | 1852 | // Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "Core/ConfigManager.h"
#include "Core/HW/Sram.h"
// english
SRAM sram_dump = {{
0xFF, 0x6B,
0x00, 0x91,
0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
0xFF, 0xFF, 0xFF, 0x40,
0x00,
0x00,
0x0... | gpl-2.0 |
clone2727/cabal | engines/wintermute/debugger.cpp | 2600 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
lexical/backports | drivers/net/wireless/iwlwifi/iwl-io.c | 6861 | /******************************************************************************
*
* Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
*
* Portions of this file are derived from the ipw3945 project.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of ver... | gpl-2.0 |
embecosm/avr32-gcc | libstdc++-v3/testsuite/23_containers/vector/types/1.cc | 1294 | // 2005-12-01 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2005, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free So... | gpl-2.0 |
Tate-ad/revive-adserver | lib/max/language/bg/index.lang.php | 723 | <?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... | gpl-2.0 |
Distrotech/clamav | libclamav/7z/7zDec.c | 12759 | /* 7zDec.c -- Decoding from 7z folder
2010-11-02 : Igor Pavlov : Public domain */
#include <string.h>
#if defined(_WIN32)
#include <WinSock2.h>
#include <Windows.h>
#endif
#define _7ZIP_PPMD_SUPPPORT
#include "7z.h"
#include "Bcj2.h"
#include "Bra.h"
#include "CpuArch.h"
#include "LzmaDec.h"
#include "Lzma2Dec.h"
... | gpl-2.0 |
ForAEdesWeb/AEW11 | components/com_djcatalog2/themes/bootstrapped/css/theme.css | 16626 |
/* general */
.djc_clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.djc_clearfix {min-width: 0; display: inline-block; /* \*/ display: block;} /* trigger hasLayout for IE7. Hide from IE Mac */
* html .djc_clearfix {height: 1%;} /* Hide from IE Mac */
.clear,
.djc_clear {
... | gpl-2.0 |
fabianoleittes/discourse | script/import_scripts/kunena.rb | 4377 | require "mysql2"
require File.expand_path(File.dirname(__FILE__) + "/base.rb")
class ImportScripts::Kunena < ImportScripts::Base
KUNENA_DB = "kunena"
def initialize
super
@users = {}
@client = Mysql2::Client.new(
host: "localhost",
username: "root",
#password: "password",
da... | gpl-2.0 |
nobooya/e975-kk-kernel | arch/arm/mach-msm/lge/awifi/board-awifi-display.c | 60377 | /* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
* Copyright (c) 2012, LGE Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This progr... | gpl-2.0 |
p500-ics-cm9/caf-msm-kernel | arch/arm/mach-vexpress/hotplug.c | 2521 | /*
* linux/arch/arm/mach-realview/hotplug.c
*
* Copyright (C) 2002 ARM Ltd.
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/kerne... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/RuLude_Gardens/npcs/Macchi_Gazlitah.lua | 1254 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Macchi Gazlitah
-- Standard Mechant NPC
-- TODO: Add support for occasional stock.
-----------------------------------
local ID = require("scripts/zones/RuLude_Gardens/IDs")
require("scripts/globals/shop")
-----------------------------------
function... | gpl-3.0 |
barakav/robomongo | src/third-party/mongodb/jstests/org.js | 395 | // SERVER-2282 $or de duping with sparse indexes
t = db.jstests_org;
t.drop();
t.ensureIndex( {a:1}, {sparse:true} );
t.ensureIndex( {b:1} );
t.remove();
t.save( {a:1,b:2} );
assert.eq( 1, t.count( {$or:[{a:1},{b:2}]} ) );
t.remove();
t.save( {a:null,b:2} );
assert.eq( 1, t.count( {$or:[{a:null},{b:2}]} ) );
t.rem... | gpl-3.0 |
odin1314/android | cSploit/src/org/csploit/android/tools/NetworkRadar.java | 2001 | /*
* This file is part of the cSploit.
*
* Copyleft of Massimo Dragano aka tux_mind <tux_mind@csploit.org>
*
* cSploit is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or... | gpl-3.0 |
UnlimitedFreedom/UF-WorldEdit | worldedit-core/src/main/java/com/sk89q/worldedit/function/pattern/BlockPattern.java | 1799 | /*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team and contributors
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Sof... | gpl-3.0 |
anryko/ansible | lib/ansible/modules/cloud/google/gcp_sql_user_info.py | 6527 | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017 Google
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# ----------------------------------------------------------------------------
#
# *** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
#
... | gpl-3.0 |
javastraat/arduino | libraries/MD_Parola/doc/html/search/defines_70.js | 482 | var searchData=
[
['print',['PRINT',['../_m_d___parola__lib_8h.html#a1696fc35fb931f8c876786fbc1078ac4',1,'MD_Parola_lib.h']]],
['print_5fstate',['PRINT_STATE',['../_m_d___parola__lib_8h.html#a3fda4e1a5122a16a21bd96ae5217402c',1,'MD_Parola_lib.h']]],
['prints',['PRINTS',['../_m_d___parola__lib_8h.html#ad68f35c3cfe... | gpl-3.0 |
timborden/browser-laptop | app/common/constants/extensionConstants.js | 633 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
const mapValuesByKeys = require('../../../js/lib/functional').mapValuesByKeys
const _ = null
const ExtensionConst... | mpl-2.0 |
hurie/thebuggenie | modules/publish/templates/_manualsidebarlink.inc.php | 2024 | <?php
$children = $main_article->getChildArticles();
$is_parent = in_array($main_article->getID(), $parents);
$is_selected = $main_article->getID() == $article->getID() || ($main_article->isRedirect() && $main_article->getRedirectArticleName() == $article->getTitle());
$is_first = $first;
$first =... | mpl-2.0 |
genome/genome | lib/perl/Genome/VariantReporting/Framework/Component/Expert/Command.pm | 4978 | package Genome::VariantReporting::Framework::Component::Expert::Command;
use strict;
use warnings FATAL => 'all';
use Genome;
use Set::Scalar;
use JSON;
use Params::Validate qw(validate validate_pos :types);
use List::MoreUtils qw(apply);
my $_JSON_CODEC = new JSON->allow_nonref;
use Genome::VariantReporting::Framew... | lgpl-3.0 |
vinodkc/spark | sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/AnalysisErrorSuite.scala | 34491 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
LambdaLord/es-operating-system | esjs/src/interface.cpp | 28073 | /*
* Copyright 2008, 2009 Google Inc.
* Copyright 2006, 2007 Nintendo Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | apache-2.0 |
narayan2903/cc-commercialpaper | vendor/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example05/chaincode_example05_test.go | 4062 | /*
Copyright IBM Corp. 2016 All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | apache-2.0 |
vinodkc/spark | sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala | 100019 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
mcobrien/netty | buffer/src/main/java/io/netty/buffer/PooledUnsafeDirectByteBuf.java | 11458 | /*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | apache-2.0 |
Kast0rTr0y/jackrabbit-oak | oak-run/run_writeacl.sh | 2200 | #!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ... | apache-2.0 |
keycloak/keycloak | testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/KcSamlBrokerTest.java | 21270 | package org.keycloak.testsuite.broker;
import org.keycloak.admin.client.resource.IdentityProviderResource;
import org.keycloak.admin.client.resource.RealmResource;
import org.keycloak.admin.client.resource.UserResource;
import com.google.common.collect.ImmutableMap;
import org.keycloak.broker.saml.mappers.AttributeToR... | apache-2.0 |
JoeChien23/hadoop | hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java | 38058 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
humblec/external-storage | vendor/k8s.io/kubernetes/pkg/kubectl/cmd/replace.go | 9290 | /*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
lavalamp/test-infra | velodrome/transform/plugins/type_filter_wrapper.go | 2546 | /*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
macs524/mybatis_learn | src/test/java/org/apache/ibatis/domain/misc/generics/GenericSubclass.java | 819 | /**
* Copyright 2009-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | apache-2.0 |
DamianPilot382/Rubiks-Cube-Solver | opencv/sources/modules/cudafeatures2d/src/brute_force_matcher.cpp | 43804 | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | apache-2.0 |
erikdubbelboer/druid | integration-tests/run_cluster.sh | 2942 | # cleanup
for node in druid-historical druid-coordinator druid-overlord druid-router druid-broker druid-middlemanager druid-zookeeper-kafka druid-metadata-storage;
do
docker stop $node
docker rm $node
done
# environment variables
DIR=$(cd $(dirname $0) && pwd)
DOCKERDIR=$DIR/docker
SHARED_DIR=${HOME}/shared
SUPERVISO... | apache-2.0 |
marsorp/blog | presto166/presto-main/src/main/java/com/facebook/presto/operator/aggregation/MultimapAggregationFunction.java | 8045 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
evandor/skysail-webconsole | webconsole.client/client/dist/lib/@angular/platform-browser-dynamic/esm/platform_browser_private.js | 161 | import { __platform_browser_private__ as r } from '@angular/platform-browser';
export var getDOM = r.getDOM;
//# sourceMappingURL=platform_browser_private.js.map | apache-2.0 |
bhutchinson/rice | rice-framework/krad-development-tools/src/main/java/org/kuali/rice/krad/devtools/datadictionary/URLMonitor.java | 3664 | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless requ... | apache-2.0 |
svstanev/presto | presto-accumulo/src/test/java/com/facebook/presto/accumulo/TestAccumuloClient.java | 3498 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
drewsetski/koding | go/src/koding/remoteapi/client/j_credential/post_remote_api_j_credential_fetch_users_id_responses.go | 4007 | package j_credential
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
"github.com/go-openapi/swag"
strfmt "github.com/go-openapi/strfmt"
"kod... | apache-2.0 |
indashnet/InDashNet.Open.UN2000 | lichee/linux-3.4/arch/arm/mach-sun7i/include/mach/hardware.h | 1080 | /*
* arch/arm/mach-sun7i/include/mach/hardware.h
*
* This file contains the hardware definitions of the RealView boards.
*
* Copyright (C) 2012-2016 Allwinner Limited.
* Benn Huang (benn@allwinnertech.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | apache-2.0 |
axiubest/TaojiuhuiBuyer | 淘酒汇 XIU/Jiu/FDAlertView.h | 1504 | //
// FDAlertView.h
// FDAlertViewDemo
//
// Created by fergusding on 15/5/26.
// Copyright (c) 2015年 fergusding. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol FDAlertViewDelegate;
@interface FDAlertView : UIView
@property (strong, nonatomic) UIView *contentView;
@property (strong, nonatomic) UIImag... | apache-2.0 |
apache/flink | flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/collect/CollectSinkOperatorCoordinator.java | 9405 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
mlperf/inference_results_v0.7 | open/Inspur/code/harness/harness_dlrm/main_dlrm.cc | 11024 | // Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LIC... | apache-2.0 |
elmariofredo/homebrew-fonts | Casks/font-lohit-tamil-classical.rb | 376 | cask :v1 => 'font-lohit-tamil-classical' do
version '2.5.3'
sha256 '325ea1496bb2ae4f77552c268190251a5155717dccda64d497da4388d17c2432'
url "https://fedorahosted.org/releases/l/o/lohit/lohit-tamil-classical-ttf-#{version}.tar.gz"
homepage 'https://fedorahosted.org/lohit/'
license :unknown
font "lohit-tamil-... | bsd-2-clause |
davidbrazdil/nacl | tests/lock_manager/nacl_test_util_repl.c | 45466 | /*
* Copyright (c) 2013 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* This file contains the Read-Eval-Print loop. It defines the test
* language embedded in the s-expressions.
*/
#include <ctype.h>... | bsd-3-clause |
h8liu/golang | src/pkg/runtime/cgo/gcc_netbsd_arm.c | 1559 | // Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include <sys/types.h>
#include <pthread.h>
#include <signal.h>
#include <string.h>
#include "libcgo.h"
static void *threadentry(void*);
static void (*setmg_... | bsd-3-clause |
chromium/chromium | third_party/blink/web_tests/external/wpt/css/css-text/word-spacing/word-spacing-computed-001.html | 2639 | <!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Text Test: computed value of 'word-spacing: normal' and of various <length></title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-text-3/#word-... | bsd-3-clause |
kmate/HaRe | old/testing/simplifyExpr/IfThenElseIn1_TokOut.hs | 143 | module IfThenElseIn1 where
-- refactorer should give an error!
f x@(y:ys) = if x == [] then error "Error!"
else y
| bsd-3-clause |
HasClass0/webmin | fdisk/help/k.pl.UTF-8.html | 451 | <header>Zachowaj ustawienia podczas restartu</header>
Ustawia dla napędu znacznik <i>keep_settings_over_reset</i>. <p>
Gdy ten znacznik jest ustawiony, sterownik zachowa ustawienia opcji
<b>Korzystanie z DMA</b>, <b>Niemaskowanie przerwań</b>
i <b>Odczyty i zapisy wielosektorowe</b> po miękkim restarci... | bsd-3-clause |
webdev1001/webmin | sendmail/help/alias_enabled.zh_TW.Big5.html | 101 | <header>¬O§_¨Ï¥Î§O¦W</header>
¨M©w¬O§_n¨Ï¥Î³oÓ§O¦W. ³QÃö³¬ªº§O¦W±N¤£·|³Q¥Î¦b¶i¤Jªº¹q¤l¶l¥ó.
<hr>
| bsd-3-clause |
irubi/rabel | db/migrate/20111209080432_add_plane_id_to_nodes.rb | 148 | class AddPlaneIdToNodes < ActiveRecord::Migration
def change
add_column :nodes, :plane_id, :integer
add_index :nodes, :plane_id
end
end
| bsd-3-clause |
lneves/FrameworkBenchmarks | frameworks/Swift/perfect/perfect-mysql.dockerfile | 461 | FROM swift:4.1
ADD . /perfect
WORKDIR /perfect
RUN apt-get update -yqq && apt-get install -yqq libpq-dev && apt-get install -y xsltproc docbook-xsl uuid-dev clang pkg-config libicu-dev libpython2.7 libxml2-dev wget git libssl-dev uuid-dev libsqlite3-dev libpq-dev libmysqlclient-dev libbson-dev libmongoc-dev libcurl4-o... | bsd-3-clause |
WeRockStar/java-design-patterns | front-controller/src/main/java/com/iluwatar/front/controller/ArcherCommand.java | 1344 | /**
* The MIT License
* Copyright (c) 2014 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | mit |
vraravam/activeadmin | lib/active_admin/view_helpers/auto_link_helper.rb | 1517 | module ActiveAdmin
module ViewHelpers
module AutoLinkHelper
# Automatically links objects to their resource controllers. If
# the resource has not been registered, a string representation of
# the object is returned.
#
# The default content in the link is returned from ActiveAdmin::... | mit |
WeRockStar/java-design-patterns | iterator/src/test/java/com/iluwatar/iterator/TreasureChestTest.java | 4546 | /**
* The MIT License
* Copyright (c) 2014 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | mit |
g0ddish/webpack | test/cases/parsing/harmony-duplicate-export/d.js | 17 | exports.x = "d";
| mit |
lwthatcher/Compass | web/node_modules/npm/node_modules/npm-registry-client/test/star.js | 2885 | var test = require("tap").test
var server = require("./lib/server.js")
var common = require("./lib/common.js")
var client = common.freshClient()
var cache = require("./fixtures/underscore/cache.json")
function nop () {}
var URI = "https://npm.registry:8043/rewrite"
var STARRED = true
var USERNAME = "username"
... | mit |
DevFactory/java-design-patterns | facade/src/main/java/com/iluwatar/facade/App.java | 2123 | /**
* The MIT License
* Copyright (c) 2014 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | mit |
ScottHolden/azure-sdk-for-net | src/SDKs/Graph.RBAC/Graph.RBAC/Generated/Models/ServicePrincipalCreateParameters.cs | 3231 | // Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Microsoft.Azure.Graph.RBAC.Models
{
using Microsoft.Azure;
using Microsoft.Azure.Graph;
using Microsoft.Azure.Graph.RBAC;
using Microsoft.... | mit |
sergey-shandar/autorest | src/generator/AutoRest.CSharp.Azure.Fluent.Tests/Expected/AcceptanceTests/Lro/LRORetrysOperations.cs | 67705 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | mit |
rolandzwaga/DefinitelyTyped | types/enzyme/enzyme-tests.tsx | 25738 | import * as React from "react";
import {
shallow,
mount,
render,
ShallowWrapper,
ReactWrapper,
configure,
EnzymeAdapter,
ShallowRendererProps,
ComponentClass as EnzymeComponentClass
} from "enzyme";
import { Component, ReactElement, HTMLAttributes, ComponentClass, StatelessComponent ... | mit |
borisyankov/DefinitelyTyped | types/amap-js-api/index.d.ts | 2198 | // Type definitions for non-npm package amap-js-api 1.4
// Project: https://lbs.amap.com/api/javascript-api/summary
// Definitions by: breeze9527 <https://github.com/breeze9527>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
/// <reference path="array-bounds.d.ts" />
/// ... | mit |
dgilroy77/Car.ly | node_modules/eslint-plugin-jsx-a11y/.eslintrc.js | 4092 | module.exports = {
"env": {
"node": true,
"commonjs": true,
"es6": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": false,
"blockBindings": true,
"classes": false,
"defaultParams": true,
"destructuring": true,
"forOf": false,
"generators": false,
... | mit |