repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
reaction1989/roslyn
src/Compilers/Core/Portable/InternalUtilities/ThreadSafeFlagOperations.cs
1280
// 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. #nullable enable using System.Threading; namespace Roslyn.Utilities { internal static class ThreadSafeFlagOpe...
apache-2.0
jackgr/kubernetes
pkg/client/unversioned/testclient/fake_limit_ranges.go
2345
/* 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
rahulunair/nova
nova/virt/powervm/tasks/image.py
3270
# Copyright 2015, 2018 IBM Corp. # # 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 require...
apache-2.0
nigbubski/f1livetiming
F1/Data/Packets/SimplePacket.cs
1229
/* * f1livetiming - Part of the Live Timing Library for .NET * Copyright (C) 2009 Liam Lowey * * http://livetiming.turnitin.co.uk/ * * 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...
apache-2.0
kuali/rice-playground
rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/freemarker/FreeMarkerOpenGroupWrapAdaptor.java
1622
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless requ...
apache-2.0
cstroe/yajsw
src/hessian/src/main/java/com/caucho/hessian4/HessianException.java
2827
/* * Copyright (c) 2001-2008 Caucho Technology, Inc. All rights reserved. * * The Apache Software License, Version 1.1 * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code mu...
apache-2.0
phinexus/jenkins-job-builder
jenkins_jobs/modules/reporters.py
5779
# Copyright 2012 Hewlett-Packard Development Company, L.P. # # 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...
apache-2.0
enj/origin
pkg/monitor/operator.go
8960
package monitor import ( "context" "fmt" "strings" "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" configv1 "github.com/openshift/api/config/v1" configclientset "github.com/openshift/client-go/config/clien...
apache-2.0
nevali/shindig
java/gadgets/src/main/java/org/apache/shindig/gadgets/spec/LinkSpec.java
2227
/* * 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
ibek/droolsjbpm-integration
kie-spring/src/test/java/org/kie/spring/tests/KieSpringScopeTest.java
3375
/* * Copyright 2013 Red Hat, Inc. and/or its affiliates. * * 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
azkaban/azkaban
azkaban-common/src/test/java/azkaban/executor/ExecutorDaoTest.java
6608
/* * Copyright 2017 LinkedIn Corp. * * 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 i...
apache-2.0
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/language/expressions/unary-plus/S11.4.6_A3_T3.js
557
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Operator +x returns ToNumber(x) es5id: 11.4.6_A3_T3 description: Type(x) is string primitive or String object ---*/ //CHECK#1 if (+"1" !== 1) { $ERROR('#1: +"1" === 1. Actu...
apache-2.0
yiaslu/qbpDemo
ManageUI/Demos/lib/ligerUI/js/plugins/ligerRadioList.js
11226
/** * jQuery ligerUI 1.3.3 * * http://ligerui.com * * Author daomi 2015 [ gd_star@163.com ] * */ (function ($) { $.fn.ligerRadioList = function (options) { return $.ligerui.run.call(this, "ligerRadioList", arguments); }; $.ligerDefaults.RadioList = { rowSize: 3, //每行显示...
apache-2.0
prateekbh/amphtml
extensions/amp-subscriptions-google/0.1/test-e2e/test-amp-subscriptions-google.js
2307
/** * Copyright 2018 The AMP HTML 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 require...
apache-2.0
mdanielwork/intellij-community
plugins/eclipse/src/org/jetbrains/idea/eclipse/conversion/EclipseUserLibrariesHelper.java
5241
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.eclipse.conversion; import com.intellij.openapi.application.WriteAction; import com.intellij.openapi.project.Project; import com.intellij.openapi.root...
apache-2.0
clebeg/mylinuxbackup
src/main/java/com/manning/hip/ch3/binary/CustomBinaryRecordReader.java
2750
package com.manning.hip.ch3.binary; import com.manning.hip.common.HadoopCompat; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.BytesWritable; import org.apache.hadoop.io.Lo...
apache-2.0
kuali/rice-playground
rice-middleware/core/api/src/main/java/org/kuali/rice/krad/keyvalues/KeyValuesFinder.java
1925
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
apache-2.0
trashkalmar/omim
android/src/com/mapswithme/util/StorageUtils.java
2459
package com.mapswithme.util; import android.content.Context; import android.os.Environment; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.TextUtils; import android.util.Log; import com.mapswithme.maps.MwmApplication; import java.io.File; public class Stor...
apache-2.0
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/language/types/reference/S8.7_A7.js
1014
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Passing arguments by reference do change values of reference to be passed es5id: 8.7_A7 description: Add new property to original variable inside function ---*/ var n = {}; v...
apache-2.0
chetanmeh/jackrabbit-oak
oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/Record.java
2832
/* * 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
davebarnes97/geode
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/BucketRebalanceStatRegressionTest.java
11124
/* * 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 ...
apache-2.0
tgraf/cilium
vendor/github.com/aws/aws-sdk-go-v2/aws/protocol/restjson/decoder_util.go
2268
package restjson import ( "encoding/json" "io" "strings" "github.com/aws/smithy-go" ) // GetErrorInfo util looks for code, __type, and message members in the // json body. These members are optionally available, and the function // returns the value of member if it is available. This function is useful to // ide...
apache-2.0
sjohnr/elasticsearch
src/test/java/org/elasticsearch/test/ExternalNode.java
9880
/* * 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
thiliniish/developer-studio
common/org.wso2.developerstudio.eclipse.artifact.qos/src/org/wso2/developerstudio/eclipse/qos/project/model/TransformType.java
3456
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.12.11 at 12:17...
apache-2.0
vipullakhani/mi-instrument
mi/dataset/driver/dpc/dpc_driver.py
834
#!/usr/local/bin/python2.7 ## # OOIPLACEHOLDER # # Copyright 2014 Raytheon Co. ## from mi.dataset.dataset_driver import DataSetDriver from mi.dataset.parser.dpc import DeepProfilerParser from mi.core.log import get_logger from mi.logging import config from mi.core.versioning import version import os log = get_logger(...
bsd-2-clause
bcg62/homebrew-core
Formula/peg.rb
1199
class Peg < Formula desc "Program to perform pattern matching on text" homepage "http://piumarta.com/software/peg/" url "http://piumarta.com/software/peg/peg-0.1.18.tar.gz" sha256 "20193bdd673fc7487a38937e297fff08aa73751b633a086ac28c3b34890f9084" bottle do cellar :any_skip_relocation sha256 "335fda7d...
bsd-2-clause
ahocevar/ol3
test/browser/spec/ol/webgl/helper.test.js
12382
import WebGLArrayBuffer from '../../../../../src/ol/webgl/Buffer.js'; import WebGLHelper, { DefaultUniform, } from '../../../../../src/ol/webgl/Helper.js'; import {ARRAY_BUFFER, FLOAT, STATIC_DRAW} from '../../../../../src/ol/webgl.js'; import { create as createTransform, rotate as rotateTransform, scale as sca...
bsd-2-clause
sjackman/homebrew-core
Formula/sd.rb
1724
class Sd < Formula desc "Intuitive find & replace CLI" homepage "https://github.com/chmln/sd" url "https://github.com/chmln/sd/archive/v0.7.6.tar.gz" sha256 "faf33a97797b95097c08ebb7c2451ac9835907254d89863b10ab5e0813b5fe5f" license "MIT" revision 1 bottle do sha256 cellar: :any_skip_relocation, arm64...
bsd-2-clause
chromium/chromium
chrome/browser/extensions/api/idltest/idltest_apitest.cc
990
// 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/browser/extensions/extension_apitest.h" #include "components/version_info/version_info.h" #include "content/public/test/browser_test....
bsd-3-clause
nwjs/chromium.src
services/device/hid/hid_connection_unittest.cc
6789
// Copyright (c) 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 "services/device/hid/hid_connection.h" #include <stddef.h> #include <memory> #include <string> #include <vector> #include "base/bind.h" #i...
bsd-3-clause
endlessm/chromium-browser
third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/modules/gl/gl4cES31CompatibilityTests.hpp
7180
#ifndef _GL4CES31COMPATIBILITYTESTS_HPP #define _GL4CES31COMPATIBILITYTESTS_HPP /*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2015-2016 The Khronos Group Inc. * * Licensed under the Apache License, Vers...
bsd-3-clause
robinpowered/php-ews
EWSType/PlayOnPhoneType.php
692
<?php /** * Contains EWSType_PlayOnPhoneType. */ /** * Represents a request to read an item on a phone. * * @package php-ews\Types * * @todo Extend EWSType_BaseRequestType. */ class EWSType_PlayOnPhoneType extends EWSType { /** * Represents the dial string of the phone number that is called to play an...
bsd-3-clause
moklick/odyssey.js
index.js
417
var e = require('./lib/odyssey/story'); e.Actions = require('./lib/odyssey/actions'); e.Triggers = require('./lib/odyssey/triggers'); e.Core = require('./lib/odyssey/core'); e.Template = require('./lib/odyssey/template'); e.UI = require('./lib/odyssey/ui'); require('./lib/odyssey/util'); for (var k in e.Actions) { ...
bsd-3-clause
nwjs/chromium.src
chrome/common/extensions/manifest_tests/extension_manifests_manifest_version_unittest.cc
3437
// 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 <memory> #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h" #include "extensions/common/error_utils.h" #include "exte...
bsd-3-clause
kageiit/infer
infer/tests/codetoanalyze/cpp/shared/types/type_trait_expr.cpp
421
/* * Copyright (c) 2016 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ int is_tri...
bsd-3-clause
chuan9/chromium-crosswalk
chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc
22905
// 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 "base/guid.h" #include "base/i18n/number_formatting.h" #include "base/memory/scoped_vector.h" #include "base/strings/stringprintf.h" #include...
bsd-3-clause
mythmon/kitsune
kitsune/search/urls.py
359
from django.conf.urls import patterns, url urlpatterns = patterns( 'kitsune.search.views', url(r'^$', 'simple_search', name='search'), url(r'^/advanced$', 'advanced_search', name='search.advanced'), url(r'^/xml$', 'opensearch_plugin', name='search.plugin'), url(r'^/suggestions$', 'opensearch_sugge...
bsd-3-clause
atul-bhouraskar/django
tests/prefetch_related/tests.py
69028
from unittest import mock from django.contrib.contenttypes.models import ContentType from django.core.exceptions import ObjectDoesNotExist from django.db import connection from django.db.models import Prefetch, QuerySet, prefetch_related_objects from django.db.models.query import get_prefetcher from django.db.models.s...
bsd-3-clause
bunyip/django-authority
example/users/admin.py
125
from django.contrib.auth.admin import UserAdmin from example.users.models import User admin.site.register(User, UserAdmin)
bsd-3-clause
NunoEdgarGub1/figaro
Figaro/src/main/scala/com/cra/figaro/language/Inject.scala
1302
/* * Inject.scala * Element that converts a sequence of elements into an element over sequences. * * Created By: Avi Pfeffer (apfeffer@cra.com) * Creation Date: Jan 1, 2009 * * Copyright 2013 Avrom J. Pfeffer and Charles River Analytics, Inc. * See http://www.cra.com or email figaro@cra.com for informati...
bsd-3-clause
gxxjjj/QuantEcon.py
examples/ar1_cycles.py
1095
""" Helps to illustrate the spectral density for AR(1) X' = phi X + epsilon """ import numpy as np import matplotlib.pyplot as plt phi = -0.8 times = list(range(16)) y1 = [phi**k / (1 - phi**2) for k in times] y2 = [np.cos(np.pi * k) for k in times] y3 = [a * b for a, b in zip(y1, y2)] num_rows, num_cols = 3, 1 fig, ...
bsd-3-clause
garvitr/sympy
sympy/polys/tests/test_ring_series.py
21485
from sympy.polys.domains import QQ, EX, RR from sympy.polys.rings import ring from sympy.polys.ring_series import (_invert_monoms, rs_integrate, rs_trunc, rs_mul, rs_square, rs_pow, _has_constant_term, rs_hadamard_exp, rs_series_from_list, rs_exp, rs_log, rs_newton, rs_series_inversion, rs_compose_add, rs_a...
bsd-3-clause
felixbuenemann/sentry
api-docs/generator.py
6419
import os import zlib import json import click import urlparse import logging from datetime import datetime from subprocess import Popen, PIPE from contextlib import contextmanager HERE = os.path.abspath(os.path.dirname(__file__)) SENTRY_CONFIG = os.path.join(HERE, 'sentry.conf.py') # No sentry or django imports bef...
bsd-3-clause
mou4e/zirconium
cc/test/fake_proxy.cc
1078
// Copyright 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 "cc/test/fake_proxy.h" namespace cc { void FakeProxy::SetLayerTreeHost(LayerTreeHost* host) { layer_tree_host_ = host; } bool FakeProxy::IsS...
bsd-3-clause
bspeterson/dbal
tests/Doctrine/Tests/DBAL/Sharding/PoolingShardConnectionTest.php
12298
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
mit
unaio/una
modules/base/text/classes/BxBaseModTextInstaller.php
411
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup BaseText Base classes for text modules * @ingroup UnaModules * * @{ */ class BxBaseModTextInstaller extends BxBaseModGeneralInstaller { func...
mit
rkh/heroku
spec/heroku/command/keys_spec.rb
3829
require "spec_helper" require "heroku/command/keys" module Heroku::Command describe Keys do KEY = "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAp9AJD5QABmOcrkHm6SINuQkDefaR0MUrfgZ1Pxir3a4fM1fwa00dsUwbUaRuR7FEFD8n1E9WwDf8SwQTHtyZsJg09G9myNqUzkYXCmydN7oGr5IdVhRyv5ixcdiE0hj7dRnOJg2poSQ3Qi+Ka8SVJzF7nIw1YhuicHPSbNIFKi5s0D5a+n...
mit
isman-usoh/DefinitelyTyped
types/amplify-deferred/index.d.ts
1231
// Type definitions for AmplifyJs (using JQuery Deferred) 1.1 // Project: http://amplifyjs.com/ // Definitions by: Jonas Eriksson <https://github.com/joeriks/>, Laurentiu Stamate <https://github.com/laurentiustamate94> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// <r...
mit
vchelaru/Dodgeball
Dodgeball/Dodgeball/GumCore/ReflectionManager.cs
1724
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace ToolsUtilities { public static class ReflectionManager { public static List<T> GetMembersOfType<T>(object container) { Type typeOfT = typeof(T); Type...
mit
rtlechow/rubocop
lib/rubocop/cop/style/space_after_method_name.rb
1062
# frozen_string_literal: true module RuboCop module Cop module Style # Checks for space between a method name and a left parenthesis in defs. # # @example # # # bad # def func (x) ... end # # # good # def func(x) ... end class SpaceAfterMethodNa...
mit
GPUOpen-LibrariesAndSDKs/TiledLighting11
amd_sdk/src/ShaderCacheSampleHelper.cpp
11234
// // Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights /...
mit
RainsSoft/engine
tests/shape/test_sphere.js
3668
module('pc.shape.Sphere'); test('Sphere: correct default values', function() { var sphere = new pc.shape.Sphere(); QUnit.deepEqual(sphere.center.x, 0); QUnit.deepEqual(sphere.center.y, 0); QUnit.deepEqual(sphere.center.z, 0); QUnit.deepEqual(sphere.radius, 1); }); test('Sphere: Constructor sets c...
mit
JeyZeta/Dangerous
Dangerous/Golismero/thirdparty_libs/shodan/api.py
7427
try: from json import dumps, loads except: from simplejson import dumps, loads try: # Python 2 from urllib2 import urlopen from urllib import urlencode except: # Python 3 from urllib.request import urlopen from urllib.parse import urlencode __all__ = ['WebAPI'] ...
mit
MikeHardman/orleans
src/Orleans.Core/Serialization/DeserializationContext.cs
4189
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Orleans.Serialization { public static class DeserializationContextExtensions { /// <summary> /// Returns a new nested context which begins at the specified position. /// </summary> /// ...
mit
NotDemons/NotDemonsRepo
Source/Tests/Santase.Logic.Tests/Extensions/RandomProviderTests.cs
1471
namespace Santase.Logic.Tests.Extensions { using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Santase.Logic.Extensions; [TestFixture] public class RandomProviderTests { [Test] public void NextWithParametersWithParameters1And2ShouldReturn1() ...
mit
omgtehlion/yate
lib/runtime2.js
16109
var yr = {}; // --------------------------------------------------------------------------------------------------------------- // (function() { // --------------------------------------------------------------------------------------------------------------- // yr.Module = function() { }; yr.Module.prototype...
mit
ctreatma/warbler
integration/simple_rack_test/src/test/java/org/jruby/warbler/AppTestIT.java
847
package org.jruby.warbler; import java.net.*; import java.io.*; import org.junit.Assert; import org.junit.Test; import org.hamcrest.Matcher; import org.hamcrest.Matchers; /** * Unit test for simple App. */ public class AppTestIT { private static String appName = "simple_rack_test"; /** * Hit the web a...
mit
CascadeEnergy/hapi-mysql-routes-plugin
gulpfile.js
48
'use strict'; require('require-dir')('./gulp');
mit
allysonbarros/gitlabhq
spec/requests/api/environments_spec.rb
4288
require 'spec_helper' describe API::API, api: true do include ApiHelpers let(:user) { create(:user) } let(:non_member) { create(:user) } let(:project) { create(:project, :private, namespace: user.namespace) } let!(:environment) { create(:environment, project: project) } before do ...
mit
stefan321/android
zxing-1.6/android/src/com/google/zxing/client/android/CaptureActivityHandler.java
4366
/* * 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...
mit
rajansingh10/corefx
src/Microsoft.Win32.Registry/src/Microsoft/Win32/RegistryKey.cs
65753
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /* Note on transaction support: Eventually we will want to add support for NT's transactions to our RegistryKey API's. When we do this, here's the list of API'...
mit
hustlzp/pagekit
app/modules/application/index.php
1303
<?php use Pagekit\Application\Response; use Pagekit\Application\UrlProvider; use Symfony\Component\Debug\ErrorHandler; use Symfony\Component\Debug\ExceptionHandler; return [ 'name' => 'application', 'main' => function ($app) { $app['version'] = function () { return $this->config['versio...
mit
sufuf3/cdnjs
ajax/libs/pnp-logging/1.0.1/logging.js
5231
/** @license * @pnp/logging v1.0.1 - pnp - light-weight, subscribable logging framework * MIT (https://github.com/pnp/pnp/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: http://officedev.github.io/PnP-JS-Core * source: https://github.com/pnp/pnp * bugs: https://github.com/pnp/pnp/issues */ /** * Cl...
mit
anhyeuviolet/flat-manga
ms-data-base/language/it/lang.php
4413
<?php $lang['L_YES']="sì"; $lang['L_TO']="fino a"; $lang['L_ACTIVATED']="attivato"; $lang['L_NOT_ACTIVATED']="non attivato"; $lang['L_ERROR']="Errore"; $lang['L_OF']=" di "; $lang['L_ADDED']="aggiunto"; $lang['L_DB']="Database"; $lang['L_DBS']="Database"; $lang['L_TABLES']="Tabelle"; $lang['L_TABLE']="Tabella"; $lang['...
mit
dushmis/three.js
rollup.config.js
597
import * as fs from 'fs'; var outro = ` Object.defineProperty( exports, 'AudioContext', { get: function () { return exports.getAudioContext(); } });`; function glsl () { return { transform ( code, id ) { if ( !/\.glsl$/.test( id ) ) return; return 'export default ' + JSON.stringify( code .repla...
mit
sufuf3/cdnjs
ajax/libs/styled-components/3.2.6/styled-components-primitives.cjs.js
173131
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var reactPrimitives = _interopDefault(require('react-primitives')); var transformDeclPairs = _interopDefault(require('css-to-...
mit
sufuf3/cdnjs
ajax/libs/angular-ui-grid/4.4.9/ui-grid.expandable.js
22182
/*! * ui-grid - v4.4.9 - 2018-04-30 * Copyright (c) 2018 ; License: MIT */ (function () { 'use strict'; /** * @ngdoc overview * @name ui.grid.expandable * @description * * # ui.grid.expandable * * <div class="alert alert-warning" role="alert"><strong>Alpha</strong> This feature is in deve...
mit
9590/webdav
node_modules/asyncjs/lib/test.js
8995
/*! * async.js * Copyright(c) 2010 Fabian Jakobs <fabian.jakobs@web.de> * MIT Licensed */ var util = require("util") var async = require("./async") require("./plugins/utils") var empty = function(next) { next() } exports.TestGenerator = function(source) { async.Generator.call(this, source) } util.inherits(e...
mit
pail23/openhab2-addons
addons/binding/org.openhab.binding.denonmarantz/src/main/java/org/openhab/binding/denonmarantz/internal/connector/DenonMarantzConnectorFactory.java
1444
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * 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 */...
epl-1.0
sja/smarthome
bundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/binding/BaseThingHandlerFactory.java
12103
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) 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.htm...
epl-1.0
jjalnos/vogella
de.vogella.rcp.intro.commands.popup/src/de/vogella/rcp/intro/commands/popup/View.java
1822
package de.vogella.rcp.intro.commands.popup; import java.util.ArrayList; import java.util.List; import org.eclipse.jface.action.MenuManager; import org.eclipse.jface.viewers.ArrayContentProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.swt.SWT; ...
epl-1.0
crazywhatever/vogella
de.vogella.task.application/src/de/vogella/task/application/views/provider/TaskLabelProvider.java
2154
package de.vogella.task.application.views.provider; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.GregorianCalendar; import org.eclipse.jface.viewers.ITableLabelProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.swt.graphics.Image; import org.eclipse.ui.plugi...
epl-1.0
boiled-sugar/mkvtoolnix
tests/test-410extract_vp9.rb
157
#!/usr/bin/ruby -w # T_410extract_vp9 describe "mkvextract / extract VP9" test "extraction" do extract "data/webm/out-vp9.webm", 0 => tmp hash_tmp end
gpl-2.0
krichter722/gcc
libstdc++-v3/testsuite/util/native_type/native_multimap.hpp
3952
// -*- C++ -*- // Copyright (C) 2005-2017 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
PrincetonUniversity/NVJVM
build/linux-amd64/jaxws/drop/jaxws_src/src/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerDouble.java
3441
/* * Copyright (c) 1997, 2011, 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
Gurgel100/gcc
gcc/testsuite/g++.dg/cpp1z/constexpr-if12.C
252
// PR c++/80562 // { dg-do compile { target c++17 } } struct T { int i; constexpr auto foo() { return false; } }; template <class MustBeTemplate> constexpr auto bf(T t) { if constexpr(t.foo()) { return false; } return true; }
gpl-2.0
rgacogne/pdns
pdns/dnsdistdist/dnsdist-prometheus.hh
2280
/* * This file is part of PowerDNS or dnsdist. * Copyright -- PowerDNS.COM B.V. and its contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * In addition, for t...
gpl-2.0
tsuibin/qtextended
src/tools/qdawggen/global.cpp
1374
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
gpl-2.0
zidad/jaydata
Types/StorageProviders/mongoDB/mongoDBProjectionCompiler.js
5635
$C('$data.storageProviders.mongoDB.mongoDBProjectionCompiler', $data.Expressions.EntityExpressionVisitor, null, { constructor: function (provider, lambdaPrefix, compiler) { this.provider = provider; this.lambdaPrefix = lambdaPrefix; if (compiler){ this.compiler = compiler; ...
gpl-2.0
nmcgill/UOReturns
Scripts/Items/Suits/SeerRobe.cs
514
using System; using Server; namespace Server.Items { public class SeerRobe : BaseSuit { [Constructable] public SeerRobe() : base( AccessLevel.Seer, 0x1D3, 0x204F ) { } public SeerRobe( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize(...
gpl-2.0
jjzhang/ocfs2-tools
ocfs2console/ocfs2interface/pushconfig.py
3521
# OCFS2Console - GUI frontend for OCFS2 management and debugging # Copyright (C) 2005 Oracle. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the Lice...
gpl-2.0
jn7163/aria2
src/DHTBucketRefreshTask.cc
2994
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * 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 Lice...
gpl-2.0
yodaaut/icingaweb2
modules/monitoring/application/forms/Command/Object/ProcessCheckResultCommandForm.php
4613
<?php /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ namespace Icinga\Module\Monitoring\Forms\Command\Object; use Icinga\Web\Notification; use Icinga\Module\Monitoring\Command\Object\ProcessCheckResultCommand; /** * Form for submitting a passive host or service check result */ class ProcessChe...
gpl-2.0
matrix-msu/kora
vendor/seld/jsonlint/tests/JsonParserTest.php
7190
<?php /* * This file is part of the JSON Lint package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use PHPUnit\Framework\TestCase; use Seld\JsonLint\JsonParser; use Seld\JsonLint\Pa...
gpl-2.0
monikajoinfilms/jfbackup
sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.draggable.min.js
18755
/* * jQuery UI Draggable 1.8.11 * * Copyright 2011, 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/Draggables * * Depends: * jquery.ui.core.js * jquery.ui.mouse.js * jquery.ui.widget.js ...
gpl-2.0
liuyanghejerry/qtextended
examples/simpleplayer/basicmedia.cpp
4522
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
gpl-2.0
Neopumper666/prueba
administrator/components/com_hikashop/views/plugins/tmpl/selectimages.php
2626
<?php /** * @package HikaShop for Joomla! * @version 2.1.3 * @author hikashop.com * @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><script language="javascript" type="text/jav...
gpl-2.0
md-5/jdk10
test/jdk/jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventG1.java
1806
/* * Copyright (c) 2013, 2018, 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
summerpulse/openjdk7
jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/package-info.java
1397
/* * Copyright (c) 1997, 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
KennyLv/LearnFromCocos2dwebgame
cocos2d/core/platform/CCMacro.js
8416
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011 Zynga Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
gpl-2.0
Siguana/linyipassport
plugins/system/jat3/jat3/core/head.php
31131
<?php /** * ------------------------------------------------------------------------ * JA T3v2 System Plugin for J25 & J32 * ------------------------------------------------------------------------ * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - GNU/GPL, http://www.gnu.org/l...
gpl-2.0
wiki2014/Learning-Summary
alps/developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/HeadsUpNotificationFragmentTest.java
1898
package com.example.android.lnotifications; import android.app.Notification; import android.test.ActivityInstrumentationTestCase2; /** * Unit tests for {@link HeadsUpNotificationFragment}. */ public class HeadsUpNotificationFragmentTest extends ActivityInstrumentationTestCase2<LNotificationActivity> { ...
gpl-3.0
Sweetgrassbuffalo/ReactionSweeGrass-v2
node_modules/d3-scale-chromatic/src/sequential-single/Greens.js
440
import colors from "../colors"; import ramp from "../ramp"; export var scheme = new Array(3).concat( "e5f5e0a1d99b31a354", "edf8e9bae4b374c476238b45", "edf8e9bae4b374c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5...
gpl-3.0
AnHardt/Marlin
Marlin/src/lcd/menu/game/brickout.cpp
7045
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
gpl-3.0
HossainKhademian/Studio3
plugins/com.aptana.core/src/com/aptana/core/internal/resources/MarkerDelta.java
1759
/** * Aptana Studio * Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions). * Please see the license.html included with this distribution for details. * Any modifications to this file must keep this entire header intact. ...
gpl-3.0
carpe-diem/conectar-igualdad-server-apps
apps/src/intranet/mediawiki/includes/Categoryfinder.php
5203
<?php /** * The "Categoryfinder" class takes a list of articles, creates an internal * representation of all their parent categories (as well as parents of * parents etc.). From this representation, it determines which of these * articles are in one or all of a given subset of categories. * * Example use : * <co...
gpl-3.0
collectiveaccess/pawtucket2
vendor/symfony/var-dumper/Caster/LinkStub.php
3392
<?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\VarDumper\Caster; /** * Represents a file or a URL. ...
gpl-3.0
aitch0083/extjs-and-more
extjs6/ext/modern/modern/src/grid/plugin/ViewOptions.js
17673
/** * The Modern Grid's ViewOptions plugin produces a menu that slides in from the right (by default) * when you drag your finger or cursor right-to-left over the grid's column headers. The * menu displays the column header names which represents the order of the grid's columns. * This allows users to easily re...
gpl-3.0
arrmo/librenms
app/Http/Controllers/Select/MuninPluginController.php
1774
<?php /** * MuninPluginController.php * * -Description- * * 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 3 of the License, or * (at your option) any later version. * * ...
gpl-3.0
writeameer/moodle
blog/lib.php
43600
<?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