repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
xuhuisheng/lemon
src/main/java/com/mossle/vehicle/persistence/domain/VehicleDriver.java
7407
package com.mossle.vehicle.persistence.domain; // Generated by Hibernate Tools import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.OneToMany; i...
apache-2.0
apache/skywalking
apm-protocol/apm-network/src/main/java/org/apache/skywalking/oap/server/network/trace/component/command/UnsupportedCommandException.java
1215
/* * 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
bdpiparva/gocd
server/src/main/java/com/thoughtworks/go/config/update/ElasticAgentProfileCommand.java
5121
/* * Copyright 2020 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
apache-2.0
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperty/15.2.3.6-4-150.js
1100
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-4-150 description: > Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test TypeError is thrown when the [[Value]] field ...
apache-2.0
gablg1/PerfKitBenchmarker
perfkitbenchmarker/benchmarks/cassandra_stress_benchmark.py
10690
# 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 by applicable law or agr...
apache-2.0
xuzhongxing/deeplearning4j
deeplearning4j-ui-parent/deeplearning4j-ui-components/src/main/typescript/org/deeplearning4j/ui/components/text/style/StyleText.ts
1291
/* * * * Copyright 2016 Skymind,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 * * * * U...
apache-2.0
whiskeysierra/archer
archer-aspectj/src/test/java/org/example/persistence/LibraryCallingPersistence.java
947
package org.example.persistence; /*- * ⁣​ * Archer: AspectJ * ⁣⁣ * Copyright (C) 2015 - 2018 whiskeysierra * ⁣⁣ * 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.a...
apache-2.0
yugangw-msft/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureFunctionLinkedService.Serialization.cs
7760
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { public partial class AzureFunctionLinkedService ...
apache-2.0
linzhaoming/origin
vendor/github.com/Azure/azure-sdk-for-go/profiles/preview/keyvault/mgmt/keyvault/models.go
10339
// +build go1.9 // Copyright 2018 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 appl...
apache-2.0
pmhtech/api-server
sys/src/main/webapp/static/src/main/javascript/view/partials/signature.js
26626
'use strict'; /* jshint -W122 */ SwaggerUi.partials.signature = (function () { // copy-pasted from swagger-js var resolveSchema = function (schema) { if (_.isPlainObject(schema.schema)) { schema = resolveSchema(schema.schema); } return schema; }; // copy-pasted from swagger-js var simpleR...
apache-2.0
nmldiegues/stibt
infinispan/core/src/main/java/org/infinispan/distribution/wrappers/RpcManagerWrapper.java
18688
/* * INESC-ID, Instituto de Engenharia de Sistemas e Computadores Investigação e Desevolvimento em Lisboa * Copyright 2013 INESC-ID and/or its affiliates and other * contributors as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a full listing of * individual co...
apache-2.0
stoksey69/googleads-java-lib
examples/dfp_axis/src/main/java/dfp/axis/v201505/proposallineitemservice/GetAllProposalLineItems.java
3524
// 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 applicable...
apache-2.0
Miciah/origin
vendor/gonum.org/v1/gonum/spatial/barneshut/barneshut3_test.go
16745
// Copyright ©2019 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package barneshut import ( "fmt" "math" "reflect" "testing" "golang.org/x/exp/rand" "gonum.org/v1/gonum/floats" "gonum.org/v1/gonum/spatial/r3" ) ...
apache-2.0
ysc/superword
src/main/java/org/apdplat/superword/extract/ChineseSynonymAntonymExtractor.java
16449
/** * * APDPlat - Application Product Development Platform Copyright (c) 2013, 杨尚川, * yang-shangchuan@qq.com * * 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 Lice...
apache-2.0
sortable/framework
persistence/mongodb-record/src/test/scala/net/liftweb/mongodb/record/CustomSerializersSpec.scala
12623
/* * Copyright 2010-2014 WorldWide Conferencing, 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 applica...
apache-2.0
zhujzhuo/Sahara
sahara/plugins/cdh/v5/config_helper.py
9673
# Copyright (c) 2014 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
apache-2.0
amirakhmedov/ignite
modules/core/src/main/java/org/apache/ignite/IgniteCache.java
72761
/* * 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
vmanoria/oozie
core/src/main/java/org/apache/oozie/command/wf/NotificationXCommand.java
4149
/** * Copyright (c) 2010 Yahoo! 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 applic...
apache-2.0
mkis-/elasticsearch
src/test/java/org/elasticsearch/search/highlight/HighlighterSearchTests.java
147433
/* * 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
Darsstar/framework
compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/grid/declarative/GridDeclarativeTestBase.java
6634
/* * Copyright 2000-2016 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
cristianonicolai/kie-wb-common
kie-wb-common-services/kie-wb-common-services-api/src/main/java/org/kie/workbench/common/services/shared/project/KieProject.java
3694
/* * Copyright 2014 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 ...
apache-2.0
MyPureCloud/kafka
clients/src/test/java/org/apache/kafka/clients/admin/MockAdminClient.java
14953
/* * 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
RLDevOps/Demo
src/main/java/org/olat/core/util/notifications/SubscriptionItem.java
1974
/** * 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
apache/wink
wink-common/src/test/java/org/apache/wink/common/internal/providers/jaxb/AbstractJAXBCollectionProviderTest.java
12020
/******************************************************************************* * 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
mdanielwork/intellij-community
platform/platform-api/src/com/intellij/ide/errorTreeView/ErrorTreeElementKind.java
1965
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
ptkool/spark
core/src/test/scala/org/apache/spark/util/UtilsSuite.scala
52276
/* * 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
cexbrayat/camel
components/camel-crypto/src/main/java/org/apache/camel/component/crypto/processor/SigningProcessor.java
3569
/** * 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
munifgebara/angular4
random-quote4/app/app.module.js
510
(function(app) { var NgModule = ng.core.NgModule; var BrowserModule = ng.platformBrowser.BrowserModule; var QuoteService = app.QuoteService; var RandomQuoteComponent = app.RandomQuoteComponent; var AppComponent = app.AppComponent; app.AppModule = NgModule({ imports: [BrowserModule], declarations: [...
apache-2.0
tomdoherty/chef
lib/chef/knife/user_reregister.rb
1534
# # Author:: Steven Danna (<steve@chef.io>) # Copyright:: Copyright 2012-2016, Chef Software Inc. # License:: Apache License, Version 2.0 # # 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
allure-framework/allure1
allure-report-face/src/plugins/defects/defects-widget/DefectsWidget.js
172
import {ItemView} from 'backbone.marionette'; import template from './DefectsWidget.hbs'; export default class DefectsWidget extends ItemView { template = template; }
apache-2.0
USC-NSL/p4c-behavioral
p4c_bm/of.py
8178
# OF Match fields of_match_vals = {} of_match_vals["OFPXMT_OFB_IN_PORT" ] = "match_fields->fields.in_port" of_match_vals["OFPXMT_OFB_IN_PHY_PORT" ] = "match_fields->fields.in_phy_port" of_match_vals["OFPXMT_OFB_METADATA" ] = "match_fields->fields.metadata" of_match_vals["OFPXMT_OFB_ETH_DST"...
apache-2.0
ay65535/hbase-0.94.0
src/test/java/org/apache/hadoop/hbase/io/hfile/TestFixedFileTrailer.java
8150
/* * Copyright 2011 The Apache Software Foundation * * 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-2.0
opera/terago
vendor/git.apache.org/thrift.git/lib/go/thrift/protocol.go
4562
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
apache-2.0
armando-migliaccio/tempest
tempest/api/compute/v3/servers/test_attach_interfaces.py
4461
# Copyright 2013 IBM Corp. # 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 app...
apache-2.0
matejonnet/pnc
integration-test/src/test/java/org/jboss/pnc/integration/utils/JsonMatcher.java
1999
/** * 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
coreyauger/scalajs-react-components
demo/src/main/scala/chandu0101/scalajs/react/components/demo/routes/AppRouter.scala
6149
package chandu0101.scalajs.react.components.demo.routes import chandu0101.scalajs.react.components.demo.components.{AppHeader, ScalaCSSTutorial} import chandu0101.scalajs.react.components.demo.pages._ import japgolly.scalajs.react._ import japgolly.scalajs.react.extra.router2.{Resolution, RouterConfigDsl, RouterCtl, ...
apache-2.0
Tycheo/coffeemud
com/planet_ink/coffee_mud/Commands/Load.java
9566
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.CMClass.CMObjectType; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import ...
apache-2.0
modernpharaohs/city-new
vendor/pingpong/generators/Console/ScaffoldCommand.php
1561
<?php namespace Pingpong\Generators\Console; use Illuminate\Console\Command; use Pingpong\Generators\ScaffoldGenerator; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; class ScaffoldCommand extends Command { /** * The name of command. * * @var st...
apache-2.0
sih4sing5hong5/google-sites-liberation
src/test/java/com/google/sites/liberation/export/InMemoryEntryStoreTest.java
3444
/* * Copyright (C) 2009 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
scottyaslan/nifi-registry
nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/serialization/jackson/JacksonExtensionSerializer.java
1390
/* * 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
filipw/apress-recipes-webapi
Chapter 11/11-8/Apress.Recipes.WebApi/Apress.Recipes.WebApi/IntegrationTest.cs
2540
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Reflection; using System.Web.Http.Dispatcher; using Microsoft.Owin.Testing; using Moq; using Xunit; namespace Apress.Recipes.WebApi { public class IntegrationTests { ...
apache-2.0
opennetworkinglab/onos
protocols/p4runtime/ctl/src/main/java/org/onosproject/p4runtime/ctl/controller/PacketInEvent.java
2200
/* * Copyright 2019-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
flofreud/aws-sdk-java
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CertificateDescription.java
19188
/* * 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
anshuiisc/storm-Allbolts-wiring
storm-core/src/jvm/org/apache/storm/daemon/supervisor/timer/SupervisorHeartbeat.java
3674
/** * 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
lshain-android-source/tools-idea
java/debugger/impl/src/com/intellij/debugger/ui/HotSwapUIImpl.java
13668
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
aledsage/testng
src/test/java/test/listeners/MyClassListener.java
674
package test.listeners; import org.testng.IClassListener; import org.testng.IMethodInstance; import org.testng.ITestClass; import java.util.ArrayList; import java.util.List; public class MyClassListener implements IClassListener { public static final List<String> beforeNames = new ArrayList<>(); public static f...
apache-2.0
ntt-sic/cinder
cinder/tests/api/contrib/test_volume_type_encryption.py
19901
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2013 The Johns Hopkins University/Applied Physics Laboratory # 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 ...
apache-2.0
mdanielwork/intellij-community
xml/impl/src/com/intellij/psi/impl/source/html/HtmlScriptLanguageInjector.java
2931
/* * 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
halober/ovirt-engine
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/uicommon/model/ClusterPolicyModelProvider.java
3435
package org.ovirt.engine.ui.webadmin.uicommon.model; import org.ovirt.engine.core.common.scheduling.ClusterPolicy; import org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget; import org.ovirt.engine.ui.common.presenter.popup.DefaultConfirmationPopupPresenterWidget; import org.ovirt.engine.ui.co...
apache-2.0
badvision/acs-aem-commons
bundle/src/test/java/com/adobe/acs/commons/workflow/synthetic/impl/SyntheticGraniteWorkflowRunnerImplTest.java
10359
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2016 Adobe * %% * 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
philliprower/cas
support/cas-server-support-jms-ticket-registry/src/test/java/org/apereo/cas/ticket/registry/queue/AbstractTicketMessageQueueCommandTests.java
2835
package org.apereo.cas.ticket.registry.queue; import org.apereo.cas.config.CasCoreAuthenticationConfiguration; import org.apereo.cas.config.CasCoreAuthenticationHandlersConfiguration; import org.apereo.cas.config.CasCoreAuthenticationMetadataConfiguration; import org.apereo.cas.config.CasCoreAuthenticationPolicyConfig...
apache-2.0
apache/syncope
core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/init/AuditAccessor.java
2328
/* * 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
qma/pants
tests/python/pants_test/cache/test_pinger.py
2603
# coding=utf-8 # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import threading imp...
apache-2.0
patcadelina/rundeck
core/src/main/java/com/dtolabs/rundeck/core/execution/ExecArg.java
3037
package com.dtolabs.rundeck.core.execution; import java.util.List; /** * Represents a command-line argument, that may need to be quoted/escaped before use, and may contain a list of other * arguments to be quoted. */ public abstract class ExecArg { /** * @return true if this arg contains a list of other ...
apache-2.0
Deepnekroz/kaa
client/client-multi/client-cpp/kaa/context/SimpleExecutorContext.hpp
1781
/** * 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 applicabl...
apache-2.0
susinda/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/TaskTriggerType.java
4877
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.eclipse.emf.common.util.Enumerator; /** * <!-- begin-user-doc --> * A representation of the literals of the enumeration '<em><...
apache-2.0
tejal29/pants
tests/python/pants_test/option/test_custom_types.py
2293
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import unittest fro...
apache-2.0
crobby/oshinko-cli
vendor/github.com/openshift/origin/test/integration/newapp_test.go
76636
package integration import ( "bytes" "fmt" "io" "io/ioutil" "net/http" "net/http/httptest" "net/url" "os" "path/filepath" "reflect" "sort" "strconv" "strings" "testing" "time" "github.com/AaronO/go-git-http" "github.com/AaronO/go-git-http/auth" "github.com/elazarl/goproxy" docker "github.com/fsouza...
apache-2.0
RachelTucker/ds3_net_sdk
Ds3/ResponseParsers/CancelFormatTapeSpectraS3ResponseParser.cs
1723
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic 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. A copy of the License i...
apache-2.0
odracci/tomighty
src/main/java/org/tomighty/ui/about/AboutDialog.java
3585
/* * Copyright (c) 2010 Célio Cidral Junior * * 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 r...
apache-2.0
grdryn/origin
pkg/security/admission/admission_test.go
19692
package admission import ( "reflect" "strings" "testing" kadmission "github.com/GoogleCloudPlatform/kubernetes/pkg/admission" kapi "github.com/GoogleCloudPlatform/kubernetes/pkg/api" "github.com/GoogleCloudPlatform/kubernetes/pkg/auth/user" "github.com/GoogleCloudPlatform/kubernetes/pkg/client" "github.com/Go...
apache-2.0
nestor-by/akka-persistence-eventsourcing
src/main/scala/io/scalac/seed/route/UserRoute.scala
1292
package io.scalac.seed.route import akka.actor._ import io.scalac.seed.domain.UserAggregate import io.scalac.seed.service._ import spray.httpx.Json4sSupport import spray.routing._ import spray.routing.authentication.BasicAuth object UserRoute { case class ChangePasswordRequest(pass: String) } trait UserRoute exten...
apache-2.0
icexelloss/arrow
js/src/factories.ts
12287
// 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
Medusar/rocketmq-commet
rocketmq-broker/src/main/java/com/alibaba/rocketmq/broker/offset/ConsumerOffsetManager.java
9141
/** * 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
electrum/drift
drift-transport-apache/src/test/java/io/airlift/drift/transport/apache/scribe/apache/ResultCode.java
1442
/* * Copyright (C) 2012 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 agr...
apache-2.0
nathanchen/netty-netty-5.0.0.Alpha1
example/src/main/java/io/netty/example/socksproxy/SocksServerConnectHandler.java
4277
/* * Copyright 2012 The Netty Project * * The Netty Project 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 ...
apache-2.0
aws/aws-sdk-cpp
aws-cpp-sdk-cognito-idp/source/model/UpdateUserPoolClientResult.cpp
1027
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cognito-idp/model/UpdateUserPoolClientResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #incl...
apache-2.0
vmlinz/ruby-china-android
src/org/rubychina/android/fragment/UserRecentlyCreatedTopicListFragment.java
2071
/*Copyright (C) 2012 Longerian (http://www.longerian.me) 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
ccri/geomesa
geomesa-features/geomesa-feature-kryo/src/main/scala/org/locationtech/geomesa/features/kryo/json/JsonPathParser.scala
5359
/*********************************************************************** * 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
sergecodd/FireFox-OS
B2G/gecko/js/src/tests/js1_7/regress/regress-416705.js
1076
// |reftest| pref(javascript.options.xml.content,true) /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
apache-2.0
keith-turner/accumulo
server/monitor/src/main/java/org/apache/accumulo/monitor/rest/zk/ZookeeperResource.java
1707
/* * 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
weswigham/TypeScript
tests/cases/fourslash/unusedParameterInLambda1.ts
336
/// <reference path='fourslash.ts' /> // @noUnusedLocals: true // @noUnusedParameters: true ////[|/*~a*/(/*~b*/x/*~c*/:/*~d*/number/*~e*/)/*~f*/ => /*~g*/{/*~h*/}/*~i*/|] verify.codeFix({ description: "Remove declaration for: 'x'", index: 0, newRangeContent: "/*~a*/(/*~e*/)/*~f*/ => /*~g*/{/*~h*/...
apache-2.0
AsynkronIT/gam
router/routeractor_pool_test.go
2251
package router import ( "testing" "github.com/AsynkronIT/protoactor-go/actor" "github.com/stretchr/testify/mock" ) func TestPoolRouterActor_Receive_AddRoute(t *testing.T) { state := new(testRouterState) a := poolRouterActor{state: state} p1 := system.NewLocalPID("p1") c := new(mockContext) c.On("Message")....
apache-2.0
ehlerst/hound-testing
resources/exchange.rb
981
# resources/exchange.rb # # Author: Simple Finance <ops@simple.com> # License: Apache License, Version 2.0 # # Copyright 2013 Simple Finance Technology 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 co...
apache-2.0
messaoudiDEV/citypocketBackoffice
Symfony/vendor/giggsey/libphonenumber-for-php/src/geocoding/data/fr/230.php
227
<?php /** * This file is automatically @generated by {@link GeneratePhonePrefixData}. * Please don't modify it directly. */ return array ( 2302 => 'Région Nord', 2304 => 'Région Centrale', 2306 => 'Région Sud', );
apache-2.0
cushon/error-prone
core/src/test/java/com/google/errorprone/testdata/ExtendedMultipleTopLevelClassesWithNoErrors.java
830
/* * Copyright 2012 The Error Prone 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 ...
apache-2.0
jaltekruse/incubator-drill
exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/local/LocalPStoreProvider.java
2530
/** * 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
caskdata/coopr-provisioner
lib/provisioner/worker/plugins/automators/chef_solo_automator/resources/cookbooks/dcos/resources/dcos_user.rb
1601
# # Cookbook Name:: dcos # Recipe:: default # # Copyright 2018, Chef Software, 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 # # Unle...
apache-2.0
Asdafers/MyAL
app/Lib/TestUtils.php
18969
<?php define('TEAM_ID_1', 1); define('TEAM_ID_2', 2); define('TEAM_ID_EMPTY', 3); define('PLAYER_ID_1', 1); define('PLAYER_ID_2', 2); define('PLAYER_ID_3', 3); define('PLAYER_ID_4', 4); define('GAME_MASTER_ID_1', 5); define('GAME_MASTER_ID_2', 6); define('XP_TO_REACH_LEVEL_10', 2200); define('XP_TO_REACH_LEVEL_20', ...
apache-2.0
michalszynkiewicz/pnc
ui/app/common/restclient/_restclient.js
914
/* * 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 Licen...
apache-2.0
ytfei/guava
guava-tests/test/com/google/common/base/PredicatesTest.java
32535
/* * Copyright (C) 2005 The Guava 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 agre...
apache-2.0
jtulach/RxJava
src/test/java/rx/plugins/RxJavaPluginsTest.java
5521
/** * Copyright 2014 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 applicable law or agreed t...
apache-2.0
SangKa/RxJS-Docs-CN
spec/operators/sequenceEqual-spec.ts
11473
import * as _ from 'lodash'; import marbleTestingSignature = require('../helpers/marble-testing'); // tslint:disable-line:no-require-imports declare const { asDiagram, rxTestScheduler, time, type }; declare const hot: typeof marbleTestingSignature.hot; declare const cold: typeof marbleTestingSignature.cold; declare co...
apache-2.0
Harmiox/harmiox.github.io
harmiox/tuffy/old/admin/skins/touch/_item_block.inc.php
3619
<?php /** * This is the template that displays the item block * * This file is not meant to be called directly. * It is meant to be called by an include in the main.page.php template (or other templates) * * b2evolution - {@link http://b2evolution.net/} * Released under GNU GPL License - {@link http://b2evolutio...
apache-2.0
BigDataehealthTools/GNOME_Viewer
Web/models.py
215
# from __future__ import unicode_literals from django.db import models # Create your models here. class User(models.Model): name = models.CharField(max_length=100) email = models.CharField(max_length=150)
apache-2.0
weikipeng/RxJava
src/main/java/rx/internal/operators/SingleDoOnSubscribe.java
1398
/** * Copyright 2016 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 applicable law or agreed to i...
apache-2.0
alisonbnt/home-shell
src/entities/hsextra.py
647
__author__ = 'alisonbento' import src.base.arrayparsableentity as parsable class HomeShellExtra(parsable.ArrayParsableEntity): def __init__(self, extra_id=0, appliance_id=0, extra_key=None, extra_value=None, extra_date=None, created=None): self.id = extra_id self.appliance_id = appliance_id ...
apache-2.0
contentbox-modules/contentbox-s3-filebrowser
modules/contentbox-admin/modules/contentbox-filebrowser/includes/js/src/fbSelectCallbacks.js
1585
/** ********************************************************************************* * Copyright since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp * www.coldbox.org | www.luismajano.com | www.ortussolutions.com ********************************************************************************* *...
apache-2.0
hooman/swift
utils/swift_build_support/swift_build_support/targets.py
13954
# swift_build_support/targets.py - Build target helpers -*- python -*- # # This source file is part of the Swift.org open source project # # Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors # Licensed under Apache License v2.0 with Runtime Library Exception # # See https://swift.org/LICENSE.txt for li...
apache-2.0
avdi/rust
src/test/run-pass/option-unwrap.rs
940
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
apache-2.0
avano/fabric8
fabric/fabric-zookeeper/src/test/java/io/fabric8/zookeeper/utils/ZookeeperServerTestSupport.java
3487
/* * Copyright 2005-2017 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 re...
apache-2.0
danilovalente/spring-richclient
spring-richclient-core/src/test/java/org/springframework/binding/value/support/TypeConverterTests.java
2052
/* * Copyright 2002-2004 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 appl...
apache-2.0
asimshankar/tensorflow
tensorflow/contrib/checkpoint/python/containers.py
3049
"""Checkpointable data structures.""" # 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/LICE...
apache-2.0
rednaxelafx/apache-spark
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalogSuite.scala
71897
/* * 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
peridotperiod/isis
mothballed/component/viewer/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/fixtures/DebugObjectStorePeer.java
1592
/* * 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
itaiin/arrow
java/vector/src/main/java/org/apache/arrow/vector/types/pojo/DictionaryEncoding.java
2271
/* * 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
aveshagarwal/kubernetes
staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go
8863
/* 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
bodaodev-billydai/felix
shell/commands/src/main/java/org/apache/felix/karaf/shell/commands/CatAction.java
3728
/* * 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
dangrozasv/google-api-ads-ruby
ads_common/lib/ads_common/auth/client_login_handler.rb
6800
# Encoding: utf-8 # # Authors:: api.dklimkin@gmail.com (Danial Klimkin) # # Copyright:: Copyright 2010, 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...
apache-2.0
jeremyepling/TypeScript
tests/baselines/reference/subtypingWithNumericIndexer.js
2509
//// [subtypingWithNumericIndexer.ts] // Derived type indexer must be subtype of base type indexer interface Base { foo: string; } interface Derived extends Base { bar: string; } interface Derived2 extends Derived { baz: string; } class A { [x: number]: Base; } class B extends A { [x: number]: Derived; // o...
apache-2.0