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
/* * 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 n...
codescale/logging-log4j2
log4j-api/src/main/java/org/apache/logging/log4j/message/ThreadDumpMessage.java
Java
apache-2.0
7,028
/* * 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 ...
greg-dove/flex-falcon
debugger/src/main/java/flash/tools/debugger/VersionException.java
Java
apache-2.0
1,250
/** * Copyright 2005-2014 Red Hat, Inc. * * Red Hat 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 r...
janstey/fabric8
gateway/gateway-core/src/main/java/io/fabric8/gateway/handlers/http/HttpGateway.java
Java
apache-2.0
2,018
package org.sagebionetworks; import org.sagebionetworks.aws.AwsClientFactory; import org.sagebionetworks.aws.SynapseS3Client; import com.amazonaws.services.kms.AWSKMS; import com.google.inject.Provides; /** * Provides dependency injection mapping for the StackConfiguration project. * */ public class StackConfigur...
xschildw/Synapse-Repository-Services
lib/stackConfiguration/src/main/java/org/sagebionetworks/StackConfigurationGuiceModule.java
Java
apache-2.0
992
/* * 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...
zhengxgs/elasticsearch-2.4.1
core/src/main/java/org/elasticsearch/index/mapper/internal/ParentFieldMapper.java
Java
apache-2.0
17,581
/* * 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/handler/codec/socks/SocksCmdResponse.java
Java
apache-2.0
3,158
/****************************************************************************** * Copyright (c) 2006, 2010 VMware Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distr...
eclipse/gemini.blueprint
test-support/src/main/java/org/eclipse/gemini/blueprint/test/internal/support/Activator.java
Java
apache-2.0
2,050
/* * Copyright 2018-present Facebook, 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...
shs96c/buck
src/com/facebook/buck/features/python/toolchain/impl/LazyPythonPlatform.java
Java
apache-2.0
3,629
/** * Copyright 2015-2017 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
wildfly-swarm/wildfly-swarm
core/container/src/main/java/org/wildfly/swarm/internal/SwarmConfigMessages.java
Java
apache-2.0
2,460
/* * 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...
gingerwizard/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/bucket/BestBucketsDeferringCollector.java
Java
apache-2.0
9,329
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
liuyuanyuan/dbeaver
plugins/org.jkiss.dbeaver.lang/src/org/jkiss/dbeaver/lang/SCMRoot.java
Java
apache-2.0
2,003
package org.nd4j.linalg.dataset.api.iterator; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.dataset.DataSet; import org.nd4j.linalg.factory.Nd4j; import org.nd4j.linalg.ops.transforms.Transforms; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.io.IOExce...
deeplearning4j/nd4j
nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/StandardScaler.java
Java
apache-2.0
4,814
/* * 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...
jk1/intellij-community
plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/AbstractProjectImportErrorHandler.java
Java
apache-2.0
3,012
/* Copyright 2016 Immutables Authors and Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
asereda-gs/immutables
value-fixture/src/nonimmutables/SampleRuntimeException.java
Java
apache-2.0
777
/* * Copyright 2005,2006 WSO2, Inc. http://www.wso2.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
callkalpa/carbon-commons
components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/appender/CarbonMemoryAppender.java
Java
apache-2.0
6,042
/* * 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 ...
MikeThomsen/nifi
nifi-api/src/test/java/org/apache/nifi/processor/TestDataUnit.java
Java
apache-2.0
1,919
/* * Copyright 2013 Nicolas Morel * * 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...
nmorel/gwt-jackson
gwt-jackson/src/test/java/com/github/nmorel/gwtjackson/client/ser/date/DateJsonSerializerTest.java
Java
apache-2.0
1,249
/* * Copyright 2019 ThoughtWorks, 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 agr...
kierarad/gocd
util/src/main/java/com/thoughtworks/go/util/command/CheckedCommandLineException.java
Java
apache-2.0
811
/* * 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
MetSystem/jbpm-designer
jbpm-designer-backend/src/main/java/org/jbpm/designer/epn/impl/EpnStencil.java
Java
apache-2.0
618
package org.metasyntactic.automata.compiler.python.scanner.delimiters; public class MinusEqualsDelimiterToken extends DelimiterToken { public static final MinusEqualsDelimiterToken instance = new MinusEqualsDelimiterToken(); private MinusEqualsDelimiterToken() { super("-="); } }
nguyenphanhuynh/metasyntactic
java/org/metasyntactic/automata/compiler/python/scanner/delimiters/MinusEqualsDelimiterToken.java
Java
apache-2.0
292
/** * 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/gora
gora-redis/src/test/java/org/apache/gora/redis/store/RedisStoreHashTest.java
Java
apache-2.0
2,016
/* * Copyright 2016 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...
jean-merelis/keycloak
services/src/main/java/org/keycloak/exportimport/dir/DirExportProvider.java
Java
apache-2.0
3,522
/** * $Id$ * $URL$ * EvalDaoInvoker.java - evaluation - Mar 7, 2008 1:17:03 PM - azeckoski ************************************************************************** * Copyright (c) 2008 Centre for Applied Research in Educational Technologies, University of Cambridge * Licensed under the Educational Community Lic...
payten/nyu-sakai-10.4
evaluation/api/src/java/org/sakaiproject/evaluation/dao/EvalDaoInvoker.java
Java
apache-2.0
1,036
/* * Copyright 2010 FatWire Corporation. 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...
dolfdijkstra/gst-foundation
gsf-legacy/src/main/java/com/fatwire/gst/foundation/taglib/GsfSimpleTag.java
Java
apache-2.0
1,654
/* * 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 ...
ecarm002/incubator-asterixdb
asterixdb/asterix-om/src/main/java/org/apache/asterix/om/typecomputer/impl/ToDoubleTypeComputer.java
Java
apache-2.0
2,063
package org.apache.commons.ssl.asn1; import java.io.ByteArrayInputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; public class ASN1StreamParser { InputStream _in; private int _limit; private boolean _eofFound; public ASN1StreamParser( InputStream ...
dvandok/not-yet-commons-ssl-debian
src/java/org/apache/commons/ssl/asn1/ASN1StreamParser.java
Java
apache-2.0
5,634
/* * 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...
Flipkart/elasticsearch
src/main/java/org/elasticsearch/common/io/stream/StreamInput.java
Java
apache-2.0
14,677
/** * 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 * ...
RLDevOps/Demo
src/main/java/org/olat/basesecurity/BaseSecurity.java
Java
apache-2.0
15,856
/** * */ package com.perforce.p4java.tests.dev.unit.features101; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.List; import org.junit.Test; import com.perforce.p4java.core...
groboclown/p4ic4idea
p4java/r19-1/src/test/java/com/perforce/p4java/tests/dev/unit/features101/GetMatchingLinesTest.java
Java
apache-2.0
6,090
package com.planet_ink.coffee_mud.core.collections; /* Copyright 2000-2015 Bo Zimmerman 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...
MaxRau/CoffeeMud
com/planet_ink/coffee_mud/core/collections/Converter.java
Java
apache-2.0
698
/* * Copyright 2012-2016 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...
joansmith/spring-boot
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java
Java
apache-2.0
25,508
/* * 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...
nezirus/elasticsearch
core/src/test/java/org/elasticsearch/index/query/MultiMatchQueryBuilderTests.java
Java
apache-2.0
16,494
// Copyright 2000-2017 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.debugger.settings; import com.intellij.debugger.DebuggerBundle; import com.intellij.debugger.impl.DebuggerUtilsEx; import com.intellij.debugger.ui.JavaDebugg...
ThiagoGarciaAlves/intellij-community
java/debugger/impl/src/com/intellij/debugger/settings/DebuggerDataViewsConfigurable.java
Java
apache-2.0
16,248
// Copyright 2014 Palantir Technologies // // 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 ...
alihalabyah/stashbot
src/main/java/com/palantir/stash/stashbot/urlbuilder/StashbotUrlBuilder.java
Java
apache-2.0
4,267
/* * Copyright (c) Facebook, Inc. and 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 applic...
nguyentruongtho/buck
test/com/facebook/buck/features/apple/project/SchemeGeneratorTest.java
Java
apache-2.0
56,208
/* * Copyright 2002-2016 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...
ollie314/spring-security
samples/javaconfig/chat/src/main/java/sample/data/ActiveWebSocketUser.java
Java
apache-2.0
1,385
/* * Copyright (C) 2014 Dell, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
dell-oss/Doradus
doradus-server/src/main/java/com/dell/doradus/olap/search/SearchResultComparer.java
Java
apache-2.0
2,592
// 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 applicab...
shyTNT/googleads-java-lib
modules/adwords_axis_utility_extension/src/main/java/com/google/api/ads/adwords/axis/utility/extension/delegates/AdParamDelegate.java
Java
apache-2.0
3,754
/* * Copyright 2005-2014 Red Hat, Inc. * Red Hat 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 required by appli...
pgfox/activemq-artemis
tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/jms/ra/MDBMultipleHandlersServerDisconnectTest.java
Java
apache-2.0
18,149
/* * Copyright 2012-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...
mosoft521/spring-boot
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ManagementContextConfigurationImportSelectorTests.java
Java
apache-2.0
3,362
/* * Copyright 2012-2021 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...
mdeinum/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java
Java
apache-2.0
5,466
/* * Copyright (c) 2011 LinkedIn, 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 agree...
linkedin/cleo
src/main/java/cleo/search/SimpleTypeaheadElement.java
Java
apache-2.0
2,371
/* * Copyright 2018 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
naver/pinpoint
hbase/hbase-schema/src/main/java/com/navercorp/pinpoint/hbase/schema/core/command/HbaseSchemaCommandManager.java
Java
apache-2.0
6,290
/** * pubmed.endNote.jaxb.generated by http://RDFReactor.semweb4j.org ($Id: CodeGenerator.java 1535 2008-09-09 15:44:46Z max.at.xam.de $) on 13/01/11 08:05 PM */ package ws.biotea.ld2rdf.rdf.model.bibo; import org.ontoware.aifbcommons.collection.ClosableIterator; import org.ontoware.rdf2go.exception.ModelRuntimeExce...
alexgarciac/testbiotea
src/ws/biotea/ld2rdf/rdf/model/bibo/PersonalCommunication.java
Java
apache-2.0
7,459
package jadx.gui.ui.panel; import jadx.gui.ui.codearea.EditorViewState; public interface IViewStateSupport { EditorViewState getEditorViewState(); void restoreEditorViewState(EditorViewState viewState); }
skylot/jadx
jadx-gui/src/main/java/jadx/gui/ui/panel/IViewStateSupport.java
Java
apache-2.0
211
/* * Copyright (C) 2014, 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...
grzesuav/jpf-core
src/peers/gov/nasa/jpf/vm/JPF_java_util_concurrent_atomic_AtomicLongFieldUpdater.java
Java
apache-2.0
5,324
/* * 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")...
Qi4j/qi4j-sdk
extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCachePoolService.java
Java
apache-2.0
1,137
/* * Copyright 2000-2014 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...
msebire/intellij-community
java/java-psi-impl/src/com/intellij/psi/impl/source/tree/java/AnnotationParamListElement.java
Java
apache-2.0
5,047
/* * Copyright (C) 2008 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...
rgoldberg/guava
guava-gwt/test/com/google/common/collect/TreeTraverserTest_gwt.java
Java
apache-2.0
1,555
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
goodwinnk/intellij-community
java/java-impl/src/com/intellij/codeInsight/intention/impl/InlineStreamMapAction.java
Java
apache-2.0
12,804
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
AndrewKhitrin/dbeaver
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/actions/datasource/DataSourceTransactionModeContributor.java
Java
apache-2.0
4,917
/** * * Copyright 2014 Andriy Tsykholyas, 2015 Florian Schmaus * * 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...
igniterealtime/Smack
smack-experimental/src/main/java/org/jivesoftware/smackx/hoxt/packet/HttpOverXmppReq.java
Java
apache-2.0
5,953
/* * 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...
gfyoung/elasticsearch
server/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/FilterAllocationDecider.java
Java
apache-2.0
11,933
/** * Copyright 2011 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
thomaswp/playn-xna-samples
noise/src/playn/sample/noise/Main.java
Java
apache-2.0
3,149
/* * 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 require...
springrichclient/springrcp
spring-richclient-samples/spring-richclient-samples-simple/src/main/java/org/springframework/richclient/samples/simple/ui/ContactForm.java
Java
apache-2.0
5,981
/* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
pperboires/PocDrools
drools-core/src/main/java/org/drools/reteoo/ObjectTypeNode.java
Java
apache-2.0
31,600
/* * Copyright 2013-present Facebook, 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...
janicduplessis/buck
src/com/facebook/buck/rules/coercer/SortedSetTypeCoercer.java
Java
apache-2.0
2,913
/* * 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...
gfyoung/elasticsearch
server/src/main/java/org/elasticsearch/search/builder/SearchSourceBuilder.java
Java
apache-2.0
62,076
/* * 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 ...
chenc10/Spark-PAF
examples/src/main/java/org/apache/spark/examples/ml/JavaStopWordsRemoverExample.java
Java
apache-2.0
2,353
/* * JBoss, Home of Professional Open Source * Copyright 2009 Red Hat Inc. and/or its affiliates and other * contributors as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a full listing of * individual contributors. * * This is free software; you can redistri...
nmldiegues/stibt
infinispan/core/src/test/java/org/infinispan/api/CacheAPITest.java
Java
apache-2.0
9,493
/* * Copyright 2013 Google Inc. * Copyright 2014 Andreas Schildbach * * 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 requ...
wpstudio/blazecoinj
tools/src/main/java/com/google/bitcoin/tools/BuildCheckpoints.java
Java
apache-2.0
5,898
/* * Copyright 2015-2016 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...
djechelon/spring-security
cas/src/main/java/org/springframework/security/cas/jackson2/CasJackson2Module.java
Java
apache-2.0
2,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 may ...
mesosphere/usergrid
stack/services/src/main/java/org/apache/usergrid/management/exceptions/UnactivatedAppUserException.java
Java
apache-2.0
1,337
package com.cardpay.pccredit.customer.model; import java.math.BigDecimal; import java.util.Date; import com.wicresoft.jrad.base.database.model.BusinessModel; public class MarketingPlanWeb extends BusinessModel{ private static final long serialVersionUID = 1L; private String id; private String chineseNam...
zhuyuanyan/PCCREDIT
src/java/com/cardpay/pccredit/customer/model/MarketingPlanWeb.java
Java
apache-2.0
2,252
/* * 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 ...
sankarh/hive
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/security/TestDBTokenStore.java
Java
apache-2.0
4,499
/* * Copyright (C) 2014, 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...
grzesuav/jpf-core
src/peers/gov/nasa/jpf/vm/JPF_java_lang_reflect_Constructor.java
Java
apache-2.0
7,663
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat 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 r...
jonathanchristison/fabric8
fabric/fabric-core/src/main/java/io/fabric8/service/child/ChildAutoScaler.java
Java
apache-2.0
6,087
/* * Copyright 2002-2020 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...
fhanik/spring-security
saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/authentication/AbstractSaml2AuthenticationRequest.java
Java
apache-2.0
5,211
/* * 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...
nezirus/elasticsearch
core/src/main/java/org/elasticsearch/index/IndexService.java
Java
apache-2.0
33,997
/* * 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 ...
kchilton2/incubator-rya
extras/rya.pcj.fluo/pcj.fluo.app/src/main/java/org/apache/rya/indexing/pcj/fluo/app/ProjectionResultUpdater.java
Java
apache-2.0
4,313
package com.hortonworks.streaming.interfaces; public interface DomainObject { }
timveil/iot-truck-streaming
stream-simulator/src/main/java/com/hortonworks/streaming/interfaces/DomainObject.java
Java
apache-2.0
82
/* * 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...
jimczi/elasticsearch
modules/percolator/src/test/java/org/elasticsearch/percolator/CandidateQueryTests.java
Java
apache-2.0
19,649
/* * 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/zest-qi4j
libraries/rest-client/src/main/java/org/apache/polygene/library/rest/client/api/HandlerCommand.java
Java
apache-2.0
6,730
/* * Copyright 2014 The Error Prone 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 ...
cushon/error-prone
core/src/test/java/com/google/errorprone/testdata/CommandLineFlagTestFile.java
Java
apache-2.0
729
package org.interledger.ilqp; import static junit.framework.TestCase.assertTrue; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertFalse; import static org.junit.Assert.fail; import org.junit.Test; import java.math.BigInteger; import java...
interledger/java-ilp-core
src/test/java/org/interledger/ilqp/QuoteByDestinationAmountResponseTest.java
Java
apache-2.0
4,010
/* * Copyright (c) 2015, 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.o...
jelacote/product-mdm
modules/mobile-agents/windows/jax-rs/src/main/java/org/wso2/carbon/mdm/mobileservices/windows/common/exceptions/CertificateGenerationException.java
Java
apache-2.0
1,594
/* * ============================================================================= * Simplified BSD License, see http://www.opensource.org/licenses/ * ----------------------------------------------------------------------------- * Copyright (c) 2008-2009, Marco Terzer, Zurich, Switzerland * All rights reserved. *...
mpgerstl/tEFMA
ch/javasoft/math/operator/compose/NullaryQuaternaryOperator.java
Java
bsd-2-clause
3,924
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // th...
javachengwc/jodd
jodd-bean/src/main/java/jodd/typeconverter/impl/DoubleArrayConverter.java
Java
bsd-2-clause
6,359
package org.hisp.dhis.sms.config; /* * Copyright (c) 2004-2016, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above cop...
mortenoh/dhis2-core
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/config/SmsGateway.java
Java
bsd-3-clause
2,101
package owltools.yaml.golrconfig; import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; import owltools.gaf.io.AbstractXmlWrite...
dhimmel/owltools
OWLTools-Solr/src/main/java/owltools/yaml/golrconfig/SolrSchemaXMLWriter.java
Java
bsd-3-clause
9,582
// BSD License (http://lemurproject.org) package org.lemurproject.galago.tupleflow; import java.util.Collection; import java.util.Comparator; /** * An Order is a class that represents an ordering of a Galago Type. You won't usually * implement this interface directly; instead, let Galago make the class for you *...
hzhao/galago-git
tupleflow/src/main/java/org/lemurproject/galago/tupleflow/Order.java
Java
bsd-3-clause
2,978
package org.broadinstitute.hellbender.tools.copynumber.arguments; public final class CopyNumberStandardArgument { public static final String ANNOTATED_INTERVALS_FILE_LONG_NAME = "annotated-intervals"; public static final String COUNT_PANEL_OF_NORMALS_FILE_LONG_NAME = "count-panel-of-normals"; public stat...
broadinstitute/hellbender
src/main/java/org/broadinstitute/hellbender/tools/copynumber/arguments/CopyNumberStandardArgument.java
Java
bsd-3-clause
977
/* * Copyright (c) 2004-2022, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
dhis2/dhis2-core
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/webmessage/WebMessageException.java
Java
bsd-3-clause
1,931
// Copyright 2020 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. package org.chromium.chrome.browser.ui.default_browser_promo; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; im...
ric2b/Vivaldi-browser
chromium/chrome/browser/ui/android/default_browser_promo/java/src/org/chromium/chrome/browser/ui/default_browser_promo/DefaultBrowserPromoUtilsTest.java
Java
bsd-3-clause
10,718
/* Copyright (c) 2017 Boundless and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/edl-v10.html * * Contribut...
jdgarrett/geogig
src/core/src/main/java/org/locationtech/geogig/storage/datastream/v2_3/FloatPackedCoordinateSequence.java
Java
bsd-3-clause
3,554
/* * File: BayesianUtilTest.java * Authors: Kevin R. Dixon * Company: Sandia National Laboratories * Project: Cognitive Foundry * * Copyright Apr 7, 2010, Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive * license f...
codeaudit/Foundry
Components/LearningCore/Test/gov/sandia/cognition/statistics/bayesian/BayesianUtilTest.java
Java
bsd-3-clause
9,863
package mobapptut.com.camera2videoimage; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() {...
MichelleAppel/WhaThisApp
app/src/androidTest/java/mobapptut/com/camera2videoimage/ApplicationTest.java
Java
mit
362
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.cognitiveservices.search.newssearch.models; import java.uti...
selvasingh/azure-sdk-for-java
sdk/cognitiveservices/ms-azure-cs-newssearch/src/main/java/com/microsoft/azure/cognitiveservices/search/newssearch/models/ErrorSubCode.java
Java
mit
2,688
package com.aspose.cells.model; public class ValidationResponse { private Validation Validation = null; private String Code = null; private String Status = null; /** * getValidation * Gets Validation * @return Validation */ public Validation getValidation() { return Validation; } /** * setV...
aspose-cells/Aspose.Cells-for-Cloud
SDKs/Aspose.Cells-Cloud-SDK-for-Java/src/main/java/com/aspose/cells/model/ValidationResponse.java
Java
mit
1,325
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope tha...
ahmedvc/umple
Umplificator/UmplifiedProjects/weka-umplified-0/src/test/java/weka/filters/unsupervised/attribute/RenameNominalValuesTest.java
Java
mit
5,676
package com.reactnativenavigation.views; import android.content.Context; import android.graphics.PorterDuff; import android.graphics.PorterDuffColorFilter; import android.graphics.drawable.Drawable; import android.support.annotation.NonNull; import com.github.clans.fab.FloatingActionButton; import com.reactnativenavi...
Jpoliachik/react-native-navigation
lib/android/app/src/main/java/com/reactnativenavigation/views/Fab.java
Java
mit
2,363
package com.thebluealliance.androidclient.comparators; import com.thebluealliance.androidclient.models.Match; import java.util.Comparator; public class MatchSortByDisplayOrderComparator implements Comparator<Match> { @Override public int compare(Match match, Match match2) { return match.getDisplayOrd...
phil-lopreiato/the-blue-alliance-android
android/src/main/java/com/thebluealliance/androidclient/comparators/MatchSortByDisplayOrderComparator.java
Java
mit
451
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
TypeFox/che
plugins/plugin-java/che-plugin-java-ext-lang-client/src/main/java/org/eclipse/che/ide/ext/java/client/tree/JavaNodeFactory.java
Java
epl-1.0
1,595
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
TypeFox/che
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/editor/document/DocumentEventBus.java
Java
epl-1.0
651
/******************************************************************************* * Copyright (c) 2017 Red Hat, Inc and others. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX...
jboss-reddeer/reddeer
plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/ui/perspectives/DatabaseDebugPerspective.java
Java
epl-1.0
838
/******************************************************************************* * Copyright (c) 2015 IBH SYSTEMS GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available a...
ibh-systems/packagedrone
bundles/org.eclipse.packagedrone.utils/src/org/eclipse/packagedrone/utils/io/IOConsumer.java
Java
epl-1.0
709
/******************************************************************************* * Copyright (c) 2015 IBH SYSTEMS GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available a...
eclipse/packagedrone
bundles/org.eclipse.packagedrone.job/src/org/eclipse/packagedrone/job/ErrorInformation.java
Java
epl-1.0
1,548
package com.cloupia.feature.purestorage.tasks; import com.cisco.cuic.api.client.WorkflowInputFieldTypeDeclaration; import com.cloupia.feature.purestorage.constants.PureConstants; import com.cloupia.service.cIM.inframgr.TaskOutputDefinition; import com.cloupia.service.cIM.inframgr.customactions.CustomActionLogger; imp...
purestorage-partnerconnect/ucs-director-plugin
UCSD 5.5 Connector/FlashArray UCSD Adapter and Source Code v1.2 (UCSD 5.5)/src/com/cloupia/feature/purestorage/tasks/DeleteHostTask.java
Java
gpl-2.0
4,846
/* * Copyright 2009 Glencoe Software, Inc. All rights reserved. * Use is subject to license terms supplied in LICENSE.txt */ package ome.formats.importer; import omero.model.Pixels; /** * Calculates the various dimensions of an image from a {@link Pixels} instance. * * @since Beta4.1 */ public class Impo...
knabar/openmicroscopy
components/blitz/src/ome/formats/importer/ImportSize.java
Java
gpl-2.0
2,895
/* * $Id$ * * Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free S...
Distrotech/icedtea7
test/jtreg/com/sun/javatest/TestFinderQueue.java
Java
gpl-2.0
24,262