repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
tausifmuzaffar/bisApp
node_modules/native-base/src/basic/Tabs/ScrollableTabBar.js
8873
const React = require('react'); const ReactNative = require('react-native'); import { connectStyle, StyleProvider } from '@shoutem/theme'; import variable from './../../theme/variables/platform'; import { TabHeading, Text, TabContainer } from './../../index'; import _ from 'lodash'; const { View, Animated, StyleS...
apache-2.0
srose/keycloak
services/src/main/java/org/keycloak/services/clientpolicy/condition/ClientRolesConditionFactory.java
2484
/* * Copyright 2021 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
apache-2.0
ctripcorp/cat.js
libs/async.js
1083
var path=require('path'); var cUtil=require(path.resolve(__dirname,'./cutil.js')); // Async define function Async(callback){ this._enabled=false; this._data={}; this._callback=callback; this._errors=[]; } Async.prototype.add=function(fn){ var _this=this; var args=Array.prototype.slice.call(arguments,1); var gu...
apache-2.0
Eyas/TypeScript
tests/baselines/reference/interfaceClassMerging.js
1913
//// [interfaceClassMerging.ts] interface Foo { method(a: number): string; optionalMethod?(a: number): string; property: string; optionalProperty?: string; } class Foo { additionalProperty: string; additionalMethod(a: number): string { return this.method(0); } } class Bar extends...
apache-2.0
data-integrations/anaplan
src/main/java/com/anaplan/client/transport/interceptors/UserAgentInjector.java
1739
package com.anaplan.client.transport.interceptors; import com.anaplan.client.Constants; import com.anaplan.client.ex.AnaplanAPIException; import feign.RequestInterceptor; import feign.RequestTemplate; /** * Injects the User-Agent header */ public class UserAgentInjector implements RequestInterceptor { private ...
apache-2.0
JohnTheodore/cloud-custodian
tools/c7n_mailer/c7n_mailer/sqs_queue_processor.py
7051
# Copyright 2017 Capital One Services, 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...
apache-2.0
andreyleskov/GridDomain
GridDomain.Node/Actors/CommandPipe/MessageProcessors/SyncProjectionProcessor.cs
302
using Akka.Actor; using GridDomain.Node.Actors.Hadlers; namespace GridDomain.Node.Actors.CommandPipe.MessageProcessors { public class SyncProjectionProcessor : ActorAskMessageProcessor<HandlerExecuted> { public SyncProjectionProcessor(IActorRef processor) : base(processor) { } } }
apache-2.0
jivesoftware/amza
amza-api/src/main/java/com/jivesoftware/os/amza/api/take/TakeCursors.java
752
package com.jivesoftware.os.amza.api.take; import com.jivesoftware.os.amza.api.ring.RingMember; import java.util.List; /** * */ public class TakeCursors { public final List<RingMemberCursor> ringMemberCursors; public final boolean tookToEnd; public TakeCursors(List<RingMemberCursor> ringMemberCursors,...
apache-2.0
ua-eas/ua-rice-2.1.9
kns/src/main/java/org/kuali/rice/kns/web/struts/action/KualiMultipleValueLookupAction.java
31616
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
apache-2.0
freedomtan/tensorflow
tensorflow/core/kernels/mkl/mkl_fused_ops_test.cc
65169
/* Copyright 2018 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 applicable law or a...
apache-2.0
shopiz/shopiz
src/app_helper/webroot/index.php
943
<?php error_reporting(E_ALL); try { // 应用名称 define('APP_NAME', 'app_helper'); /** * 环境 * 可选值:production, develop, test */ // define('ENVIRON', 'develop'); define("DS", DIRECTORY_SEPARATOR); define("APP_PATH", dirname(__DIR__) . DS); define("BASE_PATH", dirname(APP...
apache-2.0
SingingTree/rustfmt
tests/source/configs-closure_block_indent_threshold-2.rs
255
// rustfmt-closure_block_indent_threshold: 2 // Closure block indent threshold fn main() { lorem_ipsum(|| { println!("lorem"); println!("ipsum"); println!("dolor"); println!("sit"); println!("amet"); }); }
apache-2.0
wolfboys/opencron-dev
jobx-server/src/main/java/com/jobxhub/server/dto/Agent.java
6487
/** * Copyright (c) 2015 The JobX Project * <p> * 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 ...
apache-2.0
BanzaiTokyo/akihabara-tokyo
askapp/backends.py
641
"""Taken from https://github.com/jasonbeverage/django-token""" from askapp.models import Token from django.contrib.auth import get_user_model User = get_user_model() class TokenBackend(object): def authenticate(self, request, token=None): """ Try to find a user with the given token ...
apache-2.0
ConeyLiu/spark
sql/catalyst/src/test/scala/org/apache/spark/sql/types/DataTypeWriteCompatibilitySuite.scala
21445
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
frett/cas
support/cas-server-support-validation/src/main/java/org/apereo/cas/web/ServiceValidateController.java
3654
package org.apereo.cas.web; import org.apereo.cas.CasProtocolConstants; import org.apereo.cas.CentralAuthenticationService; import org.apereo.cas.authentication.AuthenticationSystemSupport; import org.apereo.cas.authentication.principal.WebApplicationService; import org.apereo.cas.services.ServicesManager; import org....
apache-2.0
whackpad/whackpad
etherpad/src/etherpad/changes/changes.js
31725
import("execution"); import("exceptionutils"); import("stringutils"); import("sqlbase.sqlobj"); import("varz"); import("jsutils.uniqueNumbers"); import("crypto"); import("email.sendEmail"); import("etherpad.changes.follow.FOLLOW"); import("etherpad.changes.follow.getUserFollowPrefsForPad"); import("etherpad.collab.a...
apache-2.0
gchq/Gaffer
store-implementation/federated-store/src/test/java/uk/gov/gchq/gaffer/federatedstore/operation/FederatedOperationTest.java
2582
/* * Copyright 2017-2020 Crown Copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
amalkasubasinghe/product-apim
modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/token/OpenIDTokenAPITestCase.java
9952
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. 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/LI...
apache-2.0
cloudera/hue
apps/filebrowser/src/filebrowser/lib/archives_test.py
3445
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
apache-2.0
jandockx/ppwcode-recovered-from-google-code
java/vernacular/persistence/dev/d03/src/main/java/org/ppwcode/vernacular/persistence_III/junit/jpa/AbstractJpaPersistentBeanTest.java
6774
/*<license> Copyright 2004 - $Date$ by PeopleWare n.v.. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
apache-2.0
plxaye/chromium
src/webkit/blob/local_file_stream_reader_unittest.cc
8559
// Copyright (c) 2012 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. #include "webkit/blob/local_file_stream_reader.h" #include <string> #include "base/file_util.h" #include "base/files/file_path.h" #include "base/fil...
apache-2.0
skypies/flightdb
fgae/addtrackfragment.go
4998
package fgae import( "fmt" "time" "github.com/skypies/geo/sfo" fdb "github.com/skypies/flightdb" "github.com/skypies/flightdb/ref" ) // {{{ currentAccumulationTrack func currentAccumulationTrack(f *fdb.Flight) *fdb.Track { if !f.HasTrack("ADSB") && !f.HasTrack("MLAT") { return nil } if !f.HasTrack("ADSB") {...
apache-2.0
hemikak/siddhi
modules/siddhi-query-api/src/main/java/org/wso2/siddhi/query/api/execution/query/input/state/CountStateElement.java
3116
/* * Copyright (c) 2005 - 2015, WSO2 Inc. (http://www.wso2.org) 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 * ...
apache-2.0
apache/karaf-cellar
shell/src/main/java/org/apache/karaf/cellar/shell/handler/HandlersSupport.java
3988
/* * 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 * distrib...
apache-2.0
Orange-OpenSource/cf-java-client
integration-test/src/test/java/org/cloudfoundry/uaa/ClientsTest.java
22393
/* * Copyright 2013-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
sassoftware/conary
conary_test/cvctest/derivetest.py
2849
# # Copyright (c) SAS Institute 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 w...
apache-2.0
aws/aws-sdk-go
service/personalizeruntime/service.go
3647
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package personalizeruntime import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "githu...
apache-2.0
xuwei-k/nscala-time
src/main/scala/com/github/nscala_time/time/RichLocalDateTimeProperty.scala
1458
/** * Copyright 2009 Jorge Ortiz * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
nenko-tabakov/strongbox
strongbox-user-management/src/main/java/org/carlspring/strongbox/users/domain/User.java
3398
package org.carlspring.strongbox.users.domain; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.carlspring.strongbox.data.domain.GenericEntity; import com.google.common.base.MoreObjects; import com.google.common.base.Objects; /** * An application user */ publi...
apache-2.0
Lab41/tinkerpop3
gremlin-algorithm/src/main/java/com/tinkerpop/gremlin/algorithm/generator/CommunityGenerator.java
9757
package com.tinkerpop.gremlin.algorithm.generator; import com.tinkerpop.gremlin.structure.Edge; import com.tinkerpop.gremlin.structure.Graph; import com.tinkerpop.gremlin.structure.Vertex; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List;...
apache-2.0
evernym/zeno
plenum/test/msgs.py
572
from plenum.common.messages.fields import NonEmptyStringField from plenum.common.messages.message_base import MessageBase from plenum.common.messages.node_message_factory import node_message_factory from plenum.common.util import randomString def randomMsg(): return TestMsg('subject ' + randomString(), ...
apache-2.0
cmsni/.NET-SDK
Backendless.Test/PersistenceService/Entities/PrimitiveEntities/DateEntity.cs
864
using System; using BackendlessAPI.Test.PersistenceService.Entities.BaseEntities; namespace BackendlessAPI.Test.PersistenceService.Entities.PrimitiveEntities { public class DateEntity: CreatedEntity { public DateTime DateField { get; set; } protected bool Equals( DateEntity other ) { ...
apache-2.0
UIKit0/jsyn
tests/com/jsyn/benchmarks/BenchJSyn.java
7537
/* * Copyright 2013 Phil Burk, Mobileer 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...
apache-2.0
gotostack/neutron-lbaas
neutron_lbaas/tests/unit/services/loadbalancer/agent/test_agent_manager.py
16595
# Copyright 2013 New Dream Network, LLC (DreamHost) # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
apache-2.0
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/PropertyGroupMediator.java
4546
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * WSO2 Inc. 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/l...
apache-2.0
Frameworkium/frameworkium
src/test/java/theinternet/pages/FileUploadSuccessPage.java
621
package theinternet.pages; import com.frameworkium.core.ui.annotations.Visible; import com.frameworkium.core.ui.pages.BasePage; import io.qameta.allure.Step; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import ru.yandex.qatools.htmlelements.annotations.Name; public class FileUploa...
apache-2.0
ramonsmits/docs.particular.net
Snippets/Core/Core_8/Pipeline/SkipSerializationForInts.cs
1111
namespace Core8.Pipeline { using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.Pipeline; #region SkipSerialization class SkipSerializationForInts : Behavior<IOutgoingLogicalMessageContext> { public override Task Invoke(IOutgoingLogicalMessageCon...
apache-2.0
0xD34D/connectbot
src/sk/vx/connectbot/util/Colors.java
4273
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
apache-2.0
xzturn/tensorflow
tensorflow/core/grappler/optimizers/common_subgraph_elimination.cc
9990
/* Copyright 2020 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 applicable law or a...
apache-2.0
philoserf/knife-proxmox
lib/chef/knife/proxmox_template_list.rb
1153
require 'chef/knife/proxmox_base' class Chef class Knife class ProxmoxTemplateList < Knife include Knife::ProxmoxBase banner "knife proxmox template list (options)" def run # Needed to initialize @connection and @auth_params connection temp...
apache-2.0
39mi/jtd
src/protocpl/CommandSunTime.java
347
package protocpl; import mina.CommandBase; import mina.ICmdParser; import mina.CmdFactoryBase.MONITOR_CMD_TYPE; public class CommandSunTime extends CommandBase { public CommandSunTime(ICmdParser parser, byte[] data) { super(parser, data); // TODO Auto-generated constructor stub m_eCmdType = MONITOR_CMD_TYPE.M...
apache-2.0
consulo/consulo-spring
webflow/src/com/intellij/spring/webflow/model/converters/WebflowScopeReference.java
1560
package com.intellij.spring.webflow.model.converters; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiReferenceBase; import com.intellij.psi.impl.FakePsiElement; import com.intellij.util.xml.GenericDomValue; import com.intellij.util.containers.ContainerUtil; import com.intellij.util.Function; import com...
apache-2.0
gotroy/elasticsearch
src/main/java/org/elasticsearch/action/percolate/PercolateShardResponse.java
6425
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
apache-2.0
cloudera/hue
desktop/core/src/desktop/js/ko/components/assist/assistHBaseEntry.js
2382
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
apache-2.0
consulo/consulo-spring
webflow/src/com/intellij/spring/webflow/config/model/xml/impl/version2_0/FlowExecutorImpl.java
475
package com.intellij.spring.webflow.config.model.xml.impl.version2_0; import com.intellij.spring.impl.model.DomSpringBeanImpl; import com.intellij.spring.webflow.config.model.xml.version2_0.FlowExecutor; import org.jetbrains.annotations.NotNull; @SuppressWarnings({"AbstractClassNeverImplemented"}) public abstract cla...
apache-2.0
bstopp/acs-aem-commons
bundle/src/test/java/com/adobe/acs/commons/mcp/impl/processes/asset/UrlAssetImportTest.java
9991
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2018 Adobe * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
apache-2.0
svagionitis/aws-sdk-cpp
aws-cpp-sdk-ec2/source/model/DeleteFlowLogsResponse.cpp
2200
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
apache-2.0
KaiserpfalzEDV/kp-office
kp-finance-root/kp-finance-chartofaccounts/src/main/java/de/kaiserpfalzedv/office/finance/chartofaccounts/api/chartofaccounts/ChartOfAccountsAlreadyExistsException.java
1267
/* * Copyright 2017 Kaiserpfalz EDV-Service, Roland T. Lichti * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
apache-2.0
allotria/intellij-community
java/java-impl/src/com/intellij/codeInspection/classCanBeRecord/ClassCanBeRecordInspection.java
4708
// Copyright 2000-2020 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.codeInspection.classCanBeRecord; import com.intellij.codeInsight.daemon.impl.UnusedSymbolUtil; import com.intellij.codeInsight.daemon.impl.analysis.Highlight...
apache-2.0
flowable/flowable-engine
modules/flowable-cmmn-engine/src/test/java/org/flowable/cmmn/test/listener/TestLeaveUserEventListener.java
1392
/* 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 * distributed...
apache-2.0
h2oai/h2o-3
h2o-core/src/test/java/water/parser/ParseTestEncrypted.java
6963
package water.parser; import org.apache.commons.io.IOUtils; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import water.*; import water.api.schemas3.ParseSetupV3; import wa...
apache-2.0
burris/dwr
protocol/json/main/java/org/directwebremoting/jsonrpc/JsonRpcConstants.java
1652
/* * Copyright 2005 Joe Walker * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
legal90/chef
lib/chef/exceptions.rb
17513
# # Author:: Adam Jacob (<adam@opscode.com>) # Author:: Seth Falcon (<seth@opscode.com>) # Author:: Kyle Goodwin (<kgoodwin@primerevenue.com>) # Copyright:: Copyright 2008-2010 Opscode, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
apache-2.0
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/components/SendMediatorInputConnectorPropertiesEditionComponent.java
6707
/** * Generated with Acceleo */ package org.wso2.developerstudio.eclipse.gmf.esb.components; // Start of user code for imports import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.Wrap...
apache-2.0
ONLYOFFICE/document-server-integration
web/documentserver-example/csharp/DocEditor.aspx.designer.cs
764
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
apache-2.0
pwong-mapr/private-hue
apps/hbase/src/hbase/urls.py
961
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
apache-2.0
vadopolski/ignite
modules/core/src/main/java/org/apache/ignite/configuration/SqlConnectorConfiguration.java
7634
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
medgar/click
examples/src/org/apache/click/examples/page/wizard/Step1.java
4765
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
estebank/gitiles
gitiles-servlet/src/main/java/com/google/gitiles/LogSoyData.java
4971
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
apache-2.0
xasx/assertj-core
src/test/java/org/assertj/core/api/fail/Fail_fail_because_exception_was_not_thrown_Test.java
1692
/* * 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 distributed under t...
apache-2.0
Sonnbc/modelCheckingCassandra
src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java
17078
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
omc8db/DigitalVoice
software/pi/RadioHead/RH_CC110.cpp
16586
// RH_CC110.cpp // // Driver for Texas Instruments CC110L transceiver. // // Copyright (C) 2016 Mike McCauley // $Id: RH_CC110.cpp,v 1.5 2017/01/12 23:58:00 mikem Exp $ #include <RH_CC110.h> // Interrupt vectors for the 3 Arduino interrupt pins // Each interrupt can be handled by a different instance of RH_CC110, all...
apache-2.0
googlemaps/google-maps-services-java
src/main/java/com/google/maps/internal/DurationAdapter.java
2242
/* * Copyright 2014 Google Inc. All rights reserved. * * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
williamchengit/TestRepo
solr/core/src/java/org/apache/solr/schema/FieldTypePluginLoader.java
16938
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
AndreasRicci/firebase-continue
samples/chrome-extension/Continote/scripts/main-popup.js
10669
/** * Copyright (c) 2017 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 applic...
apache-2.0
osglworks/java-mvc
src/main/java/org/osgl/mvc/result/ServiceUnavailable.java
7818
package org.osgl.mvc.result; /*- * #%L * OSGL MVC * %% * Copyright (C) 2014 - 2017 OSGL (Open Source General Library) * %% * 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...
apache-2.0
FINRAOS/JTAF-XCore
src/main/java/org/finra/jtaf/core/parsing/ScriptParser.java
31121
/* * (C) Copyright 2014 Java Test Automation Framework 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 req...
apache-2.0
apache/chukwa
core/contrib/chukwa-pig/test/src/java/org/apache/hadoop/chukwa/util/GenerateTestFile.java
10584
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
gaapt/deepdive
src/test/scala/unit/inference/test_serialization/SerializationReader.scala
1431
package org.deepdive.test.unit import java.io._ class SerializationReader(weightsInput: InputStream, variablesInput: InputStream, factorsInput: InputStream, edgesInput: InputStream, metaDataInput: FileReader) { val weightStream = new DataInputStream(weightsInput) val variableStream = new DataInputStream(varia...
apache-2.0
sergecodd/FireFox-OS
B2G/gecko/content/svg/content/src/SVGOrientSMILType.cpp
5664
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "SVGOrientSMILType.h" #in...
apache-2.0
0359xiaodong/YiBo
YiBo/src/com/shejiaomao/weibo/service/listener/MicroBlogMoreItemClickListener.java
4403
package com.shejiaomao.weibo.service.listener; import java.io.File; import com.cattong.commons.util.StringUtil; import com.cattong.entity.Status; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; im...
apache-2.0
leventov/druid
core/src/test/java/org/apache/druid/timeline/DataSegmentTest.java
10395
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
bcec/opennebula3.2.1
src/oca/ruby/OpenNebula/Group.rb
5232
# -------------------------------------------------------------------------- # # Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # no...
apache-2.0
GDGLima/AppDevFestLima
android/src/net/abcdroid/devfest12/calendar/SessionAlarmReceiver.java
1373
/* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
quarkusio/quarkus
integration-tests/virtual-http/src/test/java/io/quarkus/it/virtual/HttpResponseMessageMock.java
2404
package io.quarkus.it.virtual; import java.util.HashMap; import java.util.Map; import com.microsoft.azure.functions.HttpResponseMessage; import com.microsoft.azure.functions.HttpStatus; import com.microsoft.azure.functions.HttpStatusType; /** * The mock for HttpResponseMessage, can be used in unit tests to verify i...
apache-2.0
vincentpoon/hbase
hbase-it/src/test/java/org/apache/hadoop/hbase/DistributedHBaseCluster.java
18340
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
infochimps-forks/ezbake-platform-services
groups/service/src/test/java/ezbake/groups/service/EzGroupsIT.java
10747
/* Copyright (C) 2013-2015 Computer Sciences Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
jvelilla/hypermedia-client-java
src/main/java/com/comcast/cim/rest/client/xhtml/XhtmlHttpClient.java
1924
/* Copyright (C) 2011 Comcast Interactive Media, LLC ("Licensor"). Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required ...
apache-2.0
MichaelEvans/assertj-android
assertj-android-support-v4/src/main/java/org/assertj/android/support/v4/api/Assertions.java
5766
// Copyright 2014 Square, Inc. // // This class is generated. Do not modify directly! package org.assertj.android.support.v4.api; /** Assertions for testing Android classes. */ @SuppressWarnings("deprecation") public final class Assertions { public static org.assertj.android.support.v4.api.app.ActionBarDrawerToggleA...
apache-2.0
nickperez1285/truck-hunt-hackathon
client/stemapp/themes/TabTheme/widgets/Header/nls/et/strings.js
235
define( ({ _widgetLabel: "Päis", signin: "Logi sisse", signout: "Logi välja", about: "Info", signInTo: "Logi sisse", cantSignOutTip: "See funktsioon pole eelvaaterežiimis rakendatav." }) );
apache-2.0
Elopteryx/paint-upload
upload-parser-tests/src/test/java/com/github/elopteryx/upload/internal/Base64EncodingTest.java
1596
package com.github.elopteryx.upload.internal; import static java.nio.charset.StandardCharsets.US_ASCII; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; import java.io.IOException; import java.nio.ByteBuffer; ...
apache-2.0
justinleet/incubator-metron
metron-platform/metron-common/src/test/java/org/apache/metron/common/utils/RuntimeErrorsTest.java
2546
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
tungvx/deploy
.google_appengine/lib/protorpc/protorpc/protobuf.py
9491
#!/usr/bin/env python # # 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 o...
apache-2.0
airhorns/CitrusMobile
Resources/vendor/spazcore/libs/spaztemplate.js
1250
/*jslint browser: true, nomen: false, debug: true, forin: true, plusplus: false, undef: true, white: false, onevar: false */ var sc; /** * SpazTemplate * designed for fast templating functions * @class SpazTemplate * @constructor */ function SpazTemplate() { this._tpls = {}; } /** * @param string name ...
apache-2.0
golang/mock
mockgen/internal/tests/import_embedded_interface/bugreport_test.go
952
// Copyright 2020 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 ...
apache-2.0
arenadata/ambari
ambari-server/src/main/java/org/apache/ambari/server/topology/HostGroupImpl.java
8232
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
CodeSmell/camel
core/camel-core/src/test/java/org/apache/camel/component/bean/MethodCallBeanRefMethodNotFoundTest.java
2302
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
fkolacek/FIT-VUT
bp-jenkins-scripts/tools/eval.php
1942
#!/usr/bin/php <?php require "./db.php"; if(!isset($argv[1])) die("Usage: ".$argv[0]." [scanner] [path]\n"); $NAME = $argv[1]; $PATH = (isset($argv[2])? $argv[2] : "results"); $dirHandler = opendir($PATH) or die("Cannot open input dir: ".$PATH); $attacks = Array(); while($file = readdir($dirHandler)){ if(pr...
apache-2.0
prepare/FO.NET
src/Core/Fo/ListProperty.cs
1082
//Apache2, 2017, WinterDev //Apache2, 2009, griffm, FO.NET using System.Collections; namespace Fonet.Fo { internal class ListProperty : Property { internal class Maker : PropertyMaker { public Maker(string name) : base(name) { } public override Property ConvertProperty...
apache-2.0
garora/WebHooks
src/Microsoft.AspNet.WebHooks.Receivers.VSTS/Payloads/BasePayload.cs
2652
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Newtonsoft.Json; namespace Microsoft.AspNet.WebHooks.Payloads { /// <summary> /// Root object of payload sent for all type...
apache-2.0
serendipiddy/openflow-performance-visualizer
testingScripts/generate_offline_topology.py
6359
import sys, getopt, random, simplejson as json, copy, binascii existing_macs = list() debug = False def generate_mac(): new_mac = list() while (not new_mac) or (new_mac in existing_macs): new_mac = list() for i in range(6): a = bytearray(random.getrandbits(8) for i in range(1)) new_mac.appe...
apache-2.0
cbeust/testng
testng-core/src/test/java/test/configuration/Base3.java
444
package test.configuration; import org.testng.Assert; import org.testng.annotations.BeforeGroups; public class Base3 { private static boolean m_before = false; /** @return the m_before */ public static boolean getBefore() { return m_before; } @BeforeGroups("cg34-1") public void anotherBefore1() { ...
apache-2.0
projectodd/stilts
stomp-server-core/src/main/java/org/projectodd/stilts/stomp/server/protocol/http/HttpResponder.java
2358
/* * Copyright 2011 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 required...
apache-2.0
Si-elegans/Web-based_GUI_Tools
static-src/cenet/scripts/layer.js
2035
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
apache-2.0
JayanthyChengan/dataverse
src/main/java/edu/harvard/iq/dataverse/ingest/tabulardata/impl/plugins/dta/DTAFileReader.java
93031
/* Copyright (C) 2005-2012, by the President and Fellows of Harvard College. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unle...
apache-2.0
rockmkd/datacollector
container/src/main/java/com/streamsets/datacollector/execution/alerts/MetricRuleEvaluatorHelper.java
12848
/* * Copyright 2017 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
apache-2.0
annabaker/jbpm-wb
jbpm-wb-integration/jbpm-wb-integration-backend/src/main/java/org/jbpm/workbench/wi/backend/server/dd/DDEditorServiceImpl.java
22109
/* * 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...
apache-2.0
sensui/guava-libraries
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
15535
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
apache/commons-fileupload
src/test/java/org/apache/commons/fileupload2/Util.java
2585
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0