repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
cbornet/generator-jhipster | test/needle-api/needle-server-logback-spring.spec.js | 2966 | const path = require('path');
const assert = require('yeoman-assert');
const helpers = require('yeoman-test');
const ServerGenerator = require('../../generators/server');
const constants = require('../../generators/generator-constants');
const SERVER_MAIN_RES_DIR = constants.SERVER_MAIN_RES_DIR;
const filePath = `${S... | apache-2.0 |
sunjincheng121/flink | flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/gateway/utils/TestTableSinkFactoryBase.java | 5790 | /*
* 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 |
shakamunyi/kubernetes | federation/cmd/federated-apiserver/apiserver.go | 1402 | /*
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 |
sobkowiak/aspectj-in-action-code | ch15/workspace/Section15.4.2ImplementingAuthorizationAspect/src/main/java/ajia/service/impl/OrderServiceImpl.java | 2408 | /*
Copyright 2009 Ramnivas Laddad
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 writin... | apache-2.0 |
psiroky/drools | drools-verifier/src/test/java/org/drools/verifier/data/VerifierDataMapsTest.java | 13588 | /*
* Copyright 2010 JBoss 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 i... | apache-2.0 |
dump247/aws-sdk-java | aws-java-sdk-elasticloadbalancing/src/main/java/com/amazonaws/services/elasticloadbalancing/model/transform/CertificateNotFoundExceptionUnmarshaller.java | 1606 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
adamreese/helm | cmd/helm/search_test.go | 681 | /*
Copyright The Helm 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, software
di... | apache-2.0 |
mglukhikh/intellij-community | python/src/com/jetbrains/python/codeInsight/intentions/ImportToImportFromIntention.java | 10621 | /*
* 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 |
mabsimms/azure-storage-net | Test/AspNet/XUnitForMsTest/TestCategoryDiscoverer.cs | 1783 | // -----------------------------------------------------------------------------------------
// <copyright file="TestCategoryDiscoverer.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in... | apache-2.0 |
signed/intellij-community | platform/core-api/src/com/intellij/openapi/application/ApplicationInfo.java | 2981 | /*
* Copyright 2000-2015 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 |
zhaochao/fuel-main | fuelweb_test/helpers/regenerate_repo.py | 17761 | # Copyright 2014 Mirantis, 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 ... | apache-2.0 |
glaucio-melo-movile/activemq-artemis | artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/bridge/impl/JMSBridgeControlImpl.java | 5119 | /*
* 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 n... | apache-2.0 |
tavultesoft/keymanweb | windows/src/ext/jedi/jvcl/tests/RALib/visual/demos/RAEditor/B5_RAEditorTest.cpp | 630 | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
USERES("B5_RAEditorTest.res");
USEFORMNS("fRAEditorTest.pas", Fraeditortest, Editor);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, ... | apache-2.0 |
baslr/ArangoDB | js/node/node_modules/timezone/Etc/GMT+4.js | 189 | module.exports={"zones":{"Etc/GMT+4":["z",{"wallclock":-1.7976931348623157e+308,"format":"GMT+4","abbrev":"GMT+4","offset":-14400000,"posix":-1.7976931348623157e+308,"save":0}]},"rules":{}} | apache-2.0 |
imtoantran/beleza | Libs/other/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php | 2811 | <?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2011 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 later ve... | apache-2.0 |
tsandall/opa | internal/wasm/instruction/memory.go | 1059 | // Copyright 2019 The OPA Authors. All rights reserved.
// Use of this source code is governed by an Apache2
// license that can be found in the LICENSE file.
package instruction
import "github.com/open-policy-agent/opa/internal/wasm/opcode"
// I32Load represents the WASM i32.load instruction.
type I32Load struct {... | apache-2.0 |
porcelli-forks/uberfire | uberfire-extensions/uberfire-wires/uberfire-wires-bpmn/uberfire-wires-bpmn-api/src/main/java/org/uberfire/ext/wires/bpmn/api/model/rules/ConnectionRule.java | 1533 | /*
* Copyright 2015 JBoss, by Red Hat, 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 ... | apache-2.0 |
ahmedRguei/blogTypo | typo3/sysext/belog/Classes/ViewHelpers/ErrorIconViewHelper.php | 2157 | <?php
namespace TYPO3\CMS\Belog\ViewHelpers;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license inf... | apache-2.0 |
sleroy/redmine-java-api | src/main/java/com/taskadapter/redmineapi/bean/IssueStatus.java | 1546 | package com.taskadapter.redmineapi.bean;
import java.io.Serializable;
/**
* Redmine Issue Status ("new", "in progress", etc)
*/
public class IssueStatus implements Identifiable, Serializable {
private static final long serialVersionUID = -2221390098554222099L;
private final Integer id;
private String name;
... | apache-2.0 |
VibyJocke/gocd | common/test/unit/com/thoughtworks/go/domain/builder/pluggableTask/PluggableTaskBuilderTest.java | 17020 | /*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, 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... | apache-2.0 |
splinter/developer-studio | bps/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/dialogs/PartnerLinkSelectorDialog.java | 6379 | /*******************************************************************************
* Copyright (c) 2005 IBM Corporation 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 a... | apache-2.0 |
elevennl/stagemonitor | stagemonitor-web/src/main/java/org/stagemonitor/web/monitor/servlet/ServletProfilingTransformer.java | 899 | package org.stagemonitor.web.monitor.servlet;
import static net.bytebuddy.matcher.ElementMatchers.isSubTypeOf;
import static net.bytebuddy.matcher.ElementMatchers.nameEndsWith;
import static net.bytebuddy.matcher.ElementMatchers.named;
import javax.servlet.Servlet;
import net.bytebuddy.description.method.MethodDescr... | apache-2.0 |
tarikgwa/test | html/app/code/Magento/Directory/Model/Country/Postcode/Config/Data.php | 618 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Directory\Model\Country\Postcode\Config;
class Data extends \Magento\Framework\Config\Data
{
/**
* @param \Magento\Directory\Model\Country\Postcode\Config\Reader $reader
* @param \Mag... | apache-2.0 |
kuujo/onos | protocols/isis/ctl/src/main/java/org/onosproject/isis/controller/impl/IsisMessageDecoder.java | 4238 | /*
* Copyright 2016-present Open Networking 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-2.0
*
* Unless required by appli... | apache-2.0 |
flaminc/olingo-odata4 | lib/commons-api/src/main/java/org/apache/olingo/commons/api/edm/geo/SRID.java | 4242 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | apache-2.0 |
smgoller/geode | geode-dunit/src/distributedTest/java/org/apache/geode/test/dunit/rules/tests/DistributedBlackboardDistributedTest.java | 9155 | /*
* 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 |
robertoschwald/cas | api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/cassandra/authentication/BaseCassandraProperties.java | 4474 | package org.apereo.cas.configuration.model.support.cassandra.authentication;
import org.apereo.cas.configuration.support.RequiredProperty;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
* This is {@link BaseCassandraProperties}.
*
* @author Misagh Moayyed
* @since 5.2.0
*/
@Getter... | apache-2.0 |
deboss/mybatis | src/main/java/org/apache/ibatis/annotations/Delete.java | 964 | /*
* Copyright 2009-2011 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
*
* Unles... | apache-2.0 |
plxaye/chromium | src/tools/telemetry/telemetry/page/block_page_benchmark_results_unittest.py | 1819 | # 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.
import StringIO
import os
import unittest
from telemetry.page import block_page_benchmark_results
from telemetry.page import page_set
BlockPageBenchmark... | apache-2.0 |
Addepar/buck | src/com/facebook/buck/event/listener/FileSerializationOutputRuleDepsListener.java | 3391 | /*
* Copyright (c) Facebook, Inc. and 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 applic... | apache-2.0 |
naveenbhaskar/gocd | server/webapp/WEB-INF/rails/webpack/models/artifact_stores/spec/artifact_stores_crud_spec.ts | 4842 | /*
* Copyright 2019 ThoughtWorks, 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 agr... | apache-2.0 |
mohanaraosv/hibernate-validator | engine/src/main/java/org/hibernate/validator/constraints/EAN.java | 1874 | /*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.constraints;
import java.lang.annotation.Documented;
import java.lang... | apache-2.0 |
RaghavendraSingh/lens | lens-cube/src/main/java/org/apache/lens/cube/parse/join/JoinClause.java | 5419 | /**
* 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 |
pickettd/code-dot-org | dashboard/app/dsl/external_dsl.rb | 220 | class ExternalDSL < ContentDSL
def initialize
@hash = {href: '', options: {skip_dialog: true}}
end
def href(url)
@hash[:href] = url
end
def parse_output
{name: @name, properties: @hash}
end
end
| apache-2.0 |
medio/Google-Adwords-API-PHP | examples/Adx/v201306/init.php | 1519 | <?php
/**
* The common init file for all these examples
*
* PHP version 5
*
* Copyright 2013, Google Inc. 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
*
* ... | apache-2.0 |
vladbailescu/sling | tooling/ide/api-test/src/test/java/org/apache/sling/ide/osgi/impl/HttpOsgiClientTest.java | 2593 | /*
* 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 |
cedricvidal/activemq-cpp-debian | src/main/decaf/net/SocketException.cpp | 2485 | /*
* 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 |
harishpalk/Jadira | usertype.core/src/main/java/org/jadira/usertype/dateandtime/joda/PersistentDateMidnight.java | 1751 | /*
* Copyright 2010, 2011 Christopher Pheby
*
* 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 a... | apache-2.0 |
weolar/miniblink49 | third_party/skia/src/utils/SkDeferredCanvas.cpp | 37406 |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkDeferredCanvas.h"
#include "SkChunkAlloc.h"
#include "SkColorFilter.h"
#include "SkDevice.h"
#include "SkDrawFilter.h"
#include "SkGPipe.h"
#include "SkImage_Bas... | apache-2.0 |
aLANparty/api-key-bundle | src/Uecode/Bundle/ApiKeyBundle/Model/ApiKeyUser.php | 834 | <?php
namespace Uecode\Bundle\ApiKeyBundle\Model;
use FOS\UserBundle\Model\User as BaseUser;
use FOS\UserBundle\Model\UserInterface;
use Symfony\Component\Security\Core\User\UserInterface as BaseUserInterface;
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
use Uecode\Bundle\ApiKeyBundle\Util\ApiKeyGe... | apache-2.0 |
charl/aerospike-client-go | examples/info.go | 1108 | // Copyright 2013-2015 Aerospike, 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... | apache-2.0 |
mitsuhiko/rust | src/test/compile-fail/borrowck-borrow-mut-base-ptr-in-aliasable-loc.rs | 874 | // Copyright 2012 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 |
rednaxelafx/apache-spark | sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala | 5151 | /*
* 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 |
psakar/Resteasy | eagledns/src/main/java/se/unlogic/standardutils/threads/ThreadPoolTaskGroupHandler.java | 7092 | /*******************************************************************************
* Copyright (c) 2010 Robert "Unlogic" Olofsson (unlogic@unlogic.se).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies th... | apache-2.0 |
porcelli-forks/uberfire | uberfire-extensions/uberfire-commons-editor/uberfire-commons-editor-client/src/main/java/org/uberfire/ext/editor/commons/client/file/CopyPopUpViewProducer.java | 1581 | /*
* Copyright 2016 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 a... | apache-2.0 |
zhaown/druid | indexing-service/src/test/java/io/druid/indexing/common/TestRealtimeTask.java | 2816 | /*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... | apache-2.0 |
shirshanka/gobblin | gobblin-runtime/src/main/java/org/apache/gobblin/runtime/fork/Fork.java | 27932 | /*
* 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 |
royalwang/saivi | cms/editor/ckeditor/plugins/ajax/plugin.js | 1041 | /*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
(function(){CKEDITOR.plugins.add('ajax',{requires:['xml']});CKEDITOR.ajax=(function(){var a=function(){if(!CKEDITOR.env.ie||location.protocol!='file:')try{return new XML... | apache-2.0 |
int19h/PTVS | Python/Product/PythonTools/PythonTools/CodeCoverage/CoverageFileInfo.cs | 1066 | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | apache-2.0 |
rkorn86/cas | ci/tests/puppeteer/scenarios/service-access-strategy-requiredattrs/script.js | 1054 | const puppeteer = require('puppeteer');
const cas = require('../../cas.js');
(async () => {
const browser = await puppeteer.launch(cas.browserOptions());
const page = await cas.newPage(browser);
await page.goto("https://localhost:8443/cas/login?service=https://cn.admin.example.com");
await submitLogin... | apache-2.0 |
BeatCoding/droolsjbpm-integration-beatcoding-version-6.2.0.Final | drools-benchmark/src/main/java/org/drools/benchmark/benchmarks/TmsBenchmark.java | 1147 | package org.drools.benchmark.benchmarks;
import org.drools.benchmark.BenchmarkDefinition;
import org.kie.internal.KnowledgeBase;
import org.kie.internal.runtime.StatefulKnowledgeSession;
import org.kie.api.runtime.rule.FactHandle;
public class TmsBenchmark extends AbstractBenchmark {
private String drlFile;
... | apache-2.0 |
pwcberry/climate | ocw/tests/test_rcmed.py | 6097 | # 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 u... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-appengine/v1/1.29.2/com/google/api/services/appengine/v1/model/Empty.java | 1819 | /*
* 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, software distributed under t... | apache-2.0 |
jludvice/fabric8 | fabric/fabric-agent/src/main/java/io/fabric8/agent/model/Conditional.java | 2101 | /**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | apache-2.0 |
Vaidyanath/tempest | tempest/api/compute/admin/test_hypervisor.py | 4502 | # Copyright 2013 IBM Corporation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | apache-2.0 |
super132/flyway | flyway-core/src/main/java/org/flywaydb/core/internal/command/DbBaseline.java | 6639 | /*
* Copyright 2010-2017 Boxfuse GmbH
*
* 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 ... | apache-2.0 |
sanyaade-g2g-repos/YaccConstructor | src/YC.ReSharper.AbstractAnalysis.Plugin/Highlighting/TreeNodeProcessor.cs | 1975 | using System.Collections.Generic;
using JetBrains.Annotations;
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Daemon;
using JetBrains.ReSharper.Daemon.Stages;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Util;
namespace YC.ReSharper.AbstractAnalysis.Plugin.High... | apache-2.0 |
joerocklin/cookbook-nfs | test/integration/server/serverspec/localhost/service_spec.rb | 415 | require 'spec_helper'
describe "Server Tests" do
include_examples 'services::portmap'
include_examples 'services::statd'
include_examples 'services::mountd'
include_examples 'services::lockd'
if os[:family] == 'redhat'
include_examples 'services::nfs-client' if host_inventory[:platform_version].to_f >= ... | apache-2.0 |
PlayScriptRedux/monomac | src/OpenGL/OpenTK/Audio/OpenAL/Alc/Alc.cs | 25929 | #region --- OpenTK.OpenAL License ---
/* AlcFunctions.cs
* C header: \OpenAL 1.1 SDK\include\Alc.h
* Spec: http://www.openal.org/openal_webstf/specs/OpenAL11Specification.pdf
* Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
* See license.txt for license details
* http://www.OpenTK.net */
#endre... | apache-2.0 |
GenisO/hadoop-DWRR | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/security/http/RMAuthenticationFilterInitializer.java | 4556 | /**
* 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 |
bryanhunter/azure-sdk-tools | WindowsAzurePowershell/src/Management.ServiceManagement/StorageServices/GetAzureStorageAccount.cs | 4041 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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.apa... | apache-2.0 |
wwjiang007/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/conf/TestQueueCapacityConfigParser.java | 11848 | /**
* 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 |
anthcp/cdap | cdap-gateway/src/test/java/co/cask/cdap/gateway/GatewayFastTestsSuite.java | 7924 | /*
* Copyright © 2014-2015 Cask Data, 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 agr... | apache-2.0 |
themarkypantz/kafka | tools/src/main/java/org/apache/kafka/trogdor/rest/CreateWorkerRequest.java | 1501 | /*
* 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 n... | apache-2.0 |
jyotisingh/gocd | server/src/main/java/com/thoughtworks/go/config/PartialConfigResolver.java | 831 | /*
* Copyright 2018 ThoughtWorks, 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 agr... | apache-2.0 |
michabbb-backup/ebay-sdk-trading | src/DTS/eBaySDK/Trading/Enums/SellingManagerAutomationPropertyTypeCodeType.php | 1154 | <?php
/**
* THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT:
*
* https://github.com/davidtsadler/ebay-api-sdk-php
*
* Copyright 2014 David T. Sadler
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | apache-2.0 |
scottfrederick/spring-cloud-connectors | spring-cloud-core/src/main/java/org/springframework/cloud/service/common/MysqlServiceInfo.java | 487 | package org.springframework.cloud.service.common;
import org.springframework.cloud.service.ServiceInfo.ServiceLabel;
/**
*
* @author Ramnivas Laddad
*
*/
@ServiceLabel("mysql")
public class MysqlServiceInfo extends RelationalServiceInfo {
public static final String MYSQL_SCHEME = "mysql";
public MysqlServiceIn... | apache-2.0 |
Gayany/product-mdm | modules/apps/jax-rs/mdm-admin/src/main/java/org/wso2/carbon/mdm/api/Configuration.java | 4663 | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* you may obtain a copy of the License at
*
* http://www.apache.org/... | apache-2.0 |
geeag/kafka | tests/kafkatest/services/security/security_config.py | 11435 | # 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 use ... | apache-2.0 |
stankovski/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs/src/Models/GetBlobsByHierarchyAsyncCollection.cs | 2048 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.Pipeline;
namespace Azure.Storage.Blobs.Models
{
internal class GetBlobsByHierarchyAsyncColle... | apache-2.0 |
meteorcloudy/bazel | src/main/java/com/google/devtools/build/lib/analysis/extra/ExtraActionInfoFileWriteAction.java | 4195 | // Copyright 2015 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 |
kazuemasaki/honki-android | Chapter04/Lesson17/before/app/src/main/java/com/yokmama/learn10/chapter04/lesson17/ItemDetailActivity.java | 2721 | package com.yokmama.learn10.chapter04.lesson17;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NavUtils;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import com.yokmama.learn10.chapter04.lesson17.demo.DemoContent;
import com.yokmama.learn10.cha... | apache-2.0 |
flofreud/aws-sdk-java | aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/RepositoryNotFoundException.java | 1275 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
CU-CommunityApps/cu-db-ojb | src/java/org/apache/ojb/broker/platforms/PlatformFactory.java | 3165 | package org.apache.ojb.broker.platforms;
/* Copyright 2002-2005 The Apache Software 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/lic... | apache-2.0 |
blindpirate/gradle | subprojects/tooling-api/src/main/java/org/gradle/tooling/events/task/internal/DefaultTaskSuccessResult.java | 1909 | /*
* Copyright 2015 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 applica... | apache-2.0 |
kzganesan/nano-rest | sample/EBayDemo/src/ebay/apis/eblbasecomponents/ConfirmIdentityResponseType.java | 989 | // Generated by xsd compiler for android/java
// DO NOT CHANGE!
package ebay.apis.eblbasecomponents;
import java.io.Serializable;
import com.leansoft.nano.annotation.*;
/**
*
* Confirms the identity of the user by returning the UserID and the EIASToken belonging to
* the user.
*
*/
@RootElement(name = "Confirm... | apache-2.0 |
fnproject/fn | vendor/github.com/leanovate/gopter/gen/frequency.go | 847 | package gen
import (
"sort"
"github.com/leanovate/gopter"
)
// Frequency combines multiple weighted generators of the the same result type
// The generators from weightedGens will be used accrding to the weight, i.e. generators
// with a hight weight will be used more often than generators with a low weight.
func ... | apache-2.0 |
alvations/Paddle | paddle/gserver/layers/CosSimLayer.cpp | 1979 | /* Copyright (c) 2016 Baidu, Inc. All Rights Reserve.
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 |
ctbrizhp/swift1.9.2 | test/unit/common/middleware/test_except.py | 3645 | # Copyright (c) 2010-2012 OpenStack, LLC.
#
# 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 |
rkorn86/cas | core/cas-server-core-authentication-mfa-api/src/main/java/org/apereo/cas/authentication/AbstractMultifactorAuthenticationProvider.java | 1644 | package org.apereo.cas.authentication;
import org.apereo.cas.authentication.bypass.MultifactorAuthenticationProviderBypassEvaluator;
import org.apereo.cas.configuration.model.support.mfa.BaseMultifactorAuthenticationProviderProperties.MultifactorAuthenticationProviderFailureModes;
import org.apereo.cas.services.Regist... | apache-2.0 |
lvjunlei/osharp | samples/OSharp.Demo.Core/Models/OAuth/ClientRefreshToken.cs | 836 | // -----------------------------------------------------------------------
// <copyright file="ClientRefreshToken.cs" company="OSharp开源团队">
// Copyright (c) 2014-2015 OSharp. All rights reserved.
// </copyright>
// <site>http://www.osharp.org</site>
// <last-editor>郭明锋</last-editor>
// <last-date>2015-11-10 ... | apache-2.0 |
fabricedesre/rust | src/test/compile-fail/lint-obsolete-attr.rs | 771 | // Copyright 2013 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 |
Ciclop/Terasology | engine/src/main/java/org/terasology/network/internal/NetworkEntitySystem.java | 3646 | /*
* Copyright 2013 MovingBlocks
*
* 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... | apache-2.0 |
cherryhill/collectionspace-services | services/concept/service/src/main/java/org/collectionspace/services/concept/ConceptAuthorityResource.java | 2397 | /**
* This document is a part of the source code and related artifacts for
* CollectionSpace, an open source collections management system for museums and
* related institutions:
*
* http://www.collectionspace.org http://wiki.collectionspace.org
*
* Copyright 2009 University of California at Berkeley
*
* Licen... | apache-2.0 |
wemanuel/smry | server-auth/ls/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/calliope/walker.py | 3206 | # Copyright 2015 Google Inc. All Rights Reserved.
"""A module for walking the Cloud SDK CLI tree."""
class Walker(object):
"""Base class for walking the Cloud SDK CLI tree.
Attributes:
_cli: The Cloud SDK CLI object.
"""
def __init__(self, cli):
"""Constructor.
Args:
cli: The Cloud SDK C... | apache-2.0 |
aead/minio | cmd/bucket-encryption_test.go | 2098 | /*
* MinIO Cloud Storage, (C) 2020 MinIO, 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 la... | apache-2.0 |
gureronder/midpoint | infra/prism/src/main/java/com/evolveum/midpoint/prism/OriginType.java | 890 | /*
* Copyright (c) 2010-2013 Evolveum
*
* 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 |
petewarden/tensorflow_makefile | tensorflow/core/platform/cloud/oauth_client.cc | 11408 | /* Copyright 2016 Google Inc. 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 agreed to in ... | apache-2.0 |
mdissel/lucene.net | src/Lucene.Net.Core/Util/RecyclingByteBlockAllocator.cs | 6474 | using System;
using System.Diagnostics;
namespace Lucene.Net.Util
{
using Allocator = Lucene.Net.Util.ByteBlockPool.Allocator;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for addition... | apache-2.0 |
bjhargrave/osgice2015 | 3TypeSafeConfig/src/example/command/ExampleCommand.java | 622 | package example.command;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import example.api.Example;
import osgi.enroute.debug.api.Debug;
/**
* This is the implementation. It registers the Example interface and calls it
* through a Gogo command.
* ... | apache-2.0 |
apache/samza | samza-sql/src/main/java/org/apache/samza/sql/fn/RegexMatchUdf.java | 1578 | /*
* 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 no... | apache-2.0 |
agonyou/cb-examples | CB_N1QL_Test/node_modules/seed/node_modules/super/test/super.test.js | 2163 | var should = chai.should()
function EventEmitter () {};
function Foo () {};
describe('super', function() {
it('can inherit methods', function() {
inherits(Foo, EventEmitter);
var foo = new Foo;
(foo instanceof EventEmitter).should.be.true;
(Foo.super_ == EventEmitter).should.be.true;
});
it('c... | apache-2.0 |
aglne/GearVRf | GVRf/Framework/framework/src/main/jni/objects/components/render_data_jni.cpp | 18029 | /* Copyright 2015 Samsung Electronics Co., LTD
*
* 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 |
trasukg/river-qa-2.2 | src/net/jini/export/ProxyAccessor.java | 1815 | /*
* 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 m... | apache-2.0 |
yang-g/grpc | src/csharp/Grpc.Examples/MathGrpc.cs | 16368 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: math/math.proto
// Original file comments:
// Copyright 2015 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 Lice... | apache-2.0 |
tectronics/rootfinder | 2.3/src/org/drip/analytics/holset/SGDHoliday.java | 38526 |
package org.drip.analytics.holset;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*
* GENERATED on Fri Jan 11 19:54:07 EST 2013 ---- DO NOT DELETE
*/
/*!
* Copyright (C) 2013 Lakshmi Krishnamurthy
* Copyright (C) 2012 Lakshmi Krishnamurthy
* Copyright (C) 2011 Lakshmi ... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-toolresults/v1beta3/1.28.0/com/google/api/services/toolresults/model/TestCaseReference.java | 3474 | /*
* 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, software distributed under t... | apache-2.0 |
rhencke/azure-powershell | src/ResourceManager/DataFactories/Commands.DataFactories.Test/UnitTests/NewTableTests.cs | 5739 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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.apa... | apache-2.0 |
yomik/jsonschema2pojo | jsonschema2pojo-integration-tests/src/test/java/org/jsonschema2pojo/integration/PolymorphicIT.java | 2009 | /**
* Copyright © 2010-2014 Nokia
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | apache-2.0 |
andyspan/pinpoint | web/src/test/java/com/navercorp/pinpoint/web/TestAwaitTaskUtils.java | 742 | /*
* Copyright 2016 NAVER 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 ... | apache-2.0 |