repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
tgianos/genie
genie-agent/src/test/java/com/netflix/genie/agent/spring/package-info.java
861
/* * * Copyright 2018 Netflix, 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
apache/chukwa
core/src/main/java/org/apache/hadoop/chukwa/extraction/demux/DemuxManager.java
17421
/* * 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
code-orchestra/metaas-fork
src/test/java/uk/co/badgersinfoil/metaas/LiteralTests.java
6042
package uk.co.badgersinfoil.metaas; import java.io.IOException; import uk.co.badgersinfoil.metaas.dom.ASArrayLiteral; import uk.co.badgersinfoil.metaas.dom.ASAssignmentExpression; import uk.co.badgersinfoil.metaas.dom.ASBooleanLiteral; import uk.co.badgersinfoil.metaas.dom.ASClassType; import uk.co.badgersinfoil.metaa...
apache-2.0
tarikgwa/test
html/var/generation/Magento/Framework/Model/ActionValidator/RemoveAction/Proxy.php
2336
<?php namespace Magento\Framework\Model\ActionValidator\RemoveAction; /** * Proxy class for @see \Magento\Framework\Model\ActionValidator\RemoveAction */ class Proxy extends \Magento\Framework\Model\ActionValidator\RemoveAction { /** * Object Manager instance * * @var \Magento\Framework\ObjectMana...
apache-2.0
fhg-fokus-nubomedia/signaling-plane
modules/lib-sip/src/main/java/de/fhg/fokus/ims/core/matching/Simple.java
144
package de.fhg.fokus.ims.core.matching; public class Simple { private Operation operation; private String name; private Object value; }
apache-2.0
brmeyer/s-ramp
ui/src/main/java/org/artificer/ui/client/shared/beans/OntologyBean.java
2613
/* * Copyright 2013 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
grchanan/kite
kite-tools/src/test/java/org/kitesdk/cli/commands/TestBaseCommand.java
6409
/* * Copyright 2013 Cloudera 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
fx19880617/pinot-1
pinot-core/src/test/java/com/linkedin/pinot/segments/v1/creator/SegmentTestUtils.java
9569
/** * Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
apache-2.0
erikssonorjan/ecommerce-framework
framework/ecommerce-framework-odata-service/src/main/java/com/sdl/ecommerce/odata/function/ProductVariantFunctionImport.java
344
package com.sdl.ecommerce.odata.function; import com.sdl.odata.api.edm.annotations.EdmFunctionImport; /** * ProductVariantFunctionImport * * @author nic */ @EdmFunctionImport( name = "ProductVariant", function = "ProductVariantFunction", namespace = "SDL.ECommerce" ) public class ProductVa...
apache-2.0
spartanncoin/Spartancoinj
core/src/main/java/com/google/spartancoin/core/ChildMessage.java
3124
/** * Copyright 2011 Steve Coughlan. * * 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
noslenfa/tdjangorest
uw/lib/python2.7/site-packages/IPython/kernel/zmq/displayhook.py
2119
import __builtin__ import sys from IPython.core.displayhook import DisplayHook from IPython.kernel.inprocess.socket import SocketABC from IPython.utils.jsonutil import encode_images from IPython.utils.traitlets import Instance, Dict from session import extract_header, Session class ZMQDisplayHook(object): """A si...
apache-2.0
Fabryprog/camel
components/camel-saxon/src/test/java/org/apache/camel/component/xquery/XQueryNullHeaderTest.java
2525
/* * 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
gaohoward/activemq-artemis
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ServerSession.java
15771
/* * 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
cloudfoundry/php-buildpack
fixtures/cake_local_deps/vendor/cakephp/migrations/src/Util/UtilTrait.php
2302
<?php /** * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * @link http://cakephp.or...
apache-2.0
kl0u/flink
flink-python/pyflink/table/tests/test_row_based_operation.py
16354
################################################################################ # 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
kahing/minio
pkg/crypto/md5/md5_test.go
501
package md5_test import ( "bytes" "encoding/hex" "testing" "github.com/minio/minio/pkg/crypto/md5" . "gopkg.in/check.v1" ) func Test(t *testing.T) { TestingT(t) } type MySuite struct{} var _ = Suite(&MySuite{}) func (s *MySuite) TestMd5sum(c *C) { testString := []byte("Test string") expectedHash, _ := hex....
apache-2.0
wbengine/TRF
src/base/wb-linux.cpp
1235
// 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 the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // Se...
apache-2.0
akash1808/python-barbicanclient
functionaltests/cli/v1/smoke/test_help.py
1424
# Copyright (c) 2015 Rackspace, 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 in wr...
apache-2.0
baldimir/drools
kie-dmn/kie-dmn-legacy-tests/src/test/java/org/kie/dmn/legacy/tests/validation/v1_1/ValidatorBusinessKnowledgeModelTest.java
6328
/* * Copyright 2017 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
philips/shortbread
Godeps/_workspace/src/github.com/libgit2/git2go/index.go
6728
package git /* #include <git2.h> #include <git2/errors.h> */ import "C" import ( "fmt" "runtime" "time" "unsafe" ) type Index struct { ptr *C.git_index } type IndexEntry struct { Ctime time.Time Mtime time.Time Mode uint Uid uint Gid uint Size uint Id *Oid Path string } func newIndexEntryFrom...
apache-2.0
google/binnavi
src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/CRegisterHotKeys.java
6946
// Copyright 2011-2016 Google 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 in ...
apache-2.0
redspread/localkube
vendor/github.com/coreos/etcd/client/client.go
13681
// Copyright 2015 CoreOS, 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 in...
apache-2.0
dasein-cloud/dasein-cloud-azure
src/test/java/org/dasein/cloud/azure/tests/network/AzureLoadBalancerSupportWithMockHttpClientTest.java
42595
/* * * * Copyright (C) 2009-2015 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 ...
apache-2.0
biospi/mzmlb
pwiz/pwiz/data/vendor_readers/ABI/Reader_ABI_Detail.cpp
7869
// // $Id: Reader_ABI_Detail.cpp 10385 2017-01-20 20:35:32Z chambm $ // // // Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu> // // Copyright 2009 Vanderbilt University - Nashville, TN 37232 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exce...
apache-2.0
raml-org/raml-dotnet-parser-2
source/Raml.Parser/node_modules/raml-1-0-parser/node_modules/webpack/lib/JsonpExportMainTemplatePlugin.js
852
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var ConcatSource = require("webpack-core/lib/ConcatSource"); function JsonpExportMainTemplatePlugin(name) { this.name = name; } module.exports = JsonpExportMainTemplatePlugin; JsonpExportMainTemplatePlugin.prototype.ap...
apache-2.0
savantly-net/sprout-platform
frontend/apps/sidebar/jest.config.js
314
module.exports = { rootDir: "src", testEnvironment: "jsdom", transform: { "^.+\\.(j|t)sx?$": "babel-jest", }, moduleNameMapper: { "\\.(css)$": "identity-obj-proxy", "single-spa-react/parcel": "single-spa-react/lib/cjs/parcel.cjs", }, setupFilesAfterEnv: ["@testing-library/jest-dom"], };
apache-2.0
TennisGazelle/cs791ALopez
ogldev-source/tutorial22/mesh.cpp
6372
/* Copyright 2011 Etay Meiri This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed...
apache-2.0
ArturVasilov/AndroidCourses
Android Material Design/Palette/app/src/main/java/ru/sportics/palette/MainActivity.java
1998
package ru.sportics.palette; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.support.v7.graphics.Palette; import android.view.View; public class MainActivity extends ActionBa...
apache-2.0
jsenko/pnc
moduleconfig/src/main/java/org/jboss/pnc/common/json/moduleconfig/OpenshiftEnvironmentDriverModuleConfig.java
5960
/** * JBoss, Home of Professional Open Source. * Copyright 2014 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 Lice...
apache-2.0
brettwooldridge/buck
src/com/facebook/buck/android/AbstractModuleInfo.java
1773
/* * Copyright 2018-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
Wogan/monix
monix-reactive/shared/src/main/scala/monix/reactive/subjects/ReplaySubject.scala
7786
/* * Copyright (c) 2014-2018 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
thexerteproject/xerteonlinetoolkits
preview.php
3450
<?php /** * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
apache-2.0
srottem/indy-sdk
vcx/wrappers/python3/tests/conftest.py
641
import logging import pytest import time from vcx.api.vcx_init import vcx_init from vcx.common import shutdown as vcx_shutdown flag = False logging.basicConfig(level=logging.DEBUG) @pytest.mark.asyncio @pytest.fixture async def vcx_init_test_mode(): global flag if not flag: await vcx_init('ENABLE_T...
apache-2.0
mohanaraosv/commons-vfs
core/src/main/java/org/apache/commons/vfs2/impl/DefaultFileContentInfo.java
1466
/* * 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
gameontext/gameon-mediator
mediator-app/src/main/java/org/gameontext/mediator/events/MediatorEvents.java
4556
/******************************************************************************* * Copyright (c) 2016 IBM 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...
apache-2.0
esl/Smack
smack-extensions/src/test/java/org/jivesoftware/util/ConnectionUtils.java
5239
/** * * 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
apache/incubator-groovy
subprojects/groovy-sql/src/main/java/groovy/sql/SqlOrderByVisitor.java
1487
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
apache-2.0
brendanluu/CO2BLACK
Co2BlackUnityProject/Assets/Mapbox/Core/mapbox-sdk-cs/Map/TileCover.cs
6006
//----------------------------------------------------------------------- // <copyright file="TileCover.cs" company="Mapbox"> // Copyright (c) 2016 Mapbox. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace Mapbox.Map { using System; using Sys...
apache-2.0
ammmze/swagger-springmvc
springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelContext.java
6812
/* * * 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...
apache-2.0
akkadotnet/Akka.Persistence.SqlServer
src/Akka.Persistence.SqlServer.Tests/Query/SqlServerEventsByPersistenceIdSpec.cs
2137
// ----------------------------------------------------------------------- // <copyright file="SqlServerEventsByPersistenceIdSpec.cs" company="Akka.NET Project"> // Copyright (C) 2013 - 2019 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> // -----------------------------------------------...
apache-2.0
ttislerdg/mrgeo
mrgeo-services/mrgeo-services-wcs/src/main/java/org/mrgeo/resources/wcs/WcsGenerator.java
21099
/* * Copyright 2009-2016 DigitalGlobe, 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 ag...
apache-2.0
stephanrauh/ExploringAngular
Blog02/chessboardui.ts
3052
import {Injectable} from 'angular2/angular2'; import {Move} from './move'; import {Moves} from './moves'; import {Chessboard} from './chessboard'; import {Suggestor} from './suggestor'; export module ChessEngineAPI { @Injectable() export class ChessboardUI { selectedPieceRow: number; selectedPiec...
apache-2.0
arsi-apli/NBANDROID-V2
nbandroid.core/src/main/java/org/netbeans/modules/android/avd/manager/ui/SystemImageDescription.java
8657
/* * 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 app...
apache-2.0
bskiba/autoscaler
cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/model_ip_block.go
6125
/* * CLOUD API * * An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volume...
apache-2.0
oss-laboratries/OpenPIE
cmdb-portlet/WEB-INF/src/CopyOftest.java
1667
import java.util.*; import java.util.Map; import java.text.SimpleDateFormat; import org.codehaus.jackson.*; import java.io.*; import org.json.JSONObject; public class CopyOftest { public static void main(String[] args) throws Exception { JsonFactory factory = new JsonFactory(); JsonParser parser = factory.crea...
apache-2.0
dbrimley/hazelcast
hazelcast/src/test/java/com/hazelcast/client/protocol/compatibility/ClientCompatibilityNullTest_1_2.java
244121
/* * 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
tomsnail/snail-dev-console
src/main/java/com/thinkgem/jeesite/common/test/SpringTransactionalContextTests.java
820
package com.thinkgem.jeesite.common.test; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractTran...
apache-2.0
porkybrain/Kvasir
Lib/Chip/CM4/Freescale/MK20D10/NVIC.hpp
41881
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Nested Vectored Interrupt Controller namespace NvicNviciser0{ ///<Interrupt Set Enable Register n using Addr = Register::Address<0xe000e100,0x00000000,0x00000000,unsigned>; ///Interrupt set enable bits constexpr Register::...
apache-2.0
adessaigne/camel
catalog/camel-route-parser/src/main/java/org/apache/camel/parser/helper/CamelJavaTreeParserHelper.java
24016
/* * 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
youdonghai/intellij-community
plugins/javaFX/common-javaFX-plugin/src/org/jetbrains/plugins/javaFX/packaging/AbstractJavaFxPackager.java
12252
/* * 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
nkreipke/rethinkdb-net
rethinkdb-net-test/Integration/HasFieldsTests.cs
4275
using System.Linq; using NUnit.Framework; using System.Collections.Generic; namespace RethinkDb.Test.Integration { [TestFixture] public class HasFieldsTests : TestBase { private ITableQuery<TestObject> testTable; public override void TestFixtureSetUp() { base.TestFixtu...
apache-2.0
basho/jira-github-service
src/main/java/net/mostlyharmless/jghservice/connector/jira/JiraConnector.java
4915
/* * Copyright 2014 Brian Roach <roach at mostlyharmless dot net>. * * 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 requ...
apache-2.0
supergiant/supergiant
cmd/ui/assets/src/app/shared/cookies/cookies.service.ts
1787
import { Injectable } from '@angular/core'; @Injectable() export class CookieMonster { constructor() { } public getCookie(name: string) { const ca: Array<string> = document.cookie.split(';'); const caLen: number = ca.length; const cookieName = `${name}=`; let c: string; for (let i = 0; i < ca...
apache-2.0
porkybrain/Kvasir
Lib/Chip/Unknown/Fujitsu/S6E2CC/QPRC3_NF.hpp
1965
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Quadrature Position/Revolution Counter 0 Noise Filter namespace Qprc3NfNfctla{ ///<AIN Noise Control Register using Addr = Register::Address<0x40026130,0xffffffc8,0x00000000,unsigned char>; ///Mask bit constexpr Register::...
apache-2.0
travisbrown/circe
modules/generic-simple/src/main/scala/io/circe/generic/simple/AutoDerivation.scala
832
package io.circe.generic.simple import io.circe.{ Decoder, Encoder } import io.circe.export.Exported import io.circe.generic.simple.decoding.DerivedDecoder import io.circe.generic.simple.encoding.DerivedAsObjectEncoder import io.circe.generic.simple.util.macros.ExportMacros import scala.language.experimental.macros /...
apache-2.0
apetro/uPortal
uportal-war/src/main/java/org/apereo/portal/permission/dao/jpa/JpaPermissionOwnerDao.java
6032
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
apache-2.0
xenit-eu/dynamic-extensions-for-alfresco
annotations-runtime/scheduler-quartz-1/src/main/java/com/github/dynamicextensionsalfresco/schedule/quartz/QuartzJobAdaptor.java
1173
package com.github.dynamicextensionsalfresco.schedule.quartz; import com.github.dynamicextensionsalfresco.schedule.Task; import java.util.Map; import org.quartz.Job; import org.quartz.JobDataMap; import org.quartz.JobDetail; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; public class ...
apache-2.0
migue/fabric8
forge/addons/kubernetes/src/main/java/io/fabric8/forge/kubernetes/ServiceDelete.java
3735
/** * Copyright 2005-2015 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
bazelbuild/buildtools
differ/isatty_other.go
930
// Copyright 2017 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
apache-2.0
apache/lucenenet
src/Lucene.Net.Suggest/Spell/SuggestWordScoreComparator.cs
2338
using J2N.Text; using System; using System.Collections.Generic; namespace Lucene.Net.Search.Spell { /* * 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 copyri...
apache-2.0
uvalib/staff-directory
bower_components/json-formatter/bower_components/swiper/src/components/core/events/onTouchEnd.js
8327
import Utils from '../../../utils/utils'; export default function (event) { const swiper = this; const data = swiper.touchEventsData; const { params, touches, rtl, $wrapperEl, slidesGrid, snapGrid } = swiper; let e = event; if (e.originalEvent) e = e.originalEvent; if (data.allowTouchCallbacks) { swip...
apache-2.0
rkpagadala/mixer
adapter/stackdriver/metric/metric_test.go
11661
// Copyright 2017 Istio 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 ...
apache-2.0
dirkgroenen/mopidy-mopify
src/app/directives/module.js
112
'use strict'; var widgetModule = angular.module('mopify.widgets', [ 'spotify', 'mopify.services.mopidy' ]);
apache-2.0
flax3lbs/cpptasks-parallel
src/main/java/net/sf/antcontrib/cpptasks/ide/ProjectWriter.java
1695
/* * * Copyright 2002-2004 The Ant-Contrib 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 app...
apache-2.0
codeprimate-software/cp-elements
src/test/java/org/cp/elements/time/DateTimeUtilsUnitTests.java
3427
/* * Copyright 2011-Present 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 la...
apache-2.0
antoinesd/weld-core
impl/src/main/java/org/jboss/weld/injection/AbstractResourceInjection.java
2463
/* * JBoss, Home of Professional Open Source * Copyright 2008, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
apache-2.0
cdesjardins/poderosa
TerminalEmulator/TerminalUtil.cs
4317
/* * Copyright 2004,2006 The Poderosa Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * $Id: TerminalUtil.cs,v 1.2 2011/10/27 23:21:58 kzmi Exp $ */ using System; using System.IO; using System.Net; using System.Net...
apache-2.0
Skunnyk/dbpedia-spotlight-model
core/src/main/scala/org/dbpedia/spotlight/disambiguate/mixtures/Fader2Mixture.scala
817
package org.dbpedia.spotlight.disambiguate.mixtures import org.dbpedia.spotlight.model.DBpediaResourceOccurrence /** * Adaptation of Fader et al. (2009) mixture */ class Fader2Mixture(override val contextWeight: Double, val alpha: Double) extends Mixture(contextWeight) { // def getScore(contextScore: Double, u...
apache-2.0
flashback2k14/yc
mobile/src/main/java/common/services/billing/IabResult.java
1741
/* Copyright (c) 2012 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
ContextLogic/luigi
luigi/contrib/postgres.py
13368
# -*- coding: utf-8 -*- # # Copyright 2012-2015 Spotify AB # # 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
lankavitharana/product-dss
modules/integration/tests-integration/tests/src/test/java/org/wso2/dss/integration/test/odata/ODataSuperTenantUserTestCase.java
10581
/* * 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/li...
apache-2.0
barnyard/pi
p2p-instancemanager/src/main/java/com/bt/pi/app/instancemanager/images/ImageLoader.java
214
/* (c) British Telecommunications plc, 2009, All Rights Reserved */ package com.bt.pi.app.instancemanager.images; public interface ImageLoader { String saveImage(String imagePath, String piCacheDirectory); }
apache-2.0
quattor/aquilon
lib/aquilon/worker/commands/show_bunker_bunker.py
1045
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2008,2009,2010,2011,2013,2016 Contributor # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
apache-2.0
bcferrycoder/java-buildpack-cf-w-jboss
spec/java_buildpack/container/spring_boot_cli_spec.rb
3859
# Encoding: utf-8 # Cloud Foundry Java Buildpack # Copyright 2013 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/LICEN...
apache-2.0
deliveryhero/distconfig
distconfig/tests/unit/test_backend.py
3932
import json import unittest import mock from distconfig.backends import base class FakeBackend(base.BaseBackend): def __init__(self, data, **kwargs): super(FakeBackend, self).__init__(**kwargs) self._data = data def get_raw(self, path): return self._data.get(path) class BackendTe...
apache-2.0
drewrobb/bamboo
configuration/haproxy.go
268
package configuration type HAProxy struct { TemplatePath string OutputPath string ReloadCommand string ReloadValidationCommand string ReloadCleanupCommand string ShutdownCommand string GraceSeconds int }
apache-2.0
simonhorlick/grpc-java
benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ReportQpsScenarioServiceGrpc.java
11694
package io.grpc.benchmarks.proto; import static io.grpc.MethodDescriptor.generateFullMethodName; import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; import static io.grpc.stub.Cl...
apache-2.0
agis-/mongo-ruby-driver
lib/mongo/loggable.rb
3737
# Copyright (C) 2014-2015 MongoDB, 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 in ...
apache-2.0
apache/commons-io
src/main/java/org/apache/commons/io/output/NullWriter.java
3893
/* * 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
sharifulgeo/arcgis-runtime-samples-dotnet
src/Desktop/ArcGISRuntimeSamplesDesktopViewer/Properties/AssemblyInfo.cs
2215
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ArcGISRuntime.Sampl...
apache-2.0
Noora-q/quizbot-alexa
src/node_modules/bespoken-tools/lib/client/bespoke-client.js
6044
"use strict"; const global_1 = require("../core/global"); const socket_handler_1 = require("../core/socket-handler"); const webhook_request_1 = require("../core/webhook-request"); const tcp_client_1 = require("./tcp-client"); const global_2 = require("../core/global"); const logging_helper_1 = require("../core/logging-...
apache-2.0
cedral/aws-sdk-cpp
aws-cpp-sdk-dynamodb/source/model/ContinuousBackupsDescription.cpp
2447
/* * Copyright 2010-2017 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 "license" fil...
apache-2.0
psibre/AuToBI
src/edu/cuny/qc/speech/AuToBI/featureextractor/NormalizationParameterFeatureExtractor.java
4187
/* NormalizationParameterFeatureExtractor.java Copyright (c) 2011-2014 Andrew Rosenberg This file is part of the AuToBI prosodic analysis package. AuToBI is free software: you can redistribute it and/or modify it under the terms of the Apache License (see boilerplate below) *****************************...
apache-2.0
typesafehub/async-http-client
providers/netty/src/test/java/org/asynchttpclient/providers/netty/RetryNonBlockingIssue.java
11005
/* * Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic...
apache-2.0
fitash/epnoi
knowledgebase/src/main/java/org/epnoi/knowledgebase/wikidata/CassandraWikidataView.java
5440
package org.epnoi.knowledgebase.wikidata; import org.epnoi.model.modules.Core; import org.epnoi.model.modules.InformationStoreHelper; import org.epnoi.uia.informationstore.CassandraInformationStore; import org.epnoi.uia.informationstore.dao.cassandra.WikidataViewCassandraHelper; import java.util.HashSet; import java....
apache-2.0
Xhanim/libgdx
extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/btContactArray.java
2862
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.8 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
apache-2.0
JetBrains/resharper-unity
resharper/resharper-unity/test/data/Unity/CSharp/Daemon/Stages/PerformanceCriticalCodeAnalysis/DisabledWarningTest.cs
241
using UnityEngine; public class Test : MonoBehaviour { public void Update() { // ReSharper disable once Unity.PerformanceCriticalCodeCameraMain var x = Camera.main; var fov = Camera.main.fieldOfView; } }
apache-2.0
mylog00/flink
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBReducingState.java
5873
/* * 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
GabrielBrascher/cloudstack
vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VcenterSessionHandler.java
3054
// 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
firebase/grpc-SwiftPM
src/core/ext/transport/chttp2/transport/writing.cc
26261
/* * * 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
apache-2.0
meetdestiny/geronimo-trader
modules/common/src/java/org/apache/geronimo/common/propertyeditor/URIEditor.java
1042
/** * * Copyright 2003-2004 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/licenses/LICENSE-2.0 * * Unless required...
apache-2.0
bwasti/caffe2
caffe2/core/registry_test.cc
1099
#include <iostream> #include <memory> #include "caffe2/core/registry.h" #include <gtest/gtest.h> #include "caffe2/core/logging.h" namespace caffe2 { namespace { class Foo { public: explicit Foo(int x) { LOG(INFO) << "Foo " << x; } }; CAFFE_DECLARE_REGISTRY(FooRegistry, Foo, int); CAFFE_DEFINE_REGISTRY(FooRegistr...
apache-2.0
dixonsatit/yii-project
protected/extensions/starship/RestfullYii/config/routes.php
1539
<?php return [ 'api/<controller:\w+>'=>['<controller>/REST.GET', 'verb'=>'GET'], 'api/<controller:\w+>/<id:\w*>'=>['<controller>/REST.GET', 'verb'=>'GET'], 'api/<controller:\w+>/<id:\w*>/<param1:\w*>'=>['<controller>/REST.GET', 'verb'=>'GET'], 'api/<controller:\w+>/<id:\w*>/<param1:\w*>/<param2:\w*>'=>['<controller...
apache-2.0
erikssonorjan/ecommerce-framework
connectors/demandware-ecommerce-connector/src/main/java/com/sdl/ecommerce/demandware/api/model/AuthenticationRequest.java
598
package com.sdl.ecommerce.demandware.api.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * AuthenticationType * * @author nic */ @JsonIgnoreProperties(ignoreUnknown = true) public class AuthenticationRequest { public static String GUEST = "guest"; public static String CREDENTIALS...
apache-2.0
nickperez1285/truck-hunt-hackathon
client/stemapp/jimu.js/LayerInfos/LayerInfoForDefault.js
8864
/////////////////////////////////////////////////////////////////////////// // Copyright © 2014 Esri. 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 // // h...
apache-2.0
henricasanova/databet_meteor_1.4
app/imports/api/meteor_methods/collection_operations.js
1448
// These are brute-force with redundancy (i.e, some calls will // find everything removed already. But at least there is no // infinite recursion :) import '../../api/databet_collections'; import { collection_dictionary } from '../../startup/both/collection_dictionary'; import { Meteor } from 'meteor/meteor'; import {...
apache-2.0
kuali/kuality-kfs
lib/kuality-kfs/data_objects/vendor/PhoneNumberLinesMixin.rb
651
module PhoneNumberLinesMixin attr_accessor :phone_numbers, :initial_phone_numbers def default_phone_numbers(opts={}) # This just makes it so we don't have to be so repetitive. It can certainly be # overridden in a subclass if you don't want to chuck things in via opts. { phone_numbers: c...
apache-2.0
gnodet/camel
components/camel-sjms/src/test/java/org/apache/camel/component/sjms/producer/QueueProducerQoSTest.java
4853
/* * 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
xianfengxiong/how-tomcat-work
book/tomcat-4.1.12-src/catalina/src/share/org/apache/catalina/core/StandardEngine.java
10380
/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardEngine.java,v 1.15 2002/05/02 22:14:45 craigmcc Exp $ * $Revision: 1.15 $ * $Date: 2002/05/02 22:14:45 $ * * ==================================================================== * * The Apache Software License, Version...
apache-2.0
mlatold/latova
plugins/bbtags/letters_numbers_spaces.php
202
<?php class bb_letters_numbers_spaces { function initialize($value, $option="", $argument=array()) { $option = preg_replace("{[^A-Za-z0-9 ]}", "", $option); return array($value, $option); } } ?>
apache-2.0