repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
MavenRain/roslyn | src/Compilers/Core/Portable/Symbols/Attributes/AttributeUsageInfo.cs | 8585 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Collections;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Micro... | apache-2.0 |
uschindler/elasticsearch | server/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateAction.java | 1201 | /*
* 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 |
minestarks/TypeScript | tests/cases/fourslash/signatureHelpInParenthetical.ts | 265 | /// <reference path='fourslash.ts' />
//// class base { constructor (public n: number, public y: string) { } }
//// (new base(/**/
verify.signatureHelp({ marker: "", parameterName: "n" });
edit.insert('0, ');
verify.signatureHelp({ parameterName: "y" });
| apache-2.0 |
rawlingsj/gofabric8 | vendor/github.com/openshift/origin/pkg/project/auth/cache_test.go | 7438 | package auth
import (
"fmt"
"strconv"
"testing"
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/auth/user"
"k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/fake"
"k8s.io/kubernetes/pkg/util/sets"
authorizationapi "github.com/openshift/origin/pkg/authorization/api"
"github.com/open... | apache-2.0 |
asashour/framework | uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxSuggestionPopupClose.java | 827 | package com.vaadin.tests.components.combobox;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractReindeerTestUI;
import com.vaadin.ui.ComboBox;
public class ComboBoxSuggestionPopupClose extends AbstractReindeerTestUI {
@Override
protected void setup(VaadinRequest request) {
... | apache-2.0 |
youdonghai/intellij-community | platform/lang-impl/src/com/intellij/psi/impl/source/codeStyle/CodeStyleFacadeImpl.java | 3814 | /*
* Copyright 2000-2009 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 |
selckin/wicket | wicket-core/src/main/java/org/apache/wicket/UrlResourceReferenceMapper.java | 2673 | /*
* 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 |
smennetrier/closure-stylesheets | src/com/google/common/css/compiler/gssfunctions/ColorUtil.java | 4612 | /*
* 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 ... | apache-2.0 |
kaffeel/oppia | core/jobs_test.py | 34275 | # coding: utf-8
#
# Copyright 2014 The Oppia 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 requi... | apache-2.0 |
NSAmelchev/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/replicated/GridCacheReplicatedLockSelfTest.java | 1312 | /*
* 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 |
ericschultz/outercurve-orchard | src/Orchard.Web/Core/Containers/Extensions/ContentQueryExtensions.cs | 8590 | using System;
using System.Collections.Generic;
using Orchard.ContentManagement;
using Orchard.Core.Common.Models;
using Orchard.Core.Containers.Models;
using Orchard.Core.Title.Models;
namespace Orchard.Core.Containers.Extensions {
public static class ContentQueryExtensions {
public static ICont... | apache-2.0 |
Addepar/buck | test/com/facebook/buck/features/python/testdata/python_binary/external_sources/wheel_package/wheel_package/my_wheel.py | 68 | from __future__ import print_function
def f():
print("wheel")
| apache-2.0 |
holmes/intellij-community | python/src/com/jetbrains/python/psi/impl/references/PyImportReference.java | 12997 | /*
* 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 |
joone/chromium-crosswalk | third_party/WebKit/Source/platform/exported/WebCryptoAlgorithm.cpp | 22673 | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | bsd-3-clause |
jason-simmons/flutter_engine | testing/test_metal_surface_unittests.cc | 1166 | // Copyright 2013 The Flutter 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 "flutter/testing/test_metal_context.h"
#include "flutter/testing/test_metal_surface.h"
#include "flutter/testing/testing.h"
namespace flutter {
n... | bsd-3-clause |
manolama/dd-agent | dogstream/cassandra.py | 2422 | # (C) Datadog, Inc. 2010-2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
from datetime import datetime
import re
from dogstream import common
LOG4J_PRIORITY = [
"TRACE",
"DEBUG",
"INFO",
"WARN",
"ERROR",
"FATAL",
]
ALERT_TYPES = {
"FATAL": "error",
"E... | bsd-3-clause |
anshul313/chibleetestbackend | node_modules/grunt-protractor-coverage/node_modules/grunt-istanbul/node_modules/istanbul/node_modules/js-yaml/dist/js-yaml.js | 104940 | /* js-yaml 3.6.1 https://github.com/nodeca/js-yaml */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof se... | mit |
tsolucio/coreBOSTests | vendor/phpunit/phpunit/src/Runner/Filter/ExcludeGroupFilterIterator.php | 601 | <?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Runner\Filter;
use function in_array;
/**
* @i... | mit |
dsebastien/DefinitelyTyped | types/xmlrpc/index.d.ts | 3078 | // Type definitions for xmlrpc 1.3.2
// Project: https://github.com/baalexander/node-xmlrpc
// Definitions by: Andrew Short <http://ajshort.me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declare module 'xmlrpc' {
import { EventEmitter } from 'events';
imp... | mit |
drieks/babel | packages/babel-core/test/fixtures/traceur/Modules/Error_InvalidModuleDeclaration.module.js | 357 | // Error: 'test/feature/Modules/resources/no_such_file.js'
// Error: Specified as ./resources/no_such_file.js.
// Error: Imported by test/feature/Modules/Error_InvalidModuleDeclaration.module.js.
// Error: Normalizes to test/feature/Modules/resources/no_such_file.js
// Error: locate resolved against base
import * as b... | mit |
Priya91/corefx-1 | src/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.cs | 21352 | // 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.
// ------------------------------------------------------------------------------
// Changes to this file must follow... | mit |
horacework/nutritionalDiet | node_modules/orm/node_modules/sql-query/lib/Dialects/mysql.js | 2544 | var util = require("util");
var helpers = require("../Helpers");
exports.DataTypes = {
id: 'INTEGER PRIMARY KEY AUTO_INCREMENT',
int: 'INTEGER',
float: 'FLOAT(12,2)',
bool: 'TINYINT(1)',
text: 'TEXT'
};
exports.escape = function (query, args) {
return helpers.escapeQuery(exports, query, args);
}
exp... | mit |
ryantheleach/SpongeCommon | src/main/java/org/spongepowered/common/interfaces/IMixinScoreboard.java | 1358 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | mit |
saadiyadesai/saadiyadesai.github.io | node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/fetch.js | 981 | module.exports = fetch
var assert = require('assert')
var url = require('url')
var npa = require('npm-package-arg')
function fetch (uri, params, cb) {
assert(typeof uri === 'string', 'must pass registry URI to distTags.fetch')
assert(
params && typeof params === 'object',
'must pass params to distTags.fe... | mit |
appjudo/skim | lib/temple/coffee_script/filters.rb | 214 | require "temple/coffee_script/filters/attribute_merger"
require "temple/coffee_script/filters/attribute_remover"
require "temple/coffee_script/filters/control_flow"
require "temple/coffee_script/filters/escapable"
| mit |
cmaciasg/test | application/vendor/symfony/http-foundation/Tests/RequestMatcherTest.php | 4780 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpFoundation\Tests;
use PHPUnit\Framework\TestCase;... | mit |
dantman/sequelize | lib/dialects/postgres/query.js | 11715 | 'use strict';
var Utils = require('../../utils')
, AbstractQuery = require('../abstract/query')
, QueryTypes = require('../../query-types')
, Promise = require('../../promise')
, sequelizeErrors = require('../../errors.js')
, _ = require('lodash');
var Query = function(client, sequelize, options) {
this.c... | mit |
novaquark/glm | test/core/core_func_noise.cpp | 565 | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2011-01-15
// Updated : 20... | mit |
EMostafaAli/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Complex/Factorization/GramSchmidtTests.cs | 15264 | // <copyright file="GramSchmidtTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
// Copyright (c) 2009-2010 Math.NET
// Permission is hereby granted, free of charge, to ... | mit |
dm-istomin/unity-tutorial-projects | Survival Shooter/Assets/Scripts/Managers/EnemyManager.cs | 588 | using UnityEngine;
public class EnemyManager : MonoBehaviour
{
public PlayerHealth playerHealth;
public GameObject enemy;
public float spawnTime = 3f;
public Transform[] spawnPoints;
void Start ()
{
InvokeRepeating ("Spawn", spawnTime, spawnTime);
}
void Spawn ()
{
... | mit |
lapachuka/shamshura_VPS | extension/ezjscore/design/standard/lib/yui/3.4.1/build/yui-log/yui-log-min.js | 898 | /*
YUI 3.4.1 (build 4118)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("yui-log",function(d){var c=d,e="yui:log",a="undefined",b={debug:1,info:1,warn:1,error:1};c.log=function(j,s,g,q){var l,p,n,k,o,i=c,r=i.config,h=(i.fire)?i:YUI.Env.globalEv... | gpl-2.0 |
Gurgel100/gcc | gcc/testsuite/g++.dg/tree-ssa/inline-4.C | 774 | /* { dg-do compile } */
/* { dg-options "-O2 -fopt-info-inline --param max-early-inliner-iterations=3" } */
/* { dg-add-options bind_pic_locally } */
namespace std {
extern "C" int puts(const char *s);
}
template <class T, class E> void
foreach (T b, T e, void (*ptr)(E))
{
for (; b != e; b++)
ptr(*b); // { dg... | gpl-2.0 |
lysovannborey/Ecommerce | includes/modules/pages/product_music_info/main_template_vars.php | 8916 | <?php
/**
* product_music_info main_template_vars
*
* @package productTypes
* @copyright Copyright 2003-2012 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version GIT: $Id: Author: DrByte Fri Jul 6 11:57:4... | gpl-2.0 |
treejames/APE_Server | deps/js/src/tests/js1_5/Array/regress-350256-01.js | 2800 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | gpl-2.0 |
Esleelkartea/kz-adeada-talleres-electricos- | kzadeadatallereselectricos_v1.0.0_win32_installer/windows/xampp/php/PEAR/I18Nv2/Country/el.php | 9891 | <?php
/**
* $Id: el.php,v 1.8 2005/10/03 15:07:18 mike Exp $
*/
$this->codes = array(
'AD' => 'Ανδόρα',
'AE' => 'Ηνωμένα Αραβικά Εμιράτα',
'AF' => 'Αφγανιστάν',
'AG' => 'Αντίγκουα και Μπαρμπούντα',
'AI' => 'Ανγκουίλα',
'AL' => 'Αλβανία',
'AM' => 'Αρμενία',
'AN' => 'Ολλανδικές Αντίλλες'... | gpl-2.0 |
YouDiSN/OpenJDK-Research | jdk9/langtools/src/java.compiler/share/classes/javax/lang/model/util/ElementFilter.java | 11831 | /*
* Copyright (c) 2005, 2017, 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 |
langbat/Wordpress-Backbone-JS | wp-content/plugins/wysija-newsletters/views/back/tmce.php | 3991 | <?php
defined('WYSIJA') or die('Restricted access');
class WYSIJA_view_back_tmce extends WYSIJA_view_back{
var $title='Tiny';
var $icon='icon-options-general';
var $scripts=array();
function WYSIJA_view_back_tmce(){
$this->WYSIJA_view_back();
}
function getScriptsStyles(){
?>
... | gpl-2.0 |
bSr43/scummvm | backends/cloud/downloadrequest.cpp | 4567 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
qmwu2000/disconf | disconf-client/src/main/java/com/baidu/disconf/client/common/update/IDisconfUpdate.java | 265 | package com.baidu.disconf.client.common.update;
/**
* 当配置更新 时,用户可以实现此接口,用以来实现回调函数
*
* @author liaoqiqi
* @version 2014-5-20
*/
public interface IDisconfUpdate {
public void reload() throws Exception;
}
| gpl-2.0 |
Nadahar/UniversalMediaServer | src/test/java/net/pms/formats/v2/SubtitleTypeTest.java | 8624 | /*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2012 I. Sokolov
*
* 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; version 2
* of the License only.
*
* This... | gpl-2.0 |
arrmo/librenms | includes/caches/devices.inc.php | 1622 | <?php
if (Auth::user()->hasGlobalRead()) {
$data['count'] = ['query' => 'SELECT COUNT(*) FROM devices'];
$data['up'] = ['query' => "SELECT COUNT(*) FROM devices WHERE `status` = '1' AND `ignore` = '0' AND `disabled` = '0'"];
$data['down'] = ['query' => "SELECT COUNT(*) FROM devices WHERE `status` = '0' ... | gpl-3.0 |
ivan73/smarthome | examples/old/js/smarthome.js | 18501 | // vim: set encoding=utf-8 tabstop=4 softtabstop=4 shiftwidth=4 expandtab
//########################################################################
// Copyright 2012-2013 KNX-User-Forum e.V. http://knx-user-forum.de/
//########################################################################
// This file is part... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Port_San_dOria/npcs/Dabbio.lua | 1049 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Dabbio
-- Type: Standard NPC
-- @zone 232
-- @pos -7.819 -15 -106.990
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
---------------... | gpl-3.0 |
QiuLihua83/Magento_with_some_popular_mods | app/code/core/Mage/Paypal/Model/System/Config/Source/BuyerCountry.php | 1515 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | gpl-3.0 |
Varentsov/servo | tests/wpt/web-platform-tests/tools/third_party/pytest/testing/test_junitxml.py | 35008 | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from xml.dom import minidom
import py
import sys
import os
from _pytest.junitxml import LogXML
import pytest
def runandparse(testdir, *args):
resultpath = testdir.tmpdir.join("junit.xml")
result = testdir.runpytest("--jun... | mpl-2.0 |
jessealama/exist | src/org/exist/xquery/functions/inspect/FunctionCallVisitor.java | 825 | package org.exist.xquery.functions.inspect;
import org.exist.xquery.DefaultExpressionVisitor;
import org.exist.xquery.FunctionCall;
import org.exist.xquery.FunctionSignature;
import java.util.*;
public class FunctionCallVisitor extends DefaultExpressionVisitor {
private Set<FunctionSignature> functionCalls = ne... | lgpl-2.1 |
harterj/moose | modules/tensor_mechanics/src/materials/CompositeElasticityTensor.C | 1686 | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | lgpl-2.1 |
jalexvig/tensorflow | tensorflow/contrib/nccl/python/ops/nccl_ops.py | 8580 | # Copyright 2016 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 applica... | apache-2.0 |
royclarkson/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type/ImageConfig.java | 3607 | /*
* Copyright 2012-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
bazelbuild/bazel | src/test/java/com/google/devtools/build/lib/bazel/rules/genrule/GenRuleWindowsConfiguredTargetTest.java | 8482 | // Copyright 2019 The Bazel 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 appl... | apache-2.0 |
nvoron23/arangodb | js/apps/system/_admin/aardvark/APP/frontend/js/graphViewer/ui/arangoAdapterControls.js | 6300 | /*global $, _, d3*/
/*global document*/
/*global modalDialogHelper, uiComponentsHelper*/
////////////////////////////////////////////////////////////////////////////////
/// @brief Graph functionality
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2010-2012 triagens GmbH, Cologne, Germany
///
/// Licensed under the... | apache-2.0 |
lostiniceland/bnd | biz.aQute.bndlib.tests/src/test/uses/field/UsesField.java | 233 | package test.uses.field;
import javax.security.auth.Subject;
import javax.security.auth.callback.CallbackHandler;
@SuppressWarnings("unused")
public class UsesField {
public CallbackHandler config;
private Subject subject;
}
| apache-2.0 |
elvisisking/modeshape | modeshape-jcr/src/main/java/org/modeshape/jcr/cache/ReferrerCounts.java | 6656 | /*
* ModeShape (http://www.modeshape.org)
*
* 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 o... | apache-2.0 |
tzulitai/flink | flink-runtime/src/test/java/org/apache/flink/runtime/state/StateSnapshotCompressionTest.java | 6592 | /*
* 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 |
MikkelTAndersen/libgdx | extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btMultiSphereShape.java | 3571 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | apache-2.0 |
chanakaudaya/wso2-axis2-transports | modules/jms/src/test/java/org/apache/axis2/transport/jms/JMSClient.java | 3367 | /*
* 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")... | apache-2.0 |
waiducom/Carbon-Forum | language/zh-tw/forgot.php | 886 | <?php
if (!defined('InternalAccess')) exit('error: 403 Access Denied');
if (empty($Lang) || !is_array($Lang))
$Lang = array();
$Lang = array_merge($Lang, array(
'Email' => '密保郵箱',
'Submit' => '提交',
'Forms_Can_Not_Be_Empty' => '用戶名/郵箱地址/驗證碼必填',
'User_Does_Not_Exist' => '用戶不存在',
'Email_Error' => '電子郵件輸入錯誤,該使用者郵箱位址... | apache-2.0 |
apixandru/intellij-community | xml/impl/src/com/intellij/featureStatistics/XmlProductivityFeatureProvider.java | 1906 | /*
* 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 |
samarpanda/falcor | lib/errors/BoundJSONGraphModelError.js | 678 | /**
* When a bound model attempts to retrieve JSONGraph it should throw an
* error.
*
* @private
*/
function BoundJSONGraphModelError() {
this.message = BoundJSONGraphModelError.message;
this.stack = (new Error()).stack;
}
// instanceof will be an error, but stack will be correct because its defined in th... | apache-2.0 |
ashishb/homebrew-cask | Casks/remote-desktop-connection.rb | 401 | class RemoteDesktopConnection < Cask
version '2.1.1'
sha256 '4ebe551c9ee0e2da6b8f746be13c2df342c6f14cd3fbedbf2ab490f09b44616f'
url 'http://download.microsoft.com/download/C/F/0/CF0AE39A-3307-4D39-9D50-58E699C91B2F/RDC_2.1.1_ALL.dmg'
homepage 'http://www.microsoft.com/en-us/download/details.aspx?id=18140'
in... | bsd-2-clause |
zhuyongyong/crosswalk-test-suite | wrt/wrt-packagemgt-windows-tests/pmwindows/Crosswalk_WebApp_Update.py | 1973 | #!/bin/bash
#Copyright (c) 2015 Intel Corporation.
#
#Redistribution and use in source and binary forms, with or without modification,
#are permitted provided that the following conditions are met:
#
#* Redistributions of works must retain the original copyright notice, this list
# of conditions and the following disc... | bsd-3-clause |
qoqa/lithium | analysis/logger/adapter/Growl.php | 8476 | <?php
/**
* Lithium: the most rad php framework
*
* @copyright Copyright 2012, Union of RAD (http://union-of-rad.org)
* @license http://opensource.org/licenses/bsd-license.php The BSD License
*/
namespace lithium\analysis\logger\adapter;
use lithium\util\Inflector;
use lithium\core\NetworkException;
/... | bsd-3-clause |
vadimtk/chrome4sdp | chrome/service/cloud_print/cloud_print_service_helpers_unittest.cc | 4009 | // 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 "chrome/service/cloud_print/cloud_print_service_helpers.h"
#include "base/md5.h"
#include "base/strings/stringprintf.h"
#include "base/sys_info.... | bsd-3-clause |
axhm3a/ZendFrameworkCertification | vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Util.php | 9974 | <?php
/**
* PHP_CodeCoverage
*
* Copyright (c) 2009-2013, Sebastian Bergmann <sebastian@phpunit.de>.
* 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 c... | bsd-3-clause |
mxOBS/deb-pkg_trusty_chromium-browser | third_party/webrtc/base/sharedexclusivelock.cc | 1145 | /*
* Copyright 2011 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 |
webmozart/zf2 | library/Zend/Tag/Cloud/DecoratorPluginManager.php | 1784 | <?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 |
ahoy-jon/symfony-1.2 | lib/plugins/sfPropelPlugin/lib/vendor/propel/adapter/DBMSSQL.php | 5917 | <?php
/*
* $Id: DBMSSQL.php 989 2008-03-11 14:29:30Z heltem $
*
* 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... | mit |
kgatjens/d8_vm_vagrant | project/modules/contrib/webform/src/Tests/WebformSubmissionListBuilderTest.php | 8816 | <?php
namespace Drupal\webform\Tests;
/**
* Tests for webform submission list builder.
*
* @group Webform
*/
class WebformSubmissionListBuilderTest extends WebformTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = ['node', 'webform'];
/**
* Webforms to load.
*... | mit |
markogresak/DefinitelyTyped | types/three/src/loaders/LoadingManager.d.ts | 2349 | import { Loader } from './Loader';
export const DefaultLoadingManager: LoadingManager;
/**
* Handles and keeps track of loaded and pending data.
*/
export class LoadingManager {
constructor(
onLoad?: () => void,
onProgress?: (url: string, loaded: number, total: number) => void,
onError?:... | mit |
plumer/codana | tomcat_files/8.0.22/DataSourceDefinitions.java | 1181 | /*
* 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 ... | mit |
zhenlan/corefx | src/System.Runtime.Extensions/tests/System/MathF.netcoreapp.cs | 129551 | // 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;
using Xunit.Sdk;
namespace System.Tests
{
public static partial class MathFTests
{
//... | mit |
grasshopper-cms/grasshopper-cms | plugins/admin/dist/public/vendor/ace/lib/ace/mode/sjs.js | 2693 | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* 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 sou... | mit |
markogresak/DefinitelyTyped | types/jqgrid/index.d.ts | 18960 | // Type definitions for jQuery jqgrid Plugin 1.3
// Project: https://github.com/tonytomov/jqGrid
// Definitions by: Lokesh Peta <https://github.com/lokeshpeta>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
///<reference types="jquery" />
// http://www.trirand.com/jqgrid... | mit |
dsebastien/DefinitelyTyped | types/ncp/index.d.ts | 2012 | // Type definitions for ncp 2.0
// Project: https://github.com/AvianFlu/ncp
// Definitions by: Bart van der Schoor <https://github.com/bartvds>
// Benoit Lemaire <https://github.com/belemaire>
// ExE Boss <https://github.com/ExE-Boss>
// Definitions: https://github.com/DefinitelyTyped/De... | mit |
abbasmhd/DefinitelyTyped | types/deepmerge/index.d.ts | 755 | // Type definitions for deepmerge 1.3
// Project: https://github.com/KyleAMathews/deepmerge
// Definitions by: marvinscharle <https://github.com/marvinscharle>
// syy1125 <https://github.com/syy1125>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
export = ... | mit |
afuechsel/openhab2 | addons/io/org.openhab.io.transport.modbus/src/main/java/org/openhab/io/transport/modbus/BasicWriteTask.java | 1975 | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | epl-1.0 |
runuo/runuo | Scripts/Engines/BulkOrders/SmallSmithBOD.cs | 6596 | using System;
using System.Collections.Generic;
using Server;
using Server.Engines.Craft;
using Server.Items;
using Mat = Server.Engines.BulkOrders.BulkMaterialType;
namespace Server.Engines.BulkOrders
{
[TypeAlias( "Scripts.Engines.BulkOrders.SmallSmithBOD" )]
public class SmallSmithBOD : SmallBOD
{
... | gpl-2.0 |
nhicher/ansible | lib/ansible/modules/cloud/azure/azure_rm_aks.py | 22127 | #!/usr/bin/python
#
# Copyright (c) 2018 Sertac Ozercan, <seozerca@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 |
artsmorgan/crmtecnosagot | app/protected/extensions/geocoder/libraries/Driver.php | 5257 | <?php
/**
* Copyright (c) 2009 Brian Armstrong
*
* 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
... | agpl-3.0 |
bengusty/cbioportal | core/src/main/java/org/mskcc/cbio/portal/authentication/googleplus/GoogleplusUserDetailsService.java | 3701 | /*
* Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... | agpl-3.0 |
kerautret/DGtal0.6-ForIPOL | src/boost-1.75/boost/container/pmr/memory_resource.hpp | 4824 | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2015-2015. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/contain... | lgpl-3.0 |
duanjiangwei/jmtp | c++/src/Com.cpp | 2755 | /*
* Copyright 2007 Pieter De Rycke
*
* This file is part of JMTP.
*
* JTMP 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 3 of
* the License, or any later version.
... | lgpl-3.0 |
llvm-mirror/clang | test/CodeGen/address-safety-attr-flavors.cpp | 3591 | // Make sure the sanitize_address attribute is emitted when using ASan, KASan or
// HWASan. Either __attribute__((no_sanitize("address")) or
// __attribute__((no_sanitize("kernel-address")) disables both ASan and KASan
// instrumentation.
// Same for __attribute__((no_sanitize("hwaddress")) and
// __attribute__((no_san... | apache-2.0 |
tony810430/flink | flink-connectors/flink-connector-kinesis/src/test/java/org/apache/flink/streaming/connectors/kinesis/internals/publisher/fanout/StreamConsumerRegistrarTest.java | 15923 | /*
* 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 |
LauhLemus10/geojsoncesium | Specs/Renderer/AutomaticUniformSpec.js | 57850 | defineSuite([
'Core/Cartesian2',
'Core/Cartesian3',
'Core/Color',
'Core/defaultValue',
'Core/Matrix4',
'Core/OrthographicFrustum',
'Core/OrthographicOffCenterFrustum',
'Renderer/Pass',
'Renderer/Texture',
'Scene/SceneMode',
... | apache-2.0 |
nakul02/incubator-systemml | src/test/java/org/apache/sysml/test/integration/functions/binary/matrix/ElementwiseAdditionTest.java | 8129 | /*
* 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 |
KalicyZhou/incubator-weex | android/sdk/src/main/java/com/taobao/weex/appfram/websocket/IWebSocketAdapterFactory.java | 990 | /*
* 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 |
jessicastillop/geojsoncesium | Source/Scene/EllipsoidPrimitive.js | 18082 | define([
'../Core/BoundingSphere',
'../Core/BoxGeometry',
'../Core/Cartesian3',
'../Core/combine',
'../Core/defaultValue',
'../Core/defined',
'../Core/destroyObject',
'../Core/DeveloperError',
'../Core/Matrix4',
'../Core/VertexFor... | apache-2.0 |
bclau/nova | nova/api/openstack/compute/contrib/used_limits_for_admin.py | 1061 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 OpenStack Foundation
#
# 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-... | apache-2.0 |
ibinti/intellij-community | plugins/ant/src/com/intellij/lang/ant/config/impl/AntKeymapExtension.java | 3212 | /*
* Copyright 2000-2009 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 |
tony810430/flink | flink-java/src/main/java/org/apache/flink/api/java/operators/NoOpOperator.java | 1638 | /*
* 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 |
MsysTechnologiesllc/azure-xplat-cli | test/recordings/cli.storage.blob-tests/cli_storage_container_delete_should_delete_the_specified_container.nock.js | 1620 | // This file has been autogenerated.
var profile = require('../../../lib/util/profile');
exports.getMockedProfile = function () {
var newProfile = new profile.Profile();
newProfile.addSubscription(new profile.Subscription({
id: 'a0d901ba-9956-4f7d-830c-2d7974c36666',
name: 'Azure Storage DM Dev',
use... | apache-2.0 |
Shopify/dd-agent | ci/common.rb | 5570 | require 'colorize'
require 'httparty'
require 'socket'
require 'time'
require 'timeout'
# Colors don't work on Appveyor
String.disable_colorization = true if Gem.win_platform?
require './ci/resources/cache'
def sleep_for(secs)
puts "Sleeping for #{secs}s".blue
sleep(secs)
end
def section(name)
timestamp = Tim... | bsd-3-clause |
CapeSepias/scala-js | library/src/main/scala/scala/scalajs/js/annotation/JSExportDescendentObjects.scala | 1258 | /* __ *\
** ________ ___ / / ___ __ ____ Scala.js API **
** / __/ __// _ | / / / _ | __ / // __/ (c) 2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ |/_// /_\ \ http://scala-lang.org/ **
** /____/\___/_/ |_/... | bsd-3-clause |
spreg-git/pysal | pysal/contrib/network/lincs.py | 13081 | #!/usr/bin/env python
"""
A library for computing local indicators of network-constrained clusters
Author:
Myunghwa Hwang mhwang4@gmail.com
"""
import unittest
import numpy as np
import scipy.stats as stats
import geodanet.network as pynet
import pysal, copy
import time
def unconditional_sim(event, base, s):
"... | bsd-3-clause |
joone/chromium-crosswalk | third_party/WebKit/Source/core/page/WindowFeaturesTest.cpp | 969 | // 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 "core/page/WindowFeatures.h"
#include "wtf/text/WTFString.h"
#include <gtest/gtest.h>
namespace blink {
using WindowFeaturesTest = ::testing... | bsd-3-clause |
phupn1510/ELK | kibana/kibana/node_modules/regexpu/regexpu.js | 278 | module.exports = {
'rewritePattern': require('./rewrite-pattern.js'),
'transformTree': require('./transform-tree.js'),
'transpileCode': require('./transpile-code.js'),
'version': require('./package.json').version
};
module.exports.transform = module.exports.transformTree;
| mit |
StudioBOZ/thirdClass | app/code/core/Mage/Shipping/Model/Carrier/Flatrate.php | 3793 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | mit |
clienthax/SpongeCommon | src/main/java/org/spongepowered/common/item/package-info.java | 1343 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | mit |
zecke/old-pharo-vm-sctp | processors/IA32/bochs/iodev/eth_vnet.cc | 40457 | /////////////////////////////////////////////////////////////////////////
// $Id: eth_vnet.cc,v 1.22 2008/01/26 22:24:01 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// virtual Ethernet locator
//
// An implementation of ARP, ping(ICMP-echo), DHCP and read/write TFTP.
// V... | mit |