code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/* Derby - Class org.apache.derby.impl.sql.execute.RevokeRoleConstantAction 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 ...
apache/derby
java/org.apache.derby.engine/org/apache/derby/impl/sql/execute/RevokeRoleConstantAction.java
Java
apache-2.0
9,593
/* * Copyright (c) 2015 Evolveum * * 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...
rpudil/midpoint
model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/SequentialValueExpressionEvaluator.java
Java
apache-2.0
4,390
package de.darwinspl.feature.graphical.base.util; import java.util.Date; import eu.hyvar.evolution.util.HyEvolutionUtil; import eu.hyvar.feature.HyFeature; import eu.hyvar.feature.HyGroupComposition; import eu.hyvar.feature.HyGroupType; import eu.hyvar.feature.HyGroupTypeEnum; public class DwFeatureUtil { /** * C...
DarwinSPL/DarwinSPL
plugins/de.darwinspl.feature.graphical.base/src/de/darwinspl/feature/graphical/base/util/DwFeatureUtil.java
Java
apache-2.0
1,171
package com.esri.geoevent.solutions.processor.bearing; import com.esri.ges.core.component.ComponentException; import com.esri.ges.core.property.PropertyException; import com.esri.ges.manager.geoeventdefinition.GeoEventDefinitionManager; import com.esri.ges.messaging.Messaging; import com.esri.ges.processor.GeoEventPro...
abrowning80/solutions-geoevent-java
solutions-geoevent/processors/bearing-processor/src/main/java/com/esri/geoevent/solutions/processor/bearing/BearingProcessorService.java
Java
apache-2.0
992
package org.uberfire.client.workbench.panels.impl; import com.google.gwtmockito.GwtMock; import com.google.gwtmockito.GwtMockitoTestRunner; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.uberfire.client.workbench.PanelManager; import static org.junit.Assert.*; @RunWith(Gw...
yurloc/uberfire
uberfire-workbench/uberfire-workbench-client/src/test/java/org/uberfire/client/workbench/panels/impl/SimpleWorkbenchPanelPresenterTest.java
Java
apache-2.0
857
package org.processmining.contexts.uitopia.packagemanager; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import javax.swing.AbstractListModel; public class PMPackageListModel extends AbstractListModel { /** * */ private static final long serialV...
cripsy-lamp/prom-plugin
trunk/src-Contexts/org/processmining/contexts/uitopia/packagemanager/PMPackageListModel.java
Java
apache-2.0
2,195
/* * 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 ...
gzsombor/ranger
security-admin/src/main/java/org/apache/ranger/common/TimedExecutorConfigurator.java
Java
apache-2.0
3,085
/* * 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 ...
rombert/jackrabbit-oak
oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/WorkspaceImpl.java
Java
apache-2.0
12,188
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2014 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publ...
oneliang/third-party-lib
proguard/proguard/io/DirectoryWriter.java
Java
apache-2.0
4,622
/* * 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 ma...
apache/axis2-java
modules/integration/test/org/apache/axis2/integration/UtilServer.java
Java
apache-2.0
9,251
/******************************************************************************* * Copyright 2015 Software Evolution and Architecture Lab, University of Zurich * * 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 ...
harinigunabalan/PerformanceHat
cw-feedback-handler/src/main/java/eu/cloudwave/wp5/feedbackhandler/model/db/DbProcedureExecution.java
Java
apache-2.0
1,508
/* * 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 * distribu...
kuainiao/MultimediaDesktop
Server/src/main/java/com/wms/studio/service/LoginIpServiceImpl.java
Java
apache-2.0
4,506
/* * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
girirajsharma/wildfly-elytron
src/main/java/org/wildfly/security/manager/action/ClearContextClassLoaderAction.java
Java
apache-2.0
1,940
package ca.uhn.hapi.fhir.docs; /*- * #%L * HAPI FHIR - Docs * %% * Copyright (C) 2014 - 2022 Smile CDR, 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....
aemay2/hapi-fhir
hapi-fhir-docs/src/main/java/ca/uhn/hapi/fhir/docs/FhirTesterConfig.java
Java
apache-2.0
2,800
package reuse;// reuse/DerivedSpaceShip.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. public class DerivedSpaceShip extends SpaceShipControls { private String name; public DerivedSpaceShip(Strin...
mayonghui2112/helloWorld
sourceCode/testMaven/onjava8/src/main/java/reuse/DerivedSpaceShip.java
Java
apache-2.0
570
/* * Seldon -- open source prediction engine * ======================================= * * Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/) * * ******************************************************************************************** * * Licensed under the Apache License, V...
SeldonIO/seldon-server
server/src/io/seldon/api/Constants.java
Java
apache-2.0
6,180
// This is a generated file. Not intended for manual editing. package org.mule.tooling.lang.dw.parser.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface WeaveTypeLiteral extends WeaveExpression { @Nullable WeaveSchema getSchema(); }
javaduke/mule-intellij-plugins
data-weave-plugin/src/main/gen/org/mule/tooling/lang/dw/parser/psi/WeaveTypeLiteral.java
Java
apache-2.0
307
/* * 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.ml.job.process.autodetect; import org.elastic...
nknize/elasticsearch
x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/process/autodetect/UpdateParams.java
Java
apache-2.0
5,657
package org.jtwig.value.context; import com.google.common.base.Optional; import org.jtwig.JtwigModel; import org.jtwig.reflection.model.Value; import org.jtwig.value.Undefined; import org.junit.Test; import static org.junit.Assert.assertSame; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.w...
jtwig/jtwig-core
src/test/java/org/jtwig/value/context/JtwigModelValueContextTest.java
Java
apache-2.0
1,229
package org.apache.lucene.benchmark.byTask.tasks; /** * 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 Apach...
tokee/lucene
contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/SearchWithSortTask.java
Java
apache-2.0
4,632
package com.wandrell.tabletop.pendragon.model.glory; public interface FatherClassGlory { public Integer getBaseGlory(); public String getFatherClass(); public Integer getYearlyGlory(); }
Bernardo-MG/pendragon-model-api
src/main/java/com/wandrell/tabletop/pendragon/model/glory/FatherClassGlory.java
Java
apache-2.0
205
/** * 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/openejb
container/openejb-jee/src/main/java/org/apache/openejb/jee/jba/cmp/CleanReadAheadOnLoad.java
Java
apache-2.0
2,135
/* Copyright (c) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
ermh/Gdata-mavenized
java/src/com/google/gdata/client/http/GoogleGDataRequest.java
Java
apache-2.0
18,502
/** * 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...
punkhorn/camel-upstream
core/camel-api/src/main/java/org/apache/camel/support/jsse/CipherSuitesParameters.java
Java
apache-2.0
1,929
package org.apereo.cas.authentication; import org.apereo.cas.services.RegisteredService; import org.apereo.cas.util.CollectionUtils; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.apache.commons....
rrenomeron/cas
core/cas-server-core-authentication-mfa-api/src/main/java/org/apereo/cas/authentication/DefaultMultifactorAuthenticationContextValidator.java
Java
apache-2.0
5,828
/** * 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...
chirino/activemq
activemq-web/src/main/java/org/apache/activemq/web/RemoteJMXBrokerFacade.java
Java
apache-2.0
8,728
/* * Copyright (C) 2015, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The Java Pathfinder core (jpf-core) platform is licensed under the * Apache License, Version 2.0 (the "License"); you may not use this file exce...
parasoft-pl/jpf-core
src/tests/gov/nasa/jpf/util/PermutationGeneratorTest.java
Java
apache-2.0
3,375
/* * 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 ...
Wesley-Lawrence/nifi
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/JoltTransformJSON.java
Java
apache-2.0
18,817
/* * 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 ...
ptupitsyn/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageClusterNodeData.java
Java
apache-2.0
1,751
package org.mifos.application.holiday.business.service; import org.joda.time.DateTime; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mifos.application.holiday.persistence.HolidayDao; import org.mifos.config.FiscalCalendarRules; import org.mifos.framework.util.helpers.DateU...
vorburger/mifos-head
application/src/test/java/org/mifos/application/holiday/business/service/HolidayServiceTest.java
Java
apache-2.0
6,068
/** * Copyright 2015 StreamSets Inc. * * Licensed under 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 Lice...
studanshu/datacollector
cli/src/main/java/com/streamsets/datacollector/client/model/RawSourceDefinitionJson.java
Java
apache-2.0
2,877
/* * Copyright 2015 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...
msavy/apiman
gateway/platforms/vertx3/vertx3/src/test/java/io/apiman/gateway/platforms/vertx3/components/ldap/LdapQueryTests.java
Java
apache-2.0
6,859
// 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...
resmo/cloudstack
server/src/com/cloud/capacity/CapacityManagerImpl.java
Java
apache-2.0
54,679
/* * 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 ...
ptupitsyn/ignite
modules/core/src/test/java/org/apache/ignite/internal/marshaller/optimized/OptimizedMarshallerSerialPersistentFieldsSelfTest.java
Java
apache-2.0
3,845
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
RobAltena/deeplearning4j
deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/text/tokenization/tokenizerfactory/TokenizerFactory.java
Java
apache-2.0
1,895
/* * 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...
nknize/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/support/MultiValuesSourceAggregatorFactory.java
Java
apache-2.0
2,989
/* * 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
python/testSrc/com/jetbrains/python/refactoring/PyIntroduceTestCase.java
Java
apache-2.0
4,198
package com.redhat.ceylon.compiler.typechecker.analyzer; import static com.redhat.ceylon.compiler.typechecker.analyzer.AliasVisitor.typeList; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.addToIntersection; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.canonicalIntersection; imp...
gijsleussink/ceylon
typechecker/src/com/redhat/ceylon/compiler/typechecker/analyzer/SupertypeVisitor.java
Java
apache-2.0
8,380
/* * Copyright 2002-2006 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...
cbeams-archive/spring-framework-2.5.x
tiger/src/org/springframework/orm/jpa/JpaSystemException.java
Java
apache-2.0
1,233
package net.smartcosmos.model.batch; /* * *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#* * SMART COSMOS Platform Core SDK * =============================================================================== * Copyright (C) 2013 - 2015 SMARTRAC Technology Fletcher, Inc. * ============...
SMARTRACTECHNOLOGY-PUBLIC/smartcosmos-sdk-java
src/main/java/net/smartcosmos/model/batch/IBatchStatusReport.java
Java
apache-2.0
1,831
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * SimulationConfiguration.java * * Created on 23.04.2009, 14:49:46 */ package net.frapu.code.simulation.petrinets; import net.frapu.code.visualization.Configuration; /** * * @author fpu */ public class Simu...
bptlab/processeditor
src/net/frapu/code/simulation/petrinets/SimulationConfiguration.java
Java
apache-2.0
10,200
/** * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Version 2....
locationtech/geowave
core/store/src/main/java/org/locationtech/geowave/core/store/query/filter/expression/text/TextBetween.java
Java
apache-2.0
4,362
package org.apache.lucene.index; /* * 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, Versio...
visouza/solr-5.0.0
lucene/core/src/java/org/apache/lucene/index/LogMergePolicy.java
Java
apache-2.0
23,920
/* * 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 ...
aosgi/org.apache.felix.framework
src/test/java/org/apache/felix/framework/StartStopBundleTest.java
Java
apache-2.0
5,631
/* * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
manovotn/core
tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/aroundConstruct/extended/BravoInterceptor.java
Java
apache-2.0
973
/** * 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...
chicagozer/rheosoft
components/camel-dozer/src/main/java/org/apache/camel/converter/dozer/DozerTypeConverterLoader.java
Java
apache-2.0
8,660
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
IHTSDO/snow-owl
net4j/com.b2international.snowowl.rpc.test/src/com/b2international/snowowl/rpc/test/testcases/ProgressMonitorUsingTest.java
Java
apache-2.0
2,541
/* * Copyright 2016-2026 Rogério Lecarião Leite * * 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...
R0g3r10LL31t3/AccountManager-ROLLSoftware
test/com/rollsoftware/br/test/util/CDITest.java
Java
apache-2.0
2,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 may ...
kinow/generators-FUNCTOR-14
src/main/java/org/apache/commons/functor/aggregator/AbstractListBackedAggregator.java
Java
apache-2.0
6,774
package org.deeplearning4j.spark.models.sequencevectors.functions; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.apache.spark.api.java.function.VoidFunction; import org.apache.spark.broadcast.Broadcast; import org.deeplearning4j.models.embeddings.loader.VectorsConfiguration; import org.deeplearni...
kinbod/deeplearning4j
deeplearning4j-scaleout/spark/dl4j-spark-nlp-java8/src/main/java/org/deeplearning4j/spark/models/sequencevectors/functions/TrainingFunction.java
Java
apache-2.0
7,083
// Copyright 2004 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
apache/tapestry3
tapestry-framework/src/org/apache/tapestry/util/io/FloatAdaptor.java
Java
apache-2.0
1,508
package org.easycassandra.persistence.cassandra; import java.util.Arrays; import java.util.logging.Logger; import javax.persistence.Entity; import org.easycassandra.Constants; import org.easycassandra.FieldJavaNotEquivalentCQLException; import org.easycassandra.KeyProblemsException; import org.easycassandra.ReplicaS...
gustavoleitao/Easy-Cassandra
src/test/java/org/easycassandra/persistence/cassandra/EasyCassandraManagerTest.java
Java
apache-2.0
6,413
/** * 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...
shiroyp/bigtop
bigtop-data-generators/bigpetstore-data-generator/src/test/java/org/apache/bigtop/datagenerators/bigpetstore/generators/customer/TestCustomerSampler.java
Java
apache-2.0
4,344
package com.aqua.jsystemobject; import java.io.File; import java.io.StringWriter; import java.util.Enumeration; import java.util.Properties; import javax.xml.transform.OutputKeys; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; import javax.xml.transform.T...
liorgins/old-regression-maven-compat
src/com/aqua/jsystemobject/TestPropertiesAnalyzer.java
Java
apache-2.0
3,401
package com.mit.dstore.entity; import java.util.List; public class UserAmountExchange extends JSON { /** * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) */ private static final long serialVersionUID = -8817478648977034932L; private List<UserAmountExchangeInfo> Object = null; public List<UserAm...
luchuangbin/test1
src/com/mit/dstore/entity/UserAmountExchange.java
Java
apache-2.0
652
/* * 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/jena
jena-db/jena-tdb2/src/main/java/org/apache/jena/tdb2/DatabaseMgr.java
Java
apache-2.0
4,919
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
winval/druid
server/src/test/java/io/druid/server/coordinator/DruidCoordinatorConfigTest.java
Java
apache-2.0
4,244
/* * 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...
nknize/elasticsearch
modules/parent-join/src/main/java/org/elasticsearch/join/aggregations/ChildrenAggregatorFactory.java
Java
apache-2.0
4,159
/** * 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...
vergilchiu/hive
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseTableSnapshotInputFormatUtil.java
Java
apache-2.0
4,739
package collectiontopics;// collectiontopics/HTMLColorTest.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. import static onjava.HTMLColors.*; public class HTMLColorTest { static final int DISPLAY_SI...
mayonghui2112/helloWorld
sourceCode/testMaven/onjava8/src/main/java/collectiontopics/HTMLColorTest.java
Java
apache-2.0
2,017
/* * 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 ...
davinash/geode
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/FetchEntryMessage.java
Java
apache-2.0
14,183
/* * Copyright 2008 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 requi...
krasserm/ipf
platform-camel/core/src/main/java/org/openehealth/ipf/platform/camel/core/process/splitter/support/NoopLineSplitterLogic.java
Java
apache-2.0
1,191
/* * Copyright Terracotta, 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 ...
akomakom/ehcache3
osgi-test/src/test/java/org/ehcache/osgi/SimpleOsgiTest.java
Java
apache-2.0
4,421
package com.sdl.ecommerce.odata.function; import com.sdl.ecommerce.odata.model.ODataQueryResult; import com.sdl.ecommerce.odata.service.ODataRequestContextHolder; import com.sdl.odata.api.ODataException; import com.sdl.odata.api.edm.model.Operation; import com.sdl.odata.api.processor.datasource.factory.DataSourceFacto...
sdl/ecommerce-framework
framework/ecommerce-framework-odata-service/src/main/java/com/sdl/ecommerce/odata/function/ECommerceOperation.java
Java
apache-2.0
1,152
package ca.uhn.fhir.jpa.packages; /*- * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2022 Smile CDR, 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...
jamesagnew/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/packages/PackageInstallationSpec.java
Java
apache-2.0
6,058
// 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 ...
mayl8822/binnavi
src/main/java/com/google/security/zynamics/binnavi/debug/connection/packets/replyparsers/RequestTargetParser.java
Java
apache-2.0
2,003
// 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 ...
mayl8822/binnavi
src/main/java/com/google/security/zynamics/binnavi/disassembly/CProject.java
Java
apache-2.0
10,169
/* * Copyright 2015 Codice Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
testify/XPathAssertion
src/main/java/XPath/XPathAssertion.java
Java
apache-2.0
4,453
/* * 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...
yuyijq/dubbo
dubbo-container/dubbo-container-api/src/main/java/org/apache/dubbo/container/Main.java
Java
apache-2.0
4,373
package com.github.izhangzhihao.SpringMVCSeedProject.Annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 根据角色判断权限 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @...
izhangzhihao/SpringMVCSeedProject
src/main/java/com/github/izhangzhihao/SpringMVCSeedProject/Annotation/AuthByRole.java
Java
apache-2.0
435
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * 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 ...
khartec/waltz
waltz-model/src/main/java/org/finos/waltz/model/IconProvider.java
Java
apache-2.0
725
/* * Copyright 2013 Cloudera 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...
cloudera/cdk
cdk-morphlines/cdk-morphlines-core/src/main/java/com/cloudera/cdk/morphline/base/Fields.java
Java
apache-2.0
1,245
package org.jboss.resteasy.test.resource.path.resource; import org.junit.Assert; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import java.util.List; public class ResourceLocatorWithBaseNoExpressionSubresource { @GET public String doGet(@C...
awhitford/Resteasy
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/path/resource/ResourceLocatorWithBaseNoExpressionSubresource.java
Java
apache-2.0
2,444
/* * 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 ma...
rekhajoshm/pigfork
src/org/apache/pig/impl/io/SequenceFileInterStorage.java
Java
apache-2.0
8,378
/* Derby - Class org.apache.derby.impl.io.JarStorageFactory 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 unde...
lpxz/grail-derby104
java/engine/org/apache/derby/impl/io/JarStorageFactory.java
Java
apache-2.0
4,689
/* * 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 ...
davidkarlsen/camel
core/camel-core/src/main/java/org/apache/camel/reifier/RemoveHeaderReifier.java
Java
apache-2.0
1,579
package ru.job4j.exceptions; /** * The class MenuOutException. * * @author Alexander Mezgin * @version 1.0 * @since 26.01.2017 */ public class MenuOutException extends RuntimeException { /** * Constructor fo class MenuOutException. * * @param message message. */ public MenuOutExceptio...
amezgin/amezgin
chapter_004/srp/src/main/java/ru/job4j/exceptions/MenuOutException.java
Java
apache-2.0
372
/* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
wendal/alipay-sdk
src/main/java/com/alipay/api/internal/util/codec/Base64.java
Java
apache-2.0
17,613
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache/incubator-asterixdb
asterixdb/asterix-transactions/src/main/java/org/apache/asterix/transaction/management/service/locking/ConcurrentLockManager.java
Java
apache-2.0
43,046
/** * Copyright (c) 2011 Perforce Software. All rights reserved. */ package com.perforce.p4java.tests.dev.unit.features112; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.net.URISy...
groboclown/p4ic4idea
p4java/r18-1/src/test/java/com/perforce/p4java/tests/dev/unit/features112/GetStreamInterchangesTest.java
Java
apache-2.0
9,918
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.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 ...
MaDaPHaKa/Orient-object
server/src/main/java/com/orientechnologies/orient/server/tx/OTransactionEntryProxy.java
Java
apache-2.0
1,099
/* Copyright 2014-2016 PetaByte Research 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 ...
petabyte-research/redflags
redflags-web/src/test/java/hu/petabyte/redflags/web/AppTest.java
Java
apache-2.0
1,283
package org.testng.collections; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; public final class Lists { private Lists() {} public static <K> List<K> newArrayList() { return new A...
missedone/testng
src/main/java/org/testng/collections/Lists.java
Java
apache-2.0
1,203
/* * 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 ...
nishantmonu51/druid
server/src/main/java/org/apache/druid/server/coordinator/duty/CoordinatorCustomDuty.java
Java
apache-2.0
2,940
/** * * 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"); ...
apache/bookkeeper
bookkeeper-server/src/test/java/org/apache/bookkeeper/test/LocalBookiesRegistryTest.java
Java
apache-2.0
1,587
/* * 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...
googleapis/google-api-java-client-services
clients/google-api-services-recommendationengine/v1beta1/1.31.0/com/google/api/services/recommendationengine/v1beta1/RecommendationsAIRequestInitializer.java
Java
apache-2.0
3,598
package org.apache.maven.continuum.web.action.stub; /* * 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/continuum
continuum-webapp/src/test/java/org/apache/maven/continuum/web/action/stub/ProjectGroupActionStub.java
Java
apache-2.0
1,560
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache/solr
solr/modules/analytics/src/java/org/apache/solr/analytics/function/mapping/NegateFunction.java
Java
apache-2.0
3,077
/* * 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...
googleapis/google-api-java-client-services
clients/google-api-services-secretmanager/v1beta1/1.31.0/com/google/api/services/secretmanager/v1beta1/model/Empty.java
Java
apache-2.0
1,828
/** * Copyright (C) 2017 Ryszard Wiśniewski <brut.alll@gmail.com> * Copyright (C) 2017 Connor Tumbleson <connor.tumbleson@gmail.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...
Benjamin-Dobell/Apktool
brut.apktool/apktool-lib/src/test/java/brut/androlib/AndroidOreoNotSparseTest.java
Java
apache-2.0
2,476
/* * 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/openwebbeans
webbeans-impl/src/test/java/org/apache/webbeans/test/specalization/observer/prot/BeanE.java
Java
apache-2.0
1,219
package io.dropwizard.jersey.filter; import com.google.common.collect.ImmutableSet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; imp...
aaanders/dropwizard
dropwizard-jersey/src/main/java/io/dropwizard/jersey/filter/AllowedMethodsFilter.java
Java
apache-2.0
1,980
/** * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use t...
dylanswartz/nakamura
bundles/files/impl/src/test/java/org/sakaiproject/nakamura/files/pool/CreateContentPoolServletTest.java
Java
apache-2.0
12,715
package com.googlecode.totallylazy.functions; public enum And implements CurriedMonoid<Boolean> { instance; @Override public Boolean call(Boolean a, Boolean b) throws Exception { return a && b; } @Override public Boolean identity() { return true; } }
bodar/totallylazy
src/com/googlecode/totallylazy/functions/And.java
Java
apache-2.0
302
/** * 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...
Eshcar/hbase
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestIncrementalBackup.java
Java
apache-2.0
9,436
/* * Copyright 2018 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 ...
google/closure-templates
java/src/com/google/template/soy/jbcsrc/shared/LegacyFunctionAdapter.java
Java
apache-2.0
1,543
/* * 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 ...
dlnufox/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/DataStructuresProcessor.java
Java
apache-2.0
70,905
package ru.aserdyuchenko.testQuestions; import java.time.LocalTime; import java.util.Random; import java.util.ArrayList; class Tracker { /** * Создание случайного(от 0 до 1000) количества посетителей. */ private Random random = new Random(); /** * @param arrayBankVisitors - массив посетителей банка. ...
anton415/Job4j
Pre-middle/Part_1_Input_Output/src/main/java/ru/aserdyuchenko/testQuestions/Tracker.java
Java
apache-2.0
3,859
/** * 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...
leechoongyon/HadoopSourceAnalyze
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSClientProvider.java
Java
apache-2.0
40,875
/* * Sun Public License Notice * * This file is subject to the Sun Public License Version * 1.0 (the "License"); you may not use this file except in compliance with * the License. A copy of the License is available at http://www.sun.com/ * * Software distributed under the License is distribut...
secdec/bytefrog
sourcemap-parser/src/main/java/fm/ua/ikysil/smap/parser/VendorInfoBuilder.java
Java
apache-2.0
2,570