code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Apache License Version 2.0. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRAN...
albdum/uprove
src/main/java/com/microsoft/uprove/UProveToken.java
Java
apache-2.0
6,515
<?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...
googleapis/google-api-php-client-services
src/ServiceNetworking/LabelDescriptor.php
PHP
apache-2.0
1,643
/* * 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...
shanti/olio
webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/cache/Cache.java
Java
apache-2.0
2,298
/* * 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 ...
shanti/olio
webapp/rails/trunk/vendor/plugins/rspec/story_server/prototype/javascripts/unittest.js
JavaScript
apache-2.0
21,009
// Copyright 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 by applicable ...
apache/tapestry3
tapestry-examples/VlibBeans/src/org/apache/tapestry/vlib/ejb/IBookQuery.java
Java
apache-2.0
2,080
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apixandru/intellij-community
platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/compiler/PatternCompiler.java
Java
apache-2.0
20,077
package examples.model; import java.util.ArrayList; import java.util.Collection; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToMany; @Entity public class Department { @Id private int id; private String name; @OneToMany(mappedBy="department") private C...
velmuruganvelayutham/jpa
examples/Chapter7/02-namedQueryExample/src/model/examples/model/Department.java
Java
apache-2.0
759
export const FILLPATTERN = { none: '', crossHatched: 'Crosshatched', hatched: 'Hatched', solid: 'Solid' }; export const STROKEPATTERN = { none: '', dashed: 'Dashed', dotted: 'Dotted', solid: 'Solid' }; export const ALTITUDEMODE = { NONE: '', ABSOLUTE: 'Absolute', RELATIVE_TO_GROUND: 'Relative to...
missioncommand/emp3-web
src/validation/js/constants/PropertyConstants.js
JavaScript
apache-2.0
997
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.IO; namespace Microsoft.WindowsAzure.MobileServices { /// <summar...
MatkovIvan/azure-mobile-apps-net-client
src/Microsoft.Azure.Mobile.Client/Platforms/ios/CurrentPlatform.cs
C#
apache-2.0
3,139
<?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...
googleapis/google-api-php-client-services
src/ChromePolicy/GoogleChromePolicyV1PolicySchemaFieldDescription.php
PHP
apache-2.0
3,468
<?php namespace EventEspresso\core\services\commands\registration; use EventEspresso\core\services\commands\Command; if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { exit( 'No direct script access allowed' ); } /** * Class SingleRegistrationCommand * DTO for passing data a single EE_Registration object to a Comma...
yoanngern/iahm_2016
wp-content/plugins/event-espresso-core-reg/core/services/commands/registration/SingleRegistrationCommand.php
PHP
apache-2.0
998
<?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...
tsugiproject/tsugi
vendor/google/apiclient-services/src/Google/Service/FactCheckTools.php
PHP
apache-2.0
5,227
# ****************************************************************************** # Copyright 2014-2018 Intel 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...
NervanaSystems/neon
neon/backends/kernels/cuda/__init__.py
Python
apache-2.0
748
/** * Copyright (c) 2010 RedEngine Ltd, http://www.redengine.co.nz. 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 h...
walterDurin/stickycode
net.stickycode.deploy.samples/sticky-deploy-sample-helloworld/src/main/java/net/stickycode/deploy/sample/helloworld/HelloWorld.java
Java
apache-2.0
1,097
/* * 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/incubator-shardingsphere
shardingsphere-kernel/shardingsphere-parser/shardingsphere-parser-core/src/main/java/org/apache/shardingsphere/parser/rule/SQLParserRule.java
Java
apache-2.0
1,720
/* * 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/incubator-asterixdb
hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/sort/MicroSortRuntimeFactory.java
Java
apache-2.0
8,262
package gov.va.medora.mdws.emrsvc; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema ...
VHAINNOVATIONS/TheDailyPlan
LegacyApp/tdpWeb/src/main/java/gov/va/medora/mdws/emrsvc/GetDischargeSummaries.java
Java
apache-2.0
2,528
/* * 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/pig
test/org/apache/pig/test/Util.java
Java
apache-2.0
58,248
/*! * LESS - Leaner CSS v1.7.0 * http://lesscss.org * * Copyright (c) 2009-2014, Alexis Sellier <self@cloudhead.net> * Licensed under the Apache v2 License. * */ /** * @license Apache v2 */ (function (window, undefined) {// // Stub out `require` in the browser // function require(arg) { return...
lnc2014/sxg
ace-v1.3/build/lib/less.js
JavaScript
apache-2.0
280,205
package org.devspark.aws.tools; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.maven.plugin.AbstractMojo...
devspark-com/aws-lambda-deploy
src/main/java/org/devspark/aws/tools/AWSAPIGatewayDeployer.java
Java
apache-2.0
5,913
<?php //-------------------------------- //db_mysqli, db_pdo $var->db_driver = 'db_mysqli'; //$var->db_driver = 'db_pdo'; //for pdo: mysql, sqlite, ... //$var->db_engine = 'mysql'; $var->db_host = 'localhost'; $var->db_database = 'ada'; $var->db_user = 'ad'; $var->db_pass = 'dddd'; //$var->db_database = 'kargosha'; ...
ariax/phpcms
core/config.php
PHP
apache-2.0
1,959
/* * Copyright 2000-2015 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...
jwren/intellij-community
platform/lang-api/src/com/intellij/ide/actions/ElementCreator.java
Java
apache-2.0
4,462
// Copyright 2018-2020 Authors of Cilium // // 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...
tgraf/cilium
pkg/datapath/node_addressing.go
GO
apache-2.0
1,642
package com.zswxsqxt.wf.dao; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Repository; import cn.org.rapid_framework.page.Page; import com.opendata.common.base.BaseHibernateDao; import com.zswxsqxt.wf.model.WfActivity; import com...
TuWei1992/zswxsqxt
src/main/zswxsqxt/com/zswxsqxt/wf/dao/WfActivityDao.java
Java
apache-2.0
3,115
/** * Copyright 2015-2016 Red Hat, Inc, and individual 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 require...
bobmcwhirter/wildfly-swarm
plugin/src/main/java/org/wildfly/swarm/plugin/maven/StartMojo.java
Java
apache-2.0
13,234
/* * Copyright (C) 2007-2015 Peter Monks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
aureg/alfresco-bulk-import
amp/src/main/java/org/alfresco/extension/bulkimport/source/fs/DirectoryAnalyser.java
Java
apache-2.0
13,939
# Copyright 2014 The Oppia 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 ...
openhatch/oh-missions-oppia-beta
core/storage/base_model/gae_models.py
Python
apache-2.0
15,533
// Copyright 2022 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 ...
googleapis/google-cloud-dotnet
apis/Google.Cloud.Tpu.V1/Google.Cloud.Tpu.V1.GeneratedSnippets/TpuClient.CreateNodeRequestObjectAsyncSnippet.g.cs
C#
apache-2.0
2,721
/* * Copyright 2015-2018 Jeeva Kandasamy (jkandasa@gmail.com) * 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://...
pgh70/mycontroller
modules/core/src/main/java/org/mycontroller/standalone/api/jaxrs/mixins/deserializers/FrequencyTypeDeserializer.java
Java
apache-2.0
1,580
/* * 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 org.mskcc.shenkers.data.interval; import htsjdk.tribble.Feature; import htsjdk.tribble.annotation.Strand; import htsjdk.tribb...
shenkers/CrossBrowse
src/main/java/org/mskcc/shenkers/data/interval/IntervalFeature.java
Java
apache-2.0
585
/*! @license * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ goog.provide('shaka.ui.FastForwardButton'); goog.require('shaka.ui.Controls'); goog.require('shaka.ui.Element'); goog.require('shaka.ui.Enums'); goog.require('shaka.ui.Locales'); goog.require('shaka.ui.Localization')...
tvoli/shaka-player
ui/fast_forward_button.js
JavaScript
apache-2.0
2,812
/* * 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.eas.widgets.containers; import com.eas.core.XElement; import com.google.gwt.dom.client.Style; import com.google.g...
jskonst/PlatypusJS
web-client/src/platypus/src/com/eas/widgets/containers/FlowGapPanel.java
Java
apache-2.0
1,696
package org.cohorte.herald.core.utils; import java.util.Iterator; import org.cohorte.herald.Message; import org.cohorte.herald.MessageReceived; import org.jabsorb.ng.JSONSerializer; import org.jabsorb.ng.serializer.MarshallException; import org.jabsorb.ng.serializer.UnmarshallException; import org.json.JSONArray; imp...
isandlaTech/cohorte-herald
java/org.cohorte.herald.core/src/org/cohorte/herald/core/utils/MessageUtils.java
Java
apache-2.0
4,164
package org.apache.cocoon.transformation; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Map; import java.util.zip.ZipInputStream; import java.util.zip.ZipEntry; import...
nverwer/cocooncomponents
src/org/apache/cocoon/transformation/DownloadTransformer.java
Java
apache-2.0
11,508
/* * ==================================================================== * 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 ...
UlrichColby/httpcomponents-client
httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestStatefulConnManagement.java
Java
apache-2.0
9,740
package droidkit.app; import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; import java.util.Locale; /** * @author Daniel Serdyukov */ public final class MapsIntent { private static final String MAPS_URL = "https://maps.google.com/maps"; private MapsIntent() { ...
DanielSerdyukov/droidkit-4.x
library/src/main/java/droidkit/app/MapsIntent.java
Java
apache-2.0
1,295
'use strict'; var nconf = require('nconf'); var path = require('path'); /** * Handle the configuration management. * * @constructor */ function Config() { nconf.argv().env("_"); var environment = nconf.get("NODE:ENV") || "development"; nconf.file(environment, {file: path.resolve(__dirname, '../config/' + en...
mxr576/webpage-content-extractor-api
lib/config.js
JavaScript
apache-2.0
676
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * * Copyright: * Christian Schulte, 2004 * * Last modified: * $Date: 2010-03-04 03:40:32 +1100 (Thu, 04 Mar 2010) $ by $Author: schulte $ * $Revision: 10365 $ * * ...
h4ck3rm1k3/dep-selector-libgecode
ext/libgecode3/vendor/gecode-3.7.3/gecode/int/element.cpp
C++
apache-2.0
6,133
/* * 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 ...
jdeppe-pivotal/geode
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/SystemMemberRegionJmxImpl.java
Java
apache-2.0
4,385
let hookTypes; const callStyles = { sync: 'applyPlugins', syncWaterfall: 'applyPluginsWaterfall', syncBail: 'applyPluginsBailResult', sync_map: 'applyPlugins', asyncWaterfall: 'applyPluginsAsyncWaterfall', asyncParallel: 'applyPluginsParallel', asyncSerial: 'applyPluginsAsync', }; const camelToDash = ca...
BigBoss424/portfolio
v6/node_modules/hard-source-webpack-plugin/lib/util/plugin-compat.js
JavaScript
apache-2.0
7,732
/* * Copyright (c) 2013 Houbrechts IT * * 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...
houbie/lesscss
src/main/java/com/github/houbie/lesscss/engine/ScriptEngineLessCompilationEngine.java
Java
apache-2.0
4,246
package issues.issue130; public class Impl_0 { public int a = 0; protected void printMe(String s) { System.out.println(s); } }
intrigus/jtransc
jtransc-main/test/issues/issue130/Impl_0.java
Java
apache-2.0
134
/** * Wraps the * * @param text * {string} haystack to search through * @param search * {string} needle to search for * @param [caseSensitive] * {boolean} optional boolean to use case-sensitive searching */ angular.module('ui.highlight', []).filter('highlight', function(highlight) {...
WestCoastInformatics/OTF-Mapping-Service
webapp/src/main/webapp/js/highlight.js
JavaScript
apache-2.0
771
/* * 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/solr
solr/core/src/java/org/apache/solr/handler/export/StringValue.java
Java
apache-2.0
4,760
package at.jku.sea.cloud.rest.pojo.stream.provider; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeInfo.Id; import com.fasterxml.jackson.annotation.JsonTypeName; import at.jku.sea.cloud.rest.pojo.PojoCollectionArtifact; @JsonTypeInfo(use = Id.NAME, property = "_...
OnurKirkizoglu/master_thesis
at.jku.sea.cloud.rest/src/main/java/at/jku/sea/cloud/rest/pojo/stream/provider/PojoCollectionArtifactProvider.java
Java
apache-2.0
932
package com.sebastian_daschner.scalable_coffee_shop.beans.boundary; import javax.inject.Inject; import javax.json.Json; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; import javax.ws.rs.BadRequestException; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; @Path("beans") pu...
sdaschner/scalable-coffee-shop
beans/src/main/java/com/sebastian_daschner/scalable_coffee_shop/beans/boundary/BeansResource.java
Java
apache-2.0
1,063
package com.inmobi.messaging; /* * #%L * messaging-client-core * %% * Copyright (C) 2012 - 2014 InMobi * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
sreedishps/pintail
messaging-client-core/src/main/java/com/inmobi/messaging/Message.java
Java
apache-2.0
2,267
module.exports = { "env": { "es6": true, "node": true }, "globals": { "expect": true, "it": true, "describe": true, }, "extends": "eslint:recommended", "parser": "babel-eslint", "parserOptions": { "ecmaFeatures": { "experimentalObjectRest...
airingursb/two-life
src/components/react-native-calendars/.eslintrc.js
JavaScript
apache-2.0
859
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package cn.com.smartdevices.bracelet.view; import android.animation.Animator; // Referenced classes of package cn.com.smartdevices.bracelet.vie...
vishnudevk/MiBandDecompiled
Original Files/source/src/cn/com/smartdevices/bracelet/view/s.java
Java
apache-2.0
1,132
(function(window) { var DEFAULT_ERROR_ID = 'error-default'; /** * Very simple base class for views. * Provides functionality for active/inactive. * * The first time the view is activated * the onactive function/event will fire. * * The .seen property is added to each object * with view in i...
wilebeast/FireFox-OS
B2G/gaia/apps/calendar/js/view.js
JavaScript
apache-2.0
6,314
/* * 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...
WeRockStar/iosched
third_party/material-components-android/lib/src/android/support/design/widget/DrawableUtils.java
Java
apache-2.0
2,166
package com.artemis; import static org.junit.Assert.assertEquals; import java.util.NoSuchElementException; import com.artemis.systems.EntityProcessingSystem; import com.artemis.utils.IntBag; import org.junit.Test; import com.artemis.utils.ImmutableBag; /** * Created by obartley on 6/9/14. */ public class EntityS...
antag99/artemis-odb
artemis/src/test/java/com/artemis/EntitySystemTest.java
Java
apache-2.0
2,187
package com.sqisland.gce2retrofit; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.stream.JsonReader; import com.squareup.javawriter.JavaWriter; import org.apache.commons.cli.BasicParser; import org.apache.com...
MaTriXy/gce2retrofit
gce2retrofit/src/main/java/com/sqisland/gce2retrofit/Generator.java
Java
apache-2.0
13,413
#!/usr/bin/env ruby #-- # set.rb - defines the Set class #++ # Copyright (c) 2002 Akinori MUSHA <knu@iDaemons.org> # # Documentation by Akinori MUSHA and Gavin Sinclair. # # All rights reserved. You can redistribute and/or modify it under the same # terms as Ruby. # # $Id: set.rb 8696 2009-01-10 21:17:58Z headius $...
google-code/android-scripting
jruby/src/lib/ruby/1.8/set.rb
Ruby
apache-2.0
27,421
/* * * 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"); y...
machristie/airavata
modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/model/ApplicationInterface.java
Java
apache-2.0
3,284
from hazelcast.serialization.bits import * from hazelcast.protocol.client_message import ClientMessage from hazelcast.protocol.custom_codec import * from hazelcast.util import ImmutableLazyDataList from hazelcast.protocol.codec.map_message_type import * REQUEST_TYPE = MAP_REMOVEENTRYLISTENER RESPONSE_TYPE = 101 RETRYA...
cangencer/hazelcast-python-client
hazelcast/protocol/codec/map_remove_entry_listener_codec.py
Python
apache-2.0
1,199
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for checks.""" from grr.lib import flags from grr.lib import test_lib from grr.lib.checks import hints from grr.lib.rdfvalues import client as rdf_client from grr.lib.rdfvalues import config_file as rdf_config_file from grr.lib.rdfvalues import protodict as rdf_pro...
destijl/grr
grr/lib/checks/hints_test.py
Python
apache-2.0
4,932
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * Extension ID of Files.app. * @type {string} * @const */ var FILE_MANAGER_EXTENSIONS_ID = 'hhaomjibdihmijegdhdafkllkbggdgoj'; /** * Calls a...
plxaye/chromium
src/chrome/test/data/extensions/api_test/file_manager_browsertest/background.js
JavaScript
apache-2.0
1,527
/* Copyright 2007-2009 WebDriver committers Copyright 2007-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 appli...
zerodiv/CTM-Windows-Agent
Continuum_Windows_Testing_Agent/Vendor/jobbie/src/cpp/InternetExplorerDriver/webdriver.cpp
C++
apache-2.0
47,123
/** * Copyright 2014 Nortal AS * * 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...
jimmytheneutrino/petit
modules/orm/src/main/java/com/nortal/petit/orm/statement/ExecutableStatement.java
Java
apache-2.0
1,555
/* * Copyright 2008 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 ...
antz29/closure-compiler
src/com/google/javascript/jscomp/UnreachableCodeElimination.java
Java
apache-2.0
8,731
package theinternet.pages; import com.frameworkium.core.ui.annotations.Visible; import com.frameworkium.core.ui.pages.BasePage; import com.frameworkium.core.ui.pages.PageFactory; import io.qameta.allure.Step; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import ru.yandex.qatools.htm...
Frameworkium/frameworkium
src/test/java/theinternet/pages/FileUploadPage.java
Java
apache-2.0
1,003
/* * Copyright (C) 2014 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...
Ant-Droid/android_frameworks_base_OLD
core/jni/android_view_HardwareLayer.cpp
C++
apache-2.0
4,154
import { Type } from 'angular2/src/facade/lang'; import { CanActivate } from './lifecycle_annotations_impl'; import { reflector } from 'angular2/src/core/reflection/reflection'; export function hasLifecycleHook(e, type) { if (!(type instanceof Type)) return false; return e.name in type.prototype; } expo...
aayushkapoor206/whatshot
node_modules/angular2/es6/prod/src/router/route_lifecycle_reflector.js
JavaScript
apache-2.0
677
/** * 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...
NiteshKant/RxJava
src/main/java/io/reactivex/internal/operators/flowable/FlowableFlatMapCompletable.java
Java
apache-2.0
7,266
/* * 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...
romartin/drools
kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/compiler/DecisionCompiler.java
Java
apache-2.0
6,980
var msg = require('./locale'); var api = require('./apiJavascript.js'); var paramLists = require('./paramLists.js'); module.exports.blocks = [ {func: 'setDroid', parent: api, category: '', params: ['"R2-D2"'], dropdown: { 0: ['"random"', '"R2-D2"', '"C-3PO"'] } }, {func: 'setDroidSpeed', parent: api, category: '',...
pickettd/code-dot-org
apps/src/studio/dropletConfig.js
JavaScript
apache-2.0
9,539
<?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...
googleapis/google-api-php-client-services
src/Classroom/CloudPubsubTopic.php
PHP
apache-2.0
1,120
/** * libjass * * https://github.com/Arnavion/libjass * * Copyright 2013 Arnav Singh * * 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...
joshuabrown-ellation/libjass
tests/functional/outlines/outlines.js
JavaScript
apache-2.0
1,551
<?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...
googleapis/google-api-php-client-services
src/ToolResults/NonSdkApiUsageViolation.php
PHP
apache-2.0
1,498
/* * Copyright (c) 2001-2007, TIBCO Software Inc. * Use, modification, and distribution subject to terms of license. */ jsx3.require("jsx3.chart.Axis");jsx3.Class.defineClass("jsx3.chart.CategoryAxis",jsx3.chart.Axis,null,function(c,p){var ub={d:"h6",a:"aligned",c:"av",f:"gn",b:"between",e:"tickAlignment"};c.TICKS_A...
burris/dwr
ui/gi/demo/web/gi/JSX/addins/charting/classes/jsx3/chart/CategoryAxis.js
JavaScript
apache-2.0
2,582
/* * Copyright 2012-2013 eBay Software Foundation and ios-driver committers * * 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 req...
darraghgrace/ios-driver
server/src/main/java/org/uiautomation/ios/DeviceStore.java
Java
apache-2.0
4,836
/* * Kendo UI Web v2014.1.318 (http://kendoui.com) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-web * If you do not own a commercial license, this file shall be governed by the * GNU General Public ...
facundolucas/eCuentas
src/main/webapp/resources/kendoui/src/js/cultures/kendo.culture.nn.js
JavaScript
apache-2.0
2,710
using System; using System.Text; using System.Threading.Tasks; using Foundatio.Extensions; namespace Foundatio.Serializer { public interface ISerializer { Task<object> DeserializeAsync(byte[] data, Type objectType); Task<byte[]> SerializeAsync(object value); } public static class Serializ...
wgraham17/Foundatio
src/Foundatio/Serializer/ISerializer.cs
C#
apache-2.0
1,253
package ec2 import ( "github.com/crowdmob/goamz/aws" "time" ) func Sign(auth aws.Auth, method, path string, params map[string]string, host string) { sign(auth, method, path, params, host) } func fixedTime() time.Time { return time.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC) } func FakeTime(fakeIt bool) { if fakeIt ...
coreos/aws-auth-proxy
vendor/github.com/crowdmob/goamz/ec2/export_test.go
GO
apache-2.0
380
// Copyright 2017, Dell EMC, Inc. /* jshint node:true */ 'use strict'; describe(require('path').basename(__filename), function () { var base = require('./base-task-data-spec'); base.before(function (context) { context.taskdefinition = helper.require( '/lib/task-data/base-tasks/dell-wsman-...
AlaricChan/on-tasks
spec/lib/task-data/base-tasks/dell-wsman-reset-components-spec.js
JavaScript
apache-2.0
439
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RestSharp.Deserializers; namespace Twilio { public class IpAddress : TwilioBase { public string Sid { get; set; } public string FriendlyName { get; set; } [DeserializeAs(Name="IpAddress...
IRlyDontKnow/twilio-csharp
src/Twilio.Api/Model/IpAddress.cs
C#
apache-2.0
378
package provision import ( "bytes" "fmt" "io/ioutil" "net/url" "path" "path/filepath" "strconv" "strings" log "github.com/Sirupsen/logrus" "github.com/docker/machine/libmachine/auth" "github.com/docker/machine/libmachine/provision/pkgaction" "github.com/docker/machine/libmachine/swarm" "github.com/docker...
zehicle/machine
libmachine/provision/utils.go
GO
apache-2.0
6,377
/* Copyright (c) 2020 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...
luotao1/Paddle
paddle/fluid/operators/inverse_op.cc
C++
apache-2.0
5,052
<?php /** * @package php-font-lib * @link https://github.com/PhenX/php-font-lib * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ namespace FontLib\WOFF; use FontLib\Table\DirectoryEntry; /** * WOFF font ...
marc0l92/AmministratoreDiCondominio_webapp
application/libraries/dompdf/lib/php-font-lib/classes/WOFF/File.php
PHP
apache-2.0
2,056
using Newtonsoft.Json; namespace Nest { [JsonObject] public interface ILoggingAction : IAction { [JsonProperty("text")] string Text { get; set; } [JsonProperty("category")] string Category { get; set; } [JsonProperty("level")] LogLevel? Level { get; set; } } public class LoggingAction : ActionBase...
CSGOpenSource/elasticsearch-net
src/Nest/XPack/Watcher/Action/Logging/LoggingAction.cs
C#
apache-2.0
1,240
/* (c) British Telecommunications plc, 2009, All Rights Reserved */ package com.bt.pi.sss; import com.bt.pi.app.common.entities.User; public interface UserManager { boolean userExists(String accessKey); User getUserByAccessKey(String accessKey); }
barnyard/pi-sss
src/main/java/com/bt/pi/sss/UserManager.java
Java
apache-2.0
259
#!/usr/bin/env python """ Copyright (c) 2006-2016 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ from lib.core.enums import DBMS from lib.core.settings import MAXDB_SYSTEM_DBS from lib.core.unescaper import unescaper from plugins.dbms.maxdb.enumeration import Enumeration ...
glaudsonml/kurgan-ai
tools/sqlmap/plugins/dbms/maxdb/__init__.py
Python
apache-2.0
1,033
/* * Copyright 2015 Alexey Andreev. * * 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...
jtulach/teavm
jso/impl/src/main/java/org/teavm/jso/impl/NameEmitter.java
Java
apache-2.0
781
/* * 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 ...
KulykRoman/drill
contrib/native/client/src/clientlib/errmsgs.cpp
C++
apache-2.0
6,003
// 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 law...
raja15792/googleads-java-lib
examples/adwords_axis/src/main/java/adwords/axis/v201502/advancedoperations/UseSharedBiddingStrategy.java
Java
apache-2.0
9,544
<?php /** * Copyright 2012-2015 ContactLab, Italy * * 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...
contactlab/soap-api-php-client
src/createCampaignResponse.php
PHP
apache-2.0
742
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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/LICEN...
skycow/Open-Storefront
server/openstorefront/openstorefront-web/src/main/java/edu/usu/sdl/openstorefront/web/init/ApplicationInit.java
Java
apache-2.0
1,105
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
reynoldsm88/drools
kie-ci/src/test/java/org/kie/scanner/KieModuleIncrementalCompilationTest.java
Java
apache-2.0
10,918
using System; using BEPUphysics.BroadPhaseEntries; using BEPUphysics.BroadPhaseSystems; using BEPUphysics.BroadPhaseEntries.MobileCollidables; using BEPUphysics.CollisionTests; using BEPUphysics.CollisionTests.CollisionAlgorithms.GJK; using BEPUphysics.CollisionTests.Manifolds; using BEPUphysics.Constraints.Col...
Anomalous-Software/BEPUPhysics
BEPUphysics/NarrowPhaseSystems/Pairs/GeneralConvexPairHandler.cs
C#
apache-2.0
2,405
<?php final class PhabricatorDifferentialApplication extends PhabricatorApplication { public function getBaseURI() { return '/differential/'; } public function getName() { return pht('Differential'); } public function getMenuName() { return pht('Code Review'); } public function getShortDe...
r4nt/phabricator
src/applications/differential/application/PhabricatorDifferentialApplication.php
PHP
apache-2.0
4,319
/* * Copyright 2019 NAVER 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
suraj-raturi/pinpoint
profiler/src/main/java/com/navercorp/pinpoint/profiler/sender/grpc/ReconnectExecutor.java
Java
apache-2.0
3,111
/* * 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/solr
solr/core/src/java/org/apache/solr/internal/csv/CSVUtils.java
Java
apache-2.0
4,128
/* * Autosleep * Copyright (C) 2016 Orange * Authors: Benjamin Einaudi benjamin.einaudi@orange.com * Arnaud Ruffin arnaud.ruffin@orange.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 co...
pradyutsarma/autosleep
spring-apps/autowakeup-proxy/src/main/java/org/cloudfoundry/autosleep/ui/proxy/HttpClientConfiguration.java
Java
apache-2.0
3,689
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Web.Mvc { public abstract class MvcFilter : IMvcFilter { protected MvcFilter() { } protected MvcFilter(bool allowMultiple, int ...
Terminator-Aaron/Katana
aspnetwebsrc/System.Web.Mvc/MvcFilter.cs
C#
apache-2.0
532
/* * JBoss, Home of Professional Open Source * Copyright 2010, 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...
antoinesd/weld-core
tests-arquillian/src/test/java/org/jboss/weld/tests/event/observer/transactional/Pomeranian.java
Java
apache-2.0
2,906
// 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 ...
OBIGOGIT/etch
plugins/visualstudio-addin/postbuild/AssemblyInfo.cs
C#
apache-2.0
3,504
/* * Kendo UI Web v2014.1.318 (http://kendoui.com) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-web * If you do not own a commercial license, this file shall be governed by the * GNU General Public ...
facundolucas/eCuentas
src/main/webapp/resources/kendoui/src/js/cultures/kendo.culture.he.js
JavaScript
apache-2.0
2,934
/** * Copyright (c) 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. * * THIS CODE IS PROVIDED *AS IS* BASIS...
Microsoft/BeanSpy
test/code/JEE/Common/src/com/interopbridges/scx/webservices/Endpoint.java
Java
apache-2.0
2,617
/* * 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 ...
charliemblack/geode
geode-core/src/main/java/org/apache/geode/cache/snapshot/SnapshotOptions.java
Java
apache-2.0
3,388