repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
AICP/external_chromium_org | chrome/browser/supervised_user/supervised_user_resource_throttle.cc | 2651 | // 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.
#include "chrome/browser/supervised_user/supervised_user_resource_throttle.h"
#include "base/bind.h"
#include "chrome/browser/supervised_user/supervised_... | bsd-3-clause |
ptoonen/corefx | src/System.Reflection.Context/src/System/Reflection/Context/CustomReflectionContext.cs | 5576 | // 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.Reflection.Context.Custom;
using System.Reflection.Context.Projectio... | mit |
fredrikeldh/gcc4-mapip2 | libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc | 1859 | // 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003, 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... | gpl-2.0 |
buuck/root | tutorials/cocoa/parallelcoordtrans.C | 5448 | /// \file
/// \ingroup tutorial_cocoa
/// Script illustrating the use of transparency with ||-Coord.
/// It displays the same data set twice. The first time without transparency and
/// the second time with transparency. On the second plot, several clusters
/// appear.
///
/// \macro_code
///
/// \authors Timur Pochept... | lgpl-2.1 |
IDKA/coreos-kubernetes | multi-node/aws/vendor/github.com/coreos/coreos-cloudinit/datasource/metadata/ec2/metadata_test.go | 5910 | // Copyright 2015 CoreOS, 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 agreed to in... | apache-2.0 |
kma14/Zhua | Zhua.Website/plugins/parsleyjs/src/parsley/field.js | 10619 | define('parsley/field', [
'parsley/factory/constraint',
'parsley/ui',
'parsley/utils'
], function (ConstraintFactory, ParsleyUI, ParsleyUtils) {
var ParsleyField = function (field, domOptions, options, parsleyFormInstance) {
this.__class__ = 'ParsleyField';
this.__id__ = ParsleyUtils.generateID();... | mit |
alexdresko/DefinitelyTyped | types/nodemailer/lib/addressparser.d.ts | 480 | declare namespace addressparser {
interface Address {
name: string;
address: string;
}
}
/**
* Parses structured e-mail addresses from an address field
*
* Example:
*
* 'Name <address@domain>'
*
* will be converted to
*
* [{name: 'Name', address: 'address@domain'}]
*
* @param ... | mit |
akopytov/mysql-server | storage/ndb/mcc/frontend/dojo/dojox/editor/plugins/nls/hu/latinEntities.js | 9778 | //>>built
define(
//begin v1.x content
({
/* These are already handled in the default RTE
amp:"ampersand",lt:"less-than sign",
gt:"greater-than sign",
nbsp:"no-break space\nnon-breaking space",
quot:"quote",
*/
iexcl:"fordított felkiáltójel",
cent:"cent jel",
pound:"font jel",
curren:"pénznem jel",
yen:"... | gpl-2.0 |
jegelstaff/formulize | libraries/googleapiclient/vendor/google/apiclient-services/src/Google/Service/People/ListConnectionsResponse.php | 1411 | <?php
/*
* Copyright 2014 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 agreed t... | gpl-2.0 |
tkrille/spring-security-oauth | samples/oauth2/sparklr/src/main/java/org/springframework/security/oauth/examples/sparklr/PhotoService.java | 550 | package org.springframework.security.oauth.examples.sparklr;
import java.io.InputStream;
import java.util.Collection;
/**
* Service for retrieving photos.
*
* @author Ryan Heaton
*/
public interface PhotoService {
/**
* Load the photos for the current user.
*
* @return The photos for the current user... | apache-2.0 |
stronglee/UltimateAndroid | UltimateAndroidGradle/ultimateandroiduicomponent/src/main/java/com/marshalchen/common/uimodule/cardsSwiped/view/BaseCardStackAdapter.java | 163 | package com.marshalchen.common.uimodule.cardsSwiped.view;
import android.widget.BaseAdapter;
public abstract class BaseCardStackAdapter extends BaseAdapter {
}
| apache-2.0 |
gabrielfalcao/lettuce | tests/integration/lib/Django-1.2.5/django/db/transaction.py | 12689 | """
This module implements a transaction manager that can be used to define
transaction handling in a request or view function. It is used by transaction
control middleware and decorators.
The transaction manager can be in managed or in auto state. Auto state means the
system is using a commit-on-save strategy (actual... | gpl-3.0 |
wolv-dev/shopware | _sql/migrations/430-add-shop-page-form-shopid.php | 316 | <?php
class Migrations_Migration430 Extends Shopware\Components\Migrations\AbstractMigration
{
public function up($modus)
{
$this->addSql("ALTER TABLE `s_cms_static` ADD `shop_ids` VARCHAR(255) NULL;");
$this->addSql("ALTER TABLE `s_cms_support` ADD `shop_ids` VARCHAR(255) NULL;");
}
}
| agpl-3.0 |
qjcjerry/j2ee-arch | web/src/main/java/com/sishuok/es/sys/group/entity/Group.java | 1693 | /**
* Copyright (c) 2005-2012 https://github.com/zhangkaitao
*
* Licensed under the Apache License, Version 2.0 (the "License");
*/
package com.sishuok.es.sys.group.entity;
import com.sishuok.es.common.entity.BaseEntity;
import com.sishuok.es.common.repository.support.annotation.EnableQueryCache;
import org.hibern... | apache-2.0 |
CE-KMITL-CLOUD-2014/Responsive_LMS | laravel/public/sdkazure/vendor/pear-pear.php.net/PEAR/PEAR/Builder.php | 16774 | <?php
/**
* PEAR_Builder for building PHP extensions (PECL packages)
*
* PHP versions 4 and 5
*
* @category pear
* @package PEAR
* @author Stig Bakken <ssb@php.net>
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2009 The Authors
* @license http://opensource.org/licenses/bsd-license.... | apache-2.0 |
xcatliu/react-native | packager/launchEditor.js | 1324 | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict... | bsd-3-clause |
aospx-kitkat/platform_external_chromium_org | third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-private.hh | 5104 | /*
* Copyright © 2012 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copy... | bsd-3-clause |
odooo/design | vendor/giggsey/libphonenumber-for-php/src/geocoding/data/fr/225.php | 409 | <?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/
return array (
22520 => 'Plateau',
22521 => 'Abidjan',
22522 => 'Cocody',
22523 => 'Banco',
22524 => 'Abobo',
22530 => 'Yamoussoukro',
22531 => 'Bouaké',
22532 => 'Daloa',
22... | mit |
isman-usoh/DefinitelyTyped | types/lodash-es/isArrayLikeObject/index.d.ts | 124 | import * as _ from "lodash";
declare const isArrayLikeObject: typeof _.isArrayLikeObject;
export default isArrayLikeObject;
| mit |
jeffvance/origin | vendor/k8s.io/kubernetes/pkg/registry/service/ipallocator/controller/repair.go | 6042 | /*
Copyright 2015 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 |
colindunn/homebrew-cask | Casks/comictagger.rb | 511 | cask 'comictagger' do
version '1.1.16-beta-rc2'
sha256 '3d2d883371a22074205ef96f98fdd0ccc35399f9439bc235b6f4c1c21e856bc5'
url "https://github.com/davide-romanini/comictagger/releases/download/#{version}/ComicTagger-#{version}.dmg"
appcast 'https://github.com/davide-romanini/comictagger/releases.atom',
... | bsd-2-clause |
redmunds/cdnjs | ajax/libs/froala-editor/2.3.3/js/languages/zh_tw.js | 9202 | /*!
* froala_editor v2.3.3 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2016 Froala Labs
*/
/**
* Traditional Chinese spoken in Taiwan.
*/
$.FE.LANGUAGE['zh_tw'] = {
translation: {
// Place holder
"Type something": "\u8f38\u5165\u4e00\u4e9... | mit |
iains/darwin-gcc-5 | libstdc++-v3/testsuite/25_algorithms/includes/check_type.cc | 1220 | // Copyright (C) 2005-2015 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 Software Foundation; either version 3, or (at your op... | gpl-2.0 |
liquuid/liquuidme | src/wp-content/plugins/wordpress-seo/cli/class-cli-redirect-upsell-command-namespace.php | 296 | <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\CLI
*/
use WP_CLI\Dispatcher\CommandNamespace;
/**
* The redirect functionality is only available in Yoast SEO Premium.
*/
final class WPSEO_CLI_Redirect_Upsell_Command_Namespace extends CommandNamespace {
// Intentionally left empty.
}
| gpl-3.0 |
ICML14MoMCompare/spectral-learn | code/tensor/cpp/include/boost/wave/util/cpp_macromap_predef.hpp | 10013 | /*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
Definition of the predefined macros
http://www.boost.org/
Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0... | apache-2.0 |
wout/cdnjs | ajax/libs/unibox/1.2.0/js/unibox.js | 10171 | (function($) {
$.fn.unibox = function(options) {
var searchBox = this;
// settings with default options.
var settings = $.extend({
// these are the defaults.
suggestUrl: '',
queryVisualizationHeadline: '',
highlight: true,
throttleTime: 300,
animationSpeed: 30... | mit |
sufuf3/cdnjs | ajax/libs/ng-quill/1.4.2/ng-quill.js | 25806 | /*global Quill*/
(function () {
'use strict';
var app;
// declare ngQuill module
app = angular.module('ngQuill', []);
app.provider('ngQuillConfig', function () {
var config = {
// default fontFamilies
fontSizes: [{
size: '10px',
... | mit |
cdnjs/cdnjs | ajax/libs/simple-icons/5.17.0/codeberg.min.js | 514 | module.exports={title:"Codeberg",slug:"codeberg",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Codeberg</title><path d="M11.955.49A12 12 0 0 0 0 12.49a12 12 0 0 0 1.832 6.373L11.838 5.928a.187.14 0 0 1 .324 0l10.006 12.935A12 12 0 0 0 24 12.49a12 12 0 0 0-12-12 12 12 0 0 0-.045 0zm.... | mit |
damien-dg/horizon | openstack_dashboard/dashboards/project/firewalls/urls.py | 2378 | # Copyright 2013, Big Switch Networks, 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 applic... | apache-2.0 |
RupomAhsan/rupstartJS | node_modules/cssstyle/lib/properties/webkitTransition.js | 266 | 'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('-webkit-transition', v);
},
get: function () {
return this.getPropertyValue('-webkit-transition');
},
enumerable: true,
configurable: true
};
| mit |
iwdmb/cdnjs | ajax/libs/twix.js/0.1.7/twix.js | 10039 | // Generated by CoffeeScript 1.3.3
(function() {
var Twix, extend, moment;
if (typeof module !== "undefined") {
moment = require('moment');
} else {
moment = this.moment;
}
if (typeof moment === "undefined") {
throw "Can't find moment";
}
Twix = (function() {
function Twix(start, end, ... | mit |
NapkinBrasil/napkinapp.com.br | node_modules/babel-generator/lib/generators/jsx.js | 2493 | "use strict";
var _getIterator = require("babel-runtime/core-js/get-iterator")["default"];
exports.__esModule = true;
exports.JSXAttribute = JSXAttribute;
exports.JSXIdentifier = JSXIdentifier;
exports.JSXNamespacedName = JSXNamespacedName;
exports.JSXMemberExpression = JSXMemberExpression;
exports.JSXSpreadAttribute... | mit |
vbauerster/react-starter-kit | src/decorators/withStyles.js | 2130 | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React, { PropTypes } from 'react'; // eslint-disable-line no-unused-vars
import invariant from '../../node_modules/react/lib/invariant';
import { canUseDOM } from '../../node_modules/react/lib/ExecutionEnvironment';
let count = 0;
functi... | mit |
joeljacobson/ghost | node_modules/knex/lib/builder.js | 16114 | // Builder
// -------
(function(define) {
"use strict";
// The `Builder` is the interface for constructing a regular
// `select`, `insert`, `update`, or `delete` query, as well
// as some aggregate helpers.
define(function(require, exports) {
var _ = require('lodash');
var Raw = require('./raw')... | mit |
shakamunyi/kubernetes | pkg/apis/extensions/v1beta1/types.go | 55261 | /*
Copyright 2015 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 |
ShinyROM/android_external_chromium_org | ui/gl/gl_bindings_skia_in_process.cc | 23406 | // Copyright (c) 2012 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/gl/gl_bindings_skia_in_process.h"
#include "base/logging.h"
#include "third_party/skia/include/gpu/gl/GrGLInterface.h"
#include "ui/gl/... | bsd-3-clause |
arivera12/cbooks | plugins/system/t3/base-bs3/html/com_users/reset/default.php | 1552 | <?php
/**
* @package Joomla.Site
* @subpackage com_users
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('behavior.keepalive');
if(version_compare(JV... | mit |
Icedroid/yii2-web | common/behaviors/FileStorageLogBehavior.php | 1846 | <?php
namespace common\behaviors;
use League\Flysystem\File;
use Yii;
use yii\base\Behavior;
use trntv\filekit\Storage;
use common\models\FileStorageItem;
use yii\base\InvalidConfigException;
/**
* Class FileStorageLogBehavior
* @package common\behaviors
* @author Eugene Terentev <eugene@terentev.net>
*/
class Fi... | bsd-3-clause |
CodeCorp/Arpiano | node_modules/engine.io/lib/socket.js | 11156 | /**
* Module dependencies.
*/
var EventEmitter = require('events').EventEmitter;
var debug = require('debug')('engine:socket');
/**
* Module exports.
*/
module.exports = Socket;
/**
* Client class (abstract).
*
* @api private
*/
function Socket (id, server, transport, req) {
this.id = id;
this.server =... | mit |
sean-johnson/sean-johnson.github.io | node_modules/rxjs/internal/operators/elementAt.js | 900 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ArgumentOutOfRangeError_1 = require("../util/ArgumentOutOfRangeError");
var filter_1 = require("./filter");
var throwIfEmpty_1 = require("./throwIfEmpty");
var defaultIfEmpty_1 = require("./defaultIfEmpty");
var take_1 = require("./take");... | mit |
lvalenzuela/wheelie | content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.js | 14606 | /*!
* Variations Plugin
*/
;(function ( $, window, document, undefined ) {
$.fn.wc_variation_form = function () {
$.fn.wc_variation_form.find_matching_variations = function( product_variations, settings ) {
var matching = [];
for ( var i = 0; i < product_variations.length; i++ ) {
var variation = prod... | mit |
perfectphase/coreclr | tests/src/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b26863/b26863.cs | 2039 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*
JE1 JR1 C(null) I1 S(null) G0
..\regalloc.cpp, Line 8037 : Assertion failed 'passes <= 4' in 'DefaultNamespace.Obj.Static3():ref'
Running time 0.310 sec
JE1 JR1 C... | mit |
ayuso2013/drh-visual-odometry | src/OpticalFlow/Properties/Resources.Designer.cs | 2500 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | gpl-3.0 |
blueskybcl/log4net | src/Util/TypeConverters/IConvertFrom.cs | 2096 | #region Apache License
//
// 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
// (... | apache-2.0 |
BrianBland/distribution | vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go | 3654 | // Copyright 2015 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.
// Package ctxhttp provides helper functions for performing context-aware HTTP requests.
package ctxhttp
import (
"io"
"net/http"
"net/url"
"strings"
"go... | apache-2.0 |
devinbalkind/eden | static/scripts/gis/gxp/plugins/StyleWriter.js | 3060 | /**
* Copyright (c) 2008-2011 The Open Planning Project
*
* Published under the GPL license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/** api: (define)
* module = gxp.plugins
* class = StyleWriter
* base_link = `Ext.util.Observable <http... | mit |
Quiark/go-ipfs | p2p/net/swarm/swarm_stream.go | 1322 | package swarm
import (
inet "github.com/ipfs/go-ipfs/p2p/net"
ps "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-peerstream"
)
// a Stream is a wrapper around a ps.Stream that exposes a way to get
// our Conn and Swarm (instead of just the ps.Conn and ps.Swarm)
type Stream ps.Stream
// Stream ... | mit |
mwhitlaw/openemr | contrib/forms/phone_exam/print.php | 543 | <?php
include_once("../../globals.php");
include_once("../../../library/api.inc");
formHeader("Phone Exam");
?>
<html>
<head>
<?php html_header_show();?>
<title>New Patient Encounter</title>
<link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
</head>
<body class="body_top">
<br><br... | gpl-2.0 |
martinwoodward/coreclr | src/utilcode/securityutil.cpp | 13965 | // 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.
#include "stdafx.h"
#include "securityutil.h"
#include "ex.h"
#include "securitywrapper.h"
// This is defined in... | mit |
elbruno/Blog | 20170314 HoloToolkit AirTap Click/Assets/HoloToolkit/Utilities/Scripts/TimerScheduler.cs | 7131 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// A scheduler that manages various timers.
/// </summ... | gpl-2.0 |
ashenkar/sanga | wp-content/plugins/jetpack/modules/sharedaddy/sharing-service.php | 22697 | <?php
include_once dirname( __FILE__ ).'/sharing-sources.php';
define( 'WP_SHARING_PLUGIN_VERSION', JETPACK__VERSION );
class Sharing_Service {
private $global = false;
public $default_sharing_label = '';
public function __construct() {
$this->default_sharing_label = __( 'Share this:', 'jetpack' );
}
/**
... | gpl-2.0 |
jackkiej/SickRage | lib/dateutil/relativedelta.py | 21509 | # -*- coding: utf-8 -*-
import datetime
import calendar
import operator
from math import copysign
from six import integer_types
from warnings import warn
__all__ = ["relativedelta", "MO", "TU", "WE", "TH", "FR", "SA", "SU"]
class weekday(object):
__slots__ = ["weekday", "n"]
def __init__(self, weekday, n=... | gpl-3.0 |
leomastakusuma/Gateway | library/Zend/View/Helper/ServerUrl.php | 4206 | <?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... | apache-2.0 |
WilliamNouet/nifi | nifi-nar-bundles/nifi-standard-services/nifi-hbase-client-service-api/src/main/java/org/apache/nifi/hbase/validate/ConfigFilesValidator.java | 1669 | /*
* 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 |
Toosman/WGTOTW | src/Content/CTextFilter.php | 7668 | <?php
namespace Anax\Content;
/**
* Filter and format content.
*
*/
class CTextFilter
{
use \Anax\TConfigure,
\Anax\DI\TInjectionAware;
/**
* Call each filter.
*
* @param string $text the text to filter.
* @param string $filters as comma separated list of filter.
*
... | mit |
mehulsbhatt/cdr | vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php | 50497 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpFoundation\Tests;
use Symfony\Component\HttpFound... | mit |
marc-barry/arpwatch | Godeps/_workspace/src/code.google.com/p/gopacket/macs/benchmark_test.go | 368 | // Copyright 2012 Google, Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree.
package macs
import (
"testing"
)
func BenchmarkCheckEthernetPrefix(b *testing.B) {
key := [3]byte{5, 5, 5}
for i := 0; i... | mit |
jiangyifangh/presto | presto-local-file/src/test/java/com/facebook/presto/localfile/TestLocalFileColumnHandle.java | 2051 | /*
* 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 |
vinodkc/spark | core/src/main/resources/org/apache/spark/ui/static/dataTables.bootstrap4.1.10.20.min.js | 3159 | /*!
DataTables Bootstrap 4 integration
©2011-2017 SpryMedia Ltd - datatables.net/license
*/
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var e=a.length,d=0;d<e;d++){var k=a[d];if(b.call(c,k,d,a))return{i:d,v:k}}return{i:-1,v:void 0}};$jscomp.ASSU... | apache-2.0 |
KitoHo/actor-platform | actor-apps/core/src/main/java/im/actor/model/mvvm/generics/UserPresenceValueModel.java | 589 | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
package im.actor.model.mvvm.generics;
import im.actor.model.mvvm.ValueModel;
import im.actor.model.viewmodel.UserPresence;
public class UserPresenceValueModel extends ValueModel<UserPresence> {
/**
* Create ValueModel
*
* @param name ... | mit |
argos83/faker | test/test_faker_bitcoin.rb | 395 | require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb')
class TestFakerBitcoin < Test::Unit::TestCase
def test_address
assert Faker::Bitcoin.address.match(/^[13][1-9A-Za-z][^OIl]{20,40}/)
end
def test_testnet_address
assert_match(/\A[mn][1-9A-Za-z]{32,34}\Z/, Faker::Bitcoin.testnet_address... | mit |
xnox/docker | vendor/src/github.com/docker/libnetwork/drivers/bridge/setup_device.go | 1301 | package bridge
import (
"github.com/docker/docker/pkg/parsers/kernel"
"github.com/vishvananda/netlink"
)
// SetupDevice create a new bridge interface/
func setupDevice(config *networkConfiguration, i *bridgeInterface) error {
var setMac bool
// We only attempt to create the bridge when the requested device name ... | apache-2.0 |
ubgarbage/gae-blog | django/contrib/gis/db/backends/spatialite/base.py | 4480 | from ctypes.util import find_library
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.db.backends.sqlite3.base import (
_sqlite_extract, _sqlite_date_trunc, _sqlite_regexp, _sqlite_format_dtdelta,
connection_created, Database, DatabaseWrapper as SQLiteDatabase... | bsd-3-clause |
ahocevar/cdnjs | ajax/libs/select2/4.0.4/js/i18n/el.js | 1132 | /*! Select2 4.0.4 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inpu... | mit |
askannon/camel | components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyRecipientListHttpBaseTest.java | 2305 | /**
* 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 |
CLAMP-IT/moodle | question/type/gapselect/lang/en/qtype_gapselect.php | 3337 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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
// (at your option) any later version.
//
// Moodle ... | gpl-3.0 |
tskurauskas/Arduino | arduino-core/src/cc/arduino/contributions/ConsoleProgressListener.java | 1750 | /*
* This file is part of Arduino.
*
* Copyright 2015 Arduino LLC (http://www.arduino.cc/)
*
* Arduino 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 2 of the License, or
* (at your opt... | lgpl-2.1 |
Hootis/plymouth-webapp | external/adodb5/drivers/adodb-vfp.inc.php | 2479 | <?php
/*
V5.11 5 May 2010 (c) 2000-2010 John Lim (jlim#natsoft.com). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
Latest version is a... | mit |
vladbar/SuiteCRM | modules/Project/views/view.templatesdetail.php | 3514 | <?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility ... | agpl-3.0 |
dominiqa/azure-sdk-for-net | src/ResourceManagement/ApiManagement/ApiManagement.Tests/ScenarioTests/SmapiTests/SmapiFunctionalTests.ProductApis.cs | 4440 | //
// Copyright (c) Microsoft. 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 app... | apache-2.0 |
Sumith1896/sympy | sympy/physics/mechanics/tests/test_kane2.py | 18815 | from sympy.core.compatibility import range
from sympy import cos, Matrix, simplify, sin, solve, tan, pi
from sympy import symbols, trigsimp, zeros
from sympy.physics.mechanics import (cross, dot, dynamicsymbols, KanesMethod,
inertia, inertia_of_point_mass,
... | bsd-3-clause |
nicolasconnault/mmrcwa-grav | user/plugins/admin/vendor/bacon/bacon-qr-code/src/BaconQrCode/Exception/ExceptionInterface.php | 308 | <?php
/**
* BaconQrCode
*
* @link http://github.com/Bacon/BaconQrCode For the canonical source repository
* @copyright 2013 Ben 'DASPRiD' Scholzen
* @license http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
*/
namespace BaconQrCode\Exception;
interface ExceptionInterface
{
} | mit |
CodeZombieCH/DefinitelyTyped | loglevel/loglevel-tests.ts | 587 | /// <reference path="loglevel.d.ts" />
log.trace("Trace message");
log.debug("Debug message");
log.info("Info message");
log.warn("Warn message");
log.error("Error message");
log.debug(["Hello", "world", 42]);
log.setLevel(0);
log.setLevel(0, false);
log.setLevel("error");
log.setLevel("error", false);
log.setLevel... | mit |
jprante/elasticsearch | core/src/main/java/org/elasticsearch/action/bulk/BulkShardRequest.java | 3964 | /*
* 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... | apache-2.0 |
jleonhard/angular2-webpack-jquery-bootstrap | node_modules/source-map/lib/source-node.js | 13796 | /* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;
var util = require('./util');
//... | mit |
alexdresko/DefinitelyTyped | types/react-icons/lib/ti/document-delete.d.ts | 182 | import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
declare class TiDocumentDelete extends React.Component<IconBaseProps> { }
export = TiDocumentDelete;
| mit |
martinduparc/DefinitelyTyped | webspeechapi/index.d.ts | 4460 | // Type definitions for Web Speech API
// Project: https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html
// Definitions by: SaschaNaz <https://github.com/saschanaz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Spec version: 19 October 2012
// Errata version: 6 June 2014
// Corrected un... | mit |
alexdresko/DefinitelyTyped | types/react-icons/lib/fa/calendar-minus-o.d.ts | 182 | import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
declare class FaCalendarMinusO extends React.Component<IconBaseProps> { }
export = FaCalendarMinusO;
| mit |
rolandzwaga/DefinitelyTyped | types/react-icons/lib/md/assistant.d.ts | 172 | import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
declare class MdAssistant extends React.Component<IconBaseProps> { }
export = MdAssistant;
| mit |
Wangab/Jedis | src/test/java/redis/clients/jedis/tests/HostAndPortUtil.java | 3545 | package redis.clients.jedis.tests;
import java.util.ArrayList;
import java.util.List;
import redis.clients.jedis.HostAndPort;
import redis.clients.jedis.Protocol;
public class HostAndPortUtil {
private static List<HostAndPort> redisHostAndPortList = new ArrayList<HostAndPort>();
private static List<HostAndPort> ... | mit |
alexdresko/DefinitelyTyped | types/react-icons/lib/fa/umbrella.d.ts | 170 | import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
declare class FaUmbrella extends React.Component<IconBaseProps> { }
export = FaUmbrella;
| mit |
ruud-v-a/rust | src/test/codegen/small-dense-int-switch.cc | 640 | // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
s3u-group/QuanLyChiDao | vendor/phpoffice/phpexcel/Examples/33chartcreate-pie.php | 6492 | <?php
/** Error reporting */
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
date_default_timezone_set('Europe/London');
define('EOL',(PHP_SAPI == 'cli') ? PHP_EOL : '<br />');
date_default_timezone_set('Europe/London');
/**
* PHPExcel
*
* Copyright (C) 2006 - 20... | bsd-3-clause |
binarycrusader/go | test/fixedbugs/issue14164.dir/a.go | 1127 | // Copyright 2016 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.
package a
// F is an exported function, small enough to be inlined.
// It defines a local interface with an unexported method
// f, which will appear with a pa... | bsd-3-clause |
havran/Drupal.sk | docroot/drupal/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/MappingTest.php | 1801 | <?php
/**
* @file
* Contains \Drupal\views_test_data\Plugin\views\style\MappingTest.
*/
namespace Drupal\views_test_data\Plugin\views\style;
use Drupal\views\Plugin\views\style\Mapping;
use Drupal\views\Plugin\views\field\NumericField;
/**
* Provides a test plugin for the mapping style.
*
* @ingroup views_sty... | gpl-2.0 |
besutra/freeraum | core/lib/Drupal/Component/Transliteration/data/x38.php | 2024 | <?php
/**
* @file
* Generic transliteration data for the PHPTransliteration class.
*/
$base = array(
0x00 => 'dao', NULL, 'ao', NULL, 'xi', 'fu', 'dan', 'jiu', 'run', 'tong', 'qu', 'e', 'qi', 'ji', 'ji', 'hua',
0x10 => 'jiao', 'zui', 'biao', 'meng', 'bai', 'wei', 'yi', 'ao', 'yu', 'hao', 'dui', 'wo', 'ni', 'cu... | gpl-2.0 |
soovorov/d8intranet | drupal/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php | 1187 | <?php
/**
* @file
* Contains \Drupal\views\Plugin\views\sort\GroupByNumeric.
*/
namespace Drupal\views\Plugin\views\sort;
use Drupal\views\Plugin\views\display\DisplayPluginBase;
use Drupal\views\ViewExecutable;
use Drupal\views\Views;
/**
* Handler for GROUP BY on simple numeric fields.
*
* @ViewsSort("group... | gpl-2.0 |
cnsoft/kbengine-cocos2dx | kbe/src/lib/dependencies/boost/multiprecision/detail/functions/trig.hpp | 21891 |
// Copyright Christopher Kormanyos 2002 - 2011.
// Copyright 2011 John Maddock. Distributed under the Boost
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// This work is based on an earlier work:
... | lgpl-3.0 |
portworx/docker | daemon/logger/journald/journald.go | 3180 | // +build linux
// Package journald provides the log driver for forwarding server logs
// to endpoints that receive the systemd format.
package journald
import (
"fmt"
"sync"
"unicode"
"github.com/Sirupsen/logrus"
"github.com/coreos/go-systemd/journal"
"github.com/docker/docker/daemon/logger"
"github.com/dock... | apache-2.0 |
jhen0409/react-native | ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModuleConstantsHelper.java | 3984 | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | bsd-3-clause |
houchj/selenium | java/server/src/org/openqa/selenium/remote/server/DefaultDriverFactory.java | 2901 | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | apache-2.0 |
revocoin/Revo | share/qt/make_spinner.py | 1035 | #!/usr/bin/env python
# W.J. van der Laan, 2011
# Make spinning .mng animation from a .png
# Requires imagemagick 6.7+
from __future__ import division
from os import path
from PIL import Image
from subprocess import Popen
SRC='img/reload_scaled.png'
DST='../../src/qt/res/movies/update_spinner.mng'
TMPDIR='/tmp'
TMPNAM... | mit |
saurabhse/hybo | node_modules/babel-register/node_modules/core-js/library/fn/number/is-safe-integer.js | 122 | require('../../modules/es6.number.is-safe-integer');
module.exports = require('../../modules/_core').Number.isSafeInteger; | mit |
jamesdraper5/angularapp | node_modules/mongoose/lib/query.js | 78458 | /*!
* Module dependencies.
*/
var mquery = require('mquery');
var util = require('util');
var events = require('events');
var mongo = require('mongodb');
var utils = require('./utils');
var Promise = require('./promise');
var helpers = require('./queryhelpers');
var Types = require('./schema/index');
var Document =... | mit |
summerpulse/openjdk7 | jdk/test/sun/security/x509/AVA/BadName.java | 1704 | /*
* Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
hyuni/homebrew | Library/Formula/eigen.rb | 1455 | class Eigen < Formula
desc "C++ template library for linear algebra"
homepage "http://eigen.tuxfamily.org/"
url "https://bitbucket.org/eigen/eigen/get/3.2.6.tar.bz2"
sha256 "8a3352f9a5361fe90e451a7305fb1896fc7f771dc16cc0edd8e6b157f52c343e"
head "https://bitbucket.org/eigen/eigen", :using => :hg
bottle do
... | bsd-2-clause |
shadedprofit/meteor | tools/tests/compiler-plugins.js | 13246 | var _ = require('underscore');
var selftest = require('../tool-testing/selftest.js');
var files = require('../fs/files.js');
import { getUrl } from '../utils/http-helpers.js';
import { sleepMs } from '../utils/utils.js';
var Sandbox = selftest.Sandbox;
var MONGO_LISTENING =
{ stdout: " [initandlisten] waiting for c... | mit |
faraazkhan/kops | vendor/github.com/aws/aws-sdk-go/service/devicefarm/service.go | 3154 | // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package devicefarm
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/aws-sdk-go/pr... | apache-2.0 |
evocateur/npm | lib/install/realize-shrinkwrap-specifier.js | 661 | 'use strict'
var realizePackageSpecifier = require('realize-package-specifier')
var isRegistrySpecifier = require('./is-registry-specifier.js')
module.exports = function (name, sw, where, cb) {
function lookup (ver, cb) {
realizePackageSpecifier(name + '@' + ver, where, cb)
}
if (sw.resolved) {
return lo... | artistic-2.0 |
TaurusTiger/binnavi | src/main/java/com/google/security/zynamics/binnavi/Gui/Debug/ToolbarPanel/Actions/CHaltAction.java | 2269 | /*
Copyright 2015 Google Inc. 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 ... | apache-2.0 |