repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
krux/adspygoogle
examples/adspygoogle/dfp/v201204/update_orders.py
2331
#!/usr/bin/python # # 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 b...
apache-2.0
xianfengxiong/how-tomcat-work
book/tomcat-4.1.12-src/catalina/src/share/org/apache/catalina/startup/HostRuleSet.java
7605
/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/HostRuleSet.java,v 1.2 2001/11/11 19:58:35 remm Exp $ * $Revision: 1.2 $ * $Date: 2001/11/11 19:58:35 $ * * ==================================================================== * * The Apache Software License, Version 1.1 ...
apache-2.0
gerrit-review/gerrit
java/com/google/gerrit/pgm/init/DatabaseConfigInitializer.java
984
// Copyright (C) 2012 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
michaelballantyne/rust-gpu
src/test/run-pass/class-attributes-2.rs
895
// 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
swotge/samson-inn
src/test/java/org/jeyam/samson/consumer/domain/StudentTest.java
1442
package org.jeyam.samson.consumer.domain; import org.jeyam.samson.consumer.domain.Student; import org.junit.Before; import org.junit.Test; import java.util.HashSet; import java.util.Set; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue...
apache-2.0
WillemJiang/acmeair
acmeair-webapp/src/main/java/com/acmeair/web/UriRewriteFilter.java
1742
/* * Copyright 2017 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
roxolan/nakamura
bundles/search/api/src/main/java/org/sakaiproject/nakamura/api/search/SearchUtil.java
6635
/** * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use t...
apache-2.0
xccui/flink
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/ValidatingSink.java
3850
/* * 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
sshrdp/mclab
languages/Natlab/src/natlab/LookupFile.java
3781
/* Copyright 2011 Anton Dubrau, Soroush Radpour and McGill 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 at http://www.apache.org/licenses/LICENSE-2.0 Unless required by a...
apache-2.0
GabrielBrascher/cloudstack
plugins/storage/volume/sample/src/main/java/org/apache/cloudstack/storage/datastore/driver/SamplePrimaryDataStoreDriverImpl.java
9628
// 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
chrismattmann/girder
clients/web/src/views/layout/RegisterView.js
2378
/** * This view shows a register modal dialog. */ girder.views.RegisterView = girder.View.extend({ events: { 'submit #g-register-form': function (e) { e.preventDefault(); this.$('.form-group').removeClass('has-error'); if (this.$('#g-password').val() !== this.$('#g-pa...
apache-2.0
viggyprabhu/geowave
geowave-test/src/test/java/mil/nga/giat/geowave/test/GeoWaveBasicIT.java
29140
package mil.nga.giat.geowave.test; import java.io.File; import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; import java.net.URISyntaxException; import java.net.URL; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.uti...
apache-2.0
cping/LGame
Java/old/OpenGL-1.0(old_ver)/Loon-backend-Android/src/loon/physics/PContact.java
1574
/** * Copyright 2013 The Loon 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 t...
apache-2.0
yalexx/lite-timer
Form1.Designer.cs
3948
namespace LiteTimer { partial class LiteTimer { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <para...
apache-2.0
Alachisoft/TayzGrid
src/tgcommon/src/com/alachisoft/tayzgrid/common/PortPool.java
7101
/* * Copyright (c) 2015, Alachisoft. 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 ...
apache-2.0
tangrui/zyeeda-framework
core/src/main/java/com/zyeeda/framework/validation/constraints/Unique.java
677
package com.zyeeda.framework.validation.constraints; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.annotation.ElementType; import javax.validation.Constraint; import com.zyeeda.framework...
apache-2.0
googleapis/google-api-php-client-services
src/Apigateway/Resource/ProjectsLocationsOperations.php
5022
<?php /* * Copyright 2014 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 t...
apache-2.0
amitmawkin/Hygieia
collectors/build/sonar/src/main/java/com/capitalone/dashboard/model/SonarCollector.java
2405
package com.capitalone.dashboard.model; import org.springframework.util.CollectionUtils; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; public class SonarCollector extends Collector { private List<String> sonarServers = new ArrayList<>(...
apache-2.0
Uncolonized/investment-advisor
models/models.js
752
/** * Copyright 2015 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 applicable l...
apache-2.0
rhauch/kafka
connect/runtime/src/test/java/org/apache/kafka/connect/runtime/standalone/StandaloneHerderTest.java
26334
/* * 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
f4ble/Arkon
run_gui.py
220
from configs.config_base import ConfigBase ConfigBase.load_config() from translation import Translation from factory import Factory trans = Translation() Factory.set('Translation',trans) import ark.gui ark.gui.init()
apache-2.0
apache/jena
jena-arq/src/main/java/org/apache/jena/riot/system/PrefixMapWrapper.java
3036
/** * 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
fschueler/incubator-systemml
src/main/java/org/apache/sysml/runtime/functionobjects/KahanPlusSq.java
3328
/* * 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
deeplearning4j/deeplearning4j
deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp-chinese/src/main/java/org/ansj/domain/KV.java
455
package org.ansj.domain; public class KV<K, V> { private K k; private V v; private KV(K k, V v) { this.k = k; this.v = v; } public static <K, V> KV<K, V> with(K k, V v) { return new KV<>(k, v); } public void setK(K k) { this.k = k; } public void...
apache-2.0
vvv1559/intellij-community
platform/platform-tests/testSrc/com/intellij/openapi/keymap/impl/IdeMouseEventDispatcherTest.java
5036
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
mwilliamson-firefly/aws-sdk-net
sdk/src/Services/ElasticMapReduce/Generated/Model/ClusterStatus.cs
2752
/* * Copyright 2010-2014 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
HouseOfTheFuture/IoT-Device
HouseOfTheFuture.IoTHub/HouseOfTheFuture.IoTHub/TickTack/Models/DeviceLinks.cs
1195
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. using System; using System.Linq; using Newtonsoft.Json.Linq; namespace TickTack.Models { public partial class DeviceLinks { private string _self; ...
apache-2.0
SnapMD/connectedcare-sdk
SnapMD.VirtualCare.ApiModels/EncounterConcern.cs
1587
#region Copyright // Copyright 2016 SnapMD, 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
cwensley/maccore
tools/docfixer/docfixer.cs
2952
// // docfixer // // TODO: // Remove <h2...> Overview</h2> from merged docs // // Copyright 2012 Xamarin Inc // using System; using System.IO; using System.Linq; using System.Collections.Generic; using macdoc; using Mono.Options; using Mono.Cecil; public partial class DocGenerator { public static int Main (string[...
apache-2.0
google/go-genproto
googleapis/cloud/retail/v2alpha/product.pb.go
56500
// Copyright 2021 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 w...
apache-2.0
MiaoTofu/classeur
src/optional/quotaDialog/quotaDialog.js
700
angular.module('classeur.optional.quotaDialog', []) .run(function (clDialog, clFileSvc, clUserSvc) { var createFile = clFileSvc.createFile clFileSvc.createFile = function () { if (clUserSvc.user && !~clUserSvc.user.roles.indexOf('premium_user') && clFileSvc.activeDaos .cl_filter(function (dao)...
apache-2.0
blinksocks/blinksocks
src/transports/index.js
136
export * from './tcp'; export * from './udp'; export * from './tls'; export * from './h2'; export * from './ws'; export * from './wss';
apache-2.0
sergecodd/FireFox-OS
B2G/gecko/browser/base/content/test/browser_social_chatwindow.js
25377
/* 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://mozilla.org/MPL/2.0/. */ function test() { waitForExplicitFinish(); let manifest = { // normal provider name: "provider 1", or...
apache-2.0
sekikn/ambari
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStatusHelper.java
3382
/* * 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
Ryman/rust
src/test/run-pass/borrowck-mut-uniq.rs
1097
// 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
slimkit/thinksns-plus
packages/zhiyicx-plus-pc/config/pc.php
1703
<?php declare(strict_types=1); /* * +----------------------------------------------------------------------+ * | ThinkSNS Plus | * +----------------------------------------------------------------------+ * | Copyright (c) 2016-Present ZhiYiChuangXiang Technol...
apache-2.0
streamsets/datacollector
basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldhasher/FieldHasherDProcessor.java
2450
/* * Copyright 2017 StreamSets 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...
apache-2.0
iBase4J/iBase4J
iBase4J-UI/iBase4J-UI-DataTables/src/assets/js/charts/d3/venn/venn_rings.js
1702
/* ------------------------------------------------------------------------------ * * # D3.js - ring Venn diagram * * Venn diagram demo with ring style option * * Version: 1.0 * Latest update: August 1, 2015 * * ---------------------------------------------------------------------------- */ $(f...
apache-2.0
marklogic/mlphp
phpunit-bootstrap.php
533
<?php /** * Bootstrap script for PHPUnit testing. * @see phpunit.xml */ require_once('phpunit-config.php'); // Get MarkLogic version $serverConfig = $mlphp->getServerConfig(); $mlphp->config['mlversion'] = $serverConfig['version']; // Create REST API for tests $api = $mlphp->getAPI()->create()->setProperty('debug...
apache-2.0
agruning/azure-functions-ux
AzureFunctions.AngularClient/src/app/shared/services/function-monitor.service.spec.ts
496
import { AppModule } from './../../app.module'; /* tslint:disable:no-unused-variable */ import { TestBed, async, inject } from '@angular/core/testing'; import { FunctionMonitorService } from './function-monitor.service'; describe('Service: FunctionMonitor', () => { beforeEach(() => { TestBed.configureTestingMod...
apache-2.0
opis-colibri/core
src/Collectors/ContractCollector.php
2666
<?php /* =========================================================================== * Copyright 2018-2021 Zindex Software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
apache-2.0
svagionitis/aws-sdk-cpp
aws-cpp-sdk-dynamodb/source/model/GlobalSecondaryIndex.cpp
3019
/* * 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
mayonghui2112/helloWorld
sourceCode/testMaven/onjava8/src/main/java/housekeeping/PrimitiveOverloading.java
3850
package housekeeping;// housekeeping/PrimitiveOverloading.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. // Promotion of primitives and overloading public class PrimitiveOverloading { void f1(char ...
apache-2.0
zimulala/tidb
util/ranger/new_refiner.go
9496
// 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
sergecodd/FireFox-OS
B2G/gecko/browser/devtools/scratchpad/test/browser_scratchpad_contexts.js
3898
/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ function test() { waitForExplicitFinish(); gBrowser.selectedTab = gBrowser.addTab(); gBrowser.selectedBrowser.addEventListener("load", function onLoad() { gBrowser.s...
apache-2.0
cschuff/openui5
src/sap.m/test/sap/m/demokit/iconExplorer/webapp/test/integration/pages/Browser.js
1742
sap.ui.define([ "sap/ui/test/Opa5", "sap/ui/core/routing/HashChanger" ], function(Opa5, HashChanger) { "use strict"; Opa5.createPageObjects({ onTheBrowser: { actions: { iPressOnTheBackwardsButton: function () { return this.waitFor({ success: function () { // manipulate history directly ...
apache-2.0
nojvek/TypeScript
tests/baselines/reference/jsDeclarationsClasses.js
11494
//// [index.js] export class A {} export class B { static cat = "cat"; } export class C { static Cls = class {} } export class D { /** * @param {number} a * @param {number} b */ constructor(a, b) {} } /** * @template T,U */ export class E { /** * @type {T & U} */ ...
apache-2.0
bavuongco10/react-native-school-board
index.ios.js
142
import { AppRegistry } from 'react-native'; import Setup from './js/setup'; AppRegistry.registerComponent('NativeStarterKit', () => Setup);
apache-2.0
raksha-rao/gluster-ovirt
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/editor/IVdcQueryableCellTable.java
3306
package org.ovirt.engine.ui.webadmin.widget.editor; import java.util.ArrayList; import org.ovirt.engine.core.compat.Event; import org.ovirt.engine.core.compat.EventArgs; import org.ovirt.engine.core.compat.IEventListener; import org.ovirt.engine.ui.uicommonweb.models.ListModel; import org.ovirt.engine.ui.webadmin.wid...
apache-2.0
Softgreen/SistCoop
SistCoopREST/src/main/java/org/sistemafinanciero/dao/impl/AccionistaBeanDAO.java
5007
/** This file is part of javaee-patterns. javaee-patterns 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 2 of the License, or (at your option) any later version. javaee-patterns is distributed in...
apache-2.0
lvsijian8/MrGarden_for_Web
MrGarden/src/pot/servlet/android/historyAndroid.java
1414
package pot.servlet.android; import pot.dao.android.historyDaoAndroid; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; imp...
apache-2.0
apache/activemq-openwire
openwire-legacy/src/main/java/org/apache/activemq/openwire/codec/v10/PartialCommandMarshaller.java
4354
/** * 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
solimant/druid
sql/src/test/java/io/druid/sql/calcite/expression/ExpressionsTest.java
19287
/* * 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
jcfr/Midas
modules/remoteprocessing/AppController.php
1031
<?php /*========================================================================= Midas Server Copyright Kitware SAS, 26 rue Louis Guérin, 69100 Villeurbanne, France. All rights reserved. For more information visit http://www.kitware.com/. Licensed under the Apache License, Version 2.0 (the "License"); you may n...
apache-2.0
lucasponce/hawkular-commons
hawkular-inventory-parent/hawkular-inventory-service/src/main/java/org/hawkular/inventory/service/InventoryResource.java
1284
/* * Copyright 2014-2017 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://w...
apache-2.0
msebire/intellij-community
plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/support/jaxen/PsiDocumentNavigator.java
11719
/* * Copyright 2002-2005 Sascha Weinreuter * * 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
qobel/esoguproject
spring-framework/spring-web/src/test/java/org/springframework/web/client/HttpStatusCodeExceptionTests.java
2006
/* * Copyright 2002-2012 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 ap...
apache-2.0
mqeizi/folly
folly/futures/test/ViaTest.cpp
11494
/* * Copyright 2016 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 agreed to...
apache-2.0
GeographicaGS/moocng
moocng/courses/management/commands/export_course.py
4436
# -*- coding: utf-8 -*- # Copyright 2012-2013 UNED # # 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
michaelgallacher/intellij-community
python/src/com/jetbrains/python/inspections/quickfix/PyChangeSignatureQuickFix.java
3548
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
igorng/alien4cloud
alien4cloud-core/src/main/java/alien4cloud/plugin/PluginComponentDescriptor.java
630
package alien4cloud.plugin; import lombok.Getter; import lombok.Setter; import org.springframework.stereotype.Service; /** * Describe a component of a plugin (can be an IPaaSProvider etc.) */ @Setter @Getter @Service @SuppressWarnings("PMD.UnusedPrivateField") public class PluginComponentDescriptor { /** Name ...
apache-2.0
aipi2015/Laborator02
solutions/eclipse/02-BookStore-JPA/src/main/java/ro/pub/cs/aipi/lab02/businesslogic/CategoryManager.java
226
package ro.pub.cs.aipi.lab02.businesslogic; import ro.pub.cs.aipi.lab02.entities.Category; public class CategoryManager extends PersistentEntityManager<Category> { public CategoryManager() { super(Category.class); } }
apache-2.0
andreipetcu/Crm-Sample-Code
CrmStreamingNotifications/plugin-src/Node-Notifier/Notifier.cs
9470
using System; using System.Globalization; using Newtonsoft.Json; using System.IO; using System.Text; using System.Net; using Microsoft.Xrm.Sdk; using System.Xml; namespace Node_Notifier { public class Notifier : IPlugin { private string webAddress; private string fetchXml; /// <summar...
apache-2.0
naveedaz/azure-powershell
src/ResourceManager/SiteRecovery/Commands.SiteRecovery/ReplicationProtectedItem/RemoveAzureRmSiteRecoveryReplicationProtectedItem.cs
5679
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
ServiceComb/java-chassis
integration-tests/it-edge/src/main/java/org/apache/servicecomb/it/authentication/Auth.java
976
/* * 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
AlexeyKashintsev/PlatypusJS
web-client/src/platypus/src/com/bearsoft/gwt/ui/menu/MenuItemCheckBox.java
2721
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.bearsoft.gwt.ui.menu; import com.google.gwt.core.client.Scheduler; import com.google.gwt.dom.client.Element; impo...
apache-2.0
sachindeorah/geofeatures
GeoFeatures/boost/none_t.hpp
818
// Copyright (C) 2003, Fernando Luis Cacciola Carballal. // Copyright (C) 2014 Andrzej Krzemienski. // // Use, modification, and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.or...
apache-2.0
EvilMcJerkface/atlasdb
timelock-impl/src/main/java/com/palantir/atlasdb/timelock/util/LoggableIllegalStateException.java
1361
/* * (c) Copyright 2018 Palantir Technologies 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 ...
apache-2.0
B2M-Software/project-drahtlos-smg20
analyzer.impl/src/main/java/org/fortiss/smg/analyzer/impl/databaseConnection/DatabaseRequestor.java
11367
package org.fortiss.smg.analyzer.impl.databaseConnection; import java.sql.SQLException; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.concurrent.TimeoutException; import org.fortiss.smg.analyzer.api.DataSet; impo...
apache-2.0
hyperhq/hypercli
vendor/src/github.com/hyperhq/libcompose/project/project.go
20489
package project import ( "errors" "fmt" "strings" "golang.org/x/net/context" log "github.com/Sirupsen/logrus" "github.com/hyperhq/hyper-api/types" "github.com/hyperhq/hyper-api/types/filters" "github.com/hyperhq/libcompose/config" "github.com/hyperhq/libcompose/labels" "github.com/hyperhq/libcompose/logger...
apache-2.0
christianherta/BBC-DaaS
bbcdaas_themehandlerweb/bbcdaas_themehandlerweb/src/main/java/de/bbcdaas/themehandlerweb/dao/ThemeHandlerWebDao.java
644
package de.bbcdaas.themehandlerweb.dao; import de.bbcdaas.themehandlerweb.domains.UserEntity; import java.util.List; /** * * @author Robert Illers */ public interface ThemeHandlerWebDao { /** * * @return */ public List<UserEntity> getAllUser(); /** * * @param UserId * @ret...
apache-2.0
bgchun/incubator-reef
lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/client/api/JobSubmissionHandler.java
1183
/** * 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
AttwellBrian/RxJava
src/main/java/io/reactivex/internal/subscriptions/EmptySubscription.java
2867
/** * Copyright (c) 2016-present, RxJava Contributors. * * 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 l...
apache-2.0
wu-sheng/sky-walking
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/plugin/interceptor/enhance/OverrideCallable.java
950
/* * 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
kurtharriger/gmaven
gmaven-runtime/gmaven-runtime-support/src/main/java/org/codehaus/gmaven/runtime/support/stubgen/model/TypeParameterDef.java
904
/* * Copyright (C) 2006-2007 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...
apache-2.0
igarashitm/camel
components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/strategy/FtpChangedExclusiveReadLockStrategy.java
6348
/** * 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
Juniper/ceilometer
ceilometer/tests/objectstore/test_swift_middleware.py
15011
#!/usr/bin/env python # # Copyright 2012 eNovance <licensing@enovance.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 requi...
apache-2.0
jwills/javaoctave
src/main/java/dk/ange/octave/exec/WriteFunctor.java
1065
/* * Copyright 2008 Ange Optimization ApS * * 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
RanjithKumar5550/RanMifos
fineract-provider/src/main/java/org/apache/fineract/accounting/rule/service/AccountingRuleWritePlatformServiceJpaRepositoryImpl.java
19826
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
apache-2.0
OrienteerDW/Orienteer
orienteer-core/src/main/java/org/orienteer/core/util/OSchemaHelper.java
8386
package org.orienteer.core.util; import java.util.Objects; import java.util.function.Consumer; import org.orienteer.core.OClassDomain; import org.orienteer.core.CustomAttribute; import ru.ydn.wicket.wicketorientdb.OrientDbWebSession; import com.orientechnologies.orient.core.db.document.ODatabaseDocument; import com...
apache-2.0
consulo/consulo-spring
webflow/src/com/intellij/spring/webflow/config/model/xml/converters/FormatterRegistryConverter.java
588
package com.intellij.spring.webflow.config.model.xml.converters; import com.intellij.spring.webflow.config.model.xml.version2_0.FlowBuilderServices; import com.intellij.spring.webflow.model.converters.WebflowBeanResolveConverterForDefiniteClasses; import com.intellij.util.xml.ConvertContext; import org.jetbrains.annot...
apache-2.0
lifeisfoo/list-a-porter
src/com/android/angelo/listaporter/ShowItemFragment.java
1716
package com.android.angelo.listaporter; import com.android.angelo.usedobject.ListItem; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; public class ShowItemFragment extends Fragment { ...
apache-2.0
gunnarmorling/beanvalidation-api
src/main/java/javax/validation/executable/package-info.java
439
/* * Bean Validation API * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ /** * Package related to the control and execution of executable validation. * Use {@link javax.validation.executable.ValidateOnExecution} to cont...
apache-2.0
dbrimley/hazelcast
hazelcast/src/test/java/com/hazelcast/cache/jsr/EntryProcessorExceptionTest.java
1257
/* * 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
nchen63/tslint
src/rules/noVarKeywordRule.ts
3029
/** * @license * Copyright 2015 Palantir Technologies, 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...
apache-2.0
developerDemetri/zoophy-ui
test/job.js
19100
'use strict'; let express = require('express'); let app = require('../app'); let request = require('supertest'); let assert = require('chai').assert; let helperData = require('./helper_data'); const JOB_ID_RE = /^\w{8}?-\w{4}?-\w{4}?-\w{4}?-\w{12}?$/; function clone(a) { // thanks http://stackoverflow.com/a/1282675...
apache-2.0
Hope6537/hope-tactical-equipment
hope-playground/hope-basic-utils/src/main/java/org/hope6537/netty/nio/TimeServer.java
1266
/* * Copyright 2013-2018 wuyang. * * 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
chengduoZH/Paddle
paddle/fluid/inference/tensorrt/convert/test_shuffle_channel_op.cc
1511
/* Copyright (c) 2018 PaddlePaddle 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 agr...
apache-2.0
intel-analytics/BigDL
scala/dllib/src/test/scala/com/intel/analytics/bigdl/dllib/keras/layers/AddConstantSpec.scala
2175
/* * Copyright 2016 The BigDL 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 agr...
apache-2.0
lyncodev/jtwig-reflection
src/main/java/org/jtwig/reflection/util/Optionals.java
416
package org.jtwig.reflection.util; import com.google.common.base.Optional; import com.google.common.base.Supplier; public final class Optionals { private Optionals () {} public static <T> Optional<T> orOptionalSupplier (Optional<T> input, Supplier<Optional<T>> supplier) { if (!input.isPresent()) { ...
apache-2.0
andreum/liftweb
lift-xmpp/src/main/scala/net/liftweb/xmpp/XMPPDispatcher.scala
9207
package net.liftweb.xmpp import _root_.java.util.Collection import _root_.java.io.IOException import _root_.org.jivesoftware.smack.Chat import _root_.org.jivesoftware.smack.ChatManager import _root_.org.jivesoftware.smack.ConnectionConfiguration import _root_.org.jivesoftware.smack.MessageListener import _root_.org.ji...
apache-2.0
BiryukovVA/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/DataStructure.java
14950
/* * 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
axbaretto/beam
bistro/processes/tests/test_async_read_pipe.cpp
7343
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include <unistd.h> #include <folly/Exception.h> #include <folly/File.h> #include <folly/io/async/EventB...
apache-2.0
5GExchange/escape
OpenYuma/netconf/test/test-suites/common/startup-delete-config-tests.cpp
4757
// ---------------------------------------------------------------------------| // Boost Test Framework // ---------------------------------------------------------------------------| #include <boost/test/unit_test.hpp> // ---------------------------------------------------------------------------| // Standard include...
apache-2.0
ascherbakoff/ignite
modules/ducktests/tests/ignitetest/tests/pme_free_switch_test.py
5436
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
apache-2.0
romankagan/DDBWorkbench
plugins/IntelliLang/intellilang-jps-plugin/src/org/jetbrains/jps/intellilang/instrumentation/PatternInstrumenter.java
11232
/* * Copyright 2000-2012 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
lsmaira/gradle
subprojects/dependency-management/src/main/java/org/gradle/internal/locking/DefaultDependencyLockingState.java
1717
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
roundrop/ermaster-fast
src/org/insightech/er/editor/controller/editpart/element/node/NodeElementEditPart.java
17344
package org.insightech.er.editor.controller.editpart.element.node; import java.beans.PropertyChangeEvent; import java.util.List; import org.eclipse.draw2d.ChopboxAnchor; import org.eclipse.draw2d.ColorConstants; import org.eclipse.draw2d.ConnectionAnchor; import org.eclipse.draw2d.IFigure; import org.eclipse...
apache-2.0
JiangtianLi/kubernetes
cmd/kube-controller-manager/app/core.go
16944
/* 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
medicayun/medicayundicom
dcm4jboss-all/tags/DCM4JBOSS_0_9_3/dcm4jboss-web/src/java/org/dcm4chex/archive/web/maverick/SeriesEditCtrl.java
1783
/****************************************** * * * dcm4che: A OpenSource DICOM Toolkit * * * * Distributable under LGPL license. * * See terms of license at gnu.org. * * * ***********...
apache-2.0