repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
adessaigne/camel
components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackConsumer.java
6763
/* * 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
rsadam-google/google-input-tools
chrome/os/i18n_messages.js
54105
// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. // limitations under the License. // See the License for the specific language governing permissions and // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // distributed under the License is distributed on an "AS-IS" BASIS, // Un...
apache-2.0
TodoOrTODO/p4factory
mininet/swl_stp.py
3507
#!/usr/bin/python # Copyright 2013-present Barefoot Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
apache-2.0
nishantmonu51/druid
processing/src/test/java/org/apache/druid/query/DoubleStorageTest.java
13267
/* * 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
cjxgm/p.cjprods.org
src/applications/project/controller/PhabricatorProjectBoardController.php
306
<?php abstract class PhabricatorProjectBoardController extends PhabricatorProjectController { protected function getProfileMenu() { $menu = parent::getProfileMenu(); $menu->selectFilter(PhabricatorProject::PANEL_WORKBOARD); $menu->addClass('project-board-nav'); return $menu; } }
apache-2.0
nuxeo/daisydiff
src/main/java/org/outerj/daisy/diff/html/dom/helper/LastCommonParentResult.java
1843
/* * Copyright 2007 Guy Van den Broeck * * 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
squidsolutions/bonecp
bonecp/src/main/java/com/jolbox/bonecp/BoneCP.java
30498
/** * Copyright 2010 Wallace Wadge * * 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 ...
apache-2.0
npmcomponent/josdejong-mathjs
lib/error/DimensionError.js
1151
/** * Create a range error with the message: * 'Dimension mismatch (<actual size> != <expected size>)' * @param {number | number[]} actual The actual size * @param {number | number[]} expected The expected size * @param {string} [relation='!='] Optional relation between actual * ...
apache-2.0
tarikgwa/test
html/app/code/Magento/Catalog/Model/Indexer/Product/Flat/FlatTableBuilder.php
13390
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Catalog\Model\Indexer\Product\Flat; use Magento\Framework\App\ResourceConnection; /** * Class FlatTableBuilder */ class FlatTableBuilder { /** * Path to maximum available amount of inde...
apache-2.0
Damianofds/jai-ext
jt-algebra/src/main/java/it/geosolutions/jaiext/algebra/constant/OperationConstDescriptor.java
7551
/* JAI-Ext - OpenSource Java Advanced Image Extensions Library * http://www.geo-solutions.it/ * Copyright 2014 GeoSolutions * 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...
apache-2.0
jbonofre/incubator-beam
sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py
10712
# # 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 us...
apache-2.0
markharwood/elasticsearch
core/src/main/java/org/elasticsearch/index/mapper/object/RootObjectMapper.java
14078
/* * 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
mohanaraosv/commons-jxpath
src/test/org/apache/commons/jxpath/ri/axes/SimplePathInterpreterTest.java
22549
/* * 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
vladmunthiu/dasein-cloud-core-GR-fork
src/main/java/org/dasein/cloud/network/RawAddress.java
3858
/** * Copyright (C) 2009-2014 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 co...
apache-2.0
Teradata/presto
presto-main/src/main/java/com/facebook/presto/operator/TableFinishInfo.java
2570
/* * 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 * distribut...
apache-2.0
bitmybytes/hadoop
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionSSEC.java
13130
/** * 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
thoughtworks/cruisecontrol.rb
lib/builder_plugins/builder_plugin.rb
4757
# BuilderPlugin is the superclass of all CC.rb plugins. It does not provide any functionality # except a basic initializer that accepts as an argument the current project. # # CC.rb plugins offer a rich notification system for tracking every aspect of the build lifecycle. In rough order, # they are: # # * polling_sour...
apache-2.0
ullgren/camel
components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsEndpoint.java
2194
/* * 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
ncteisen/grpc
test/cpp/server/load_reporter/load_data_store_test.cc
22763
/* * * Copyright 2018 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
apache-2.0
wmudge/commons-scxml
src/test/java/org/apache/commons/scxml2/model/Hello.java
2219
/* * 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
aifargonos2/elk-reasoner
elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/saturation/rules/RuleCounter.java
10553
package org.semanticweb.elk.reasoner.saturation.rules; /* * #%L * ELK Reasoner * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2012 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
apache-2.0
RenaudWasTaken/kubernetes
pkg/kubelet/kubelet_node_status_test.go
54494
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
langfr/camunda-bpm-platform
model-api/bpmn-model/src/main/java/org/camunda/bpm/model/bpmn/impl/instance/ErrorRef.java
2006
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
apache-2.0
liquidm/druid
extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authorization/db/cache/CoordinatorBasicAuthorizerCacheNotifier.java
4009
/* * 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
OSS-TheWeatherCompany/dasein-cloud-test
src/main/java/org/dasein/cloud/test/ci/CIResources.java
7372
/** * Copyright (C) 2009-2014 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 co...
apache-2.0
cping/RipplePower
eclipse/jcoinlibs/src/org/ripple/bouncycastle/asn1/ocsp/ResponderID.java
2630
package org.ripple.bouncycastle.asn1.ocsp; import org.ripple.bouncycastle.asn1.ASN1Choice; import org.ripple.bouncycastle.asn1.ASN1Encodable; import org.ripple.bouncycastle.asn1.ASN1Object; import org.ripple.bouncycastle.asn1.ASN1OctetString; import org.ripple.bouncycastle.asn1.ASN1Primitive; import org.ripple.bouncyc...
apache-2.0
SeleniumHQ/buck
src/com/facebook/buck/distributed/build_slave/MinionWorkloadAllocator.java
11966
/* * Copyright 2016-present Facebook, 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
reynoldsm88/drools
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/SimpleType.java
175
package org.kie.dmn.feel.lang; /** * A simple type definition interface, i.e., a type that does not contain fields */ public interface SimpleType extends Type { }
apache-2.0
Addepar/buck
src-gen/com/facebook/buck/artifact_cache/thrift/BuckCacheMultiFetchRequest.java
28340
/** * Autogenerated by Thrift Compiler (0.12.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.facebook.buck.artifact_cache.thrift; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated(value = "Autogenerated by Thri...
apache-2.0
RanjithKumar5550/RanMifos
fineract-provider/src/main/java/org/apache/fineract/useradministration/handler/UpdateMakerCheckerPermissionsCommandHandler.java
2020
/** * 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
aifargonos2/elk-reasoner
elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/saturation/rules/subsumers/ObjectIntersectionFromConjunctRule.java
9448
package org.semanticweb.elk.reasoner.saturation.rules.subsumers; /* * #%L * ELK Reasoner * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2013 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
apache-2.0
OxBEEF/merge-server
wp-content/themes/skt-white/inc/includes/class-options-media-uploader.php
3476
<?php class Options_Framework_Media_Uploader { /** * Initialize the media uploader class * * @since 1.7.0 */ public function init() { add_action( 'admin_enqueue_scripts', array( $this, 'optionsframework_media_scripts' ) ); } /** * Media Uploader Using the WordPress Media Library. * * Parameters: ...
apache-2.0
shinfan/gcloud-java
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/LoadConfiguration.java
7806
/* * Copyright 2015 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 appli...
apache-2.0
vilic/TypeScript
tests/cases/fourslash/findAllRefsInsideWithBlock.ts
291
/// <reference path='fourslash.ts'/> ////var [|x|] = 0; //// ////with ({}) { //// var y = x; // Reference of x here should not be picked //// /*2*/y++; // also reference for y should be ignored ////} //// ////[|x|] = [|x|] + 1; verify.rangesReferenceEachOther();
apache-2.0
tcmoore32/sheer-madness
gosu-core/src/main/java/gw/internal/gosu/parser/ReducedDynamicFunctionSymbol.java
6279
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.parser; import gw.lang.parser.IDynamicFunctionSymbol; import gw.lang.parser.IReducedDynamicFunctionSymbol; import gw.lang.parser.IReducedSymbol; import gw.lang.parser.ISymbol; import gw.lang.reflect.IAttributedFeatureInfo; import gw.lang.refle...
apache-2.0
langfr/camunda-bpm-platform
qa/test-db-instance-migration/test-fixture-710/src/main/java/org/camunda/bpm/qa/upgrade/timestamp/UserLockExpTimeScenario.java
2871
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
apache-2.0
davidocean/geoportal-server
geoportal/src/com/esri/gpt/catalog/arcgis/metadata/ServiceHandler.java
8184
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri 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 * ...
apache-2.0
tarikgwa/test
html/app/code/Magento/Paypal/view/adminhtml/web/js/rules/payflow/bml/disable.js
454
/** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ define([], function () { 'use strict'; return function ($target, $owner, data) { $target.find('label[for="' + $target.find(data.enableBml).attr('id') + '"]').removeClass('enabled'); $target.find(da...
apache-2.0
psiroky/drools
drools-core/src/test/java/org/drools/Address.java
2515
/* * 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
netscaler/neutron
neutron/tests/unit/services/loadbalancer/drivers/haproxy/test_cfg.py
10281
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Mirantis, 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/...
apache-2.0
barthel/maven
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
13386
package org.apache.maven.lifecycle.internal; /* * 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...
apache-2.0
daniellemayne/dasein-cloud-core
src/main/java/org/dasein/cloud/dc/DataCenterCapabilities.java
2417
/** * Copyright (C) 2009-2016 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 co...
apache-2.0
tsvetie/nativescript-cli
resources/vr/Assets/OVR/Scripts/OVROverlay.cs
7806
/************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.3 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is pr...
apache-2.0
dankibler/aws-sdk-java
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/transform/CreateReceiptRuleRequestMarshaller.java
10549
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
apache-2.0
smaring/pentaho-osgi-bundles
pentaho-platform-plugin-deployer/src/main/java/org/pentaho/osgi/platform/plugin/deployer/api/PluginMetadata.java
1380
/*! * Copyright 2010 - 2018 Hitachi Vantara. 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
resilience4j/resilience4j
resilience4j-rxjava3/src/test/java/io/github/resilience4j/rxjava3/bulkhead/operator/SingleBulkheadTest.java
2681
package io.github.resilience4j.rxjava3.bulkhead.operator; import io.github.resilience4j.bulkhead.Bulkhead; import io.github.resilience4j.bulkhead.BulkheadFullException; import io.reactivex.rxjava3.core.Observable; import io.reactivex.rxjava3.core.Single; import org.junit.Before; import org.junit.Test; import java.io....
apache-2.0
alyiwang/WhereHows
wherehows-web/app/utils/helpers/ember-concurrency.ts
607
import { TaskInstance } from 'ember-concurrency'; /** * A task can be used instead of a promise in some cases, but a task * has the advantage of being cancellable. See ember-concurrency. */ export type PromiseOrTask<T> = PromiseLike<T> | TaskInstance<T> | undefined; /** * Will check if the type is a promise or a ...
apache-2.0
JoeMayo/LinqToTwitter
src/LinqToTwitter5/LinqToTwitter.Shared/Common/Cursors.cs
1046
using System.Xml.Serialization; using LinqToTwitter.Common; using LitJson; namespace LinqToTwitter { /// <summary> /// Response from Twitter for previous and next pages /// </summary> /// <remarks> /// To use a cursor, start by setting the cursor to -1 /// and then use one of these response ...
apache-2.0
ChrisLundquist/nagios
resources/serviceescalation.rb
887
# # Author:: Sander Botman <sbotman@schubergphilis.com> # Cookbook Name:: nagios # Resource:: serviceescalation # # Copyright 2015, Sander Botman # # 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 ...
apache-2.0
mikibrv/sling
bundles/scripting/sightly/testing/src/test/java/LaunchpadReadyIT.java
1528
/******************************************************************************* * 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...
apache-2.0
jbertouch/elasticsearch
core/src/test/java/org/elasticsearch/percolator/MultiPercolatorIT.java
22705
/* * 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
yohanboniface/tilestrata
index.js
1591
var TileLayer = module.exports.TileLayer = require('./lib/TileLayer.js'); var TileRequest = module.exports.TileRequest = require('./lib/TileRequest.js'); var TileRequestHandler = module.exports.TileRequestHandler = require('./lib/TileRequestHandler.js'); var TileServer = module.exports.TileServer = require('./lib/TileS...
apache-2.0
sumedh123/open-event-frontend
app/components/nav-bar.js
485
import Ember from 'ember'; const { Component } = Ember; export default Component.extend({ actions: { logout() { this.get('authManager').logout(); this.get('routing').transitionTo('index'); } }, didInsertElement() { this._super.call(this); this.$('.notification.item').popup({ p...
apache-2.0
cf-platform-eng/aws-pcf-quickstart
vendor/github.com/cppforlife/go-patch/patch/test_op.go
1068
package patch import ( "fmt" "reflect" ) type TestOp struct { Path Pointer Value interface{} Absent bool } func (op TestOp) Apply(doc interface{}) (interface{}, error) { if op.Absent { return op.checkAbsence(doc) } return op.checkValue(doc) } func (op TestOp) checkAbsence(doc interface{}) (interface{},...
apache-2.0
ody/puppet-glance
spec/classes/glance_backend_swift_spec.rb
1806
require 'spec_helper' describe 'glance::backend::swift' do let :facts do { :osfamily => 'Debian' } end let :params do { :swift_store_user => 'user', :swift_store_key => 'key', } end let :pre_condition do 'class { "glance::api": keystone_password => "pass" }' end ...
apache-2.0
gosharplite/kubernetes
cmd/kubeadm/app/apis/kubeadm/v1alpha3/types.go
15291
/* Copyright 2018 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
delacruzjayveejoshua920/ICNG-App-for-Windows-8.1-and-Windows-Phone-8.1-
InfoAppWindows8/ICNG Phone/obj/ARM/Debug/Custom Tiles/TilesWithIcons/MediumTileIcon.g.i.cs
4329
 #pragma checksum "C:\Users\Jayvee\Desktop\InfoAppWindows8\ICNG Phone\Custom Tiles\TilesWithIcons\MediumTileIcon.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0BB410101202ACD008AEBA487848158B" //------------------------------------------------------------------------------ // <auto-generated> // This code was g...
apache-2.0
hauleth/rust
src/libsyntax/diagnostics/plugin.rs
4651
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
apache-2.0
jcsp/manila
manila/api/v1/scheduler_stats.py
2015
# Copyright (c) 2015 Clinton Knight. 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 requir...
apache-2.0
opennetworkinglab/onos
apps/routing/fibinstaller/src/test/java/org/onosproject/routing/fibinstaller/FibInstallerTest.java
16795
/* * Copyright 2017-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
ernestp/consulo
platform/editor-ui-ex/src/com/intellij/openapi/editor/ex/util/LayeredHighlighterIterator.java
899
/* * Copyright 2000-2013 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
42wim/matterbridge
vendor/github.com/paulrosania/go-charset/data/data_ibm437.cp.go
885
// This file is automatically generated by generate-charset-data. // Do not hand-edit. package data import ( "github.com/paulrosania/go-charset/charset" "io" "io/ioutil" "strings" ) func init() { charset.RegisterDataFile("ibm437.cp", func() (io.ReadCloser, error) { r := strings.NewReader("\x00\x01\x02\x03\x04...
apache-2.0
aertoria/opennlp
opennlp-uima/src/main/java/opennlp/uima/doccat/DocumentCategorizerTrainer.java
4765
/* * 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
nknize/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/searchablesnapshots/SearchableSnapshotFeatureSetUsage.java
2616
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.searchablesnapshots; import org.elastic...
apache-2.0
droolsjbpm/droolsjbpm-integration
kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-10-default/src/test/java-filtered/org/kie/maven/plugin/ittests/ExecModelParameterTestIT.java
2044
/* * Copyright 2021 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
Donnerbart/hazelcast
hazelcast/src/main/java/com/hazelcast/concurrent/lock/ObjectNamespaceSerializationHelper.java
1933
/* * Copyright (c) 2008-2018, Hazelcast, 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 ...
apache-2.0
BrightSet/LightOS
dojoedit/Libraries/dojo-release-1.4.2/dojox/layout/DragPane.js
1156
/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.layout.DragPane"]){ dojo._hasResource["dojox.layout.DragPane"]=true; dojo.provide("dojox.layou...
apache-2.0
oeeagle/onos
providers/pcep/tunnel/src/test/java/org/onosproject/provider/pcep/tunnel/impl/PcepClientControllerAdapter.java
5697
package org.onosproject.provider.pcep.tunnel.impl; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.apache.felix.scr.annotations.Activate; import org.apache.felix.scr.annotations.Deactivate; import org....
apache-2.0
michaelgallacher/intellij-community
platform/lang-impl/src/com/intellij/profile/codeInspection/ui/filter/InspectionFilterAction.java
10129
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
datametica/calcite
core/src/main/java/org/apache/calcite/schema/impl/ModifiableViewTable.java
11262
/* * 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
Dubland/kaa
server/common/transport-shared/src/main/java/org/kaaproject/kaa/server/transport/message/SessionDisconnectMessage.java
1007
/* * Copyright 2014-2016 CyberVision, 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 o...
apache-2.0
kironapublic/vaadin
uitest/src/main/java/com/vaadin/tests/themes/valo/GridDisabled.java
718
package com.vaadin.tests.themes.valo; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.AbstractTestUI; import com.vaadin.ui.Button; import com.vaadin.v7.ui.Grid; public class GridDisabled extends AbstractTestUI { @Override protected void setup(VaadinRequest request) { final ...
apache-2.0
ya7lelkom/googleads-java-lib
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201405/CreativeWrapperServiceLocator.java
6167
/** * CreativeWrapperServiceLocator.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201405; public class CreativeWrapperServiceLocator extends org.apache.axis.client.Service implements com.google.api.a...
apache-2.0
DanielTing/presto
presto-main/src/main/java/com/facebook/presto/operator/scalar/ConcatFunction.java
6841
/* * 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 * distribut...
apache-2.0
dvamedveda/b.savelev
chapter_006/src/test/java/ru/job4j/tracker/tracker/package-info.java
185
/** * Тесты пакета ru.job4j.tracker.tracker. * * @author - b.savelev (mailto: justmustdie@yandex.ru) * @version - 1.0 * @since 0.1 */ package ru.job4j.tracker.tracker;
apache-2.0
jiaphuan/models
research/syntaxnet/syntaxnet/util/resources_test.py
1527
# Copyright 2017 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 a...
apache-2.0
cloudfoundry/bosh-agent
agent/action/migrate_disk.go
1206
package action import ( "errors" boshplatform "github.com/cloudfoundry/bosh-agent/platform" boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories" bosherr "github.com/cloudfoundry/bosh-utils/errors" ) type MigrateDiskAction struct { platform boshplatform.Platform dirProvider boshdirs.Provider } ...
apache-2.0
bjornna/hapi-fhir
hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/Base.java
5416
package org.hl7.fhir.instance.model; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.hl7.fhir.instance.model.api.IBase; import org.hl7.fhir.utilities.xhtml.XhtmlNode; public abstract class Base implements Serializab...
apache-2.0
hyperledger/fabric
gossip/util/grpc.go
2351
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package util import ( "crypto/tls" "crypto/x509" "fmt" "net" "strconv" "time" "github.com/hyperledger/fabric/common/crypto/tlsgen" "github.com/hyperledger/fabric/gossip/api" "github.com/hyperledger/fabric/gossip/common" "gi...
apache-2.0
fengshao0907/Open-Source-Research
iBATIS/test/com/mydomain/data/IbatisTest.java
3646
package com.mydomain.data; import com.ibatis.sqlmap.client.SqlMapClient; import com.ibatis.sqlmap.client.SqlMapClientBuilder; import com.ibatis.common.resources.Resources; import com.mydomain.domain.Account; import java.io.Reader; import java.io.IOException; import java.util.List; import java.sql.SQLException; /** ...
apache-2.0
huguesv/PTVS
Python/Product/Debugger.Concord/ValueStore.cs
1922
// 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
williamchengit/TestRepo
solr-4.9.0/lucene/misc/src/java/org/apache/lucene/index/sorter/SortingMergePolicy.java
8074
package org.apache.lucene.index.sorter; /* * 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,...
apache-2.0
haveal/googleads-python-lib
examples/dfp/v201411/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.py
2795
#!/usr/bin/python # # Copyright 2014 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 b...
apache-2.0
porcelli-forks/uberfire
uberfire-extensions/uberfire-social-activities/uberfire-social-activities-backend/src/main/java/org/ext/uberfire/social/activities/server/SocialActivitiesServer.java
1742
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
apache-2.0
mpimenov/omim
android/src/com/mapswithme/maps/location/GPSCheck.java
986
package com.mapswithme.maps.location; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import com.mapswithme.maps.MwmApplication; import com.mapswithme.util.log.Logger; import com.mapswithme.util.log.LoggerFactory; import static com.mapswithme.maps.MwmApplicati...
apache-2.0
haoyanjun21/jstorm
jstorm-utility/jstorm-flux/flux-core/src/main/java/com/alibaba/jstorm/flux/Flux.java
11399
/* * 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
asurve/incubator-systemml
src/main/java/org/apache/sysml/runtime/codegen/CodegenUtils.java
10677
/* * 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
tarikgwa/test
html/lib/internal/Magento/Framework/Pricing/Price/BasePriceProviderInterface.php
250
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Pricing\Price; /** * Interface BasePriceProviderInterface * * @api */ interface BasePriceProviderInterface { }
apache-2.0
jeremymwells/angular
modules/angular2/test/compiler/template_compiler_spec.ts
15814
import { ddescribe, describe, xdescribe, it, iit, xit, expect, beforeEach, afterEach, AsyncTestCompleter, inject, beforeEachBindings } from 'angular2/test_lib'; import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async'; import {Type, isPresent, isBlank, stringify, isString} from 'a...
apache-2.0
chrisleck/kubernetes
pkg/registry/serviceaccount/etcd/etcd.go
2249
/* 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
ern/elasticsearch
x-pack/plugin/watcher/src/internalClusterTest/java/org/elasticsearch/xpack/watcher/test/integration/WatchMetadataTests.java
5036
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.watcher.test.integration; import o...
apache-2.0
ingokegel/intellij-community
java/java-tests/testSrc/com/intellij/openapi/command/undo/UndoTestCase.java
7121
// Copyright 2000-2020 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 com.intellij.openapi.command.undo; import com.intellij.codeInsight.JavaCodeInsightTestCase; import com.intellij.history.integration.LocalHistoryImpl; import com.intellij....
apache-2.0
kimroen/rust
src/librustdoc/doctree.rs
5613
// Copyright 2012-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-MI...
apache-2.0
scottfrederick/springdoclet
sample/src/main/java/org/springframework/samples/petclinic/NamedEntity.java
504
package org.springframework.samples.petclinic; /** * Simple JavaBean domain object adds a name property to <code>BaseEntity</code>. * Used as a base class for objects needing these properties. * * @author Ken Krebs * @author Juergen Hoeller */ public class NamedEntity extends BaseEntity { private String name; ...
apache-2.0
vmahuli/contrail-controller
src/db/db_table_partition.cc
5891
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <tbb/mutex.h> #include "base/logging.h" #include "base/time_util.h" #include "db/db.h" #include "db/db_entry.h" #include "db/db_partition.h" #include "db/db_table.h" #include "db/db_table_partition.h" using namespace std; // concurren...
apache-2.0
Addepar/buck
src/com/facebook/buck/core/build/engine/buildinfo/OnDiskBuildInfo.java
3124
/* * 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
monix/monix
monix-catnap/shared/src/test/scala/monix/catnap/cancelables/BooleanCancelableFSuite.scala
2219
/* * Copyright (c) 2014-2021 by The Monix Project Developers. * See the project homepage at: https://monix.io * * 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
gfyoung/elasticsearch
x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/HourOfDay.java
1473
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.expression.function.scalar.datetime; impo...
apache-2.0
bitbouncer/avro
lang/java/mapred/src/test/java/org/apache/avro/hadoop/file/TestHadoopCodecFactory.java
2528
/** * 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
tboyce021/home-assistant
homeassistant/components/recorder/util.py
6463
"""SQLAlchemy util functions.""" from contextlib import contextmanager from datetime import timedelta import logging import os import time from sqlalchemy.exc import OperationalError, SQLAlchemyError import homeassistant.util.dt as dt_util from .const import CONF_DB_INTEGRITY_CHECK, DATA_INSTANCE, SQLITE_URL_PREFIX ...
apache-2.0