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
// Copyright 2020 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
perezd/bazel
src/test/java/com/google/devtools/build/lib/packages/metrics/PackageMetricsPackageLoadingListenerTest.java
Java
apache-2.0
20,038
/* * Copyright 2007 Yusuke Yamamoto * * 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...
vaglucas/cafeUnoesc
twitter4j-core/src/main/java/twitter4j/internal/http/HttpClientImpl.java
Java
apache-2.0
11,891
package org.drip.param.definition; /* * -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /*! * Copyright (C) 2014 Lakshmi Krishnamurthy * Copyright (C) 2013 Lakshmi Krishnamurthy * Copyright (C) 2012 Lakshmi Krishnamurthy * Copyright (C) 2011 Lakshmi Krishnamurthy * ...
tectronics/splinelibrary
2.3/src/org/drip/param/definition/ComponentMarketParams.java
Java
apache-2.0
5,123
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
kalyanjvn1/selenium
java/client/test/org/openqa/selenium/testing/drivers/IgnoreComparatorUnitTest.java
Java
apache-2.0
4,704
/* * Copyright 2012-2022 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...
spring-projects/spring-boot
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientAutoConfiguration.java
Java
apache-2.0
3,409
/* * 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...
okalmanRH/jboss-activemq-artemis
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
Java
apache-2.0
46,719
package org.apache.lucene.util; /** * 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...
fnp/pylucene
lucene-java-3.5.0/lucene/src/test/org/apache/lucene/util/TestAttributeSource.java
Java
apache-2.0
11,339
/** * Copyright (c) 2010 Yahoo! 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...
sunmeng007/oozie
core/src/test/java/org/apache/oozie/command/coord/TestFutureActionsTimeOut.java
Java
apache-2.0
7,929
package ca.uhn.fhir.narrative; import static org.junit.Assert.assertEquals; import org.junit.AfterClass; import org.junit.Test; import ca.uhn.fhir.util.TestUtil; public class BaseThymeleafNarrativeGeneratorDstu2Test { private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(BaseThymeleafNar...
Gaduo/hapi-fhir
hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/narrative/BaseThymeleafNarrativeGeneratorDstu2Test.java
Java
apache-2.0
2,047
/* * 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...
MaineC/elasticsearch
core/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java
Java
apache-2.0
15,438
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
gradle/gradle
subprojects/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/OsXJavaHomeOutputParser.java
Java
apache-2.0
1,484
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
roberthafner/flowable-engine
modules/flowable-json-converter/src/main/java/org/activiti/editor/language/json/converter/MuleTaskJsonConverter.java
Java
apache-2.0
2,357
/** * 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...
mztaylor/rice-git
rice-middleware/krms/impl/src/main/java/org/kuali/rice/krms/impl/repository/ContextBoServiceImpl.java
Java
apache-2.0
4,861
package org.arquillian.cube.kubernetes.impl.feedback; import org.arquillian.cube.kubernetes.api.Configuration; import org.arquillian.cube.kubernetes.api.FeedbackProvider; import org.jboss.arquillian.core.api.Instance; import org.jboss.arquillian.core.api.InstanceProducer; import org.jboss.arquillian.core.api.annotatio...
spolti/arquillian-cube
kubernetes/kubernetes/src/main/java/org/arquillian/cube/kubernetes/impl/feedback/FeedbackProviderServiceRegistar.java
Java
apache-2.0
913
/* * ModeShape (http://www.modeshape.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 applicable law o...
flownclouds/modeshape
modeshape-jcr/src/test/java/org/modeshape/jcr/value/binary/FileSystemBinaryStoreTest.java
Java
apache-2.0
17,979
package org.apache.helix.recipes.rabbitmq; /* * 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 L...
dasahcc/helix
recipes/rabbitmq-consumer-group/src/main/java/org/apache/helix/recipes/rabbitmq/ConsumerStateModelFactory.java
Java
apache-2.0
1,427
/* * Copyright (C) 2012-2016 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 ag...
electrum/nifty
nifty-ssl/src/main/java/com/facebook/nifty/ssl/OpenSslServerConfiguration.java
Java
apache-2.0
9,523
/* * 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...
MaineC/elasticsearch
plugins/discovery-gce/src/test/java/org/elasticsearch/discovery/gce/GceDiscoverTests.java
Java
apache-2.0
9,385
package org.trello4j; import java.text.MessageFormat; /** * The Class TrelloURL. */ public class TrelloURI { public static final String BOARD_URL = "https://api.trello.com/1/boards/{0}"; public static final String BOARD_ACTIONS_URL = "https://api.trello.com/1/boards/{0}/actions"; public static final String ACTI...
Pedramrn/trello4j
src/main/java/org/trello4j/TrelloURI.java
Java
apache-2.0
9,241
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
yipen9/netty
handler/src/test/java/io/netty/handler/ipfilter/IpSubnetFilterTest.java
Java
apache-2.0
5,886
/* * #%L * SparkCommerce Common Libraries * %% * Copyright (C) 2015 Spark Commerce * %% */ package org.sparkcommerce.common.web; import org.springframework.security.web.util.AntPathRequestMatcher; import org.springframework.security.web.util.RequestMatcher; import org.springframework.web.servlet.resource.Resour...
akdasari/SparkCommon
src/main/java/org/sparkcommerce/common/web/SparkGWTModuleURLMappingResourceHttpRequestHandler.java
Java
apache-2.0
1,351
/* * Copyright 2009 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...
oletizi/jsyn-debug
src/com/jsyn/unitgen/Compare.java
Java
apache-2.0
1,165
/* * 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 ...
Geenie-Lee/ankus
ankus-core/src/main/java/org/ankus/io/TextTwoWritableComparable.java
Java
apache-2.0
2,740
// Copyright 2000-2021 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.ide.util.gotoByName; import com.intellij.ide.util.TypeVisibilityStateHolder; import com.intellij.openapi.components.PersistentStateComponent; import com.inte...
jwren/intellij-community
platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNameFilterConfiguration.java
Java
apache-2.0
2,421
/* * Copyright 2017 Martijn Brekhof. 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 a...
xbmc/Kore
app/src/main/java/org/xbmc/kore/ui/widgets/NowPlayingPanel.java
Java
apache-2.0
7,982
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
christophd/camel
core/camel-core/src/test/java/org/apache/camel/issues/TryCatchWireTapOnPrepareTest.java
Java
apache-2.0
2,487
/* * Copyright 2009 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-stylesheets
src/com/google/common/css/compiler/passes/CreateConstantReferences.java
Java
apache-2.0
3,274
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
AndroidX/androidx
samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/MusicProvider.java
Java
apache-2.0
12,431
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mhurne/aws-sdk-java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DeleteVolumeRequest.java
Java
apache-2.0
4,385
package org.red5.server.net.rtmp; import static org.junit.Assert.*; import org.junit.Test; public class TestRTMPUtils { @Test public void testWriteMediumInt() { fail("Not yet implemented"); } @Test public void testReadUnsignedMediumInt() { fail("Not yet implemented"); } ...
solomax/red5-server-common
src/test/java/org/red5/server/net/rtmp/TestRTMPUtils.java
Java
apache-2.0
600
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
flofreud/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/transform/DurationRangeJsonUnmarshaller.java
Java
apache-2.0
3,079
/** * Copyright 2014-2016 CyberVision, 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 applicabl...
abohomol/kaa
server/common/zk/src/main/java/org/kaaproject/kaa/server/common/zk/package-info.java
Java
apache-2.0
722
package com.getinch.retrogram; public enum Scope { basic, comments, relationships, likes }
wearemakery/retrogram
src/main/java/com/getinch/retrogram/Scope.java
Java
apache-2.0
98
/* * Copyright (c) 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 * * Un...
sohaniwso2/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.artifact.connector/src/org/wso2/developerstudio/eclipse/artifact/connector/ui/wizard/AddRemoveConnectorWizard.java
Java
apache-2.0
9,943
package org.DitaSemia.Base; import java.io.File; import java.io.StringReader; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.Map; import javax.xml.transform.Source; import javax.xml.transform.URIResolver; import javax.xml.transform.sax.SAXSource; import org.ap...
dita-semia/dita-semia-resolver
java/base/src/org/DitaSemia/Base/SaxonDocumentBuilder.java
Java
apache-2.0
7,059
package gov.hhs.onc.dcdt.mail.smtp; public interface SmtpReply extends SmtpMessage<SmtpReplyCode> { public boolean hasParameters(); public String[] getParameters(); public void setParameters(String ... params); }
esacinc/dcdt
dcdt-core/src/main/java/gov/hhs/onc/dcdt/mail/smtp/SmtpReply.java
Java
apache-2.0
228
package org.modelmapper.flattening.example1; public class Address { private String street; private String city; public Address(String street, String city) { this.street = street; this.city = city; } public String getStreet() { return street; } public void setStreet(String st...
scottresnik/modelmapper
examples/src/main/java/org/modelmapper/flattening/example1/Address.java
Java
apache-2.0
486
/** * @@@ START COPYRIGHT @@@ 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 "Licen...
apache/incubator-trafodion
dcs/src/main/java/org/trafodion/dcs/master/listener/RequestGetObjectRef.java
Java
apache-2.0
5,202
/* * Copyright 2020 The RoboZonky Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
triceo/zonkybot
robozonky-app/src/test/java/com/github/robozonky/app/SecretProviderFactoryTest.java
Java
apache-2.0
2,355
/* * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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:...
archit47/seaglass
src/main/java/com/seaglasslookandfeel/state/TabbedPaneRightTabState.java
Java
apache-2.0
1,237
// Copyright 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
kevinmdavis/cloud-trace-java
sinks/v1/sink/src/main/java/com/google/cloud/trace/v1/util/RoughTraceSizer.java
Java
apache-2.0
1,808
package com.simpligility.maven.plugins.androidndk; import static org.easymock.EasyMock.*; import java.io.File; import org.apache.commons.io.FileUtils; import org.apache.commons.io.FilenameUtils; import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugi...
kedzie/android-ndk-maven-plugin
src/test/java/com/simpligility/maven/plugins/androidndk/AbstractAndroidMojoTestCase.java
Java
apache-2.0
6,828
/* * Copyright (c) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
xorware/android_frameworks_base
telephony/java/com/android/ims/internal/uce/presence/PresSipResponse.java
Java
apache-2.0
3,804
/* * JCusparse - Java bindings for CUSPARSE, the NVIDIA CUDA sparse * matrix library, to be used with JCuda * * Copyright (c) 2010-2015 Marco Hutter - http://www.jcuda.org * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * f...
nchinth/nd4j
nd4j-jcublas-parent/nd4j-jcublas-7.5/src/main/java/jcuda/jcusparse/cusparseIndexBase.java
Java
apache-2.0
2,215
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
ern/elasticsearch
server/src/main/java/org/elasticsearch/script/StoredScriptSource.java
Java
apache-2.0
17,251
/** * Copyright (c) 2011 Source Auditor 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 appli...
rtgdk/tools
TestFiles/spdx-parser-source/org/spdx/rdfparser/SpdxNoAssertionLicense.java
Java
apache-2.0
2,282
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
bootstraponline-archive/gerrit-mirror
gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/api/change/ChangeIT.java
Java
apache-2.0
3,621
/** * 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...
prestona/java-mqlight
mqlight/src/test/java/com/ibm/mqlight/api/impl/network/TestNetworkListenerImpl.java
Java
apache-2.0
4,036
/* * 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 ...
vlsi/incubator-calcite
file/src/main/java/org/apache/calcite/adapter/file/FileTableScan.java
Java
apache-2.0
3,510
package org.drools.repository.utils; import org.drools.repository.RulesRepositoryException; /* * Copyright 2011 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 * * ht...
cyberdrcarr/guvnor
guvnor-repository/src/main/java/org/drools/repository/utils/NodeUtils.java
Java
apache-2.0
1,537
// :tabSize=2:indentSize=2:noTabs=false:folding=explicit:collapseFolds=1: /** * Test suite for RectangularArrayBuilder */ public class RectangularArrayBuilder_Test { private static int[] dim1d = {10} ; private static int[] dim2d = {5,2} ; private static int[] dim3d = {5,3,2} ; // {{{ main public static void...
lehoangha/GSOE9712_S115_RA
packrat/lib/x86_64-pc-linux-gnu/3.2.1/rJava/java/RectangularArrayBuilder_Test.java
Java
apache-2.0
24,497
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2017 Board of Regents of the University of * Wisconsin-Madison, University of Konstanz and Brian Northan. * %% * Redistribution and use in source and binary forms, with or without * modification, are permi...
gab1one/imagej-ops
src/main/java/net/imagej/ops/map/neighborhood/AbstractMapNeighborhood.java
Java
bsd-2-clause
2,393
/** * PlotFrame.java * * @author Christopher K. Allen * @since Nov 26, 2012 * */ /** * PlotFrame.java * * @author Christopher K. Allen * @since Nov 26, 2012 */ package xal.extension.widgets.olmplot; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; impor...
openxal/openxal
extensions/widgets/src/xal/extension/widgets/olmplot/GraphFrame.java
Java
bsd-3-clause
2,744
/* * Copyright (c) 2009-13, United States Government, as represented by the Secretary of Health and Human Services. * 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...
sailajaa/CONNECT
Product/Production/Common/CONNECTCoreLib/src/main/java/gov/hhs/fha/nhinc/logging/transaction/impl/TransactionStoreDatabase.java
Java
bsd-3-clause
3,359
/* * 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-tracker/src/test/java/org/hisp/dhis/tracker/programrule/AssignValueImplementerTest.java
Java
bsd-3-clause
25,677
/* * 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-core/src/main/java/org/hisp/dhis/jsonpatch/BulkJsonPatches.java
Java
bsd-3-clause
2,129
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.opengl; import org.lwjgl.system.*; /** * Native bindings to the <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/NV/NV_draw_texture.txt">...
LWJGL-CI/lwjgl3
modules/lwjgl/opengl/src/generated/java/org/lwjgl/opengl/NVDrawTexture.java
Java
bsd-3-clause
1,546
/* * Copyright (C) 2015 The Async HBase Authors. All rights reserved. * This file is part of Async HBase. * * 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 abov...
yuzhu712/asynchbase
test/TestSecureRpcHelper96.java
Java
bsd-3-clause
13,810
package org.hisp.dhis.relationship; /* * Copyright (c) 2004-2015, 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...
steffeli/inf5750-tracker-capture
dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipType.java
Java
bsd-3-clause
4,697
package org.broadinstitute.hellbender.tools.spark.sv.evidence; import biz.k11i.xgboost.Predictor; import biz.k11i.xgboost.learner.ObjFunction; import com.google.common.annotations.VisibleForTesting; import htsjdk.samtools.CigarElement; import htsjdk.samtools.CigarOperator; import htsjdk.samtools.TextCigarCodec; import...
broadinstitute/hellbender
src/main/java/org/broadinstitute/hellbender/tools/spark/sv/evidence/XGBoostEvidenceFilter.java
Java
bsd-3-clause
22,666
/* * Portions of this file Copyright 1999-2005 University of Chicago * Portions of this file Copyright 1999-2005 The University of Southern California. * * This file or a portion of this file is licensed under the * terms of the Globus Toolkit Public License, found at * http://www.globus.org/toolkit/download/lice...
NCIP/cagrid2-wsrf
wsrf-jglobus/src/main/java/org/globus/gatekeeper/jobmanager/JobManagerException.java
Java
bsd-3-clause
1,397
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008-2012. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
quantumsamurai/wpilibj.project
src/edu/wpi/first/wpilibj/DriverStationLCD.java
Java
bsd-3-clause
5,957
package net.ripe.db.whois.update.handler.validator.common; import com.google.common.collect.Lists; import net.ripe.db.whois.common.dao.RpslObjectUpdateDao; import net.ripe.db.whois.common.rpsl.ObjectType; import net.ripe.db.whois.update.domain.Action; import net.ripe.db.whois.update.domain.PreparedUpdate; import net.r...
8v060htwyc/whois
whois-update/src/main/java/net/ripe/db/whois/update/handler/validator/common/ObjectReferencedValidator.java
Java
bsd-3-clause
1,588
package com.echopen.asso.echopen.filters; /*! IntensityToRGBFilter is class that takes an input image with pixel intensity on a 8bits range and apply a color LUT to convert it to an RGB image Non optimized implementation - to switch on ITK open source framework */ public class IntensityToRGBFilter { pr...
mariemalherbe/echOpen-G10
android-app/app/src/main/java/com/echopen/asso/echopen/filters/IntensityToRGBFilter.java
Java
bsd-3-clause
864
/* * Copyright (c) 2010, The OpenRTB Project 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, * this list of condi...
ProfessorEugene/openrtb2x
common/src/test/java/org/openrtb/common/model/IdentificationTest.java
Java
bsd-3-clause
3,519
/** * Copyright (c) 2012, The National Archives <pronom@nationalarchives.gsi.gov.uk> * 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 re...
Det-Kongelige-Bibliotek/droid
droid-swing-ui/src/main/java/uk/gov/nationalarchives/droid/gui/filechooser/ResourceFileChooser.java
Java
bsd-3-clause
3,394
/* * @(#)Main.java * * Copyright (c) 1996-2010 by the original authors of JHotDraw and all its * contributors. All rights reserved. * * You may not use, copy or modify this file, except in compliance with the * license agreement you entered into with the copyright holders. For details * see accompanying licens...
runqingz/umple
Umplificator/UmplifiedProjects/jhotdraw7/src/main/java/org/jhotdraw/samples/draw/Main.java
Java
mit
1,890
package im.actor.core.api.parser; /* * Generated by the Actor API Scheme generator. DO NOT EDIT! */ import im.actor.runtime.bser.*; import im.actor.runtime.collections.*; import static im.actor.runtime.bser.Utils.*; import im.actor.core.network.parser.*; import org.jetbrains.annotations.Nullable; import org.jetbra...
yangchenghu/actor-platform
actor-apps/core/src/main/java/im/actor/core/api/parser/RpcParser.java
Java
mit
8,845
package vehicle; /** * Created by stephandowding on 18/8/15. */ public class Helicopter extends BaseVehicle { protected int maxSpeed(){ return 250; } private boolean takenOff = false; public void takeOff() { takenOff = true; } public void land() { if (getSpeed() > ...
ThoughtWorksInc/SG-ObjectBootcamp
LiskovSubstitution/src/vehicle/Helicopter.java
Java
mit
592
/** * 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.videosearch.models; import com.fas...
Azure/azure-sdk-for-java
sdk/cognitiveservices/ms-azure-cs-videosearch/src/main/java/com/microsoft/azure/cognitiveservices/search/videosearch/models/VideoResolution.java
Java
mit
1,497
package com.baoyz.pullrefreshlayout.sample; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Menu; import android.view.MenuItem; import android.view.View; impor...
chenanze/android-PullRefreshLayout
sample/src/main/java/com/baoyz/pullrefreshlayout/sample/RecyclerViewActivity.java
Java
mit
3,547
/* * @(#)CreationToolBarBeanInfo.java * * Copyright (c) 1996-2010 by the original authors of JHotDraw and all its * contributors. All rights reserved. * * You may not use, copy or modify this file, except in compliance with the * license agreement you entered into with the copyright holders. For details * see ...
ahmedvc/umple
Umplificator/UmplifiedProjects/jhotdraw7/src/main/java/org/jhotdraw/samples/svg/gui/ToolsToolBarBeanInfo.java
Java
mit
8,133
package com.microsoft.azure.keyvault.requests; import java.util.Collections; import java.util.Map; import com.microsoft.azure.keyvault.SecretIdentifier; import com.microsoft.azure.keyvault.models.Attributes; import com.microsoft.azure.keyvault.models.SecretAttributes; /** * The update secret request class. */ publ...
pomortaz/azure-sdk-for-java
azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateSecretRequest.java
Java
mit
5,170
/******************************************************************************* * Copyright (c) 2012 Rama Ramakrishnan and others. * 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, an...
drbgfc/mdht
cda/tests/org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/test/java/org/openhealthtools/mdht/uml/cda/mu2consol/tests/Mu2consolExample.java
Java
epl-1.0
4,371
/* * 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...
jonahkichwacoders/che
plugins/plugin-docker/che-plugin-docker-client/src/main/java/org/eclipse/che/plugin/docker/client/params/StartContainerParams.java
Java
epl-1.0
1,961
/* * 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 ...
SpoonLabs/astor
examples/lang_8/src/test/java/org/apache/commons/lang3/concurrent/TimedSemaphoreTest.java
Java
gpl-2.0
17,934
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * *************************************************************************** *************************************************************************** ...
AntumDeluge/arianne-stendhal
src/games/stendhal/tools/loganalyser/itemlog/contraband/ItemInfo.java
Java
gpl-2.0
1,886
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * *************************************************************************** *************************************************************************** ...
AntumDeluge/arianne-stendhal
src/games/stendhal/tools/test/ChatTestCreator.java
Java
gpl-2.0
3,001
/* * Copyright (c) 2008, 2012, Oracle and/or its affiliates. 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 ...
rschatz/graal-core
graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/jdk/Unsafe_compareAndSwap.java
Java
gpl-2.0
2,359
/* * Copyright (C) 2007-2010 Geometer Plus <contact@geometerplus.com> * * 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 2 of the License, or * (at your option) any later ver...
giannoug/android_device_jxd_s7300b
packages/PicturePlayer/src/org/geometerplus/fbreader/formats/xhtml/XHTMLTagParagraphWithControlAction.java
Java
gpl-2.0
2,003
/** * License Agreement for OpenSearchServer * * Copyright (C) 2014 Emmanuel Keller / Jaeksoft * * http://www.open-search-server.com * * This file is part of OpenSearchServer. * * OpenSearchServer is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
nvoron23/opensearchserver
src/main/java/com/jaeksoft/searchlib/web/controller/crawler/web/CookiesController.java
Java
gpl-3.0
1,553
/* * Copyright (C) 2016 Simon Fels <morphis@gravedo.de> * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, bu...
sfdroid/anbox
android/appmgr/src/org/anbox/appmgr/PlatformService.java
Java
gpl-3.0
5,819
/* * 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 ...
eugenegardner/tenXMEIPolisher
src/org/apache/commons/compress/utils/CharsetNames.java
Java
gpl-3.0
5,209
/* * Grakn - A Distributed Semantic Database * Copyright (C) 2016 Grakn Labs Limited * * Grakn 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...
aelred/grakn
grakn-graql/src/main/java/ai/grakn/graql/internal/printer/Printers.java
Java
gpl-3.0
1,400
/* * Copyright (c) 2010, SQL Power Group Inc. * * This file is part of Wabit. * * Wabit 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) an...
iyerdude/wabit
src/main/java/ca/sqlpower/wabit/report/selectors/Selector.java
Java
gpl-3.0
1,583
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
s20121035/rk3288_android5.1_repo
cts/tests/tests/renderscript/src/android/renderscript/cts/TypeTest.java
Java
gpl-3.0
7,395
package com.redhat.reportengine.server.dbmap; import java.io.Serializable; import java.util.Date; /** * @author jkandasa@redhat.com (Jeeva Kandasamy) * Jun 16, 2012 */ public class TestReference implements Serializable{ private static final long serialVersionUID = 1727108410881588881L; private int id; private...
Patzifist/report-engine
modules/core/database/src/main/java/com/redhat/reportengine/server/dbmap/TestReference.java
Java
gpl-3.0
1,029
/************************************************************************* * Copyright 2009-2015 Eucalyptus Systems, Inc. * * 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; version 3 of the ...
eethomas/eucalyptus
clc/modules/euare/src/main/java/com/eucalyptus/auth/euare/persist/entities/AccessKeyEntity.java
Java
gpl-3.0
8,357
/**************************************************************************************** * Copyright (c) 2009 Daniel Svärd <daniel.svard@gmail.com> * * Copyright (c) 2010 Rick Gruber-Riemer <rick@vanosten.net> * * Copyright (c) 2011 Norbert Nagold <norbert.nago...
banxi1988/Anki-Android
src/com/ichi2/libanki/Models.java
Java
gpl-3.0
51,790
/* * Copyright (c) 2014 Mario Guggenberger <mg@itec.aau.at> * * This file is part of ITEC MediaPlayer. * * ITEC MediaPlayer 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 Licens...
rbouqueau/ITEC-MediaPlayer
MediaPlayer-GLES-FlowAbs/src/main/java/at/aau/itec/android/mediaplayer/gles/flowabs/FDOG0ShaderProgram.java
Java
gpl-3.0
3,036
/* * 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 that it w...
mydzigear/weka.kmeanspp.silhouette_score
src/weka/core/expressionlanguage/common/Primitives.java
Java
gpl-3.0
6,675
/** * */ package org.wltea.analyzer.test; import org.wltea.analyzer.cfg.Configuration; import junit.framework.TestCase; /** * @author Administrator * */ public class CfgTester extends TestCase{ public void testCfgLoading(){ System.out.println(Configuration.getExtDictionarys().size()); S...
mlc0202/ik-analyzer
src/test/java/org/wltea/analyzer/test/CfgTester.java
Java
gpl-3.0
399
/* * Copyright (c) 2014. The Trustees of Indiana University. * * This version of the code is licensed under the MPL 2.0 Open Source license with additional * healthcare disclaimer. If the user is an entity intending to commercialize any application * that uses this code in a for-profit venture, please contact the ...
vikaspandeysahaj/muzima-api-1
src/main/java/com/muzima/api/dao/PatientDao.java
Java
mpl-2.0
2,579
import java.util.Random; public class RandInteger { private Random rand = new Random(); /** Exercise 5.1-2 */ public int nextInt(int a, int b) { int n = b-a+1; int N = Bits.highSetBit(n); OUTER: while (true) { int val = 0; for (int bit=N; bit>0; bit>>>=1) { val |= ((rand.nextInt(2)>0)? bit : 0);...
DevinZ1993/Pieces-of-Code
java/algorithms/src/RandInteger.java
Java
mpl-2.0
401
package info.nightscout.androidaps.plugins.PumpDanaR.comm; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import info.nightscout.androidaps.Config; public class MsgSetTempBasalStart extends MessageBase { private static Logger log = LoggerFactory.getLogger(MsgSetTempBasalStart.class); public MsgSet...
AdrianLxM/AndroidAPS
app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/comm/MsgSetTempBasalStart.java
Java
agpl-3.0
1,307
/* * This is part of Geomajas, a GIS framework, http://www.geomajas.org/. * * Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium. * * The program is available in open source according to the GNU Affero * General Public License. All contributions in this program are covered * by the Geomajas Contr...
olivermay/geomajas
plugin/geomajas-plugin-editing/editing-javascript-api/src/main/java/org/geomajas/plugin/editing/jsapi/client/merge/event/GeometryMergeStopEvent.java
Java
agpl-3.0
1,338
package dr.inference.model; /** * Created by maxryandolinskytolkoff on 10/14/16. */ public interface MatrixSizePrior { double getSizeLogLikelihood(); }
4ment/beast-mcmc
src/dr/inference/model/MatrixSizePrior.java
Java
lgpl-2.1
160
/*! * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you ...
kurtwalker/modeler
core/src/it/java/org/pentaho/agilebi/modeler/geo/GeoContextIT.java
Java
lgpl-2.1
52,364
/* * #%L * Alfresco Remote API * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the...
Alfresco/community-edition
projects/remote-api/source/java/org/alfresco/rest/api/nodes/NodeRatingsRelation.java
Java
lgpl-3.0
4,534
/* * Copyright (C) 2015 higherfrequencytrading.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License. * * This program is ...
kevintvh/Chronicle-Map
src/test/java/net/openhft/chronicle/map/FirstPrimitiveFieldTest.java
Java
lgpl-3.0
1,274