repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
PepperPD/edx-pepper-platform
static/xmodule_js/common_static/xmodule/descriptors/js/001-a540140df081888388f2d1b0d37daaeb.a540140df081.js
14096
// Generated by CoffeeScript 1.6.3 (function() { var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() {...
agpl-3.0
dongjoon-hyun/spark
core/src/main/scala/org/apache/spark/deploy/master/Master.scala
52280
/* * 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
sebastiankirsch/spring-boot
spring-boot-test/src/test/java/org/springframework/boot/test/json/AbstractJsonMarshalTesterTests.java
7114
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
bryanchou/cat
cat-home/src/main/java/com/dianping/cat/report/page/dependency/graph/TopologyGraphManager.java
9259
package com.dianping.cat.report.page.dependency.graph; import java.util.Collection; import java.util.Date; import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.codehaus.plexus.logging.LogEnabled; import org.codehaus...
apache-2.0
michaelgallacher/intellij-community
platform/lang-impl/src/com/intellij/refactoring/memberPushDown/AbstractPushDownDialog.java
4609
/* * Copyright 2000-2016 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
afilimonov/jackrabbit-oak
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/AbstractTypeDefinition.java
4181
/* * 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
spiffxp/kubernetes
test/images/webhook/addlabel.go
1676
/* Copyright 2018 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
SeanKilleen/elasticsearch-net
src/Tests/Nest.Tests.Unit/QueryParsers/Queries/FilteredQueryTests.cs
439
using NUnit.Framework; namespace Nest.Tests.Unit.QueryParsers.Queries { [TestFixture] public class FilteredQueryTests : ParseQueryTestsBase { [Test] public void Filtered_Deserializes() { var q = this.SerializeThenDeserialize( f=>f.Filtered, f=>f.Filtered(fq=>fq .Filter(ff=>Filter1) .Qu...
apache-2.0
baifendian/sqoop
src/java/com/cloudera/sqoop/io/NamedFifo.java
1177
/** * 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
rabipanda/tensorflow
tensorflow/compiler/xla/packed_literal_reader.cc
3376
/* Copyright 2017 The TensorFlow 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 a...
apache-2.0
TheTypoMaster/chromium-crosswalk
chrome/browser/chromeos/platform_keys/platform_keys.cc
531
// 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/chromeos/platform_keys/platform_keys.h" namespace chromeos { namespace platform_keys { const char kTokenIdUser[] = "user"; con...
bsd-3-clause
sebbrudzinski/modules
commcare/src/main/java/org/motechproject/commcare/domain/CommcareModuleJson.java
1341
package org.motechproject.commcare.domain; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.List; /** * Represents a single CommCare module. A CommCare module is a set of forms related to one topic area. A single CommCare * ...
bsd-3-clause
coppedis/AliRoot
PYTHIA8/pythia8210dev/src/BoseEinstein.cc
10440
// BoseEinstein.cc is a part of the PYTHIA event generator. // Copyright (C) 2015 Torbjorn Sjostrand. // PYTHIA is licenced under the GNU GPL version 2, see COPYING for details. // Please respect the MCnet Guidelines, see GUIDELINES for details. // Function definitions (not found in the header) for the BoseEinsten cla...
bsd-3-clause
Wouter0100/croogo
Install/Config/Data/MetaData.php
235
<?php class MetaData { public $table = 'meta'; public $records = array( array( 'id' => '1', 'model' => 'Node', 'foreign_key' => '1', 'key' => 'meta_keywords', 'value' => 'key1, key2', 'weight' => '' ), ); }
mit
phatpenguin/boxen-belgarion
.bundle/ruby/1.9.1/gems/puppet-3.1.0/spec/unit/module_tool/install_directory_spec.rb
2479
require 'spec_helper' require 'puppet/module_tool/install_directory' describe Puppet::ModuleTool::InstallDirectory do def expect_normal_results results = installer.run results[:installed_modules].length.should eq 1 results[:installed_modules][0][:module].should == "pmtacceptance-stdlib" results[:inst...
mit
zenners/angular-contacts
node_modules/firebase/node_modules/faye-websocket/node_modules/websocket-driver/node_modules/websocket-extensions/node_modules/jstest/node_modules/karma/node_modules/karma-chrome-launcher/node_modules/karma/node_modules/cucumber/lib/cucumber/ast/background.js
838
function Background(keyword, name, description, uri, line) { var Cucumber = require('../../cucumber'); var steps = Cucumber.Type.Collection(); var self = { getKeyword: function getKeyword() { return keyword; }, getName: function getName() { return name; }, getDescription: funct...
mit
Codewow/GameGolem
php/moderate/hdfdfh.php
142
<?php include_once("../submitted-header.php") ?><?php include_once("../submitted-body.php") ?><?php include_once("../submitted-footer.php") ?>
mit
bianca/career-facilitation
application/third_party/PHPExcel/CachedObjectStorage/MemoryGZip.php
4323
<?php /** * PHPExcel * * Copyright (c) 2006 - 2013 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any...
mit
ezgatrabajo/sf_prueba1
vendor/symfony/symfony/src/Symfony/Component/Intl/Data/Bundle/Reader/JsonBundleReader.php
1686
<?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\Intl\Data\Bundle\Reader; use Symfony\Component\Intl\E...
mit
Gurgel100/gcc
gcc/testsuite/g++.dg/debug/dwarf2/default-arg1.C
204
// PR c++/65821 // { dg-options "-gdwarf-2 -dA" } int b = 12; inline void foo(const int &x = (b+3)) { b = x; } int main() { foo(); // { dg-final { scan-assembler-not "default-arg1.C:6" } } }
gpl-2.0
gcoco/GoldenCheetah
deprecated/StravaUploadDialog.cpp
16919
/* * Copyright (c) 2011-2013 Justin F. Knotzke (jknotzke@shampoo.ca), * Damien.Grauser (damien.grauser@pev-geneve.ch) * * 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 Foundati...
gpl-2.0
SpacePorts/Cubesat-Mission-Online-Database
vendor/respect/validation/tests/library/Respect/Validation/Rules/WritableTest.php
1516
<?php namespace Respect\Validation\Rules; $GLOBALS['is_writable'] = null; function is_writable($writable) { $return = \is_writable($writable); // Running the real function if (null !== $GLOBALS['is_writable']) { $return = $GLOBALS['is_writable']; $GLOBALS['is_writable'] = null; ...
gpl-2.0
feirie/Mycat-Server
src/main/java/io/mycat/server/config/node/CharsetConfig.java
326
package io.mycat.server.config.node; import java.util.HashMap; import java.util.Map; public class CharsetConfig { private Map<String, Object> props = new HashMap<String, Object>(); public Map<String, Object> getProps() { return props; } public void setProps(Map<String, Object> props) { this.props = props; ...
gpl-2.0
deftsoft/Joomla
administrator/components/com_newsfeeds/views/newsfeed/tmpl/edit_params.php
951
<?php /** * @version $Id: edit_params.php 20196 2011-01-09 02:40:25Z ian $ * @package Joomla.Administrator * @subpackage com_newsfeeds * @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...
gpl-2.0
idskiv/wotlk
src/server/scripts/Northrend/AzjolNerub/Ahnkahet/instance_ahnkahet.cpp
12177
/* * 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
LyndonMarques/devdollibar
htdocs/core/js/editinplace.js
11931
// Copyright (C) 2011-2014 Regis Houssin <regis.houssin@capnetworks.com> // Copyright (C) 2011 Laurent Destailleur <eldy@users.sourceforge.net> // // 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 Founda...
gpl-3.0
unix4you2/pcoder
inc/bootstrap/js/plugins/collapse.js
5979
/* ======================================================================== * Bootstrap: collapse.js v3.3.1 * http://getbootstrap.com/javascript/#collapse * ======================================================================== * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/boo...
gpl-3.0
applifireAlgo/HR
hrproject/src/main/webapp/ext/src/selection/TreeModel.js
4637
/** * Adds custom behavior for left/right keyboard navigation for use with a tree. * Depends on the view having an expand and collapse method which accepts a * record. This selection model is created by default for {@link Ext.tree.Panel}. */ Ext.define('Ext.selection.TreeModel', { extend: 'Ext.selection.RowMode...
gpl-3.0
stahta01/codeblocks-svn2git
src/templates/win32/opengl-main.cpp
4213
/************************** * Includes * **************************/ #include <windows.h> #include <gl/gl.h> /************************** * Function Declarations * **************************/ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); void EnableOpenGL (HWND hWnd, HDC *hD...
gpl-3.0
Alberto-Beralix/Beralix
i386-squashfs-root/usr/share/pyshared/twisted/enterprise/row.py
4124
# -*- test-case-name: twisted.test.test_reflector -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ DEPRECATED. A (R)elational (O)bject (W)rapper. This is an extremely thin wrapper. Maintainer: Dave Peticolas """ import warnings from twisted.enterprise.util import DBError, NOQUOTE, ...
gpl-3.0
Ereza/Fansubs.cat
services/libs/google-api-php-client-2.4.1/vendor/google/apiclient-services/src/Google/Service/ServiceUsage/BatchEnableServicesResponse.php
1578
<?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...
agpl-3.0
coreymbryant/libmesh
contrib/boost/include/boost/functional/hash/detail/float_functions.hpp
13584
// Copyright 2005-2009 Daniel James. // 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) #if !defined(BOOST_FUNCTIONAL_HASH_DETAIL_FLOAT_FUNCTIONS_HPP) #define BOOST_FUNCTIONAL_HASH_DETAIL_FLOAT_FUNCTIONS_HPP #includ...
lgpl-2.1
jmluy/elasticsearch
server/src/main/java/org/elasticsearch/indices/recovery/plan/SourceOnlyRecoveryPlannerService.java
1916
/* * 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
jmluy/elasticsearch
modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/LowerCaseTokenFilterFactory.java
2246
/* * 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
jmluy/elasticsearch
build-tools-internal/src/test/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarningsTests.java
3917
/* * 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
google/llvm-propeller
compiler-rt/test/hwasan/TestCases/new-test.cpp
404
// Test basic new functionality. // RUN: %clangxx_hwasan %s -o %t // RUN: %run %t #include <stdlib.h> #include <assert.h> #include <sanitizer/hwasan_interface.h> #include <sanitizer/allocator_interface.h> int main() { __hwasan_enable_allocator_tagging(); size_t volatile n = 0; char *a1 = new char[n]; assert(...
apache-2.0
knative-sandbox/eventing-awssqs
vendor/github.com/cncf/xds/go/udpa/annotations/versioning.pb.validate.go
2301
// Code generated by protoc-gen-validate. DO NOT EDIT. // source: udpa/annotations/versioning.proto package annotations import ( "bytes" "errors" "fmt" "net" "net/mail" "net/url" "regexp" "strings" "time" "unicode/utf8" "google.golang.org/protobuf/types/known/anypb" ) // ensure the imports are used var (...
apache-2.0
RiverWeng/jstorm
jstorm-core/src/main/java/backtype/storm/generated/GlobalStreamId.java
15316
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package backtype.storm.generated; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import org...
apache-2.0
dinfuehr/rust
src/test/run-pass/issue-15774.rs
802
// Copyright 2014 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
kawamuray/docker
vendor/src/github.com/docker/libcontainer/cgroups/fs/apply_raw.go
4953
package fs import ( "fmt" "io/ioutil" "os" "path/filepath" "strconv" "github.com/docker/libcontainer/cgroups" ) var ( subsystems = map[string]subsystem{ "devices": &DevicesGroup{}, "memory": &MemoryGroup{}, "cpu": &CpuGroup{}, "cpuset": &CpusetGroup{}, "cpuacct": &CpuacctGroup{}...
apache-2.0
codrut3/tensorflow
tensorflow/contrib/lite/testing/split_test.cc
1940
/* Copyright 2017 The TensorFlow 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 a...
apache-2.0
feelobot/kubernetes
pkg/volume/aws_ebs/aws_ebs.go
11510
/* 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
tejima/OP3PKG
apps/pc_frontend/modules/member/templates/showActivitySuccess.php
775
<?php $title = $id === $sf_user->getMemberId() ? __('My %activity%', array( '%activity%' => $op_term['activity']->pluralize()->titleize() )) : __('%activity% of %0%', array( '%activity%' => $op_term['activity']->pluralize()->titleize(), '%0%' => $member->getName() )) ?> <?php if ($pager->getNbResults()): ?> <?php...
apache-2.0
jmluy/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/DeleteCalendarAction.java
2353
/* * 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; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ml.action; import org.elastic...
apache-2.0
gfyoung/elasticsearch
modules/lang-painless/spi/src/main/java/org/elasticsearch/painless/spi/WhitelistField.java
1911
/* * 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
bdrillard/spark
sql/core/src/test/scala/org/apache/spark/sql/execution/benchmark/WideTableBenchmark.scala
2129
/* * 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
fivejjs/PTVS
Common/Product/SharedProject/ProjectResources.cs
15207
๏ปฟ/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution...
apache-2.0
cluo512/storm
external/storm-opentsdb/src/main/java/org/apache/storm/opentsdb/bolt/OpenTsdbBolt.java
7757
/* * 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
knative-sandbox/eventing-awssqs
vendor/google.golang.org/grpc/xds/internal/balancer/clusterresolver/logging.go
981
/* * * Copyright 2020 gRPC 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
hajee/biemond-orawls
lib/puppet/type/wls_server_template/listenport.rb
239
newproperty(:listenport) do include EasyType include EasyType::Mungers::Integer desc 'The listenport of the server' defaultto 7001 to_translate_to_resource do | raw_resource| raw_resource['listenport'].to_f.to_i end end
apache-2.0
Nogrod/jint
Jint.Tests.Ecma/TestCases/ch11/11.8/11.8.6/S11.8.6_A3.js
1338
// Copyright 2009 the Sputnik authors. All rights reserved. /** * If ShiftExpression is not an object, throw TypeError * * @path ch11/11.8/11.8.6/S11.8.6_A3.js * @description Checking all the types of primitives */ //CHECK#1 try { true instanceof true; $ERROR('#1: true instanceof true throw TypeError'); } ...
bsd-2-clause
justjoheinz/homebrew
Library/Formula/assimp.rb
1901
require 'formula' class Assimp < Formula homepage 'http://assimp.sourceforge.net/' stable do url "https://downloads.sourceforge.net/project/assimp/assimp-3.0/assimp--3.0.1270-source-only.zip" sha1 "e80a3a4326b649ed6585c0ce312ed6dd68942834" # makes assimp3 compile with clang # Reported upstream ht...
bsd-2-clause
ltilve/ChromiumGStreamerBackend
chromeos/dbus/bluetooth_profile_service_provider.cc
9406
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/dbus/bluetooth_profile_service_provider.h" #include "base/bind.h" #include "base/logging.h" #include "base/memory/ref_counted.h" #inc...
bsd-3-clause
nilproject/NiL.JS
TestSets/tests/sputnik/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-605.js
1214
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-605.js * @description ES5 Attributes - all attributes in Object.freeze are correct */ function testcase() { var desc = Object.getOwnPropertyDescriptor(Object, "freeze"); var propertyA...
bsd-3-clause
kinwahlai/phantomjs-ghostdriver
src/qt/src/corelib/tools/qvsnprintf.cpp
4076
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees...
bsd-3-clause
Betisman/node-workshop-learning
challenge1/finished/foo.js
64
0060547250224 hieu47 - o k hitqt5 - e hit7kt - g hi6qsn - kevin
mit
ahocevar/cdnjs
ajax/libs/F2/1.4.5/f2.no-jquery-or-bootstrap.js
286788
;(function(exports) { if (exports.F2 && !exports.F2_TESTING_MODE) { return; } /*! JSON v3.3.2 | http://bestiejs.github.io/json3 | Copyright 2012-2014, Kit Cambridge | http://kit.mit-license.org */ ;(function () { // Detect the `define` function exposed by asynchronous module loaders. The // strict `define` ch...
mit
chickensmitten/ffcrm
spec/controllers/entities/campaigns_controller_spec.rb
24853
# Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ require File.expand_path(File....
mit
Skyscanner/kong
spec/integration/admin_api/route_helpers_spec.lua
785
local route_helpers = require "kong.api.route_helpers" describe("Route Helpers", function() it("should return the hostname", function() assert.truthy(route_helpers.get_hostname()) end) it("should return parse the nginx status", function() local status = "Active connections: 33 \nserver accepts handle...
mit
conceptofproof/z3
src/api/dotnet/AST.cs
8180
๏ปฟ/*++ Copyright (c) 2012 Microsoft Corporation Module Name: AST.cs Abstract: Z3 Managed API: ASTs Author: Christoph Wintersteiger (cwinter) 2012-03-16 Notes: --*/ using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.Contracts; namespace Microsoft.Z...
mit
opdss/dokuWiki
inc/fetch.functions.php
5322
<?php /** * Functions used by lib/exe/fetch.php * (not included by other parts of dokuwiki) */ /** * Set headers and send the file to the client * * The $cache parameter influences how long files may be kept in caches, the $public parameter * influences if this caching may happen in public proxis or in the bro...
gpl-2.0
kosmosby/medicine-prof
components/com_openfire/vendor/giggsey/libphonenumber-for-php/src/libphonenumber/geocoding/data/en/1717.php
6485
<?php /** * This file is automatically @generated by {@link GeneratePhonePrefixData}. * Please don't modify it directly. */ return array ( 1717 => 'Pennsylvania', 1717207 => 'Lancaster, PA', 1717217 => 'Chambersburg, PA', 1717218 => 'Carlisle, PA', 1717221 => 'Harrisburg, PA', 1717225 => 'Spring Grove, ...
gpl-2.0
UstadMobile/eXePUB
twisted/protocols/imap4.py
270
from twisted.python import util util.moduleMovedForSplit('twisted.protocols.imap4', 'twisted.mail.imap4', 'IMAP4 protocol support', 'Mail', 'http://twistedmatrix.com/projects/mail', globals())
gpl-2.0
gripped/xbmc
xbmc/peripherals/bus/linux/PeripheralBusUSBLibUdev.cpp
6612
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.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, or (at your option) * any later version. * * ...
gpl-2.0
nose1980/ACE3
addons/scopes/RscTitles.hpp
2846
class RscText; class RscTitles { class ACE_Scopes_Zeroing { idd = -1; movingEnable = 0; enableSimulation = 1; enableDisplay = 1; onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ZeroingDisplay)),_this select 0)];); duration = 1e+011; fadein = 0; ...
gpl-2.0
IBCCW/Replicating-DeepMind
Hybrid/libraries/ale/src/games/supported/Asteroids.cpp
2587
/* ***************************************************************************** * A.L.E (Arcade Learning Environment) * Copyright (c) 2009-2013 by Yavar Naddaf, Joel Veness, Marc G. Bellemare and * the Reinforcement Learning and Artificial Intelligence Laboratory * Released under the GNU General Public License;...
gpl-3.0
Cerfoglg/cattle
code/framework/object/src/main/java/io/cattle/platform/object/meta/impl/MapRelationshipImpl.java
1490
package io.cattle.platform.object.meta.impl; import io.cattle.platform.object.meta.MapRelationship; import io.cattle.platform.object.meta.Relationship; public class MapRelationshipImpl implements MapRelationship { String name; Class<?> mappingType; Class<?> objectType; Relationship selfRelationship; ...
apache-2.0
habibiefaried/ryu
ryu/tests/unit/test_utils.py
2450
# Copyright (C) 2014 Nippon Telegraph and Telephone Corporation. # # 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 appli...
apache-2.0
SerCeMan/intellij-community
platform/vcs-log/graph-api/src/com/intellij/vcs/log/graph/SimplePrintElement.java
839
/* * Copyright 2000-2014 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
liangly/hadoop-common
src/test/system/java/org/apache/hadoop/hdfs/test/system/DNClient.java
2754
/** * 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
fengshao0907/nutz
src/org/nutz/ioc/aop/Aop.java
799
package org.nutz.ioc.aop; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * ๅฐ†ไธ€ไธชๆ–นๆณ•ๅ…ณ่”ๅˆฐไธ€ไธชๆˆ–ๅ‡ ไธชๅˆ‡็‰‡ใ€‚ * <p> * ๆˆ–่€…่ฏด๏ผŒ่ฎฉไธ€็ป„ๆ‹ฆๆˆชๅ™จๆŽงๅˆถ่ฟ™ไธชๆ–นๆณ•ใ€‚ * <p> * ่ฟ™ไธชๆณจ่งฃๆŽฅๅ—ไธ€็ป„ๅ€ผ๏ผŒๆฏไธชๅ€ผ๏ผŒๅฐฑๆ˜ฏ...
apache-2.0
zdary/intellij-community
python/testData/intentions/PyAnnotateVariableTypeIntentionTest/typeCommentInstanceAttributeClassLevelAssignment_after.py
109
class MyClass: attr = 0 # type: [int] def __init___(self): self.attr = 42 self.attr
apache-2.0
LiveAsynchronousVisualizedArchitecture/lava
TblMaker/fltk/FL/Fl_PNG_Image.H
1252
// // "$Id: Fl_PNG_Image.H 8864 2011-07-19 04:49:30Z greg.ercolano $" // // PNG image header file for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2010 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been includ...
apache-2.0
bdhess/homebrew-cask
Casks/lazpaint.rb
455
cask 'lazpaint' do version '6.2' sha256 '44f48aee359337f8d5a9fd3b3786f71251dc6b961486b30938a308197e28498e' url "https://downloads.sourceforge.net/lazpaint/lazpaint#{version}_osx32.zip" appcast 'https://sourceforge.net/projects/lazpaint/rss', checkpoint: 'd52c7f467dc51331ce7ad24785f9e4eb3d7e386bf17e98...
bsd-2-clause
was4444/chromium.src
remoting/android/java/src/org/chromium/chromoting/AnimationJob.java
1147
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chromoting; /** * This interface represents an animation job. * The client of AnimationJob is supposed to: * <ul> * <li>Create ...
bsd-3-clause
vadimtk/chrome4sdp
third_party/WebKit/Source/modules/crypto/CryptoHistograms.cpp
5396
// Copyright 2015 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 "config.h" #include "modules/crypto/CryptoHistograms.h" #include "core/frame/UseCounter.h" #include "public/platform/Platform.h" #include "publi...
bsd-3-clause
2947721120/cdnjs
ajax/libs/dojo/1.7.5/cldr/nls/zh-tw/currency.js
457
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/cldr/nls/zh-tw/currency",{"USD_symbol":"$","EUR_displayName":"ๆญๅ…ƒ","HKD_displayName":"ๆธฏๅนฃ","CAD_display...
mit
blmlove409/angularjs-up-and-running
chapter11/ng-include/app.js
574
// File: chapter11/ng-include/app.js angular.module('stockMarketApp', []) .controller('MainCtrl', [function() { var self = this; self.stocks = [ {name: 'First Stock', price: 100, previous: 220}, {name: 'Second Stock', price: 140, previous: 120}, {name: 'Third Stock', price: 110, previous: ...
mit
siyisiyi/ss-panel-v3-mod
vendor/symfony/polyfill/src/Intl/Grapheme/bootstrap.php
1535
<?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. */ use Symfony\Polyfill\Intl\Grapheme as p; if (!function_exists('grapheme_strlen'))...
mit
tgxworld/rails
activerecord/lib/active_record/connection_adapters/postgresql/oid/interval.rb
1313
# frozen_string_literal: true require "active_support/duration" module ActiveRecord module ConnectionAdapters module PostgreSQL module OID # :nodoc: class Interval < Type::Value # :nodoc: def type :interval end def cast_value(value) case value...
mit
seogi1004/cdnjs
ajax/libs/ag-grid/9.0.0/lib/functions.js
948
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v9.0.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var utils_1 = require("./utils"); function defaultGroupComparat...
mit
cemalkilic/che
ide/commons-gwt/src/main/java/org/eclipse/che/ide/util/browser/UserAgentRuntimeProperties.java
6903
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
epl-1.0
R3nPi2/Drupal-8-Skeleton
core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayXmlAnonTest.php
590
<?php namespace Drupal\FunctionalTests\Rest; use Drupal\Tests\rest\Functional\AnonResourceTestTrait; use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait; /** * @group rest */ class EntityFormDisplayXmlAnonTest extends EntityFormDisplayResourceTestBase { use AnonResourceTestTrait; ...
gpl-2.0
zhujianfeng/osTicket-1.8
include/staff/emails.inc.php
6800
<?php if(!defined('OSTADMININC') || !$thisstaff->isAdmin()) die('Access Denied'); $qs = array(); $sql='SELECT email.*,dept.dept_name as department,priority_desc as priority '. ' FROM '.EMAIL_TABLE.' email '. ' LEFT JOIN '.DEPT_TABLE.' dept ON (dept.dept_id=email.dept_id) '. ' LEFT JOIN '.TICKET_PRIORITY...
gpl-2.0
dmlloyd/openjdk-modules
jdk/src/java.desktop/share/classes/javax/imageio/ImageReader.java
114935
/* * Copyright (c) 1999, 2014, 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
FauxFaux/jdk9-jdk
src/jdk.jdi/share/classes/com/sun/jdi/ShortType.java
1523
/* * Copyright (c) 1998, 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
TalShafir/ansible
lib/ansible/modules/cloud/azure/azure_rm_sqlfirewallrule_facts.py
6043
#!/usr/bin/python # # Copyright (c) 2017 Zim Kalinowski, <zikalino@microsoft.com> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
gpl-3.0
writeameer/moodle
lib/yui/3.5.1/build/datatype-date-format/lang/datatype-date-format_ko-KR.js
712
/* YUI 3.5.1 (build 22) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("lang/datatype-date-format_ko-KR",function(a){a.Intl.add("datatype-date-format","ko-KR",{"a":["์ผ","์›”","ํ™”","์ˆ˜","๋ชฉ","๊ธˆ","ํ† "],"A":["์ผ์š”์ผ","์›”์š”์ผ","ํ™”์š”์ผ","์ˆ˜์š”์ผ","๋ชฉ์š”์ผ","๊ธˆ์š”์ผ","ํ† ์š”์ผ"],"b"...
gpl-3.0
nerith/servo
ports/cef/wrappers.rs
12006
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use interfaces::{cef_app_t, CefApp, cef_drag_data_t, cef_post_data_element_t, cef_v8value_t, CefPostDataElement}; ...
mpl-2.0
bac/juju
environs/tools/storage.go
2683
// Copyright 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package tools import ( "errors" "fmt" "path/filepath" "strings" "github.com/juju/utils/arch" "github.com/juju/version" "github.com/juju/juju/environs/storage" coretools "github.com/juju/juju/tools" ) var ErrNoTools...
agpl-3.0
abhinavmoudgil95/root
interpreter/llvm/src/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
40075
//===-- SparcAsmParser.cpp - Parse Sparc assembly to MCInst instructions --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
lgpl-2.1
jkorab/camel
camel-core/src/main/java/org/apache/camel/component/directvm/DirectVmComponent.java
6000
/** * 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
russgove/PnP
Solutions/Governance.ExternalSharing/Governance.ExternalSharingWeb/Scripts/externalSharing.js
1972
๏ปฟ// SCRIPT TO HANDLE SETTING THE STATUS BAR THAT EXTERNAL SHARING IS ENABLED ON THIS SITE. var jQuery = "https://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.2.min.js"; // Is MDS enabled? if ("undefined" != typeof g_MinimalDownload && g_MinimalDownload && (window.location.pathname.toLowerCase()).endsWith("/_layouts/15/st...
apache-2.0
chromium/chromium
third_party/blink/web_tests/external/wpt/shadow-dom/declarative/support/helpers.js
271
function setInnerHTML(el,content) { const fragment = (new DOMParser()).parseFromString(`<pre>${content}</pre>`, 'text/html', {includeShadowRoots: true}); (el instanceof HTMLTemplateElement ? el.content : el).replaceChildren(...fragment.body.firstChild.childNodes); }
bsd-3-clause
markogresak/DefinitelyTyped
types/carbon__icons-react/lib/chart--minimum/24.d.ts
67
import { ChartMinimum24 } from "../../"; export = ChartMinimum24;
mit
tobowers/elasticsearch-kopf
src/kopf/models/warmer_filter.js
491
function WarmerFilter(id) { this.id = id; this.clone = function() { return new WarmerFilter(this.id); }; this.getSorting = function() { return undefined; }; this.equals = function(other) { return other !== null && this.id == other.id; }; this.isBlank = function() { return !notEmpty(...
mit
koshihikari/modularization
else/past/yuraku past/yuraku 0905 1001/request/pc/view/AutoAddressManagerForIE10.js
5275
jQuery.noConflict(); jQuery(document).ready(function($){ MYNAMESPACE.namespace('view.AutoAddressManagerForIE10'); MYNAMESPACE.view.AutoAddressManagerForIE10 = function() { this.initialize.apply(this, arguments); }; MYNAMESPACE.view.AutoAddressManagerForIE10.prototype = { _Num_Name1 : null ,_Num_Name2 ...
mit
markogresak/DefinitelyTyped
types/carbon__icons-react/lib/deploy-rules/32.d.ts
65
import { DeployRules32 } from "../../"; export = DeployRules32;
mit
sashberd/cdnjs
ajax/libs/ag-grid/18.1.0/lib/rendering/overlays/overlayWrapperComponent.js
5069
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v18.0.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __prot...
mit
hsteinhaus/uavcan
libuavcan/test/node/scheduler.cpp
3882
/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #include <gtest/gtest.h> #include <uavcan/node/timer.hpp> #include <uavcan/util/method_binder.hpp> #include "../clock.hpp" #include "../transport/can/can.hpp" #include "test_node.hpp" #if !defined(UAVCAN_CPP11) || !defined(UAVCAN_CPP_VERSION) # er...
mit