repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
rajubairishetti/lens
lens-driver-jdbc/src/main/java/org/apache/lens/driver/jdbc/ConnectionProvider.java
1327
/** * 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
OpenCollabZA/sakai
kernel/kernel-impl/src/main/java/org/sakaiproject/site/impl/BaseSiteService.java
113163
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 Sakai Foundation * * Licensed under the Educational Community License, Versio...
apache-2.0
s13372/SORCER
core/sorcer-int-tests/deploy-tests/src/test/java/sorcer/core/deploy/DeployExertionTest.java
2469
/* * Copyright to 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 applicabl...
apache-2.0
grzesuav/gjpf-core
main/src/main/java/gov/nasa/jpf/vm/ThresholdFieldLockInfo.java
2102
/* * Copyright (C) 2014, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The Java Pathfinder core (jpf-core) platform is licensed under the * Apache License, Version 2.0 (the "License"); you may not use this file exce...
apache-2.0
various-databases/jredis
extensions/ri/src/main/java/org/jredis/ri/cluster/model/BasicStaticHashCluster.java
2264
/* * Copyright 2009-2010 Joubin Houshyar * * 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
molindo/helios
helios-services/src/test/java/com/spotify/helios/rollingupdate/DefaultRolloutPlannerTest.java
9915
/* * Copyright (c) 2015 Spotify AB. * * 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
zhihuij/druid
server/src/test/java/io/druid/segment/realtime/plumber/SinkTest.java
5245
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
apache-2.0
jskeet/google-cloud-dotnet
apis/Google.Cloud.Talent.V4Beta1/Google.Cloud.Talent.V4Beta1/Filters.g.cs
259688
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections;...
apache-2.0
merlimat/bookkeeper
bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerLayout.java
6731
package org.apache.bookkeeper.meta; /** * 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
freeVM/freeVM
enhanced/java/drlvm/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
116557
/* * 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
idear1203/onboard
kernel/com.onboard.web.api/src/main/java/com/onboard/web/api/project/ProjectApiController.java
4640
/******************************************************************************* * Copyright [2015] [Onboard team of SERC, Peking University] * * 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
harunurhan/presto
presto-main/src/main/java/com/facebook/presto/operator/scalar/RowToJsonCast.java
3811
/* * 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
sergecodd/FireFox-OS
B2G/gecko/media/webrtc/trunk/src/modules/video_coding/codecs/i420/main/source/i420.cc
5602
/* * Copyright (c) 2012 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 contribut...
apache-2.0
mwielgus/kubernetes
contrib/mesos/pkg/scheduler/meta/annotations.go
1323
/* Copyright 2015 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
tmgstevens/flume
flume-ng-core/src/test/java/org/apache/flume/sink/TestThriftSink.java
10717
/* * 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
vanitasvitae/Smack
smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/ItemReply.java
1036
/** * * Copyright 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 applicable...
apache-2.0
chenc10/Spark-PAF
examples/src/main/scala/org/apache/spark/examples/mllib/AssociationRulesExample.scala
1764
/* * 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
SnabbCo/neutron
neutron/tests/unit/vmware/extensions/test_qosqueues.py
12727
# Copyright (c) 2014 OpenStack Foundation. # 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...
apache-2.0
JingchengDu/hbase
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureYieldException.java
1301
/** * 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
rennyhernandez/pure-mu
static/js/forge/x509.js
97849
/** * Javascript implementation of X.509 and related components (such as * Certification Signing Requests) of a Public Key Infrastructure. * * @author Dave Longley * * Copyright (c) 2010-2014 Digital Bazaar, Inc. * * The ASN.1 representation of an X.509v3 certificate is as follows * (see RFC 2459): * * Certi...
apache-2.0
dunkhong/grr
grr/server/grr_response_server/gui/static/angular-components/semantic/mac-address-directive_test.js
1246
goog.module('grrUi.semantic.macAddressDirectiveTest'); goog.setTestOnly(); const {semanticModule} = goog.require('grrUi.semantic.semantic'); const {testsModule} = goog.require('grrUi.tests'); describe('mac address directive', () => { let $compile; let $rootScope; beforeEach(module(semanticModule.name)); be...
apache-2.0
google-research/tiny-differentiable-simulator
third_party/zeromq/src/i_engine.hpp
2567
/* Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file This file is part of libzmq, the ZeroMQ core engine in C++. libzmq is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Found...
apache-2.0
sumeko/phalcon-ide-stub
Phalcon/Mvc/User/Plugin.php
175
<?php namespace Phalcon\Mvc\User { class Plugin extends \Phalcon\Di\Injectable implements \Phalcon\Events\EventsAwareInterface, \Phalcon\Di\InjectionAwareInterface { } }
apache-2.0
wusphinx/tidb
statistics/ddl_test.go
6276
// Copyright 2017 PingCAP, 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-rds/src/main/java/com/amazonaws/services/rds/model/transform/DBInstanceNotFoundExceptionUnmarshaller.java
1537
/* * 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
progsung/cesium
Source/ThirdParty/GltfPipeline/addPipelineExtras.js
1188
import ForEach from './ForEach.js' import defined from '../../Core/defined.js' /** * Adds extras._pipeline to each object that can have extras in the glTF asset. * This stage runs before updateVersion and handles both glTF 1.0 and glTF 2.0 assets. * * @param {Object} gltf A javascript object co...
apache-2.0
jpdna/cellbase
cellbase-web/web/app/genome-viewer/vendor/core/ui/tabs/state/StateTab.js
627
(function () { var ui = glinamespace("gli.ui"); var StateTab = function (w) { this.el.innerHTML = '<div class="window-whole-outer">' + ' <div class="window-whole">' + ' <div class="window-whole-inner">' + ' <!-- scrolling contents -->' ...
apache-2.0
harshabonthu/cordova-plugin-apprate
src/android/AppRate.java
1357
package org.pushandplay.cordova.apprate; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CallbackContext; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.PackageManager; i...
apache-2.0
AutorestCI/azure-sdk-for-node
test/recordings/storagemanagementservice-tests/Storage_Management_storage_accounts_should_check_the_name_availability_for_a_storage_account_that_does_not_exist.nock.js
2127
// This file has been autogenerated. exports.setEnvironment = function() { process.env['AZURE_TEST_LOCATION'] = 'westus'; process.env['AZURE_SUBSCRIPTION_ID'] = 'ce4a7590-4722-4bcf-a2c6-e473e9f11778'; }; exports.scopes = [[function (nock) { var result = nock('http://management.azure.com:443') .filteringReques...
apache-2.0
jt70471/aws-sdk-cpp
aws-cpp-sdk-ec2/source/model/ClassicLinkDnsSupport.cpp
2499
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ec2/model/ClassicLinkDnsSupport.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include ...
apache-2.0
mdrio/pydoop
test/mapreduce/test_framework.py
13857
# BEGIN_COPYRIGHT # # Copyright 2009-2015 CRS4. # # 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
ty1er/incubator-asterixdb
hyracks-fullstack/algebricks/algebricks-compiler/src/test/java/org/apache/hyracks/algebricks/compiler/rewriter/rulecontrollers/SequentialFirstRuleCheckFixpointRuleControllerTest.java
5453
/* * 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
ezg/PanoramicDataWin8
PanoramicDataWin8/view/WordCloud/TextAnalyses/Extractors/StringExtractor.cs
709
using System.Collections.Generic; namespace Gma.CodeCloud.Controls.TextAnalyses.Extractors { public class StringExtractor : BaseExtractor { private readonly string m_Text; public StringExtractor(string text, IProgressIndicator progressIndicator) : base(progressIndicator) {...
apache-2.0
alibaba/fastjson
src/test/java/com/alibaba/json/bvt/parser/BigSpecailKeyTest.java
939
package com.alibaba.json.bvt.parser; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.junit.Assert; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import junit.framework.TestCase; public class BigSpecailKeyTest extends TestCase { public void test_bi...
apache-2.0
xzturn/tensorflow
tensorflow/python/kernel_tests/tridiagonal_solve_op_test.py
26468
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
apache-2.0
ccri/geomesa
geomesa-jobs/src/test/scala/org/locationtech/geomesa/jobs/mapreduce/SimpleFeatureSerializationTest.scala
4173
/*********************************************************************** * Copyright (c) 2013-2020 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and...
apache-2.0
trustin/armeria
rxjava3/src/main/java/com/linecorp/armeria/common/rxjava3/RequestContextScalarSupplierSingle.java
1729
/* * Copyright 2020 LINE Corporation * * LINE Corporation 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
apache-2.0
minestarks/TypeScript
tests/cases/fourslash/renameJsExports03.ts
1002
/// <reference path='fourslash.ts'/> // @allowJs: true // @Filename: a.js ////[|class [|{| "isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0 |}A|] { //// [|[|{| "contextRangeIndex": 2, "isDefinition": true |}constructor|]() { }|] ////}|] ////[|module.exports = [|{| "contextRangeIndex": 4 |}A|];|] ...
apache-2.0
TDesjardins/GWT-OL3-Playground
gwt-ol3-demo/src/main/java/com/github/tdesjardins/ol3/demo/client/example/Example.java
1016
/******************************************************************************* * Copyright 2014, 2018 gwt-ol3 * * 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
poctsy/fircms-complex
protected/framework/i18n/data/ku_ir.php
6369
<?php /** * Locale data for 'ku_IR'. * * This file is automatically generated by yiic cldr command. * * Copyright © 1991-2007 Unicode, Inc. All rights reserved. * Distributed under the Terms of Use in http://www.unicode.org/copyright.html. * * @copyright 2008-2013 Yii Software LLC (http://www.yiiframew...
apache-2.0
flowable/flowable-engine
modules/flowable-ui/flowable-ui-admin-rest/src/main/java/org/flowable/ui/admin/rest/client/DeploymentsClientResource.java
3870
/* 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...
apache-2.0
intfrr/omnibus
spec/unit/publisher_spec.rb
1322
require 'spec_helper' module Omnibus # Used in the tests class FakePublisher; end describe Publisher do it { should be_a_kind_of(Logging) } describe '.publish' do let(:publisher) { double(described_class) } before { allow(described_class).to receive(:new).and_return(publisher) } it ...
apache-2.0
w1ll1am23/home-assistant
homeassistant/components/fibaro/sensor.py
3186
"""Support for Fibaro sensors.""" from contextlib import suppress from homeassistant.components.sensor import DOMAIN, SensorEntity from homeassistant.const import ( CONCENTRATION_PARTS_PER_MILLION, DEVICE_CLASS_CO2, DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_ILLUMINANCE, DEVICE_CLASS_TEMPERATURE, LIGH...
apache-2.0
dendisuhubdy/tensorflow
tensorflow/compiler/jit/xla_device_context.cc
11239
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apache-2.0
apache/incubator-taverna-common-activities
taverna-wsdl-generic/src/main/java/org/apache/taverna/wsdl/parser/UnknownOperationException.java
1145
/* * 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
iterate-ch/azure-storage-java
microsoft-azure-storage/src/com/microsoft/azure/storage/table/QueryTableOperation.java
12931
/** * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
jsnikhil/nj-logging-log4j2
log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/OnStartupTriggeringPolicyTest.java
2613
/* * 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
prateekm/samza
samza-test/src/test/java/org/apache/samza/test/processor/TestZkLocalApplicationRunner.java
66705
/* * 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
mayunSaicmotor/incubator-carbondata
processing/src/main/java/org/apache/carbondata/processing/csvreaderstep/CsvInputMeta.java
37716
/* * 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
StalkXT/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java
86062
/* * 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
vanitasvitae/Smack
smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5Utils.java
2761
/** * * Copyright 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 applicable...
apache-2.0
rohankarthik/Ofbiz
plugins/webpos/webapp/webpos/images/js/SearchParties.js
7944
/* 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 this f...
apache-2.0
chameleon82/keycloak
services/src/main/java/org/keycloak/social/linkedin/LinkedInIdentityProvider.java
4447
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
apache-2.0
tombujok/hazelcast
hazelcast/src/main/java/com/hazelcast/mapreduce/aggregation/impl/LongAvgAggregation.java
4858
/* * Copyright (c) 2008-2017, 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
lampepfl/dotty
tests/pos-custom-args/phantom-Eq2/Phantom-Eq_2.scala
290
/* This is a version of ../pos/phantom.scala that tests phantom clases with separate compilation */ object PhantomEq { import EqUtil.* "ghi" === "jkl" 3 === 4 2.0 === 3.1 List(1, 2) === Nil List(1, 2) === Vector(1, 2) 1.toByte === (1: Number) (1: Number) === 1.toByte }
apache-2.0
shaoxuan-wang/flink
flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/LeaderRetrievalHandlerTest.java
4711
/* * 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
mlperf/training_results_v0.7
Google/benchmarks/transformer/implementations/transformer-research-TF-tpu-v4-16/lingvo/core/learner.py
15285
# Copyright 2018 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
attila-kiss-it/querydsl
querydsl-sql/src/main/java/com/querydsl/sql/teradata/SetQueryBandClause.java
4454
/* * Copyright 2015, The Querydsl Team (http://www.querydsl.com/team) * * 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
MaTriXy/MobFox-Android-SDK
src/main/java/com/adsdk/sdk/inlinevideo/InlineVideoBridge.java
1675
package com.adsdk.sdk.inlinevideo; import android.annotation.SuppressLint; import android.content.Context; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; /** * Created by nabriski on 7/28/15. */ public class InlineVideoBridge { public interface Listener { public...
apache-2.0
apache/geronimo-xbean
xbean-finder/src/test/java/org/apache/xbean/finder/MetaAnnotatedFieldTest.java
10838
/** * 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
jfrazee/incubator-streams
streams-contrib/streams-amazon-aws/streams-persist-kinesis/src/main/java/org/apache/streams/amazon/kinesis/KinesisPersistReader.java
5600
/* * 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
intuit/QuickBooks-V3-PHP-SDK
src/XSD2PHP/test/data/expected/ContactPerson1/oasis/names/specification/ubl/schema/xsd/CommonBasicComponents_2/OrderableUnitFactorRate.php
457
<?php namespace oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2; /** * @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 * @xmlType OrderableUnitFactorRateType * @xmlName OrderableUnitFactorRate * @var oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_...
apache-2.0
aws/aws-sdk-cpp
aws-cpp-sdk-appmesh/source/model/ListenerTlsFileCertificate.cpp
1460
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/appmesh/model/ListenerTlsFileCertificate.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace ...
apache-2.0
matejonnet/pnc
rest/src/main/java/org/jboss/pnc/rest/provider/OperationNotAllowedExceptionsMapper.java
1344
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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...
apache-2.0
aditya01933/google-api-ads-ruby
dfp_api/examples/v201411/user_service/get_users_by_statement.rb
2526
#!/usr/bin/env ruby # Encoding: utf-8 # # Copyright:: Copyright 2011, Google Inc. All Rights Reserved. # # License:: 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
xinchun-wang/jstorm
jstorm-core/src/main/java/storm/trident/topology/TridentTopologyBuilder.java
28073
/** * 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
superbstreak/drill
exec/jdbc/src/test/java/org/apache/drill/jdbc/StatementTest.java
8368
/* * 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
Bridg/hydra-1
jwk/generator_test.go
826
package jwk import ( "testing" "github.com/ory-am/hydra/pkg" "github.com/square/go-jose" "github.com/stretchr/testify/assert" ) func TestGenerator(t *testing.T) { for _, c := range []struct { g KeyGenerator check func(*jose.JsonWebKeySet) }{ { g: &RS256Generator{}, check: func(ks *jose.JsonWebK...
apache-2.0
Bee-Htcpcp/protoactor-dotnet
src/Proto.Router/Routers/ConsistentHashPoolRouterConfig.cs
1079
// ----------------------------------------------------------------------- // <copyright file="ConsistentHashPoolRouterConfig.cs" company="Asynkron HB"> // Copyright (C) 2015-2017 Asynkron HB All rights reserved // </copyright> // ----------------------------------------------------------------------- ...
apache-2.0
huawei-cloud/compass-adapters
chef/cookbooks/openstack-compute/spec/api-metadata-redhat_spec.rb
520
require_relative "spec_helper" describe "openstack-compute::api-metadata" do before { compute_stubs } describe "redhat" do before do @chef_run = ::ChefSpec::ChefRunner.new ::REDHAT_OPTS @chef_run.converge "openstack-compute::api-metadata" end it "installs metadata api packages" do ex...
apache-2.0
sferich888/origin
vendor/github.com/Azure/azure-sdk-for-go/services/consumption/mgmt/2018-03-31/consumption/usagedetails.go
14129
package consumption // Copyright (c) Microsoft and contributors. 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
mreutegg/jackrabbit-oak
oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexDescendantSpellcheckCommonTest.java
2262
/* * 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
kenbrill/sugarcli-plus
vendor/linfo/linfo/src/Linfo/Extension/Dnsmasq_dhcpd.php
4381
<?php /* This parses dnsmasq's dhcpd leases file. Commonly used to show dynamic IP's given to libvirt's virtual machines. This does not require libvirt-php to be installed. Installation: - The following lines must be added to your config.inc.php: $settings['extensions']['Dnsmasq_dhcpd'] = true; $settings['d...
apache-2.0
isehuo/poled
source/include/topicadmin/topicadmin_moderate.php
29035
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: topicadmin_moderate.php 33825 2013-08-19 08:32:40Z nemohou $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!empty($_G['tid'])) { $_GET['moderate'] = arra...
apache-2.0
freeVM/freeVM
enhanced/java/classlib/modules/swing/src/test/api/java.injected/javax/swing/plaf/metal/MetalMenuBarUITest.java
1588
/* * 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
apache/incubator-rya
common/rya.api/src/main/java/org/apache/rya/api/domain/RyaTypePrefix.java
1782
package org.apache.rya.api.domain; /* * 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
cristianonicolai/kie-wb-common
kie-wb-common-screens/kie-wb-common-social-home-page/kie-wb-common-social-home-page-backend/src/main/java/org/kie/workbench/common/screens/social/hp/backend/events/ResourceUpdatedEventAdapter.java
3883
/* * Copyright 2015 JBoss Inc * * 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, software * distributed under t...
apache-2.0
jkreps/azkaban
azkaban/src/java/azkaban/serialization/de/JobFlowDeserializer.java
1788
/* * Copyright 2010 LinkedIn, 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
dotCMS/log4j
log4j-core/src/test/java/org/apache/logging/log4j/core/util/ClockFactoryTest.java
3683
/* * 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
AndroidX/androidx
leanback/leanback/src/main/java/androidx/leanback/widget/GuidedActionsStylist.java
67826
/* * Copyright (C) 2015 The Android Open Source Project * * 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 ...
apache-2.0
VipinRathor/zeppelin
flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkILoop.scala
1626
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
knative-sandbox/eventing-autoscaler-keda
vendor/knative.dev/eventing-kafka/pkg/client/clientset/versioned/typed/kafka/v1alpha1/resetoffset.go
6988
/* Copyright 2021 The Knative 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, soft...
apache-2.0
msebire/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/initialization/DoubleBraceInitializationInspection.java
7770
/* * Copyright 2000-2017 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
sferich888/origin
vendor/github.com/moby/buildkit/cmd/buildctl/prune.go
1798
package main import ( "fmt" "os" "text/tabwriter" "github.com/moby/buildkit/client" "github.com/tonistiigi/units" "github.com/urfave/cli" ) var pruneCommand = cli.Command{ Name: "prune", Usage: "clean up build cache", Action: prune, Flags: []cli.Flag{ cli.DurationFlag{ Name: "keep-duration", Us...
apache-2.0
RLDevOps/Scholastic
src/main/java/org/olat/basesecurity/NamedGroupImpl.java
2055
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
apache-2.0
attilah/Streamstone
Source/Example/Scenarios/S02_Open_stream_for_writing.cs
967
using System; using System.Linq; using Streamstone; namespace Example.Scenarios { public class S02_Open_stream_for_writing : Scenario { public override void Run() { OpenNonExistingStream(); OpenExistingStream(); } void OpenNonExistingStream() {...
apache-2.0
ipselon/structor-commons
test/test-project-dir/.structor/src/model.js
582
export default { key: "/", children: [ { key: "", modelNode: { type: 'h3', props: { style: { padding: '1em', textAlign: 'center' } } ...
apache-2.0
chemikadze/contrib-python-qubell-client
qubell/api/private/platform.py
5864
# Copyright (c) 2013 Qubell Inc., http://qubell.com # # 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
googleapis/google-cloud-php
PubSub/tests/System/testdata/generated/StateProto.php
1927
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: PubSub/tests/System/testdata/schema.proto namespace Utilities; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>utilities.Stat...
apache-2.0
azharhashmi/brooklyn
software/nosql/src/main/java/brooklyn/entity/nosql/mongodb/MongoDBReplicaSetImpl.java
15381
package brooklyn.entity.nosql.mongodb; import static com.google.common.base.Preconditions.checkArgument; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeSet; import java.util.concurrent.Executors; import java.util.concurrent...
apache-2.0
flofreud/aws-sdk-java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/DescribeAddressesResultStaxUnmarshaller.java
2645
/* * 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
googleapis/discovery-artifact-manager
clients/nodejs/google-api-nodejs-client/test/test.path.js
5117
// Copyright 2014-2016, 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
SeleniumHQ/selenium
javascript/grid-ui/src/config.ts
445
// Contains the global config values which can be adjusted export const GridConfig = { status: { // How often we poll the GraphQL endpoint xhrPollingIntervalMillis: 5000 }, // Server config (Start the Selenium Server with the "--allow-cors true" flag) serverUri: process.env.NODE_ENV === 'developmen...
apache-2.0
ispras/binnavi
src/main/java/com/google/security/zynamics/reil/translators/arm/ARMAddTranslator.java
5597
/* Copyright 2011-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 t...
apache-2.0
metaborg/strategoxt
strategoxt/stratego-libraries/java-backend/java/runtime/org/strategoxt/lang/Term.java
845
package org.strategoxt.lang; import org.spoofax.interpreter.terms.IStrategoList; import org.spoofax.interpreter.terms.IStrategoTerm; import org.spoofax.interpreter.terms.ITermFactory; import org.spoofax.terms.TermFactory; public class Term { public static final Strategy[] NO_STRATEGIES = {}; public static final...
apache-2.0
ispras/binnavi
src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/ZyEditMode.java
9100
/* Copyright 2011-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 t...
apache-2.0
deasmi/terraform-provider-libvirt
vendor/github.com/hashicorp/go-getter/get_http_test.go
5070
package getter import ( "fmt" "net" "net/http" "net/url" "os" "path/filepath" "testing" ) func TestHttpGetter_impl(t *testing.T) { var _ Getter = new(HttpGetter) } func TestHttpGetter_header(t *testing.T) { ln := testHttpServer(t) defer ln.Close() g := new(HttpGetter) dst := tempDir(t) var u url.URL ...
apache-2.0
Herrie82/enyo-1.0
framework/lib/printdialog/source/PrintManagerError.js
1830
var PrintManagerError = (function() { return { getErrorText: function(inErrorCode) { if (inErrorCode) { // User errors if (-200 >= inErrorCode && inErrorCode > -300) { switch (inErrorCode) { case -203: // PM_ERR_PRINTER_NO_RESPONSE_MANUAL return PrintDialogString.load("PRINTER_NO_RESP...
apache-2.0
google/syzygy
syzygy/agent/coverage/coverage.cc
8988
// Copyright 2012 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...
apache-2.0
abelCoronado93/one
src/sunstone/public/app/utils/vnc.js
3872
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2017, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
apache-2.0