repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
maisem/kubernetes | pkg/util/dbus/fake_dbus.go | 3738 | /*
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 |
shimingsg/corefx | src/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterManager.cs | 1236 | // 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;
namespace System.Diagnostics
{
public sealed class PerformanceCounterManager : ICollectData
{... | mit |
mdolian/sugarcrm_dev | include/database/DBHelper.php | 3068 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* This ... | agpl-3.0 |
apixandru/intellij-community | plugins/InspectionGadgets/test/com/siyeh/igtest/bugs/class_new_instance/ClassNewInstance.java | 592 | package com.siyeh.igtest.bugs.class_new_instance;
public class ClassNewInstance {
void good() throws IllegalAccessException, InstantiationException {
String.class.<warning descr="Call to 'newInstance()' may throw undeclared checked exceptions">newInstance</warning>();
}
Object newInstance() {
... | apache-2.0 |
huangzl233/zxing | core/src/main/java/com/google/zxing/oned/UPCEReader.java | 4628 | /*
* Copyright 2008 ZXing 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 ... | apache-2.0 |
fitermay/intellij-community | plugins/InspectionGadgets/test/com/siyeh/igfixes/performance/replace_with_add_all/SimpleFor.after.java | 112 | import java.util.*;
class T {
void f(Set<String> t, String[] f) {
Collections.addAll(t, f);
}
} | apache-2.0 |
kidebit/https-github.com-wicedfast-appinventor-sources | appinventor/components/tests/com/google/appinventor/components/runtime/WebTest.java | 7639 | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime;
import com.google.appinventor.... | apache-2.0 |
aiunderstand/vive-unity-farmhack | Assets/Packages/SteamVR/InteractionSystem/Core/Scripts/ItemPackageReference.cs | 493 | //======= Copyright (c) Valve Corporation, All rights reserved. ===============
//
// Purpose: Keeps track of the ItemPackage this object is a part of
//
//=============================================================================
using UnityEngine;
using System.Collections;
namespace Valve.VR.InteractionSystem
{... | mit |
Raegann/p20 | wp-content/plugins/the-events-calendar/src/Tribe/Event_Tickets/Main.php | 2051 | <?php
/**
* The Events Calendar integration with Event Tickets class
*
* @package The Events Calendar
* @subpackage Event Tickets
* @since 4.0.1
*/
class Tribe__Events__Event_Tickets__Main {
/**
* Private variable holding the class instance
*
* @since 4.0.1
*
* @var Tribe__Events__Event_Tickets__Main
... | gpl-2.0 |
alexmojaki/cdnjs | ajax/libs/numbro/1.1.1/min/languages/zh-CN.min.js | 658 | /*!
* numbro.js language configuration
* language : simplified chinese
* author : badplum : https://github.com/badplum
*/
!function(){var a={delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(a){return"."},currency:{symbol:"¥",position:"prefix... | mit |
rolandzwaga/DefinitelyTyped | types/rpio/index.d.ts | 12594 | // Type definitions for node-rpio
// Project: https://github.com/jperkin/node-rpio
// Definitions by: Dominik Palo <https://github.com/DominikPalo>
// Hannes Früchtenicht <https://github.com/Pencl>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declar... | mit |
mohitsethi/fog | lib/fog/cloudstack/requests/compute/configure_netscaler_load_balancer.rb | 689 | module Fog
module Compute
class Cloudstack
class Real
# configures a netscaler load balancer device
#
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/configureNetscalerLoadBalancer.html]
def configure_netscaler_load_balancer(*args)
... | mit |
lucianobapo/phpMyAdmin-4.5.0-beta1-all-languages | libraries/sql-parser/autoload.php | 1358 | <?php
/**
* The autoloader used for loading sql-parser's components.
*
* This file is based on Composer's autoloader.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* @package SqlParser
* @subpackage Autoload
*/
namespace SqlParser\Autoload;
if (!class_exists('... | gpl-2.0 |
strapdata/cassandra | src/java/org/apache/cassandra/utils/WrappedBoolean.java | 1175 | /*
* 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 |
gressole/Werewolf | Werewolf for Telegram/Werewolf Website/plugins/slider.revolution.v5/js/extensions/source/revolution.extension.navigation.js | 41407 | /********************************************
* REVOLUTION 5.2 EXTENSION - NAVIGATION
* @version: 1.2.4 (10.03.2016)
* @requires jquery.themepunch.revolution.js
* @author ThemePunch
*********************************************/
(function($) {
var _R = jQuery.fn.revolution,
_ISM = _R.is_mobile();
//////////////... | gpl-3.0 |
rachoo/connectbot | tests/src/org/connectbot/HostListActivityTest.java | 1538 | /*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* 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.a... | apache-2.0 |
jakobwilm/pcl | surface/src/3rdparty/opennurbs/opennurbs_brep_extrude.cpp | 38785 | /* $NoKeywords: $ */
/*
//
// Copyright (c) 1993-2012 Robert McNeel & Associates. All rights reserved.
// OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
// McNeel & Associates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IMPLIED WARRANTIES OF FITNESS FOR A... | bsd-3-clause |
cognitiveclass/edx-platform | lms/djangoapps/instructor/enrollment_report.py | 3294 | """
Defines abstract class for the Enrollment Reports.
"""
from django.contrib.auth.models import User
from student.models import UserProfile
import collections
import json
import abc
class AbstractEnrollmentReportProvider(object):
"""
Abstract interface for Detailed Enrollment Report Provider
"""
__... | agpl-3.0 |
wenlock/oneview-golang | vendor/github.com/docker/machine/libmachine/drivers/serial_test.go | 8005 | package drivers
import (
"testing"
"github.com/docker/machine/libmachine/mcnflag"
"github.com/docker/machine/libmachine/state"
"github.com/stretchr/testify/assert"
)
type CallRecorder struct {
calls []string
}
func (c *CallRecorder) record(call string) {
c.calls = append(c.calls, call)
}
type MockLocker stru... | apache-2.0 |
rooshilp/CMPUT410W15-project | testenv/lib/python2.7/site-packages/django/contrib/contenttypes/tests/tests.py | 10142 | from __future__ import unicode_literals
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes.views import shortcut
from django.contrib.sites.shortcuts import get_current_site
from django.http import HttpRequest, Http404
from django.test import TestCase, override_settings
from dja... | gpl-2.0 |
michaelgallacher/intellij-community | platform/lang-impl/src/com/intellij/execution/ui/layout/impl/DockableGridContainerFactory.java | 1298 | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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... | apache-2.0 |
nevir/rubyspec | library/csv/reader/initialize_spec.rb | 210 | require File.expand_path('../../../../spec_helper', __FILE__)
require 'csv'
ruby_version_is "" ... "1.9" do
describe "CSV::Reader#initialize" do
it "needs to be reviewed for spec completeness"
end
end
| mit |
jenskastensson/openhab | bundles/binding/org.openhab.binding.fritzaha/src/main/java/org/openhab/binding/fritzaha/internal/hardware/callbacks/FritzahaReauthCallback.java | 3121 | /**
* Copyright (c) 2010-2015, 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
*/
pac... | epl-1.0 |
endjin/tinymce | js/tinymce/classes/ui/Throbber.js | 1791 | /**
* Throbber.js
*
* Released under LGPL License.
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* This class enables you to display a Throbber for any element.
*
* @-x-less Throbber.less
* @c... | lgpl-2.1 |
iains/darwin-gcc-5 | libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp | 10393 | // -*- C++ -*-
// 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... | gpl-2.0 |
patricerandria/ccmgr-wp | ccmgr/wp-content/plugins/profile-builder/assets/lib/Mustache/Parser.php | 6315 | <?php
/*
* This file is part of Mustache.php.
*
* (c) 2012 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Mustache Parser class.
*
* This class is responsible for turning a set of Mustache tokens into a p... | gpl-2.0 |
twalpole/bower | test/commands/unregister.js | 2408 | var expect = require('expect.js');
var helpers = require('../helpers');
var fakeRepositoryFactory = function () {
function FakeRepository() { }
FakeRepository.prototype.getRegistryClient = function() {
return {
unregister: function (name, cb) {
cb(null, { name: name });
... | mit |
shakamunyi/kubernetes | pkg/kubelet/cm/node_container_manager_test.go | 12421 | // +build linux
/*
Copyright 2017 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 agree... | apache-2.0 |
Slaffka/moodel | question/behaviour/immediatefeedback/renderer.php | 1417 | <?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 |
tacrow/tacrow | node_modules/hapi/node_modules/vision/test/templates/valid/helpers/tools/lowercase.js | 86 | exports = module.exports = function (context) {
return context.toLowerCase();
};
| mit |
bbcrd/vistatv_live_dashboard | public/components/d3/src/geom/hull.js | 2688 | /**
* Computes the 2D convex hull of a set of points using Graham's scanning
* algorithm. The algorithm has been implemented as described in Cormen,
* Leiserson, and Rivest's Introduction to Algorithms. The running time of
* this algorithm is O(n log n), where n is the number of input points.
*
* @param vertices ... | apache-2.0 |
esi-mineset/spark | sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/SerializedOffset.scala | 1272 | /*
* 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 |
cdnjs/cdnjs | ajax/libs/react-native-web/0.0.0-bd62af4f4/cjs/hooks/useResponderEvents/index.js | 4034 | "use strict";
exports.__esModule = true;
exports.default = useResponderEvents;
var React = _interopRequireWildcard(require("react"));
var ResponderSystem = _interopRequireWildcard(require("./ResponderSystem"));
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new Wea... | mit |
michaelgallacher/intellij-community | java/java-tests/testData/codeInsight/template/postfix/completion/restartCompletionForExactMatch.java | 94 | public class Test {
public static void main(String[] args) {
Boolean.FALSE.<caret>
}
} | apache-2.0 |
SerCeMan/intellij-community | python/testData/mover/multiCompound.py | 46 | for item in range(1,
3):
b = 2<caret>
| apache-2.0 |
pwoodworth/intellij-community | java/java-tests/testData/inspection/dataFlow/fixture/ExceptionFromFinallyNesting.java | 604 | import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
class Foo {
private void run(int port) throws Exception {
Socket socket = new Socket("localhost", port);
try {
InputStream inputReader = socket.getInputStream();
try {
OutputStream outputWriter = socket.getO... | apache-2.0 |
StudentLifeMarketingAndDesign/uisg-OLDNOTUSED | sapphire/thirdparty/tinymce/plugins/media/langs/ms_dlg.js | 2641 | tinyMCE.addI18n('ms.media_dlg',{
title:"Masukkan / sunting media",
general:"Am",
advanced:"Lanjutan",
file:"Fail/URL",
list:"Senarai",
size:"Dimensi",
preview:"Pratonton",
constrain_proportions:"Kadar tahanan",
type:"Jenis",
id:"Id",
name:"Nama",
class_name:"Kelas",
vspace:"Ruangan-Tegak",
hspace:"Ruangan... | bsd-3-clause |
BrennanConroy/corefx | src/System.Data.Odbc/tests/OdbcConnectionSchemaTests.cs | 1192 | // 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 Xunit;
namespace System.Data.Odbc.Tests
{
public class OdbcConnectionSchemaTests
{
[CheckCon... | mit |
miguel250/vagrant | test/unit/vagrant/action/builtin/lock_test.rb | 2601 | require File.expand_path("../../../../base", __FILE__)
describe Vagrant::Action::Builtin::Lock do
let(:app) { lambda { |env| } }
let(:env) { {} }
let(:lock_path) do
@__lock_path = Tempfile.new("vagrant-test-lock")
@__lock_path.path.to_s
end
let(:options) do
{
exception: Class.new(StandardE... | mit |
moodlerooms/moodle | mod/label/mod_form.php | 1354 | <?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 |
alexmandujano/django | tests/i18n/patterns/urls/wrong.py | 276 | from django.conf.urls import include, url
from django.conf.urls.i18n import i18n_patterns
from django.utils.translation import ugettext_lazy as _
urlpatterns = i18n_patterns('',
url(_(r'^account/'), include('i18n.patterns.urls.wrong_namespace', namespace='account')),
)
| bsd-3-clause |
siscia/jsdelivr | files/parsleyjs/2.1.0-rc3/parsley.js | 92310 | /*!
* Parsleyjs
* Guillaume Potier - <guillaume@wisembly.com>
* Version 2.1.0-rc3 - built Sun Mar 15 2015 17:50:03
* MIT Licensed
*
*/
!(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module depending on jQuery.
define(['jquery'], factory);
} else {
... | mit |
soovorov/d8intranet | drupal/core/modules/shortcut/shortcut.api.php | 1344 | <?php
/**
* @file
* Hooks provided by the Shortcut module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Return the name of a default shortcut set for the provided user account.
*
* This hook allows modules to define default shortcut sets for a particular
* user that differ from the site-wide default (for examp... | gpl-2.0 |
ahb0327/intellij-community | python/testData/copyPaste/Dictionary.dst.py | 19 | a = 1
<caret>
b = 2 | apache-2.0 |
paleozogt/cdnjs | ajax/libs/angular.js/1.2.12/i18n/angular-locale_hr.js | 2256 | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"AM",
"PM"
],
"DAY": [
"nedjelja",
"po... | mit |
franciscofruiz/hc | lib/vendor/symfony/lib/user/sfBasicSecurityUser.class.php | 7481 | <?php
/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
* (c) 2004-2006 Sean Kerr <sean@code-box.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* sf... | mit |
sufuf3/cdnjs | ajax/libs/URI.js/1.17.0/URITemplate.js | 14811 | /*!
* URI.js - Mutating URLs
* URI Template Support - http://tools.ietf.org/html/rfc6570
*
* Version: 1.17.0
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
*
* Licensed under
* MIT License http://www.opensource.org/licenses/mit-license
* GPL v3 http://opensource.org/licenses/GPL-3.0
*... | mit |
huangzl233/zxing | core/src/main/java/com/google/zxing/client/result/ISBNResultParser.java | 1443 | /*
* Copyright 2008 ZXing 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 ... | apache-2.0 |
upenn-acg/REMIX | jvm-remix/openjdk/jdk/src/share/classes/sun/awt/geom/ChainEnd.java | 3804 | /*
* Copyright (c) 1998, 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 Softwa... | gpl-2.0 |
junalmeida/Sick-Beard | lib/hachoir_core/cmd_line.py | 1472 | from optparse import OptionGroup
from lib.hachoir_core.log import log
from lib.hachoir_core.i18n import _, getTerminalCharset
from lib.hachoir_core.tools import makePrintable
import lib.hachoir_core.config as config
def getHachoirOptions(parser):
"""
Create an option group (type optparse.OptionGroup) of Hachoi... | gpl-3.0 |
cdnjs/cdnjs | ajax/libs/react-native-web/0.13.10/cjs/exports/BackHandler/index.js | 608 | "use strict";
exports.__esModule = true;
exports.default = void 0;
/**
* Copyright (c) Nicolas Gallagher.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
function emptyFunct... | mit |
gcabrini/workshop-angular | api/node_modules/body-parser/node_modules/raw-body/index.js | 6532 | /*!
* raw-body
* Copyright(c) 2013-2014 Jonathan Ong
* Copyright(c) 2014-2015 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module dependencies.
* @private
*/
var bytes = require('bytes')
var iconv = require('iconv-lite')
var unpipe = require('unpipe')
/**
* Module exports.
* @public
*/... | mit |
bakerfranke/code-dot-org | dashboard/public/apps-package/js/bs_ba/netsim_locale.js | 5719 | var appLocale = {lc:{"ar":function(n){
if (n === 0) {
return 'zero';
}
if (n == 1) {
return 'one';
}
if (n == 2) {
return 'two';
}
if ((n % 100) >= 3 && (n % 100) <= 10 && n == Math.floor(n)) {
return 'few';
}
if ((n % 100) >= 11 && (n % 100) <= 99 && n == Math.floor(n)) {
return '... | apache-2.0 |
nagyistoce/TypeScript | tests/baselines/reference/parserErrorRecovery_ArgumentList4.js | 184 | //// [parserErrorRecovery_ArgumentList4.ts]
function foo() {
bar(a,b
return;
}
//// [parserErrorRecovery_ArgumentList4.js]
function foo() {
bar(a, b);
return;
}
| apache-2.0 |
joshloyal/scikit-learn | examples/svm/plot_weighted_samples.py | 1943 | """
=====================
SVM: Weighted samples
=====================
Plot decision function of a weighted dataset, where the size of points
is proportional to its weight.
The sample weighting rescales the C parameter, which means that the classifier
puts more emphasis on getting these points right. The effect might ... | bsd-3-clause |
him2him2/cdnjs | ajax/libs/element-ui/1.3.4/locale/el.js | 3754 | (function (global, factory) {
if (typeof define === "function" && define.amd) {
define('element/locale/el', ['module', 'exports'], factory);
} else if (typeof exports !== "undefined") {
factory(module, exports);
} else {
var mod = {
exports: {}
};
factory(mod, mod.exports);
global.EL... | mit |
rn0/babel | packages/babel/test/fixtures/transformation/es6.spec.block-scoping-fail/call-2.js | 58 | function b() {
assert.equals(a, 1);
}
let a = 1;
b();
| mit |
Jwing28/myBooks | node_modules/mongodb-core/lib/auth/mongocr.js | 5595 | "use strict";
var f = require('util').format
, crypto = require('crypto')
, Query = require('../connection/commands').Query
, MongoError = require('../error');
var AuthSession = function(db, username, password) {
this.db = db;
this.username = username;
this.password = password;
}
AuthSession.prototype.eq... | mit |
charliemaiors/golang-wol | vendor/golang.org/x/crypto/acme/autocert/renewal.go | 3245 | // 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 autocert
import (
"context"
"crypto"
"sync"
"time"
)
// renewJitter is the maximum deviation from Manager.RenewBefore.
const renewJitter = time.Ho... | mit |
sreym/cdnjs | ajax/libs/prettydate/0.0.2/i18n/prettydate.pt-BR.min.js | 606 | !function(s){"function"==typeof define&&define.amd?define(["jquery"],s):s(jQuery)}(function(s){"use strict";s.fn.prettydate.setDefaults({afterSuffix:"depois",beforeSuffix:"atrás",dateFormat:"DD/MM/YYYY hh:mm:ss",messages:{second:"Agora",seconds:"%s segundos %s",minute:"Um minuto %s",minutes:"%s minutos %s",hour:"Uma ho... | mit |
aeste/binutils | gold/testsuite/icf_string_merge_test.cc | 1564 | // icf_string_merge_test.cc -- a test case for gold
// Copyright 2010 Free Software Foundation, Inc.
// Written by Sriraman Tallam <tmsriram@google.com>.
// This file is part of gold.
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as pu... | gpl-2.0 |
openjdk/jdk7-hotspot | src/share/vm/ci/ciExceptionHandler.cpp | 2648 | /*
* Copyright (c) 1999, 2010, 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 |
arisu1000/kubernetes | pkg/volume/git_repo/git_repo_test.go | 4920 | /*
Copyright 2014 The Kubernetes Authors 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 ag... | apache-2.0 |
nitro2010/moodle | filter/poodll/3rdparty/aws-v2/Aws/S3/Resources/s3-2006-03-01.php | 234902 | <?php
/**
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the... | gpl-3.0 |
gndpig/hadoop | src/core/org/apache/hadoop/record/compiler/JMap.java | 9152 | /**
* 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 |
ashwinr/DefinitelyTyped | types/oracledb/oracledb-tests.ts | 1273 | import * as OracleDB from 'oracledb';
OracleDB.getConnection(
{
user: "hr",
password: "welcome",
connectString: "localhost/XE"
},
function(err, connection) {
if (err) {
console.error(err.message); return;
}
connection.execute(
"SELECT department_id, department_name " +
"FROM departments " +
... | mit |
lichuqiang/kubernetes | pkg/apis/node/zz_generated.deepcopy.go | 4082 | // +build !ignore_autogenerated
/*
Copyright 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 l... | apache-2.0 |
savaki/gocd | tools/jruby-1.7.11/lib/ruby/shared/rubygems/commands/sources_command.rb | 5310 | require 'rubygems/command'
require 'rubygems/remote_fetcher'
require 'rubygems/spec_fetcher'
require 'rubygems/local_remote_options'
class Gem::Commands::SourcesCommand < Gem::Command
include Gem::LocalRemoteOptions
def initialize
require 'fileutils'
super 'sources',
'Manage the sources and ca... | apache-2.0 |
jkorab/camel | camel-core/src/test/java/org/apache/camel/component/bean/BeanInvocationSerializeTest.java | 2697 | /**
* 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 |
Graulf/LIA_wordpress | wp-content/plugins/jetpack/modules/shortcodes/googleplus.php | 1188 | <?php
/**
* Google+ embeds
*/
define( 'JETPACK_GOOGLEPLUS_EMBED_REGEX', '#^https?://plus\.(sandbox\.)?google\.com/(u/\d+/)?([^/]+)/posts/([^/]+)$#' );
// Example URL: https://plus.google.com/114986219448604314131/posts/LgHkesWCmJo
// Alternate example: https://plus.google.com/u/0/100004581596612508203/posts/2UKwN6... | gpl-2.0 |
gitromand/phantomjs | src/qt/qtwebkit/Source/WebCore/inspector/front-end/ElementsTreeOutline.js | 81536 | /*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
* Copyright (C) 2009 Joseph Pecoraro
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1... | bsd-3-clause |
rprata/boost | boost/atomic/detail/ops_gcc_x86_dcas.hpp | 11618 | /*
* 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)
*
* Copyright (c) 2009 Helge Bahmann
* Copyright (c) 2012 Tim Blechmann
* Copyright (c) 2014 Andrey Semashev
*/
/*!
* \file atomic/detail/ops_gcc_x86_dca... | gpl-2.0 |
iivic/BoiseStateX | common/djangoapps/student/cookies.py | 5305 | """
Utility functions for setting "logged in" cookies used by subdomains.
"""
import time
import json
from django.utils.http import cookie_date
from django.conf import settings
from django.core.urlresolvers import reverse, NoReverseMatch
def set_logged_in_cookies(request, response, user):
"""
Set cookies in... | agpl-3.0 |
sfluo/mrbot | crypto/pycrypto-2.6/build/lib.macosx-10.7-intel-2.7/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py | 8612 | # -*- coding: utf-8 -*-
#
# SelfTest/Random/Fortuna/test_FortunaAccumulator.py: Self-test for the FortunaAccumulator module
#
# Written in 2008 by Dwayne C. Litzenberger <dlitz@dlitz.net>
#
# ===================================================================
# The contents of this file are dedicated to the public dom... | bsd-3-clause |
jleonhard/angular2-webpack-jquery-bootstrap | node_modules/tslint/lib/formatters.d.ts | 716 | /**
* @license
* Copyright 2013 Palantir Technologies, 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... | mit |
diegopacheco/scala-playground | caliban-graphql-fun/src/main/resources/gateway/node_modules/core-js/modules/es.string.ends-with.js | 1549 | 'use strict';
var $ = require('../internals/export');
var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;
var toLength = require('../internals/to-length');
var notARegExp = require('../internals/not-a-regexp');
var requireObjectCoercible = require('../internals/require-object-co... | unlicense |
Dokaponteam/ITF_Project | php/pear/adodb/session/adodb-encrypt-md5.php | 751 | <?php
/*
V5.18 3 Sep 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
Contributed by Ross Smith (adodb@netebb.com).
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.
S... | mit |
SirWellington/thrift | lib/nodejs/lib/thrift/binary.js | 3661 | /*
* 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 ma... | apache-2.0 |
emarchak/symfony2_training | vendor/jms/di-extra-bundle/JMS/DiExtraBundle/Tests/DependencyInjection/Compiler/LazyServiceSequencePassTest.php | 1360 | <?php
namespace JMS\DiExtraBundle\Tests\DependencyInjection\Compiler;
use JMS\DiExtraBundle\DependencyInjection\Compiler\LazyServiceSequencePass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\Reference;
clas... | mit |
jkburges/phantomjs | src/qt/qtwebkit/Source/WebCore/Modules/mediasource/MediaSourceRegistry.cpp | 2754 | /*
* Copyright (C) 2012 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | bsd-3-clause |
Magik3a/PatientManagement_Admin | PatientManagement.Reservation/PatientManagement.Reservation.Web.Mvc/wwwroot/lib/jquery-sparkline/src/chart-discrete.js | 2837 | /**
* Discrete charts
*/
$.fn.sparkline.discrete = discrete = createClass($.fn.sparkline._base, barHighlightMixin, {
type: 'discrete',
init: function (el, values, options, width, height) {
discrete._super.init.call(this, el, values, options, width, height);
th... | mit |
cunningt/camel | components/camel-spark-rest/src/test/java/org/apache/camel/component/sparkrest/UserService.java | 1220 | /**
* 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 |
sleepinglion/sleepinglion | node_modules/core-js/features/weak-map/of.js | 417 | 'use strict';
require('../../modules/es.string.iterator');
require('../../modules/es.weak-map');
require('../../modules/esnext.weak-map.of');
require('../../modules/web.dom-collections.iterator');
var path = require('../../internals/path');
var WeakMap = path.WeakMap;
var weakMapOf = WeakMap.of;
module.exports = func... | mit |
hqstevenson/camel | camel-core/src/test/java/org/apache/camel/processor/TryProcessorHandleWrappedExceptionTest.java | 2919 | /**
* 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 |
alnahian/government | src/Orchard.Web/Modules/Orchard.Recipes/Services/RecipeStepQueue.cs | 3676 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Orchard.FileSystems.AppData;
using Orchard.Localization;
using Orchard.Logging;
using Orchard.Recipes.Models;
namespace Orchard.Recipes.Services {
public class RecipeStepQueue : IRecipeStepQueue {
... | bsd-3-clause |
AlexGhiondea/coreclr | tests/src/Loader/classloader/generics/Layout/Specific/Negative004.cs | 1354 | // 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;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Auto)]
public class GenBase<T>
{
T t;... | mit |
chai2/Midterm | node_modules/webpack/lib/DllModuleFactory.js | 498 | /*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
var Tapable = require("tapable");
var DllModule = require("./DllModule");
class DllModuleFactory extends Tapable {
constructor() {
super();
}
create(data, callback) {
const dependency... | mit |
pablopalillo/radio.tm | wp-content/plugins/better-wp-security/core/js/tracking.js | 3380 | if ( typeof itsec_tracking_vars != 'undefined' ) {
href = location.href;
(function () {
var ga = document.createElement( 'script' );
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = docum... | gpl-2.0 |
jeremyepling/TypeScript | tests/cases/projects/decoratorMetadata/emitDecoratorMetadataCommonJSIsolatedModuleNoResolve/main.ts | 168 | import * as ng from "angular2/core";
declare function foo(...args: any[]);
@foo
export class MyClass1 {
constructor(private _elementRef: ng.ElementRef){}
} | apache-2.0 |
klas/joomla-cms | administrator/components/com_login/views/login/view.html.php | 390 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_login
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* HTML View class for the Login compone... | gpl-2.0 |
lvdongr/spark | python/pyspark/mllib/stat/distribution.py | 1263 | #
# 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 not us... | apache-2.0 |
zachgersh/terraform | builtin/providers/aws/import_aws_ebs_volume_test.go | 524 | package aws
import (
"testing"
"github.com/hashicorp/terraform/helper/resource"
)
func TestAccAWSEBSVolume_importBasic(t *testing.T) {
resourceName := "aws_ebs_volume.test"
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
Steps: []resource.TestStep... | mpl-2.0 |
subutai/nupic.core | external/common/include/boost/move/detail/meta_utils_core.hpp | 3225 | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2015-2015.
// 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)
//
// See http://www.boost.org/libs/move... | agpl-3.0 |
Endika/omim | 3party/boost/boost/phoenix/bind/preprocessed/bind_function_object_10.hpp | 5185 | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
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)
========================================... | apache-2.0 |
washcycle/Windows-universal-samples | Samples/FileSearch/js/js/sample-configuration.js | 414 | //// Copyright (c) Microsoft Corporation. All rights reserved
(function () {
"use strict";
var sampleTitle = "File search JS sample";
var scenarios = [
{ url: "/html/scenario1.html", title: "Obtain all files that match a search query" }
];
WinJS.Namespace.define("SdkSample", {
s... | mit |
shahid-pk/coreclr | tests/src/JIT/jit64/valuetypes/nullable/castclass/null/castclass-null006.cs | 979 | // 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.Runtime.InteropServices;
using System;
internal class NullableTest
{
private static bool BoxUnbox... | mit |
How2ForFree/development | wp-content/plugins/wordfence.5.1.4/wordfence/lib/whois/whois.gtld.godaddy.php | 1850 | <?php
/*
Whois.php PHP classes to conduct whois queries
Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic
Maintained by David Saez
For the most recent version of this package visit:
http://www.phpwhois.org
This program is free software; you can redistribute it and/or
modify it under the terms... | gpl-2.0 |
BrennanConroy/corefx | src/System.Reflection.Metadata/tests/TestUtilities/TestMetadataStringDecoder.cs | 790 | // 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.Text;
namespace System.Reflection.Metadata.Tests
{
public unsafe delegate string GetString(byte* ... | mit |
AbdulBasitBashir/learn-typescript | step36_decorators/node_modules/reflect-metadata/temp/test/reflect/reflect-getmetadatakeys.js | 5365 | // Reflect.getMetadataKeys ( target [, propertyKey] )
// - https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#reflectgetmetadatakeys--target--propertykey-
require("../../Reflect");
var assert = require("assert");
function ReflectGetMetadataKeysInvalidTarget() {
// 1. If Type(target) is... | mit |
menglifei/zxing | zxing.appspot.com/src/main/java/com/google/zxing/web/generator/client/Validators.java | 1991 | /*
* Copyright (C) 2008 ZXing 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 agr... | apache-2.0 |