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 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
ghchinoy/tensorflow
tensorflow/contrib/distribute/python/keras_multi_worker_test_base.py
Python
apache-2.0
4,173
(function () { "use strict"; var fs = require("fs"), fse = require("fs-extra"), path = require("path"), readline = require("readline"); var _domainManager; function init(domainManager) { _domainManager = domainManager; if (!_domainManager.hasDomain("importNode"...
hyundukkim/WATT
libs/brackets-server/embedded-ext/importfile/node/ImportDomain.js
JavaScript
apache-2.0
5,812
/* * 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 ...
yafengguo/Apache-beam
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubGrpcClient.java
Java
apache-2.0
15,532
package com.planet_ink.coffee_mud.MOBS; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_...
Tycheo/coffeemud
com/planet_ink/coffee_mud/MOBS/Squirrel.java
Java
apache-2.0
2,521
/******************************************************************************* * Copyright 2013 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
debovis/webanno
webanno-brat/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/controller/ArcCrossedMultipleSentenceException.java
Java
apache-2.0
1,274
/* * 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...
michaelgallacher/intellij-community
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/JavadocQuarantineStatusCleaner.java
Java
apache-2.0
4,651
/** * 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...
hasinitg/airavata
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_constants.cpp
C++
apache-2.0
1,201
using System; using Magnum.StateMachine; using MassTransit.Saga; using Serilog; namespace MassTransit.Persistence.MongoDb.Tests.Sagas { public class AuctionSaga : SagaStateMachine<AuctionSaga>, ISaga { public static readonly ILogger Logger = Log.Logger.ForContext<AuctionSaga>(); static Auc...
cwooldridge/MassTransit.Persistence.MongoDb
MassTransit.Persistence.MongoDb.Tests/Sagas/AuctionSaga.cs
C#
apache-2.0
2,517
// Copyright 2020 Red Hat, 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...
coreos/ignition
config/v3_4_experimental/types/ignition.go
GO
apache-2.0
1,335
"""Helpers that help with state related things.""" import asyncio from collections import defaultdict import datetime as dt import logging from types import ModuleType, TracebackType from typing import Dict, Iterable, List, Optional, Type, Union from homeassistant.components.sun import STATE_ABOVE_HORIZON, STATE_BELOW...
leppa/home-assistant
homeassistant/helpers/state.py
Python
apache-2.0
3,813
/* Copyright 2014 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, ...
abdasgupta/kubernetes
plugin/pkg/scheduler/algorithm/predicates/predicates.go
GO
apache-2.0
53,588
<?php /** * LICENSE: Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0. * * Unless required by applicable law or agreed to in writing, software ...
chewbaccateam/hackfest
vendor/microsoft/windowsazure/tests/unit/WindowsAzure/ServiceBus/models/SqlRuleActionTest.php
PHP
apache-2.0
2,265
package mil.nga.giat.geowave.cli.geoserver; import java.io.File; import java.util.ArrayList; import java.util.List; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import mil.nga.giat.geowave.core.cli.annotations.GeowaveOperation; import mil.nga.giat.geowave.core.cli.api.Command; import mi...
Becca42/geowave
extensions/cli/geoserver/src/main/java/mil/nga/giat/geowave/cli/geoserver/GeoServerRemoveStyleCommand.java
Java
apache-2.0
2,009
/* * 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...
AndroidX/androidx
appcompat/appcompat/src/main/java/androidx/appcompat/widget/ContentFrameLayout.java
Java
apache-2.0
7,578
/* Copyright (c) 2007 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...
michael-jia-sage/libgoogle
src/gapps/userfeed.cs
C#
apache-2.0
1,602
/** 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 t...
tempbottle/flume-ng-kafka-sink
impl/src/test/java/com.thilinamb.flume.sink/util/ZooKeeperLocal.java
Java
apache-2.0
2,197
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/billing/budgets/v1/budget_model.proto namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Describes a budget am...
googleapis/google-cloud-php-billing-budgets
src/V1/LastPeriodAmount.php
PHP
apache-2.0
1,331
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
gemfire-core/src/main/java/com/gemstone/gemfire/admin/internal/CacheServerImpl.java
Java
apache-2.0
6,469
/* * 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")...
peridotperiod/isis
tck/tck-viewer-restfulobjects/src/test/java/org/apache/isis/viewer/restfulobjects/tck/domainobject/oid/collection/Get_whenDoesntExistOid_then_404.java
Java
apache-2.0
2,570
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
dain/presto
testing/trino-product-tests/src/main/java/io/trino/tests/product/cassandra/TestSelect.java
Java
apache-2.0
19,572
// Copyright John Maddock 2006. // Copyright Paul A. Bristow 2007, 2009 // Use, modification and distribution are 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) #include <boost/math/concepts/real_concept.hpp> #define ...
ryancoleman/autodock-vina
boost_1_54_0/libs/math/test/test_ibeta_inv.hpp
C++
apache-2.0
6,612
# Copyright (C) Mesosphere, Inc. See LICENSE file for details. import copy import logging import os import time import pytest import requests from generic_test_code.common import ( generic_correct_upstream_dest_test, generic_correct_upstream_request_test, generic_upstream_headers_verify_test, generic...
surdy/dcos
packages/adminrouter/extra/src/test-harness/tests/test_master.py
Python
apache-2.0
13,807
# encoding: UTF-8 require 'simplecov' require 'coveralls' SimpleCov.formatter = if ENV['CI'] Coveralls::SimpleCov::Formatter else SimpleCov::Formatter::HTMLFormatter end SimpleCov.start
sbagdadi-gpsw/custom-prometheus-client
spec/spec_helper.rb
Ruby
apache-2.0
203
<?php require_once __DIR__ . "/http_server.php"; /* class swoole_http_server extends swoole_server { public function on($name, $cb) {} // 与 tcp server 的on接受的eventname 不同 } class swoole_http_response { public function cookie() {} public function rawcookie() {} public function status() {} public f...
youzan/zan
php-test/apitest/swoole_http_server/simple_https_server.php
PHP
apache-2.0
704
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rds/model/CreateDBParameterGroupRequest.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> using namespace Aws::RDS::Model; using namespac...
jt70471/aws-sdk-cpp
aws-cpp-sdk-rds/source/model/CreateDBParameterGroupRequest.cpp
C++
apache-2.0
1,483
package node import ( "bytes" "io/ioutil" "testing" "github.com/docker/cli/cli/internal/test" "github.com/docker/docker/api/types/swarm" "github.com/pkg/errors" // Import builders to get the builder function as package function . "github.com/docker/cli/cli/internal/test/builders" "github.com/docker/docker/pk...
kris-nova/klone
vendor/github.com/docker/cli/cli/command/node/promote_test.go
GO
apache-2.0
2,594
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var S18 = (function (_super) { __extends(S18, _super); function S18() { _supe...
hippich/typescript
tests/baselines/reference/recursiveBaseCheck6.js
JavaScript
apache-2.0
400
/* * 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 ...
krivachy/compgs03_mutation_testing
src/main/java/org/apache/commons/collections4/iterators/FilterIterator.java
Java
apache-2.0
6,056
/* * 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...
romankagan/DDBWorkbench
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/settings/AbstractImportFromExternalSystemControl.java
Java
apache-2.0
9,041
/* * 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 ...
yajiedesign/mxnet
src/operator/numpy/np_einsum_op.cc
C++
apache-2.0
14,145
/* * Copyright 2014 The Closure Compiler 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...
mprobst/closure-compiler
src/com/google/javascript/jscomp/TypeTransformation.java
Java
apache-2.0
30,898
from django.utils.translation import ugettext_lazy as _ import horizon from {{ dash_path }} import dashboard class {{ panel_name|title }}(horizon.Panel): name = _("{{ panel_name|title }}") slug = "{{ panel_name|slugify }}" dashboard.register({{ panel_name|title }})
xhorn/xchorizon
horizon/conf/panel_template/panel.py
Python
apache-2.0
280
'use strict'; var TodoServiceFactory = function(database){ return { // Return all todos in the database getTodos: function(){ return database('Todo').select().orderBy('createdAt', 'desc'); }, // Return a single todo by Id getTodo: function(id){ var p = Promise.defer(); database...
raffaeu/Syncho
src/node_modules/kontainer-di/examples/express/services/todo_service.js
JavaScript
apache-2.0
2,050
/* * Copyright @ 2015 Atlassian Pty 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 ag...
gardenia/jitsi-hammer
src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/RemoteCandidatePacketExtension.java
Java
apache-2.0
1,149
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.com * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required ...
boundlessgeo/sdk
src/components/map/zoom-control.js
JavaScript
apache-2.0
2,469
/* Copyright 2015 Coursera 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 writing, softwar...
coursera/shift
shift/src/main/java/org/coursera/android/shift/ShiftActionsFragment.java
Java
apache-2.0
2,029
using MongoDB.Bson; namespace MongoDB.Protocol { /// <summary> /// Deprecated. OP_MSG sends a diagnostic message to the database. /// The database sends back a fixed resonse. /// </summary> /// <remarks> /// struct { /// MsgHeader header; // standard message header /...
mongodb-csharp/mongodb-csharp
source/MongoDB/Protocol/MsgMessage.cs
C#
apache-2.0
1,486
package com.inomma.kandu.server; public enum RequestMethod { POST,GET,PUT; }
kandu-community/android
kandu-android/trunk/src/com/inomma/kandu/server/RequestMethod.java
Java
apache-2.0
80
// Copyright 2014 The Bazel 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 appl...
dslomov/bazel
src/main/java/com/google/devtools/build/lib/rules/apple/AppleToolchain.java
Java
apache-2.0
7,703
package cgeo.geocaching.files; import cgeo.geocaching.R; import cgeo.geocaching.ui.recyclerview.AbstractRecyclerViewAdapter; import cgeo.geocaching.ui.recyclerview.AbstractRecyclerViewHolder; import android.graphics.Typeface; import android.support.annotation.NonNull; import android.view.LayoutInflater; import androi...
kumy/cgeo
main/src/cgeo/geocaching/files/FileSelectionListAdapter.java
Java
apache-2.0
2,548
/* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
pkman/droolsjbpm-tools
drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/flow/ruleflow/view/property/constraint/StateConstraintListDialog.java
Java
apache-2.0
5,496
/* * 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 ...
xsm110/Apache-Beam
runners/google-cloud-dataflow-java/src/test/java/org/apache/beam/runners/dataflow/DataflowMetricsTest.java
Java
apache-2.0
10,530
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-3-21.js
JavaScript
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 may ...
christophd/camel
dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AtomixSetComponentBuilderFactory.java
Java
apache-2.0
16,066
define(function(require, exports, module) { var Morris=require("morris"); require("jquery.bootstrap-datetimepicker"); var Validator = require('bootstrap.validator'); var autoSubmitCondition=require("./autoSubmitCondition.js"); require('common/validator-rules').inject(Validator); var now = new Da...
18826252059/im
web/bundles/topxiaadmin/js/controller/analysis/classroom-income.js
JavaScript
apache-2.0
1,998
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/license-manager/model/Tag.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace...
aws/aws-sdk-cpp
aws-cpp-sdk-license-manager/source/model/Tag.cpp
C++
apache-2.0
1,136
# # Cookbook Name:: apache2 # Recipe:: mod_auth_cas # # Copyright 2013, Opscode, 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 # # Un...
ceros/apache2-onehealth
recipes/mod_auth_cas.rb
Ruby
apache-2.0
2,026
/* * 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 ...
mduerig/jackrabbit-oak
oak-security-spi/src/main/java/org/apache/jackrabbit/oak/plugins/tree/package-info.java
Java
apache-2.0
916
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/osconfig/v1/vulnerability.proto namespace Google\Cloud\OsConfig\V1\VulnerabilityReport\Vulnerability; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * ...
googleapis/google-cloud-php-osconfig
src/V1/VulnerabilityReport/Vulnerability/Item.php
PHP
apache-2.0
7,814
// Copyright 2017 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 in...
tst-ahernandez/earthenterprise
earth_enterprise/src/fusion/config/gefConfigUtil.cpp
C++
apache-2.0
5,241
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi.search; import com.intellij.openapi.fileTypes.PlainTextLanguage; import com.intellij.openapi.roots.ModuleRootModificationUtil; import com.intellij.openap...
mdanielwork/intellij-community
platform/platform-tests/testSrc/com/intellij/psi/search/GlobalSearchScopeTest.java
Java
apache-2.0
7,120
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.ilm; import org.elasticsearch.common.io...
gingerwizard/elasticsearch
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/IndexLifecycleFeatureSetUsageTests.java
Java
apache-2.0
2,384
/* * 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 u...
alexzaitzev/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/pagemem/PagesWriteSpeedBasedThrottle.java
Java
apache-2.0
19,621
package v1 import ( kapi "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/unversioned" buildapi "github.com/openshift/origin/pkg/build/api/v1" ) // BuildDefaultsConfig controls the default information for Builds type BuildDefaultsConfig struct { unversioned.TypeMeta `json:",inline"` // gitHTTPProxy is th...
jeffvance/origin
pkg/build/admission/defaults/api/v1/types.go
GO
apache-2.0
1,882
/* * Copyright 2018 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 applica...
AndroidX/androidx
room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/RawQueryTest.java
Java
apache-2.0
11,077
/** * 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...
OSBI/oodt
workflow/src/main/java/org/apache/oodt/cas/workflow/engine/ThreadPoolWorkflowEngine.java
Java
apache-2.0
15,482
// Copyright 2015 The Gemmlowp 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 ...
google/gemmlowp
test/test.cc
C++
apache-2.0
75,539
<?php /* * InlineStyle MIT License * * Copyright (c) 2010 Christiaan Baartse * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation th...
juniorug/vidacon
js/myMail/classes/libs/InlineStyle.php
PHP
apache-2.0
53,238
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-45.js
JavaScript
apache-2.0
2,309
'use strict'; /** * @license * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
googlefonts/TachyFont
run_time/src/gae_server/www/js/tachyfont/work_queue.js
JavaScript
apache-2.0
5,429
package com.thinkbiganalytics.metadata.jpa.app; /*- * #%L * thinkbig-operational-metadata-jpa * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 Lic...
peter-gergely-horvath/kylo
core/operational-metadata/operational-metadata-jpa/src/main/java/com/thinkbiganalytics/metadata/jpa/app/JpaKyloVersionProvider.java
Java
apache-2.0
3,679
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import...
Tycheo/coffeemud
com/planet_ink/coffee_mud/Abilities/Spells/Spell_ArcaneMark.java
Java
apache-2.0
3,763
package oidc import ( "crypto/rand" "encoding/base64" "errors" "fmt" "net" "net/http" "net/url" "strings" "time" "github.com/coreos/go-oidc/jose" ) func ParseTokenFromRequest(r *http.Request) (token jose.JWT, err error) { ah := r.Header.Get("Authorization") if ah == "" { err = errors.New("missing Autho...
yifan-gu/go-oidc
oidc/util.go
GO
apache-2.0
1,643
'use strict'; var debug = require('debug')('ali-oss:sts'); var crypto = require('crypto'); var querystring = require('querystring'); var copy = require('copy-to'); var AgentKeepalive = require('agentkeepalive'); var is = require('is-type-of'); var ms = require('humanize-ms'); var urllib = require('urllib'); var globa...
WebDeltaSync/WebR2sync_plus
node_modules/ali-oss/lib/sts.js
JavaScript
apache-2.0
4,037
/** * 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"); yo...
mafulafunk/wicket
wicket-user-guide/examples/MarkupInheritanceExample/src/main/java/org/wicketTutorial/HomePage.java
Java
apache-2.0
1,308
/* * 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 ...
pcmoritz/arrow
java/vector/src/main/java/org/apache/arrow/vector/complex/impl/ComplexWriterImpl.java
Java
apache-2.0
5,289
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
dcbw/kubernetes
test/e2e/service.go
GO
apache-2.0
63,318
/* Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "library/vm/vm.h" namespace lean { static void del_instr_at(unsigned pc, buffer<vm_instr> & code) { code.erase(pc); // we must adjust pc o...
fgdorais/lean
src/library/vm/optimize.cpp
C++
apache-2.0
2,195
// Copyright 2017 The Bazel 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 appl...
damienmg/bazel
src/tools/android/java/com/google/devtools/build/android/desugar/DefaultMethodClassFixer.java
Java
apache-2.0
24,887
/* * Copyright (C) 2010 JFrog 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 i...
christ66/jenkins-artifactory-plugin
src/main/java/org/jfrog/hudson/util/CredentialManager.java
Java
apache-2.0
3,973
// Copyright 2014 Samsung Electronics 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 applicable la...
tilmannOSG/jerryscript
tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-010.js
JavaScript
apache-2.0
653
/** @file A brief file description @section license License 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 und...
rahmalik/trafficserver
iocore/eventsystem/UnixEThread.cc
C++
apache-2.0
9,183
// 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...
shakamunyi/mesos
src/log/tool/benchmark.cpp
C++
apache-2.0
7,142
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
SiddharthChatrolaMs/azure-sdk-for-net
src/SDKs/Automation/Management.Automation/Generated/Models/ConnectionTypeAssociationProperty.cs
C#
apache-2.0
1,705
/* * 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 ...
dkhwangbo/druid
processing/src/test/java/org/apache/druid/query/groupby/epinephelinae/BufferArrayGrouperTest.java
Java
apache-2.0
3,937
/* Copyright 2007 Brian Tanner brian@tannerpages.com http://brian.tannerpages.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
cosmoharrigan/rl-viz
projects/rlVizLibJava/src/rlVizLib/visualization/AgentOnValueFunctionVizComponent.java
Java
apache-2.0
3,132
package junit.runner; /** * This class defines the current version of JUnit */ public class Version { private Version() { // don't instantiate } public static String id() { return "4.12"; } public static void main(String[] args) { System.out.println(id()); } }
tascape/th-junit4
src/main/java/junit/runner/Version.java
Java
apache-2.0
279
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/importexport/model/GetStatusResult.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/cor...
jt70471/aws-sdk-cpp
aws-cpp-sdk-importexport/source/model/GetStatusResult.cpp
C++
apache-2.0
5,140
/* * Copyright 2010-2013 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...
rafd123/aws-sdk-net
sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutACLRequestMarshaller.cs
C#
apache-2.0
8,804
/* * Copyright 2014 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 re...
nat2013/netty
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Connection.java
Java
apache-2.0
10,653
/* * 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...
diorcety/intellij-community
platform/util/src/com/intellij/util/io/IOUtil.java
Java
apache-2.0
7,277
/* Copyright 2006 Jerry Huxtable Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
svn2github/pixels
src/main/java/com/jhlabs/image/BlockFilter.java
Java
apache-2.0
3,064
/* * 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 ...
Distrotech/fop
src/java/org/apache/fop/pdf/PDFName.java
Java
apache-2.0
3,799
package gov.hhs.onc.sdcct.ws.impl; import gov.hhs.onc.sdcct.logging.impl.TxTaskExecutor; import org.apache.cxf.endpoint.DeferredConduitSelector; public class SdcctConduitSelector extends DeferredConduitSelector { private TxTaskExecutor taskExec; public SdcctConduitSelector(TxTaskExecutor taskExec) { ...
elizabethso/sdcct
sdcct-core/src/main/java/gov/hhs/onc/sdcct/ws/impl/SdcctConduitSelector.java
Java
apache-2.0
455
// // CipherReference.cs - CipherReference implementation for XML Encryption // http://www.w3.org/2001/04/xmlenc#sec-CipherReference // // Author: // Tim Coleman (tim@timcoleman.com) // // Copyright (C) Tim Coleman, 2004 // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this...
symplified/Symplified.Auth
lib/mono/mcs/class/System.Security/System.Security.Cryptography.Xml/CipherReference.cs
C#
apache-2.0
2,802
/** * 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/curator
curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModelStage.java
Java
apache-2.0
5,444
<?php /** * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
googleapis/google-cloud-php-storage
tests/System/ManageBucketsTest.php
PHP
apache-2.0
9,520
package denominator; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import dagger.ObjectGraph; import denominator.mock.MockProvider; import static org.assertj.core.api.Assertions.assertThat; public class DenominatorTest { @Rule public final ExpectedException thrown = Ex...
jdamick/denominator
core/src/test/java/denominator/DenominatorTest.java
Java
apache-2.0
2,477
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
floodlight/loxigen-artifacts
openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver15/OFGroupModVer15.java
Java
apache-2.0
3,873
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * 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/license...
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/registry/formatter/DataFormatterProfile.java
Java
apache-2.0
8,702
package com.planet_ink.coffee_mud.Races; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet...
MaxRau/CoffeeMud
com/planet_ink/coffee_mud/Races/GiantAmphibian.java
Java
apache-2.0
2,689
class Catalog::PlatformsController < Base::PlatformsController before_filter :find_catalog_and_platform def index @platforms = Cms::Relation.all(:params => {:ciId => @catalog.ciId, :direction => 'from', ...
subaan/display
app/controllers/catalog/platforms_controller.rb
Ruby
apache-2.0
991
package com.mesosphere.sdk.specification.yaml; import com.fasterxml.jackson.annotation.JsonProperty; /** * Raw YAML port. */ public class RawPort { private final Integer port; private final String envKey; private final RawVip vip; private RawPort( @JsonProperty("port") Integer port, ...
adragomir/dcos-commons
sdk/scheduler/src/main/java/com/mesosphere/sdk/specification/yaml/RawPort.java
Java
apache-2.0
682
// Package customimagesearch implements the Azure ARM Customimagesearch service API version 1.0. // // The Bing Custom Image Search API lets you send an image search query to Bing and get back image search results // customized to meet your custom search definition. package customimagesearch // Copyright (c) Microsoft...
linzhaoming/origin
vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/customimagesearch/client.go
GO
apache-2.0
1,734
# # Copyright (C) 2014 Dell, 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 wri...
aidanhs/blockade
blockade/tests/__init__.py
Python
apache-2.0
731
"""Tests for fan platforms.""" import pytest from homeassistant.components.fan import FanEntity class BaseFan(FanEntity): """Implementation of the abstract FanEntity.""" def __init__(self): """Initialize the fan.""" def test_fanentity(): """Test fan entity methods.""" fan = BaseFan() ...
tboyce021/home-assistant
tests/components/fan/test_init.py
Python
apache-2.0
781
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-2.js
JavaScript
apache-2.0
2,097
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
leafclick/intellij-community
plugins/textmate/lib/bundles/git/src/statusbar.ts
TypeScript
apache-2.0
5,303
/* * 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/test/java/org/apache/geode/distributed/LocatorLauncherIntegrationTestCase.java
Java
apache-2.0
5,865
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
roberthafner/flowable-engine
modules/flowable5-engine/src/main/java/org/activiti5/engine/impl/json/JsonObjectConverter.java
Java
apache-2.0
1,184