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 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...
chiaming0914/awe-cpp-sdk
aws-cpp-sdk-logs/source/model/PutMetricFilterRequest.cpp
C++
apache-2.0
2,197
<?php final class DiffusionCommentView extends AphrontView { private $comment; private $commentNumber; private $handles; private $isPreview; private $pathMap; private $inlineComments; private $markupEngine; public function setComment(PhabricatorAuditComment $comment) { $this->comment = $comment;...
yangming85/phabricator
src/applications/diffusion/view/DiffusionCommentView.php
PHP
apache-2.0
5,512
/** * Copyright 2017 The GreyCat Authors. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless ...
electricalwind/greycat
plugins/ml/src/main/java/greycat/ml/neuralnet/layer/Layer.java
Java
apache-2.0
1,198
package action import ( "bosh-softlayer-cpi/api" "bosh-softlayer-cpi/registry" vgs "bosh-softlayer-cpi/softlayer/virtual_guest_service" bosherr "github.com/cloudfoundry/bosh-utils/errors" boslconfig "bosh-softlayer-cpi/softlayer/config" ) type DeleteVMAction struct { vmService vgs.Service registryClien...
maximilien/bosh-softlayer-cpi
src/bosh-softlayer-cpi/action/delete_vm.go
GO
apache-2.0
1,152
/* global L, leafLet, emp, armyc2, sec */ leafLet.internalPrivateClass.MilStdFeature = function() { var publicInterface = { initialize: function(args) { var options = { oMilStdModifiers: {}, sBasicSymbolCode: undefined, i2525Version: 0, bIsMultiPointTG: false }; ...
missioncommand/emp3-web
src/mapengine/leaflet/js/typeLibrary/leaflet-eng.typeLibrary.feature.milstd.js
JavaScript
apache-2.0
19,728
let httpRequest = { send(url, cb) { var xhr = new XMLHttpRequest(); xhr.open("GET", url, true); xhr.onreadystatechange = function() { if (xhr.readyState == 4) { cb(xhr.responseText); } } xhr.send(); } } export default httpRequest;
juancjara/bets-extension
src/js/background/httpRequest.js
JavaScript
apache-2.0
276
Puppet::Type.type(:l2_ovs_port).provide(:ovs) do optional_commands :vsctl => "/usr/bin/ovs-vsctl" def exists? vsctl("list-ports", @resource[:bridge]).split(/\n+/).include? @resource[:interface] end def create begin vsctl('port-to-br', @resource[:interface]) if @resource[:skip_existing] ...
andrei4ka/fuel-library-redhat
deployment/puppet/l23network/lib/puppet/provider/l2_ovs_port/ovs.rb
Ruby
apache-2.0
2,699
package com.lohika.example.pages; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory; public class MyPageFacto...
almyazin/selenium-junit-lr
workshop-selenium-project/src/com/lohika/example/pages/MyPageFactory.java
Java
apache-2.0
1,369
/** * Get more info at : www.jrebirth.org . * Copyright JRebirth.org © 2011-2013 * Contact : sebastien.bordes@jrebirth.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 * ...
JRebirth/JRebirth
org.jrebirth.af/component/src/main/java/org/jrebirth/af/component/ui/stack/StackView.java
Java
apache-2.0
1,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 ...
korrelate/pig
src/org/apache/pig/builtin/IsEmpty.java
Java
apache-2.0
1,676
// 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.ListNodesAsyncSnippet.g.cs
C#
apache-2.0
3,085
package org.javers.core.cases; import org.fest.assertions.api.Assertions; import org.javers.core.Javers; import org.javers.core.JaversBuilder; import org.javers.core.metamodel.object.CdoSnapshot; import org.junit.Test; import javax.persistence.Id; import java.math.BigDecimal; import java.sql.Timestamp; import java.ut...
ramasinka/javers
javers-core/src/test/java/org/javers/core/cases/ChangedPropertyNamesForNullifiedValuesCase.java
Java
apache-2.0
2,269
/* * Copyright 2015-2017 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
ilayaperumalg/spring-cloud-stream
spring-cloud-stream/src/main/java/org/springframework/cloud/stream/provisioning/ProducerDestination.java
Java
apache-2.0
2,090
<?php namespace Fungku\NetSuite\Classes; class SearchEnumMultiSelectCustomField extends SearchCustomField { public $searchValue; public $operator; static $paramtypesmap = array( "searchValue" => "string[]", "operator" => "SearchEnumMultiSelectFieldOperator", ); }
bitclaw/netsuite-php
src/Classes/SearchEnumMultiSelectCustomField.php
PHP
apache-2.0
274
import * as f from "./first" assert {
Microsoft/TypeScript
tests/cases/conformance/importAssertion/importAssertion5.ts
TypeScript
apache-2.0
38
// 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...
ButterflyNetwork/bazel
src/main/java/com/google/devtools/build/lib/skyframe/TransitiveTraversalValue.java
Java
apache-2.0
8,454
package com.nick.scalpel.core.utils; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.UndeclaredThrowableException; import java.math.BigDecimal; import j...
Tornaco/WildCard
scalpel/src/main/java/com/nick/scalpel/core/utils/ReflectionUtils.java
Java
apache-2.0
19,291
/* Derby - Class org.apache.derby.iapi.sql.dictionary.DefaultDescriptor 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...
apache/derby
java/org.apache.derby.engine/org/apache/derby/iapi/sql/dictionary/DefaultDescriptor.java
Java
apache-2.0
6,240
class interface(object): # Copyright 2012 Loris Corazza, Sakis Christakidis # # 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 # # ...
schristakidis/p2ner
p2ner/components/output/nulloutput/nulloutput/interface.py
Python
apache-2.0
682
//// [classWithPredefinedTypesAsNames.ts] // classes cannot use predefined types as names class any { } class number { } class boolean { } class string { } //// [classWithPredefinedTypesAsNames.js] var any = (function () { function any() { } return any; })(); var number = (function () { func...
DickvdBrink/TypeScript
tests/baselines/reference/classWithPredefinedTypesAsNames.js
JavaScript
apache-2.0
550
<?php /** * This is a standard Phabricator page with menus, Javelin, DarkConsole, and * basic styles. */ final class PhabricatorStandardPageView extends PhabricatorBarePageView implements AphrontResponseProducerInterface { private $baseURI; private $applicationName; private $glyph; private $menuContent; ...
r4nt/phabricator
src/view/page/PhabricatorStandardPageView.php
PHP
apache-2.0
24,331
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
dpursehouse/elasticsearch
core/src/test/java/org/elasticsearch/search/functionscore/DecayFunctionScoreIT.java
Java
apache-2.0
43,922
package com.erakk.lnreader.model; import java.util.Date; public class UpdateInfoModel { private int id = -1; private UpdateTypeEnum updateType; private String updateTitle; private Date updateDate; private String updatePage; private PageModel updatePageModel; private boolean isSelected; ...
freedomofkeima/LNReader-Android
app/src/main/java/com/erakk/lnreader/model/UpdateInfoModel.java
Java
apache-2.0
1,819
<?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/ShoppingContent/AccountStatusProducts.php
PHP
apache-2.0
2,528
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lexv2-models/model/Effect.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; ...
aws/aws-sdk-cpp
aws-cpp-sdk-lexv2-models/source/model/Effect.cpp
C++
apache-2.0
1,842
// 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...
google/go-genproto
googleapis/cloud/contactcenterinsights/v1/contact_center_insights.pb.go
GO
apache-2.0
288,569
/* * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.or...
Aulust/async-http-client
client/src/main/java/org/asynchttpclient/exception/ChannelClosedException.java
Java
apache-2.0
1,114
# Copyright (c) 2010-2012 OpenStack, 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 ...
citrix-openstack-build/swift
swift/common/direct_client.py
Python
apache-2.0
19,446
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * ...
huihoo/olat
olat7.8/src/main/java/org/olat/presentation/framework/core/control/generic/folder/FolderTreeModel.java
Java
apache-2.0
5,942
/* * Copyright (c) 2013 * Kozlov Nikita */ package org.yeti; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.BeanDefinitionStoreException; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContex...
YetiGame/td-yeti-server
src/main/java/org/yeti/Bootstrap.java
Java
apache-2.0
2,271
/* * (C) Copyright IBM Corp. 2015 * * 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...
CarstenLeue/ResolverSamples
ResolverSampleResolverWAR/src/main/java/com/ibm/portal/samples/resolver/resolver/ResolverSampleResolverProxy.java
Java
apache-2.0
1,662
/* * 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 ...
ucare-uchicago/hadoop
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerDataYaml.java
Java
apache-2.0
11,153
<?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/Dialogflow/GoogleCloudDialogflowV2IntentMessageText.php
PHP
apache-2.0
1,208
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
KeyNexus/netty
src/main/java/org/jboss/netty/channel/socket/nio/NioServerSocketPipelineSink.java
Java
apache-2.0
3,700
package com.mjiayou.trebundle; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import com.mjiayou.trebundle.debug.DebugActivity; import com.mjiayou.trecore.base.TCActivity; import com.mjiayou.trecore.base.TCApp; import co...
treason258/TreBundle
app/src/main/java/com/mjiayou/trebundle/MainActivity.java
Java
apache-2.0
1,825
/* * Copyright 2009 Alin Dreghiciu. * * 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 ...
stsiano/org.ops4j.pax.web
pax-web-tomcat-bundle/src/main/java/org/ops4j/pax/web/service/tomcat/internal/CompositeActivator.java
Java
apache-2.0
1,440
package parallels import ( "archive/tar" "bytes" "fmt" "io/ioutil" "os" "path/filepath" "regexp" "runtime" "strconv" "strings" "time" "github.com/codegangsta/cli" "github.com/docker/machine/drivers" "github.com/docker/machine/log" "github.com/docker/machine/ssh" "github.com/docker/machine/state" "git...
Kast0rTr0y/docker-machine
drivers/parallels/parallels.go
GO
apache-2.0
14,524
/* * 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...
freeVM/freeVM
enhanced/java/classlib/modules/pack200/src/main/java/org/apache/harmony/unpack200/IcTuple.java
Java
apache-2.0
10,575
import React from 'react'; /** dkjnslknkjfndn */ const CloseButton = ({ YouCanPassAnyProps, closeToast }) => ( <button ariaLabel="close" className="Toastify__close-button" onClick={closeToast}> <span></span> </button> ); /** huyhuyghu */ const notificationStyle = { position: 'bottom-right', cl...
wfp/ui
src/components/Notification/Notification.legacy.js
JavaScript
apache-2.0
411
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
kimchy/elasticsearch
src/main/java/org/elasticsearch/index/fielddata/fieldcomparator/BytesRefValComparator.java
Java
apache-2.0
3,934
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/sagemaker/model/SendPipelineExecutionStepFailureResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtil...
awslabs/aws-sdk-cpp
aws-cpp-sdk-sagemaker/source/model/SendPipelineExecutionStepFailureResult.cpp
C++
apache-2.0
1,113
package io.cattle.platform.api.auth.impl; import io.cattle.platform.api.auth.Identity; import io.cattle.platform.api.auth.Policy; import io.github.ibuildthecloud.gdapi.context.ApiContext; import io.github.ibuildthecloud.gdapi.request.ApiRequest; import java.util.ArrayList; import java.util.Collections; import java.ut...
vincent99/cattle
code/framework/api/src/main/java/io/cattle/platform/api/auth/impl/DefaultPolicy.java
Java
apache-2.0
2,921
// // EndpointConfig.cs // This file is part of Stardust // // Author: Jonas Syrstad (jsyrstad2+StardustCore@gmail.com), http://no.linkedin.com/in/jonassyrstad/) // Copyright (c) 2014 Jonas Syrstad. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this soft...
JonasSyrstad/Stardust.Nexus
Stardust.Nexus/Stardust.Nexus.Management.Client/EndpointConfig.cs
C#
apache-2.0
3,185
# Copyright 2019 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. def header(input_api): """Returns the expected license header regexp for this project.""" current_year = int(input_api.time.strftime('%Y')) ...
luci/recipes-py
PRESUBMIT.py
Python
apache-2.0
2,563
// Copyright 2011-2016 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
google/binnavi
src/main/java/com/google/security/zynamics/reil/algorithms/mono2/common/interfaces/ILatticeElement.java
Java
apache-2.0
995
/** * 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...
IMS94/oodt
pcs/core/src/main/java/org/apache/oodt/pcs/health/WorkflowStatesMetKeys.java
Java
apache-2.0
1,093
/* * Copyright (C) 2015 AppTik 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 law or ag...
djodjoni/aCaptcha
lib/src/main/java/io/apptik/widget/captcha/builders/PointItBuilder.java
Java
apache-2.0
851
/* * Copyright 2014 - 2015 Real Logic 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 agr...
rlankenau/Aeron
aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/DataPacketHandler.java
Java
apache-2.0
1,355
/* * 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 ...
michaelschiff/druid
web-console/src/views/lookups-view/lookups-view.tsx
TypeScript
apache-2.0
11,913
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Entities; namespace DAL { public class CreatorDatosClinicosDAO { public DatosClinicosDAO creator(DatosClinicos dc) { string tipo = dc.tipo; if (tipo...
fabver/EmergenSystServer
EmergenSyst/EmergenSyst/DAL/SOA/Creators/CreatorDatosClinicosDAO.cs
C#
apache-2.0
1,344
package com.app.teacup; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import...
henryblue/TeaCup
app/src/main/java/com/app/teacup/MusicDetailActivity.java
Java
apache-2.0
9,091
package swift.crdt; import swift.crdt.core.CRDTUpdate; public class MaxUpdate<V extends Comparable<V>> implements CRDTUpdate<MaxCRDT<V>> { V value; public MaxUpdate(V value) { this.value = value; } @Override public void applyTo(MaxCRDT<V> crdt) { crdt.applySet(value); } ...
SyncFree/SwiftCloud
src-core/swift/crdt/MaxUpdate.java
Java
apache-2.0
405
/* * 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 ...
pagespeed/mod_pagespeed
test/pagespeed/kernel/base/mock_message_handler.cc
C++
apache-2.0
4,545
package com.cloudbees.genapp.metadata.resource; /* * Copyright 2010-2013, CloudBees 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/LICENS...
CloudBees-community/genapp-setup
src/main/java/com/cloudbees/genapp/metadata/resource/RuntimeProperty.java
Java
apache-2.0
1,524
/* * Copyright (C) 2009 Trustees of the University of Pennsylvania * * 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 ...
snd297/penn-ppod
cdm/src/main/java/edu/upenn/cis/ppod/model/provenance/Provenance.java
Java
apache-2.0
1,115
/* This Java source file was generated by test-to-java.xsl and is a derived work from the source document. The source document contained the following notice: Copyright (c) 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatiqu...
apache/xmlbeans
src/test/java/org/w3c/domts/level2/core/nodeissupported04.java
Java
apache-2.0
2,108
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.IntegrationTest.Utilities.InProcess; using Xunit; namespace Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess { ...
nguerrera/roslyn
src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Debugger_OutOfProc.cs
C#
apache-2.0
2,263
import { ScenarioResult } from './../shared/services/scenario/scenario.models'; import { BroadcastEvent } from 'app/shared/models/broadcast-event'; import { BroadcastService } from './../shared/services/broadcast.service'; import { Subject } from 'rxjs/Subject'; import { Subscription as RxSubscription } from 'rxjs/Subs...
projectkudu/AzureFunctions
client/src/app/feature-group/feature-item.ts
TypeScript
apache-2.0
5,945
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.systemtest.resources.operator.specific; import org.junit.jupiter.api.extension.ExtensionContext; /** * Interface for resources which has different deployment s...
ppatierno/kaas
systemtest/src/main/java/io/strimzi/systemtest/resources/operator/specific/SpecificResourceType.java
Java
apache-2.0
567
// +build go1.7 package vmutils import ( "encoding/xml" "testing" vm "github.com/Azure/azure-sdk-for-go/management/virtualmachine" ) func Test_AddAzureVMExtensionConfiguration(t *testing.T) { role := vm.Role{} AddAzureVMExtensionConfiguration(&role, "nameOfExtension", "nameOfPublisher", "versionOfExtension"...
k4k/kubicorn
vendor/github.com/Azure/azure-sdk-for-go/management/vmutils/extensions_test.go
GO
apache-2.0
1,272
/* * 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")...
dpolivaev/groovy
subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/AbstractParser.java
Java
apache-2.0
3,051
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://duracloud.org/license/ */ package org.duracloud.glaciertask; import com.amazonaws.services.s3.AmazonS3; import org.d...
duracloud/duracloud
glacierstorageprovider/src/main/java/org/duracloud/glaciertask/GlacierTaskProvider.java
Java
apache-2.0
1,193
/** * Copyright (C) 2015 Topology LP * * 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...
jpetso/bonefish
src/bonefish/rawsocket/rawsocket_server_impl.hpp
C++
apache-2.0
2,525
/* * 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"); ...
rasahner/druid
processing/src/main/java/io/druid/query/lookup/RegisteredLookupExtractionFn.java
Java
apache-2.0
4,142
<?php namespace Phalcon\Forms\Element { /** * Phalcon\Forms\Element\Email * * Component INPUT[type=email] for forms */ class Email extends \Phalcon\Forms\Element implements \Phalcon\Forms\ElementInterface { /** * Renders the element widget returning html * * @param array attributes * @retu...
nueko/phalcon-ide-stub
Phalcon/Forms/Element/Email.php
PHP
apache-2.0
388
// Copyright (C) 2013 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 ...
qtproject/qtqa-gerrit
java/com/google/gerrit/server/util/PluginRequestContext.java
Java
apache-2.0
1,038
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/config_change.proto package com.google.api; /** * <pre> * Generated advice about this change, used for providing more * information about how a change will affect the existing service. * </pre> * * Protobuf type {@code google.api....
speedycontrol/googleapis
output/com/google/api/Advice.java
Java
apache-2.0
17,048
package aws import ( "github.com/solo-io/unik/pkg/providers/common" "github.com/solo-io/unik/pkg/types" ) func (p *AwsProvider) GetImage(nameOrIdPrefix string) (*types.Image, error) { return common.GetImage(p, nameOrIdPrefix) }
emc-advanced-dev/unik
pkg/providers/aws/get_image.go
GO
apache-2.0
233
package run import ( "fmt" "io" "github.com/enaml-ops/enaml" "github.com/enaml-ops/enaml/diff" "github.com/enaml-ops/enaml/pull" ) // DiffCmd runs the diff CLI command type DiffCmd struct { releaseRepo pull.Release release1 string release2 string } // NewDiffCmd creates a new DiffCmd instance. func Ne...
xchapter7x/enaml
run/diffcmd.go
GO
apache-2.0
2,253
/**************************************************************************** * Copyright (C) 2012 ecsec GmbH. * All rights reserved. * Contact: ecsec GmbH (info@ecsec.de) * * This file is part of the Open eCard App. * * GNU General Public License Usage * This file may be used under the terms of the GNU General...
adelapie/open-ecard-IRMA
gui/swing/src/main/java/org/openecard/gui/swing/SwingUserConsent.java
Java
apache-2.0
4,844
<?php /** * Copyright (c) 2017 Cornell 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 applicabl...
victorbrodsky/order-lab
orderflex/src/App/OrderformBundle/Controller/DataReviewController.php
PHP
apache-2.0
2,305
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
stepanovdg/big-data-plugin
kettle-plugins/mapreduce/src/main/java/org/pentaho/big/data/kettle/plugins/mapreduce/step/exit/HadoopExitMeta.java
Java
apache-2.0
9,368
# -*- coding: utf-8 -*- # # Copyright 2013, Qunar OPSDEV # # 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...
shadow4125/qg.core
tests/unit/test_gettextutils.py
Python
apache-2.0
1,757
# -*- coding: utf-8 -*- # Copyright 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 agreed...
OpenMOOC/moocng
moocng/courses/management/commands/csv_awards_by_course.py
Python
apache-2.0
3,018
/* Copyright 2015 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...
satnam6502/kubernetes
pkg/apis/extensions/v1beta1/types.go
GO
apache-2.0
46,181
/* * Copyright 2019 EPAM Systems * * 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 ...
reportportal/commons-dao
src/main/java/com/epam/ta/reportportal/util/DateTimeProvider.java
Java
apache-2.0
930
import styled from 'styled-components'; import Hamburger from './Hamburger'; import { BREAKPOINT_SHOW_HAMBURGER, SIDENAV_SIZE, HAMBURER_SIZE, } from './constants'; export default styled(Hamburger)` position: absolute; top: 0; left: ${SIDENAV_SIZE}px; transform: ${(props) => props.active ? 'translate...
spearwolf/blitpunk
packages/kitchen-sink/src/AppShell/SideNavHamburger.js
JavaScript
apache-2.0
512
/* * Copyright 2013 MovingBlocks * * 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...
sceptross/Terasology
engine/src/main/java/org/terasology/input/binds/inventory/ToolbarSlot2Button.java
Java
apache-2.0
1,077
package org.vaadin.addon.vol3.client.interaction; import com.vaadin.shared.communication.ServerRpc; import java.util.List; /** * Server rpc interface for the select interaction */ public interface OLSelectInteractionSRPC extends ServerRpc{ public void updateSelection(List<String> selectedFeatures); }
grandeemme/v-ol3
v-ol3/src/main/java/org/vaadin/addon/vol3/client/interaction/OLSelectInteractionSRPC.java
Java
apache-2.0
311
/* * 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...
chiaming0914/awe-cpp-sdk
aws-cpp-sdk-ds/source/model/CreateMicrosoftADResult.cpp
C++
apache-2.0
1,426
package com.redhat.repository.validator.filter; import org.eclipse.aether.artifact.Artifact; import org.eclipse.aether.artifact.DefaultArtifact; import org.junit.Test; import com.redhat.repository.validator.filter.DependencyNotFoundExceptionFilter; import com.redhat.repository.validator.impl.DependencyNotFoundExcepti...
thradec/wolf-validator
src/test/java/com/redhat/repository/validator/filter/TestDependencyNotFoundExceptionFilter.java
Java
apache-2.0
5,216
/* * Copyright 2010 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...
mswiderski/droolsjbpm-integration
drools-pipeline/src/main/java/org/drools/runtime/pipeline/impl/PipelineImpl.java
Java
apache-2.0
943
<?php namespace Dingo\Api\Routing; use Illuminate\Routing\Route; use Illuminate\Container\Container; class ControllerReviser { /** * Illuminate application container. * * @var \Illuminate\Container\Container */ protected $container; /** * Create a new controller reviser instance...
prady00/Laravel-Swagger-REST
vendor/dingo/api/src/Routing/ControllerReviser.php
PHP
apache-2.0
3,615
package ch.sloth.dealhunter.ui; import android.content.Context; import android.support.design.widget.FloatingActionButton; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.widget.ScrollView; import java.util.ArrayList; /** * Created by martinschmidli on 29...
Team-Sloth/DealHunter
DealHunter/app/src/main/java/ch/sloth/dealhunter/ui/DetailScrollView.java
Java
apache-2.0
1,607
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // /...
jacobpovar/MassTransit
src/MassTransit/Testing/Indicators/ISignalResource.cs
C#
apache-2.0
845
/* * 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 ...
pengzong1111/solr4
solr/core/src/java/org/apache/solr/highlight/SimpleFragListBuilder.java
Java
apache-2.0
1,947
/* * 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 ...
Sonnbc/modelCheckingCassandra
src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
Java
apache-2.0
65,426
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
sjaco002/incubator-asterixdb
asterix-om/src/main/java/edu/uci/ics/asterix/dataflow/data/nontagged/printers/ShortWithoutTypeInfoPrinter.java
Java
apache-2.0
1,538
package forms; /** * A form for the search widget. * * @author AJ * */ public class SearchFormData { /** The name to be searched for. */ public String name = ""; /** The gender of the player. */ public String type = ""; /** The country of the player. */ public String court = ""; /** The positio...
andrewpw/HawaiiHoopsFinish
app/forms/SearchFormData.java
Java
apache-2.0
434
<?php namespace Fungku\NetSuite\Classes; class SearchColumnLongCustomField extends SearchColumnCustomField { public $searchValue; static $paramtypesmap = array( "searchValue" => "integer", ); }
bitclaw/netsuite-php
src/Classes/SearchColumnLongCustomField.php
PHP
apache-2.0
201
package org.wikipedia.savedpages; import android.content.Context; import org.wikipedia.PageTitle; import org.wikipedia.WikipediaApp; import org.wikipedia.concurrency.SaneAsyncTask; import org.wikipedia.page.Page; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Map; import java...
creaITve/apps-android-tbrc-works
wikipedia/src/main/java/org/wikipedia/savedpages/SavePageTask.java
Java
apache-2.0
3,027
# Description: Chef-Vault VaultDownload class # Copyright 2014-15, Nordstrom, 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 r...
Nordstrom/chef-vault
lib/chef/knife/vault_download.rb
Ruby
apache-2.0
1,293
# # Author:: Nathan Cerny <ncerny@chef.io> # # Cookbook Name:: chef_stack # Resource:: wf_runner # # Copyright 2017 Chef Software Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # h...
vinyar/chef-ingredient
resources/wf_builder.rb
Ruby
apache-2.0
8,768
# # Author:: Adam Jacob (<adam@chef.io>) # Author:: Seth Chisamore (<schisamo@chef.io>) # Author:: Tyler Cloke (<tyler@chef.io>) # Copyright:: Copyright 2008-2016, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file e...
juliandunn/chef
lib/chef/resource/template.rb
Ruby
apache-2.0
8,061
var orig = { from: 20, to: 500 }; var board = tnt.board().from(orig.from).to(orig.to); // reload button var reload = d3.select(yourDiv) .append("button") .text("reset") .style("margin", "10px") .on("click", function () { board.from(orig.from); board.to(orig.to); board.s...
tntvis/tnt.board
snippets/reload.js
JavaScript
apache-2.0
1,560
# Copyright 2010 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 writing,...
ip2k/google-api-ruby-client
lib/google/api_client.rb
Ruby
apache-2.0
23,326
using Lucene.Net.QueryParsers.Flexible.Core.Messages; using Lucene.Net.QueryParsers.Flexible.Core.Parser; using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. S...
apache/lucenenet
src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BoostQueryNode.cs
C#
apache-2.0
3,972
'use strict'; module.exports = { get: 'SENSOR_MULTILEVEL_GET', getParser: () => ({ 'Sensor Type': 'Power (version 2)', Properties1: { Scale: 0, }, }), report: 'SENSOR_MULTILEVEL_REPORT', reportParser: report => { if (report && report.hasOwnProperty('Sensor Type') && report.hasOwnProperty('Sensor Value ...
timkouters/nl.timkouters.domitech
node_modules/homey-meshdriver/lib/zwave/system/capabilities/measure_power/SENSOR_MULTILEVEL.js
JavaScript
apache-2.0
454
<?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/CloudVideoIntelligence/GoogleCloudVideointelligenceV1p2beta1DetectedLandmark.php
PHP
apache-2.0
1,958
require 'spec_helper' describe 'quantum::plugins::ovs' do let :pre_condition do "class { 'quantum': rabbit_password => 'passw0rd' }" end let :default_params do { :package_ensure => 'present', :sql_connection => 'sqlite:////var/lib/quantum/ovs.sqlite', :sql_max_retries => ...
enovance/openstack-quantum-puppet
spec/classes/quantum_plugins_ovs_spec.rb
Ruby
apache-2.0
3,147