repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
markogresak/DefinitelyTyped | types/carbon__icons-react/es/arrows--vertical/20.d.ts | 54 | export { ArrowsVertical20 as default } from "../../";
| mit |
vastcharade/godot | scene/gui/video_player.cpp | 7355 | /*************************************************************************/
/* video_player.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | mit |
wp-e-commerce/Gold-Cart | merchants/wpec_auth_net/classes/anet_php_sdk/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php | 1306 | <?php
namespace net\authorize\api\contract\v1;
/**
* Class representing ImpersonationAuthenticationType
*
*
* XSD Type: impersonationAuthenticationType
*/
class ImpersonationAuthenticationType
{
/**
* @property string $partnerLoginId
*/
private $partnerLoginId = null;
/**
* @property... | gpl-2.0 |
naaatasha/pr-bny-projekt | wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v3/gateways/php-merchant/tests/gateways/paypal-express-checkout.php | 24698 | <?php
require_once( PHP_MERCHANT_PATH . '/gateways/paypal-express-checkout.php' );
class PHP_Merchant_Paypal_Express_Checkout_Test extends UnitTestCase
{
private $bogus;
private $options;
private $amount;
private $token;
private $setup_purchase_options;
private $purchase_options;
public function __construct()... | gpl-2.0 |
HladikBox/Console | plugins/ace-builds/src/mode-sql.js | 3094 | define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var SqlHighlightRules = function() {
... | apache-2.0 |
drsquidop/aws-sdk-java | aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/DelegationSet.java | 11844 | /*
* Copyright 2010-2015 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 "l... | apache-2.0 |
soldiermoth/aws-sdk-java | aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/GetIdentityNotificationAttributesResult.java | 5829 | /*
* Copyright 2010-2015 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 "l... | apache-2.0 |
drsquidop/aws-sdk-java | aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/transform/ApplyPendingMaintenanceActionRequestMarshaller.java | 2539 | /*
* Copyright 2010-2015 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 "l... | apache-2.0 |
cgvarela/chef | spec/unit/provider/service/redhat_spec.rb | 12114 | #
# Author:: AJ Christensen (<aj@hjksolutions.com>)
# Copyright:: Copyright (c) 2008 HJK Solutions, LLC
# License:: Apache License, Version 2.0
#
# 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... | apache-2.0 |
hpmtissera/product-is | modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/utils/WorkflowConstants.java | 1875 | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/li... | apache-2.0 |
GeoinformationSystems/Time4Maps | WebContent/js/dojo-release-1.9.0/dojox/editor/plugins/nls/Breadcrumb.js | 632 | //>>built
define("dojox/editor/plugins/nls/Breadcrumb",{root:({"nodeActions":"${nodeName} Actions","selectContents":"Select contents","selectElement":"Select element","deleteElement":"Delete element","deleteContents":"Delete contents","moveStart":"Move cursor to start","moveEnd":"Move cursor to end"}),"zh":true,"zh-tw"... | apache-2.0 |
jgcaaprom/android_external_chromium_org | net/quic/quic_server_test.cc | 1908 | // 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 "net/quic/quic_server.h"
#include "net/quic/crypto/quic_random.h"
#include "net/quic/quic_utils.h"
#include "net/quic/test_tools/mock_quic_dispa... | bsd-3-clause |
brettonw/Jane | site/js-lib/d3/examples/splom/splom.js | 3532 | d3.json("flowers.json", function(flower) {
// Size parameters.
var size = 150,
padding = 19.5,
n = flower.traits.length;
// Position scales.
var x = {}, y = {};
flower.traits.forEach(function(trait) {
var value = function(d) { return d[trait]; },
domain = [d3.min(flower.values, value... | mit |
toaicntt/base | assets/vendor/ckfinder/core/connector/php/vendor/league/flysystem-cached-adapter/src/CachedAdapter.php | 6534 | <?php
namespace League\Flysystem\Cached;
use League\Flysystem\AdapterInterface;
use League\Flysystem\Config;
class CachedAdapter implements AdapterInterface
{
/**
* @var AdapterInterface
*/
private $adapter;
/**
* @var CacheInterface
*/
private $cache;
/**
* Constructor... | mit |
gippy/nahladine | wp-content/plugins/sitepress-multilingual-cms/inc/upgrade-functions/upgrade-2.0.0.php | 12425 | <?php
function icl_upgrade_2_0_0_steps($step, $stepper){
global $wpdb, $sitepress, $wp_post_types, $sitepress_settings;
if(!isset($sitepress)) $sitepress = new SitePress;
$TranslationManagement = new TranslationManagement;
define('ICL_TM_DISABLE_ALL_NOTIFICATIONS', true); // make sure no notification... | gpl-2.0 |
heqiaoliu/Viral-Dark-Matter | tmp/install_4f20918762d32/components/com_content/views/featured/view.feed.php | 2641 | <?php
/**
* @version $Id: view.feed.php 21589 2011-06-20 17:38:33Z chdemko $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.applicatio... | gpl-2.0 |
rrevanth/shooter-player | Thirdparty/boost/boost/local_function/detail/preprocessor/void_list.hpp | 5557 |
// Copyright (C) 2009-2012 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE_1_0.txt or a copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Home at http://www.boost.org/libs/local_function
#ifndef BOOST_LOCAL_FUNCTION_DETAIL_PP_VOID_LIST_HPP_
#define BOO... | gpl-2.0 |
gombadi/aws-tools | vendor/github.com/aws/aws-sdk-go/service/firehose/examples_test.go | 7404 | // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package firehose_test
import (
"bytes"
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/firehose"
)
var _ time.Duration
var _ bytes.Buffer
func ExampleFirehose_CreateDeliveryStream() {... | apache-2.0 |
ROMFactory/android_external_chromium_org | chrome/test/chromedriver/chrome/status.cc | 2862 | // 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 "chrome/test/chromedriver/chrome/status.h"
#include "base/strings/stringprintf.h"
namespace {
// Returns the string equivalent of the give... | bsd-3-clause |
mbroadst/aurelia-plunker | jspm_packages/npm/aurelia-history@1.0.0-beta.1/aurelia-history.d.ts | 1301 | declare module 'aurelia-history' {
/**
* The options that can be specified as part of a history navigation request.
*/
export interface NavigationOptions {
/**
* Replace the existing route.
*/
replace?: boolean;
/**
* Trigger the router.
*/
trigger?: bo... | mit |
sin3fu3/inkjet-conveni | data/module/Compat/tests/function/array_key_exists.phpt | 407 | --TEST--
Function -- array_key_exists
--SKIPIF--
<?php if (function_exists('array_key_exists')) { echo 'skip'; } ?>
--FILE--
<?php
require_once 'PHP/Compat.php';
PHP_Compat::loadFunction('array_key_exists');
$search_array = array("first" => 1, "second" => 4);
if (array_key_exists("first", $search_array)) {
echo "Th... | gpl-2.0 |
frohoff/jdk8u-jdk | src/share/classes/sun/net/www/content/image/gif.java | 2101 | /*
* Copyright (c) 1994, 2013, 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 |
markllama/origin | vendor/github.com/openshift/client-go/servicecertsigner/informers/externalversions/servicecertsigner/interface.go | 1107 | // Code generated by informer-gen. DO NOT EDIT.
package servicecertsigner
import (
internalinterfaces "github.com/openshift/client-go/servicecertsigner/informers/externalversions/internalinterfaces"
v1alpha1 "github.com/openshift/client-go/servicecertsigner/informers/externalversions/servicecertsigner/v1alpha1"
)
... | apache-2.0 |
yumingjuan/selenium | py/selenium/webdriver/remote/errorhandler.py | 6364 | # Copyright 2010 WebDriver committers
# 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 ap... | apache-2.0 |
vinay-qa/vinayit-android-server-apk | java/client/src/org/openqa/selenium/remote/AugmenterProvider.java | 1192 | /*
Copyright 2007-2010 Selenium committers
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 |
jiajiechen/mxnet | tools/caffe_translator/src/main/java/io/mxnet/caffetranslator/Utils.java | 1446 | /*
* 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 |
tomerf/kubernetes | staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go | 7279 | /*
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 |
hambroperks/j2objc | jre_emul/stub_classes/java/lang/reflect/Method.java | 2534 | /*
* 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 |
cuheguevara/zendframework2 | library/Zend/Feed/Reader/Extension/DublinCore/Feed.php | 7137 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Z... | bsd-3-clause |
davewalker/Symfony-Exploration | vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/Fixtures/Bundles/Vendor/AnnotationsBundle/Entity/Test.php | 301 | <?php
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Fixtures\Bundles\Vendor\AnnotationsBundle\Entity;
class Test
{
}
| mit |
fengnovo/webpack-react | react-redux-demo/todomvc/src/components/TodoTextInput.js | 1169 | import React, { Component, PropTypes } from 'react'
import classnames from 'classnames'
export default class TodoTextInput extends Component {
static propTypes = {
onSave: PropTypes.func.isRequired,
text: PropTypes.string,
placeholder: PropTypes.string,
editing: PropTypes.bool,
newTodo: PropTypes... | mit |
sperling/coreclr | src/mscorlib/src/System/Runtime/InteropServices/ComEventsHelper.cs | 10775 | // 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.
/*============================================================
**
**
** Purpose: ComEventHelpers APIs allow binding... | mit |
vegantriathlete/mastering-drupal-8-development | core/modules/migrate/tests/src/Unit/process/DedupeEntityTest.php | 7622 | <?php
namespace Drupal\Tests\migrate\Unit\process;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\Query\QueryInterface;
use Drupal\migrate\Plugin\migrate\process\DedupeEntity;
use Drupal\Component\Utility\Unicode;
/**
* @coversDefaultClass \D... | gpl-2.0 |
Mileto/NiuShard | Scripts/Services/Virtues/VirtueGump.cs | 6066 | using System;
using System.Collections;
using Server.Gumps;
using Server.Network;
namespace Server
{
public delegate void OnVirtueUsed(Mobile from);
public class VirtueGump : Gump
{
private static readonly Hashtable m_Callbacks = new Hashtable();
private static readonly int[] m_Table = new... | gpl-2.0 |
aakb/replicator | sites/all/modules/contrib/jquery_ui/jquery.ui/tests/unit/datepicker/datepicker_tickets.js | 464 | /*
* datepicker_tickets.js
*/
(function($) {
module("datepicker: tickets");
test('#4055: onclick events contain references to "jQuery"', function() {
// no assertions, if the test fails, there will be an error
var _jQuery = jQuery;
jQuery = null;
$('<div/>').appendTo('body').datepicker()
// the third weeke... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/operators/equal.cc | 1380 | // { dg-options "-std=c++0x" }
// { dg-require-cstdint "" }
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008-2014 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 th... | gpl-2.0 |
JennyCumming/blog | core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php | 3859 | <?php
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\TypedData\OptionsProviderInterface;
use Drupal\Core\TypedData\ComplexDataInterface;
use Drupal\Core\TypedData\PrimitiveInterfa... | gpl-2.0 |
greasydeal/darkstar | src/common/zlib.cpp | 3485 | #include "../common/zlib.h"
#include "../common/showmsg.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
uint32 zlib_compress_table[512];
uintptr zlib_decompress_table[2556];
int32 zlib_init()
{
memset(zlib_compress_table, 0, sizeof(zlib_compress_table));
memset(zlib_decompress_table,... | gpl-3.0 |
heqichen/ardublock | src/main/java/com/ardublock/translator/block/WireIsReadBlock.java | 479 | package com.ardublock.translator.block;
import com.ardublock.translator.Translator;
public class WireIsReadBlock extends TranslatorBlock
{
public WireIsReadBlock(Long blockId, Translator translator, String codePrefix, String codeSuffix, String label)
{
super(blockId, translator, codePrefix, codeSuffix, label);
}... | gpl-3.0 |
purplecabbage/cordova-lib | spec/cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot1.js | 165 | #!/usr/bin/env node
var path = require('path');
var orderLogger = require(path.join(process.argv.slice(2)[0], 'scripts', 'orderLogger'));
orderLogger.logOrder('02'); | apache-2.0 |
abaranau/hbase | src/main/java/org/apache/hadoop/hbase/util/HBaseConfTool.java | 1409 | /*
* Copyright 2010 The Apache Software Foundation
*
* 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-2.0 |
pranavraman/elasticsearch | core/src/test/java/org/elasticsearch/transport/NettySizeHeaderFrameDecoderTests.java | 4577 | /*
* 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 |
ern/elasticsearch | server/src/test/java/org/elasticsearch/bootstrap/JNANativesTests.java | 1179 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
lan666as/LineBotTemplate | vendor/github.com/line/line-bot-sdk-go/linebot/template.go | 6615 | // Copyright 2016 LINE Corporation
//
// LINE Corporation 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 requi... | apache-2.0 |
pagekit/pagekit | app/modules/kernel/src/Event/ResponseListener.php | 1025 | <?php
namespace Pagekit\Kernel\Event;
use Pagekit\Event\EventSubscriberInterface;
/**
* @author Fabien Potencier <fabien@symfony.com>
* @copyright Copyright (c) 2004-2015 Fabien Potencier
*/
class ResponseListener implements EventSubscriberInterface
{
/**
* @var string
*/
protected $charset;
... | mit |
Jascen/UOSmart | Scripts/Services/XmlSpawner/XMLSpawner Extras/XmlCustomAttacks/TestCustomWeapon.cs | 1548 | using System;
using Server;
using Server.Engines.XmlSpawner2;
namespace Server.Items
{
public class TestCustomWeapon : Katana
{
[Constructable]
public TestCustomWeapon()
{
Name = "Test weapon";
switch(Utility.Random(3))
{
case 0:
// add a custom ... | gpl-2.0 |
naderman/pflow | lib/ezc/trunk/ConsoleTools/docs/tutorial_example_08_statusbar.php | 656 | <?php
require_once 'tutorial_autoload.php';
$output = new ezcConsoleOutput();
$output->formats->success->color = 'green';
$output->formats->failure->color = 'red';
$options = array(
'successChar' => $output->formatText( '+', 'success' ),
'failureChar' => $output->formatText( '-', 'failure' ),
);
$status =... | gpl-3.0 |
BackupGGCode/propgcc | gcc/gcc/testsuite/go.test/test/fixedbugs/bug239.go | 414 | // $G $D/$F.go || echo BUG: bug239
// Copyright 2009 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.
// Test case for issue 475. This file should compile.
package main
import . "unsafe"
func main() {
var x int
println(Si... | gpl-3.0 |
shidao-fm/canvas-lms | app/controllers/course_audit_api_controller.rb | 7542 | #
# Copyright (C) 2014 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that ... | agpl-3.0 |
reneploetz/keycloak | adapters/saml/as7-eap6/subsystem/src/main/java/org/keycloak/subsystem/saml/as7/SingleSignOnDefinition.java | 3516 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | apache-2.0 |
sudosurootdev/external_chromium_org | chrome/browser/ui/libgtk2ui/PRESUBMIT.py | 548 | #!/usr/bin/python
# 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.
"""Chromium presubmit script for src/chrome/browser/ui/libgtk2ui.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit... | bsd-3-clause |
CyanogenMod/android_external_chromium_org_third_party_webrtc | base/winfirewall.cc | 4408 | /*
* Copyright 2004 The WebRTC Project Authors. 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. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | bsd-3-clause |
andrewvc/email-spec | examples/rails3_root/lib/notifier_job.rb | 149 | class NotifierJob < Struct.new(:notifier_method,:username,:name)
def perform
UserMailer.send(notifier_method,username, name).deliver
end
end
| mit |
gusortiz/code_challenges | node_modules/rimraf/bin.js | 1878 | #!/usr/bin/env node
const rimraf = require('./')
const path = require('path')
const isRoot = arg => /^(\/|[a-zA-Z]:\\)$/.test(path.resolve(arg))
const filterOutRoot = arg => {
const ok = preserveRoot === false || !isRoot(arg)
if (!ok) {
console.error(`refusing to remove ${arg}`)
console.error('Set --no-p... | mit |
falcontersama/chatbot | node_modules/webpack/node_modules/source-list-map/lib/fromStringWithSourceMap.js | 3020 | /*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var base64VLQ = require("./base64-vlq");
var SourceNode = require("./SourceNode");
var CodeNode = require("./CodeNode");
var SourceListMap = require("./SourceListMap");
module.exports = function fromStringWithSourceMap(... | mit |
mollstam/UnrealPy | UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/reportlab-3.2.0/src/reportlab/lib/pygments2xpre.py | 2578 | """Helps you output colourised code snippets in ReportLab documents.
Platypus has an 'XPreformatted' flowable for handling preformatted
text, with variations in fonts and colors. If Pygments is installed,
calling 'pygments2xpre' will return content suitable for display in
an XPreformatted object. If it's not instal... | mit |
sullenor/about-css-modules | bower_components/prismjs/plugins/file-highlight/prism-file-highlight.min.js | 769 | (function(){if(!self.Prism||!self.document||!document.querySelector)return;var e={js:"javascript",html:"markup",svg:"markup"};Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(t){var n=t.getAttribute("data-src"),r=(n.match(/\.(\w+)$/)||[,""])[1],i=e[r]||r,s=document.createElement("... | mit |
hodobaj/Pandaren5.3.0-master | src/server/game/Spells/SpellScript.cpp | 41679 | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.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 version 2 of the License, or (at your
* option) any later ve... | gpl-2.0 |
haris-raheem/SuiteCRM | modules/ACLRoles/vardefs.php | 6154 | <?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.
*
* Suite... | agpl-3.0 |
HashEngineering/dimecoinj | core/src/main/java/com/google/bitcoin/wallet/DefaultCoinSelector.java | 5121 | package com.google.bitcoin.wallet;
import com.google.bitcoin.core.NetworkParameters;
import com.google.bitcoin.core.Transaction;
import com.google.bitcoin.core.TransactionConfidence;
import com.google.bitcoin.core.TransactionOutput;
import com.google.bitcoin.params.RegTestParams;
import com.google.common.annotations.V... | apache-2.0 |
aaron-goshine/angular | modules/angular2/src/core/zone/ng_zone.ts | 12021 | import {ListWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
import {normalizeBlank, isPresent, global} from 'angular2/src/core/facade/lang';
import {wtfLeave, wtfCreateScope, WtfScopeFn} from '../profile/profile';
export interface NgZoneZone extends Zone { _innerZone: boolean; }
/**
* An inje... | apache-2.0 |
emretiryaki/Orchard | src/Orchard.Web/Modules/Orchard.MediaLibrary/Scripts/media-library-picker.js | 5393 | (function($) {
$(".media-library-picker-field").each(function() {
var element = $(this);
var multiple = element.data("multiple");
var removeText = element.data("remove-text");
var removePrompt = element.data("remove-prompt");
var removeAllPrompt = element.data("remove-all-p... | bsd-3-clause |
soltanmm/grpc | src/csharp/Grpc.Auth/Properties/AssemblyInfo.cs | 375 | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Grpc.Auth")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Google Inc. All rights reserved.")]
[assembly: ... | bsd-3-clause |
dakshshah96/cdnjs | ajax/libs/ag-grid/7.1.0/lib/rendering/cellEditorFactory.js | 5132 | /**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v7.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c <... | mit |
shimingsg/corefx | src/System.Collections.Specialized/tests/HybridDictionary/HybridDictionary.CtorTests.cs | 2327 | // 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.Collections.Specialized.Tests
{
public class HybridDictionaryCtorTests
{
... | mit |
sethpollack/kubernetes | staging/src/k8s.io/code-generator/_examples/crd/clientset/versioned/typed/example/v1/fake/fake_testtype.go | 5378 | /*
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 law or agreed to in writing, softw... | apache-2.0 |
nawawi/docker | vendor/github.com/coreos/go-systemd/v22/activation/files_windows.go | 676 | // 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 |
microhackathon-test/marketing-offer-generator-lodz | src/main/groovy/com/ofg/twitter/config/Versions.java | 570 | package com.ofg.twitter.config;
public final class Versions {
private Versions() {
throw new UnsupportedOperationException("Can't instantiate a utility class");
}
public static final String APP_NAME = "com.ofg.twitter-places-analyzer";
public static final String VND_PREFIX = "application/vnd";... | apache-2.0 |
BrainlessLabs/bun | include/third_party/msgpack/msgpack/preprocessor/debug/error.hpp | 1640 | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | bsd-3-clause |
wolfzero1314/ReactDemo | node_modules/acorn/dist/walk.es.js | 13610 | // AST walker module for Mozilla Parser API compatible trees
// A simple walk is one where you simply specify callbacks to be
// called on specific nodes. The last two arguments are optional. A
// simple use would be
//
// walk.simple(myTree, {
// Expression: function(node) { ... }
// });
//
// to do s... | apache-2.0 |
gordoney/gzsito | libraries/legacy/table/menu.php | 7316 | <?php
/**
* @package Joomla.Legacy
* @subpackage Table
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
use Joomla\Registry\Registry;
/**
* Menu table
*... | gpl-2.0 |
infobip/infobip-open-jdk-8 | nashorn/docs/source/RunnableImpl.java | 2590 | /*
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. 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
* no... | gpl-2.0 |
lluisanunez/goodmood | mod/workshop/exassessment.php | 8578 | <?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 |
nasomi/darkstar | scripts/globals/items/boiled_crayfish.lua | 1248 | -----------------------------------------
-- ID: 4535
-- Item: Boiled Crayfish
-- Food Effect: 30Min, All Races
-----------------------------------------
-- defense % 30
-- defense % 25
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
eripahle/framework | Samples/Neuro/Classification (ANN)/AboutBox.cs | 3339 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace SampleApp
{
partial class AboutBox : Form
{
public AboutBox()
{
InitializeComponent();
th... | lgpl-2.1 |
nkubala/container-diff | vendor/github.com/google/go-github/github/issues_events.go | 4746 | // Copyright 2014 The go-github 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 github
import (
"context"
"fmt"
"time"
)
// IssueEvent represents an event that occurred around an Issue or Pull Request.
type IssueEvent... | apache-2.0 |
txominpelu/airflow | tests/__init__.py | 59 | from __future__ import absolute_import
from .core import *
| apache-2.0 |
yynil/elasticsearch | plugins/store-smb/src/test/java/org/elasticsearch/index/store/AbstractAzureFsTestCase.java | 1747 | /*
* 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 |
makhdumi/azure-sdk-for-net | src/ServiceManagement/HDInsight/Microsoft.WindowsAzure.Management.HDInsight/HDInsightClient.cs | 43792 | // Copyright (c) Microsoft Corporation
// 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
//
// THIS CODE IS PROVIDED *A... | apache-2.0 |
xissburg/XDefrac | boost/algorithm/string/concept.hpp | 2427 | // Boost string_algo library concept.hpp header file ---------------------------//
// Copyright Pavol Droba 2002-2003.
//
// 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://ww... | mit |
ghetolay/angular | packages/compiler/test/pipe_resolver_spec.ts | 1538 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {PipeResolver} from '@angular/compiler/src/pipe_resolver';
import {ɵstringify as stringify} from '@angular/co... | mit |
holmari/robolectric | robolectric-resources/src/main/java/org/robolectric/res/XpathResourceXmlLoader.java | 4180 | package org.robolectric.res;
import com.ximpleware.AutoPilot;
import com.ximpleware.NavException;
import com.ximpleware.VTDNav;
import com.ximpleware.XPathEvalException;
import com.ximpleware.XPathParseException;
import org.jetbrains.annotations.NotNull;
import javax.xml.xpath.XPathExpressionException;
public abstra... | mit |
Kogser/bitcoin | db-4.8.30.NC/examples_java/src/collections/ship/entity/Weight.java | 990 | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002-2009 Oracle. All rights reserved.
*
* $Id$
*/
package collections.ship.entity;
import java.io.Serializable;
/**
* Weight represents a weight amount and unit of measure.
*
* <p> In this sample, Weight is embedded in part data ... | mit |
kreynen/civicrm-starterkit-drops-7 | profiles/civicrm_starterkit/modules/contrib/wysiwyg/wysiwyg.api.php | 15516 | <?php
/**
* @file
* API documentation for Wysiwyg module.
*
* To implement a "Drupal plugin" button, you need to write a Wysiwyg plugin:
* - Implement hook_wysiwyg_include_directory() to register the directory
* containing plugin definitions.
* - In each plugin definition file, implement hook_INCLUDE_plugin()... | gpl-2.0 |
SayenkoDesign/gogo-racing.com | wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy.php | 10889 | <?php
/**
* @package WPSEO\Admin
*/
/**
* Class that handles the edit boxes on taxonomy edit pages.
*/
class WPSEO_Taxonomy {
/**
* The current active taxonomy
*
* @var string
*/
private $taxonomy = '';
/**
* Class constructor
*/
public function __construct() {
$this->taxonomy = $this->get_taxo... | gpl-2.0 |
lehung151292/bestilblomster | wp-content/plugins/w3-total-cache/pub/js/lightbox.js | 18494 | var W3tc_Lightbox = {
window: jQuery(window),
container: null,
options: null,
create: function() {
var me = this;
this.container = jQuery('<div class="lightbox lightbox-loading"><div class="lightbox-close">Close window</div><div class="lightbox-content"></div></div>').css({
... | gpl-2.0 |
koutheir/incinerator-hotspot | nashorn/test/script/trusted/NASHORN-653.js | 2862 | /*
* Copyright (c) 2010, 2013, 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 |
signed/intellij-community | plugins/javaFX/testData/rename/NestedControllerIdFromJava_after.java | 189 | import javafx.fxml.FXML;
import javafx.scene.layout.VBox;
class NestedControllerIdFromJava {
@FXML
private VBox newName;
@FXML NestedControllerIdFromJavaInternal newNameController;
} | apache-2.0 |
neo1973/xbmc | xbmc/addons/binary/interfaces/api1/AudioEngine/AddonCallbacksAudioEngine.cpp | 12949 | /*
* Copyright (C) 2014 Team KODI
* http://kodi.tv
*
* 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 version 2, or (at your option)
* any later version.
*
* This P... | gpl-2.0 |
dockerizedrupal/dockerizedrupal.com | core/modules/views/src/Tests/Plugin/MenuLinkTest.php | 2751 | <?php
namespace Drupal\views\Tests\Plugin;
use Drupal\menu_link_content\Entity\MenuLinkContent;
use Drupal\views\Tests\ViewTestBase;
/**
* Tests the menu links created in views.
*
* @group views
*/
class MenuLinkTest extends ViewTestBase {
/**
* Views used by this test.
*
* @var array
*/
public ... | gpl-2.0 |
Yonnick/userinfuser | static/lib/development-bundle/ui/jquery.ui.resizable.js | 26336 | /*
* jQuery UI Resizable 1.8.5
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Resizables
*
* Depends:
* jquery.ui.core.js
* jquery.ui.mouse.js
* jquery.ui.widget.js
*/
(function( ... | gpl-3.0 |
srijeyanthan/hadoop_2_4_0_experimental_version | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HdfsConfiguration.java | 6589 | /**
* 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 |
esi-mineset/spark | core/src/main/scala/org/apache/spark/storage/BlockManagerMessages.scala | 4783 | /*
* 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 |
him2him2/cdnjs | ajax/libs/mobx-react/3.5.0/index.js | 16011 | (function() {
function mrFactory(mobx, React, ReactDOM) {
if (!mobx)
throw new Error("mobx-react requires the MobX package")
if (!React)
throw new Error("mobx-react requires React to be available");
/**
* dev tool support
*/
var isDevtoolsEn... | mit |
arnaudchenyensu/vagrant-php | modules/concat/spec/spec_helper_system.rb | 664 | require 'rspec-system/spec_helper'
require 'rspec-system-puppet/helpers'
require 'rspec-system-serverspec/helpers'
include Serverspec::Helper::RSpecSystem
include Serverspec::Helper::DetectOS
include RSpecSystemPuppet::Helpers
RSpec.configure do |c|
# Project root
proj_root = File.expand_path(File.join(File.dirnam... | gpl-2.0 |
sushengyang/CoreNLP | src/edu/stanford/nlp/international/arabic/pipeline/UniversalPOSMapper.java | 3545 | package edu.stanford.nlp.international.arabic.pipeline;
import java.io.*;
import java.util.List;
import java.util.Map;
import edu.stanford.nlp.international.arabic.ArabicMorphoFeatureSpecification;
import edu.stanford.nlp.international.morph.MorphoFeatureSpecification;
import edu.stanford.nlp.international.morph.Morp... | gpl-2.0 |
jriegel/FreeCAD | src/Mod/Assembly/App/ProductRef.cpp | 2516 | /***************************************************************************
* Copyright (c) 2012 Juergen Riegel <FreeCAD@juergen-riegel.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | lgpl-2.1 |
unreal666/youtube-dl | youtube_dl/extractor/qqmusic.py | 13646 | # coding: utf-8
from __future__ import unicode_literals
import random
import re
import time
from .common import InfoExtractor
from ..utils import (
clean_html,
ExtractorError,
strip_jsonp,
unescapeHTML,
)
class QQMusicIE(InfoExtractor):
IE_NAME = 'qqmusic'
IE_DESC = 'QQ音乐'
_VALID_URL = r... | unlicense |
bboyfeiyu/AndEngine | src/org/andengine/opengl/util/criteria/GLExtensionsGLCriteria.java | 1631 | package org.andengine.opengl.util.criteria;
import org.andengine.opengl.util.GLState;
import org.andengine.util.adt.data.operator.StringOperator;
/**
* (c) Zynga 2011
*
* @author Nicolas Gramlich <ngramlich@zynga.com>
* @since 21:02:01 - 10.10.2011
*/
public class GLExtensionsGLCriteria extends StringGLCriteria ... | apache-2.0 |
samphilipd/rails | activesupport/test/autoloading_fixtures/should_not_be_required.rb | 26 | ShouldNotBeAutoloaded = 0
| mit |