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...
eva-xuyen/excalibur
cornerstone/store/impl/src/main/java/org/apache/avalon/cornerstone/blocks/masterstore/File_Persistent_Stream_Repository.java
Java
apache-2.0
4,215
/* * Copyright 2016 LINE Corporation * * LINE Corporation 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
minwoox/armeria
jetty9/src/main/java/com/linecorp/armeria/server/jetty/JettyServiceConfig.java
Java
apache-2.0
7,083
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
apetro/uPortal
uportal-war/src/main/java/org/apereo/portal/xml/stream/events/XMLEventWrapper.java
Java
apache-2.0
3,413
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <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 the * <a href="http://www.apache...
stevenhva/InfoLearn_OpenOLAT
src/main/java/org/olat/modules/scorm/assessment/CmiData.java
Java
apache-2.0
1,525
/* * 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.org/l...
dulichan/product-mdm
modules/mobile-agents/windows/jax-rs/src/main/java/org/wso2/carbon/mdm/mobileservices/windows/operations/Results.java
Java
apache-2.0
2,867
/* * 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 ...
robertwb/incubator-beam
sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/RecommendationAICatalogItemIT.java
Java
apache-2.0
4,700
/* * Copyright 2017-present Open Networking 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 appli...
sdnwiselab/onos
incubator/api/src/main/java/org/onosproject/incubator/net/l2monitoring/soam/loss/LossMeasurementStat.java
Java
apache-2.0
7,176
/* * Copyright 2016-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...
daedric/buck
test/com/facebook/buck/versions/VersionedTargetGraphFactory.java
Java
apache-2.0
1,932
package org.testng.xml; import static org.testng.collections.CollectionUtils.hasElements; import java.util.Map; import org.testng.collections.Maps; import org.testng.reporters.XMLStringBuffer; public class XmlDependencies { private Map<String, String> m_xmlDependencyGroups = Maps.newHashMap(); public void onGr...
krmahadevan/testng
testng-core-api/src/main/java/org/testng/xml/XmlDependencies.java
Java
apache-2.0
985
/* * 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/accumulo
server/compaction-coordinator/src/main/java/org/apache/accumulo/coordinator/CompactionFinalizer.java
Java
apache-2.0
9,522
/** * 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
ql/src/java/org/apache/hadoop/hive/ql/exec/RCFileMergeOperator.java
Java
apache-2.0
4,155
/* Copyright 2006-2007 Graeme Rocher * * 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...
jeffbrown/grailsnolib
grails-core/src/main/groovy/org/codehaus/groovy/grails/support/CommandLineResourceLoader.java
Java
apache-2.0
1,244
/** * 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 ...
lpandzic/assertj-core
src/test/java/org/assertj/core/api/localtime/LocalTimeAssert_isBeforeOrEqualTo_Test.java
Java
apache-2.0
3,600
/* * Copyright (c) 2014 AsyncHttpClient Project. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.or...
Aulust/async-http-client
client/src/main/java/org/asynchttpclient/handler/AsyncHandlerExtensions.java
Java
apache-2.0
4,336
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2012 Dirk Beyer * 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...
TommesDee/cpachecker
src/org/sosy_lab/cpachecker/util/invariants/balancer/NetworkBuilder.java
Java
apache-2.0
949
/** * INCOMPLETE: The com.ibm.jbatch-runtime-all module's Javadoc * is missing. The reason is that 'com.ibm.jbatch-runtime-all' module * is built by aggregating classes from other Maven modules. Unfortunately, * we did not complete the task of aggregating the Javadocs as well. So you * will have to look ...
papegaaij/jsr-352
JSR352.Aggregation/runtime/src/main/javadoc/package-info.java
Java
apache-2.0
754
/* * Copyright 2017 Daniel Nilsson * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
dannil/scb-api
src/test/java/com/github/dannil/scbjavaclient/client/labourmarket/LabourMarketClientTest.java
Java
apache-2.0
2,493
/* * Copyright 2016 LinkedIn Corp. 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...
cgtz/ambry
ambry-store/src/test/java/com/github/ambry/store/LogTest.java
Java
apache-2.0
40,665
package com.mycompany.myapp.repository; import com.mycompany.myapp.domain.TestPagination; import org.springframework.data.jpa.repository.*; import java.util.List; /** * Spring Data JPA repository for the TestPagination entity. */ public interface TestPaginationRepository extends JpaRepository<TestPagination,Long>...
hirro/jhipster-test-projects
jh/src/main/java/com/mycompany/myapp/repository/TestPaginationRepository.java
Java
apache-2.0
326
package com.hazelcast.simulator.utils; import java.net.Inet6Address; import java.net.InetAddress; import java.net.InterfaceAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.Enumeration; import static com.hazelcast.simulator.utils.CommonUtils.rethrow; public final class Host...
gAmUssA/hazelcast-simulator
utils/src/main/java/com/hazelcast/simulator/utils/HostAddressPicker.java
Java
apache-2.0
3,346
package com.mit.dstore.entity; import org.litepal.crud.DataSupport; public class MessageStatsItem extends DataSupport{ // private int Count = 0; // private String LastUpdateTime = ""; // private int SellerID = 0; // private String SellerLogo = ""; // private String SellerName = ""; // private int SellerType = 0...
luchuangbin/test1
src/com/mit/dstore/entity/MessageStatsItem.java
Java
apache-2.0
2,314
/** * Copyright 2016 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...
punkhorn/sap-quickstarts
standalone/sap-srfc-destination-standalone/src/main/java/org/jboss/quickstarts/fuse/sap_srfc_destination_standalone/CreateRequest.java
Java
apache-2.0
1,867
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.execution.junit; import com.intellij.codeInsight.TestFrameworks; import com.intellij.execution.ExecutionException; import com.intellij.exec...
google/intellij-community
plugins/junit/src/com/intellij/execution/junit/TestUniqueId.java
Java
apache-2.0
4,459
/* * 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 m...
MjAbuz/river
src/com/sun/jini/outrigger/ThrowThis.java
Java
apache-2.0
1,497
// Copyright (C) 2009 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 ...
m1kah/gerrit-contributions
gerrit-common/src/main/java/com/google/gerrit/common/auth/userpass/UserPassAuthService.java
Java
apache-2.0
1,234
package com.aphyr.riemann.client; import java.util.concurrent.TimeUnit; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicReference; import java.io.IOException; // Imagine you're calling a function send() which returns an // IPromise<Response>, and want to return that promise to the...
l1x/riemann-java-client
src/main/java/com/aphyr/riemann/client/ChainPromise.java
Java
apache-2.0
3,042
package org.anarres.dhcp.v6.options; /** * Timed option blueprint e.g. IaNaOption */ public interface TimedOption { int getT1(); void setT1(int t1); void setT2(int t2); int getT2(); }
marosmars/dhcp4j
dhcp-protocol/src/main/java/org/anarres/dhcp/v6/options/TimedOption.java
Java
apache-2.0
207
/* * 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...
sreeramjayan/elasticsearch
core/src/main/java/org/elasticsearch/index/translog/TranslogWriter.java
Java
apache-2.0
15,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 may n...
mihbor/kafka
streams/src/test/java/org/apache/kafka/streams/kstream/internals/KStreamMapValuesTest.java
Java
apache-2.0
4,277
/* Generated By:JavaCC: Do not edit this line. JJTELParserState.java Version 7.0.10 */ package org.apache.el.parser; @SuppressWarnings("all") // Ignore warnings in generated code public class JJTELParserState { private java.util.List<Node> nodes; private java.util.List<Integer> marks; private int sp; // ...
apache/tomcat
java/org/apache/el/parser/JJTELParserState.java
Java
apache-2.0
3,310
/* * 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/bval
bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/Auditable.java
Java
apache-2.0
1,203
/* * Copyright 2018 Netflix, 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...
ajoymajumdar/metacat
metacat-connector-hive/src/main/java/com/netflix/metacat/connector/hive/configs/CacheConfig.java
Java
apache-2.0
1,619
/* * Copyright 2013 Georgia Tech Applied Research Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
freud14/bk-tree
src/test/java/edu/gatech/gtri/bktree/MutableBkTreeTest.java
Java
apache-2.0
2,570
package org.sagebionetworks.table.cluster.columntranslation; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.function.Function; import java.util.stream.Collectors; import org.apache.commons....
xschildw/Synapse-Repository-Services
lib/lib-table-cluster/src/main/java/org/sagebionetworks/table/cluster/columntranslation/ColumnTranslationReferenceLookup.java
Java
apache-2.0
2,532
/* * 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 ...
shardingjdbc/sharding-jdbc
shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/main/java/org/apache/shardingsphere/sql/parser/binder/statement/ddl/TruncateStatementContext.java
Java
apache-2.0
1,876
/* * Copyright 2015 AVAST Software 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 ...
avast/sms-ticket
wear/src/main/java/eu/inmite/apps/smsjizdenka/events/ConfirmationTicketEvent.java
Java
apache-2.0
939
package org.qcri.rheem.core.optimizer.enumeration; import org.qcri.rheem.core.api.Configuration; import java.util.ArrayList; /** * This {@link PlanEnumerationPruningStrategy} retains only the best {@code k} {@link PlanImplementation}s. */ public class TopKPruningStrategy implements PlanEnumerationPruningStrategy {...
jonasrk/rheem
rheem-core/src/main/java/org/qcri/rheem/core/optimizer/enumeration/TopKPruningStrategy.java
Java
apache-2.0
1,307
package com.mtools.thread.test; public class ThreadLock { /** * @param args * @throws InterruptedException */ public static void main(String[] args) throws InterruptedException { long id=Thread.currentThread().getId(); System.out.println("main id:"+id); Thread tha= null; tha= new Thread(rabe); ...
wyelite/mtools
mtools/src/test/java/com/mtools/thread/test/ThreadLock.java
Java
apache-2.0
1,406
/* * Copyright 2019 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 in w...
koo-taejin/pinpoint
web/src/main/java/com/navercorp/pinpoint/web/calltree/span/Node.java
Java
apache-2.0
6,357
/* * 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 * * ...
rnavagamuwa/custom-carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.util/src/main/java/org/wso2/carbon/apimgt/rest/api/util/RestApiConstants.java
Java
apache-2.0
6,680
/* * Copyright 2012 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 ...
hxf0801/guvnor
guvnor-project/guvnor-project-builder/src/main/java/org/guvnor/common/services/builder/ObservableJavaFile.java
Java
apache-2.0
880
/* * Copyright 2010-2014 Ning, Inc. * Copyright 2014 The Billing Project, LLC * * Ning 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/lice...
trifonnt/killbill-meter-plugin
src/main/java/org/killbill/billing/plugin/meter/timeline/sources/SourceIdAndMetricIdMapper.java
Java
apache-2.0
1,250
/* * JBoss, Home of Professional Open Source * Copyright 2010, 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...
antoinesd/weld-core
tests-arquillian/src/test/java/org/jboss/weld/tests/beanManager/access/MarkerObtainer3.java
Java
apache-2.0
1,092
/** * Generated with Acceleo */ package org.wso2.developerstudio.eclipse.gmf.esb.parts.impl; // Start of user code for imports import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api....
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/parts/impl/MessageStoreParameterPropertiesEditionPartImpl.java
Java
apache-2.0
11,378
/* * Copyright @ 2015 Atlassian Pty 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 ag...
gpolitis/libjitsi
src/org/jitsi/impl/neomedia/transform/srtp/SRTCPTransformer.java
Java
apache-2.0
6,077
/* * Copyright 2010 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...
Pushjet/Pushjet-Android
gradle/wrapper/dists/gradle-2.2.1-all/c64ydeuardnfqctvr1gm30w53/gradle-2.2.1/src/core/org/gradle/internal/xml/XmlTransformer.java
Java
bsd-2-clause
13,197
package com.gamejolt.mikykr5.ceidecpong.ecs.systems; import java.util.LinkedList; import java.util.Queue; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.Family; import com.badlogic.ashley.systems.IteratingSystem; import com.badlogic.gdx.audio.Sound; import com.gamejolt.mikykr5.ceidecpong.ecs....
sagge-miky/CEIDEC-Pong
core/src/com/gamejolt/mikykr5/ceidecpong/ecs/systems/SoundSystem.java
Java
bsd-2-clause
1,652
/******************************************************************************* * Copyright (C) 2015 Brocade Communications Systems, 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,...
jthackray/vTM-eclipse
plugin/src/com/zeus/eclipsePlugin/filesystem/EmptyFileStore.java
Java
bsd-3-clause
4,542
package com.antfortune.freeline.databinding; import android.databinding.tool.DataBindingBuilder; import android.databinding.tool.LayoutXmlProcessor; import java.io.File; /** * Created by huangyong on 16/10/21. */ public class DataBindingHelper { private static LayoutXmlProcessor sLayoutXmlProcessor; publ...
act262/freeline
freeline-databinding-cli/src/main/java/com/antfortune/freeline/databinding/DataBindingHelper.java
Java
bsd-3-clause
1,115
/* * Copyright (C) 2008, Google Inc. * * 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 con...
isungurov/test-project
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/NameConflictTreeWalk.java
Java
bsd-3-clause
9,171
/* * $Id: DryadArticleIteratorFactory.java 39864 2015-02-18 09:10:24Z thib_gc $ */ /* Copyright (c) 2000-2013 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (t...
lockss/lockss-daemon
plugins/src/org/lockss/plugin/dspace/DSpaceArticleIteratorFactory.java
Java
bsd-3-clause
3,584
/*================================================================================ Copyright (c) 2013 Steve Jin. 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...
stephenc/vijava
src/main/java/com/vmware/vim25/ArrayOfVMwareDVSPvlanConfigSpec.java
Java
bsd-3-clause
2,260
/* Copyright (c) 2006, Sun Microsystems, Inc. * 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 l...
gark87/jj2IntelliJ
src/org/javacc/parser/JavaCCErrors.java
Java
bsd-3-clause
4,404
/* * Copyright (c) 2013-2014, ickStream GmbH * 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 ...
ickStream/ickstream-java-common
ickprotocol/player/src/main/java/com/ickstream/protocol/service/player/CloudCoreStatus.java
Java
bsd-3-clause
1,902
package com.oracle.xmlns.apps.sales.opptymgmt.opportunities.opportunityservice; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; impo...
dushmis/Oracle-Cloud
PaaS_SaaS_Accelerator_RESTFulFacade/FusionProxy_OpportunityService/src/com/oracle/xmlns/apps/sales/opptymgmt/opportunities/opportunityservice/OpportunityResource.java
Java
bsd-3-clause
33,486
/******************************************************************************* * Copyright (C) 2015 Brocade Communications Systems, 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,...
jthackray/vTM-eclipse
plugin/src/com/zeus/eclipsePlugin/swt/SWTUtil.java
Java
bsd-3-clause
39,071
// Copyright 2015 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.content.browser; import android.content.Context; import android.media.AudioManager; import org.chromium.base.Log; import org.chromi...
danakj/chromium
content/public/android/java/src/org/chromium/content/browser/MediaSessionDelegate.java
Java
bsd-3-clause
4,962
/** * */ package gov.nih.nci.cabig.caaers.security; import org.acegisecurity.intercept.method.aspectj.AspectJCallback; import org.acegisecurity.intercept.method.aspectj.AspectJSecurityInterceptor; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.aspectj.lang.JoinPoint;...
CBIIT/caaers
caAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/security/StudyParticipantAssignmentAspect.java
Java
bsd-3-clause
1,749
/** * Copyright (c) 2011-2016, Qulice.com * 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 conditio...
jrdalpra/qulice
qulice-maven-plugin/src/test/java/com/qulice/maven/DefaultMavenEnvironmentTest.java
Java
bsd-3-clause
4,937
package eta.runtime.thunk; import eta.runtime.stg.StgClosure; import eta.runtime.stg.StgContext; import eta.runtime.apply.Apply; public class Ap1Upd extends StgInd { public StgClosure p; public Ap1Upd(final StgClosure p) { super(); this.p = p; } @Override public void thunkEnter(S...
alexander-at-github/eta
rts/src/eta/runtime/thunk/Ap1Upd.java
Java
bsd-3-clause
414
package net.sourceforge.pmd.lang.java.rule.junit; import java.util.List; import net.sourceforge.pmd.lang.ast.Node; import net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceDeclaration; import net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType; import net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit; imp...
daejunpark/jsaf
third_party/pmd/src/main/java/net/sourceforge/pmd/lang/java/rule/junit/AbstractJUnitRule.java
Java
bsd-3-clause
3,780
package org.motechproject.nms.region.utils; /** * Created by beehyv on 22/6/18. */ public final class LocationConstants { public static final String INVALID = "<%s - %s : Invalid location>"; public static final String STATE_ID = "StateID"; public static final String DISTRICT_ID = "District_ID"; publ...
motech-implementations/mim
region/src/main/java/org/motechproject/nms/region/utils/LocationConstants.java
Java
bsd-3-clause
1,765
package dyvilx.tools.repl.command; import dyvilx.tools.compiler.ast.method.IMethod; import dyvilx.tools.compiler.util.MemberSorter; import dyvilx.tools.compiler.util.Util; import dyvilx.tools.repl.DyvilREPL; import dyvilx.tools.repl.lang.I18n; import java.util.Arrays; import java.util.List; public class MethodsComma...
Clashsoft/Dyvil
repl/src/main/java/dyvilx/tools/repl/command/MethodsCommand.java
Java
bsd-3-clause
1,035
package org.basex.query.expr; import static org.basex.query.QueryError.*; import static org.basex.util.Token.*; import static org.junit.Assert.*; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.io.*; import org.basex.query.*; import org.basex.query.util.pkg.*; import org.basex.util.*; import or...
ksclarke/basex
basex-core/src/test/java/org/basex/query/expr/PackageAPITest.java
Java
bsd-3-clause
13,909
/* * Copyright (c) 2009-2015, 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 ...
beiyuxinke/CONNECT
Product/Production/Services/DocumentSubmissionCore/src/main/java/gov/hhs/fha/nhinc/docsubmission/adapter/proxy/AdapterDocSubmissionProxyJavaImpl.java
Java
bsd-3-clause
2,974
package flow.netbeans.markdown.highlighter; import org.pegdown.ast.AbbreviationNode; import org.pegdown.ast.AnchorLinkNode; import org.pegdown.ast.AutoLinkNode; import org.pegdown.ast.BlockQuoteNode; import org.pegdown.ast.BulletListNode; import org.pegdown.ast.CodeNode; import org.pegdown.ast.DefinitionListNode; impo...
dublebuble/flow-netbeans-markdown
src/flow/netbeans/markdown/highlighter/MarkdownLexerVisitor.java
Java
mit
10,213
package seedu.taskmanager.model.tag; import seedu.taskmanager.commons.exceptions.IllegalValueException; /** * Represents a Tag in the task manager. Guarantees: immutable; name is valid as declared in * {@link #isValidTagName(String)} */ public class Tag { public static final String MESSAGE_TAG_CONSTRAINTS = ...
kennyngdsc/addressbook-level4
src/main/java/seedu/taskmanager/model/tag/Tag.java
Java
mit
2,050
package com.amplify.honeydew_server.actions; import com.amplify.honeydew_server.*; import com.android.uiautomator.core.*; import java.util.Map; public class LongClick extends Action { public LongClick(UiDevice uiDevice) { super(uiDevice); } @Override public Result execute(Map<String, Object>...
amplify-education/honeydew
server/src/main/java/com/amplify/honeydew_server/actions/LongClick.java
Java
mit
594
package kawa.standard; import gnu.mapping.*; import java.io.PrintWriter; import gnu.math.IntNum; import gnu.kawa.functions.ObjectFormat; /** A TracedProcedure is a Procedure wrapper that writes trace output. */ public class TracedProcedure extends ProcedureN { public Procedure proc; boolean enabled; static int...
alain91/kawa
kawa/standard/TracedProcedure.java
Java
mit
3,046
/** * 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. * abc */ package com.microsoft.azure.management.devspaces.v2018_06_01_preview.implementati...
selvasingh/azure-sdk-for-java
sdk/devspaces/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/devspaces/v2018_06_01_preview/implementation/OperationsImpl.java
Java
mit
1,872
package org.spongycastle.crypto.macs; import org.spongycastle.crypto.CipherParameters; import org.spongycastle.crypto.DataLengthException; import org.spongycastle.crypto.Mac; import org.spongycastle.crypto.params.KeyParameter; import org.spongycastle.crypto.params.ParametersWithIV; public class VMPCMac implements Mac...
Skywalker-11/spongycastle
core/src/main/java/org/spongycastle/crypto/macs/VMPCMac.java
Java
mit
5,225
/** * 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.management.recoveryservices.backup.v2017_07_01; import java...
selvasingh/azure-sdk-for-java
sdk/recoveryservices.backup/mgmt-v2017_07_01/src/main/java/com/microsoft/azure/management/recoveryservices/backup/v2017_07_01/MabServerType.java
Java
mit
3,900
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.xdi.oxauth.client; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang.StringUtils; /** * Provides functionality to parse query str...
diedertimmers/oxAuth
Client/src/main/java/org/xdi/oxauth/client/QueryStringDecoder.java
Java
mit
1,394
/* * Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved. */ package com.maxifier.mxcache.caches; /** * THIS IS GENERATED CLASS! DON'T EDIT IT MANUALLY! * * GENERATED FROM P2PCalculatable.template * * @author Andrey Yakoushin (andrey.yakoushin@maxifier.com) * @author Alexander Kochurov (alexan...
akochurov/mxcache
mxcache-runtime/src/main/java/com/maxifier/mxcache/caches/LongCalculatable.java
Java
mit
445
/* * Copyright (c) 2012-2018 Red Hat, Inc. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Red Hat, Inc. - initial API a...
akervern/che
wsagent/che-core-api-project-shared/src/main/java/org/eclipse/che/api/project/shared/dto/event/FileStateUpdateDto.java
Java
epl-1.0
719
/******************************************************************************* * Copyright (c) 2017 Red Hat. * 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...
snjeza/che
wsagent/che-core-api-languageserver-maven-plugin/src/main/java/org/eclipse/che/api/languageserver/generator/ClientDtoGenerator.java
Java
epl-1.0
1,921
/////////////////////////////////////////////////////////////////////////////// // // JTOpen (IBM Toolbox for Java - OSS version) // // ...
devjunix/libjt400-java
src/com/ibm/as400/access/NPCPIDWriter.java
Java
epl-1.0
2,938
/******************************************************************************* * Copyright (c) 2013, 2014 Robin Stocker <robin@nibor.org> 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 ...
SmithAndr/egit
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchPage.java
Java
epl-1.0
17,586
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * 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....
openhab/openhab2
bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitContactSensorImpl.java
Java
epl-1.0
2,375
/******************************************************************************* * Copyright (c) 2012-2015 Codenvy, S.A. * 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 ...
riuvshin/che-plugins
plugin-docker/che-plugin-docker-client/src/main/java/org/eclipse/che/plugin/docker/client/json/ExecConfig.java
Java
epl-1.0
2,545
/***************************************************************************** * Copyright (c) 2009, 2014 CEA LIST 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, and i...
bmaggi/Papyrus-SysML11
tests/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/portandflows/tests/FlowPortTest.java
Java
epl-1.0
6,024
/******************************************************************************* * Copyright (c) 2007 Actuate Corporation. * 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 availabl...
sguan-actuate/birt
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dnd/CubeDropAdapter.java
Java
epl-1.0
15,654
/** * Copyright (c) 2010-2016 by the respective copyright holders. * * 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 */...
druciak/openhab
bundles/binding/org.openhab.binding.weather/src/main/java/org/openhab/binding/weather/internal/model/Wind.java
Java
epl-1.0
4,409
/** * Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.python.pydev.editor...
akurtakov/Pydev
plugins/org.python.pydev/tests/org/python/pydev/editor/PyInformationPresenterTest.java
Java
epl-1.0
1,702
package io.mycat.route.parser.druid; import com.alibaba.druid.sql.visitor.SchemaStatVisitor; import io.mycat.config.model.SchemaConfig; /** * 为防止SchemaStatVisitor被污染,采用factory创建 * * Date:2017年12月1日 * * @author SvenAugustus * @version 1.0 * @since JDK 1.7 */ public class SchemaStatVisitorFactory { /** *...
lian88jian/Mycat-Server
src/main/java/io/mycat/route/parser/druid/SchemaStatVisitorFactory.java
Java
gpl-2.0
535
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
geneos/adempiere
base/src/org/compiere/model/X_EXP_Processor.java
Java
gpl-2.0
6,522
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2016 The IdeaVim authors * * 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 ...
consulo/consulo-vim
src/main/java/com/maddyhome/idea/vim/action/motion/object/MotionInnerParagraphAction.java
Java
gpl-2.0
1,671
/* * Copyright (c) 2014, 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 Softwa...
teamfx/openjfx-8u-dev-tests
functional/ControlsTests/src/javafx/factory/NodeFactory.java
Java
gpl-2.0
1,382
/* * ************************************************************************************* * Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. * * http://www.espertech.com/esper * * http://www.espertech.com ...
b-cuts/esper
esper/src/main/java/com/espertech/esper/epl/enummethod/eval/EnumEvalFirstOfPredicateEvents.java
Java
gpl-2.0
1,768
/* * Copyright (c) 2007, 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 ...
arodchen/MaxSim
graal/graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/bytecode/BC_fadd.java
Java
gpl-2.0
1,569
/* * Copyright (c) 1997, 2016, 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 ...
FauxFaux/jdk9-jaxws
src/java.xml.ws/share/classes/com/sun/xml/internal/ws/util/exception/JAXWSExceptionBase.java
Java
gpl-2.0
6,242
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
geneos/adempiere
base/src/org/compiere/model/X_AD_Window_Access.java
Java
gpl-2.0
4,587
/** * Copyright (c) 2009--2015 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
xkollar/spacewalk
java/code/src/com/redhat/rhn/frontend/dto/SystemOverview.java
Java
gpl-2.0
22,234
package com.nutiteq.io; import com.nutiteq.cache.Cache; import com.nutiteq.fs.FileSystem; import com.nutiteq.net.DownloadCounter; import com.nutiteq.net.DownloadStreamOpener; import com.nutiteq.task.NetworkTask; import com.nutiteq.task.RetrieveNetworkResourceTask; import com.nutiteq.task.Task; import com.nutiteq.task....
ryfx/maps-lib-nutiteq
src/com/nutiteq/io/RetrieveResourceTask.java
Java
gpl-2.0
2,582
package unalcol.gui.log; import java.awt.BorderLayout; import javax.swing.*; /** * <p>Title: LogPanel</p> * * <p>Description: A panel for showing output and error messages</p> * * <p>Copyright: Copyright (c) 2009</p> * * <p>Company: Kunsamu</p> * * @author Jonatan Gomez Perdomo * @version 1.0 */ public cl...
UNColombia/2019766-1-BOG-2015-2
java/HAeA/src/unalcol/gui/log/LogPanel.java
Java
gpl-2.0
2,008
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
ysangkok/JPC
src/org/jpc/emulator/execution/opcodes/vm/fscale.java
Java
gpl-2.0
1,695
package net.oxmall.module.product.service; /*package net.oxmall.module.product.service; import net.oxmall.persistence.entities.ProductFeature; import net.oxmall.services.GenericServiceImpl; import net.oxmall.modules.product.repository.ProductFeatureGroupRepository; import net.oxmall.modules.product.repository.Product...
Rocky-Hu/jecstore
module-main/module-product/src/main/java/net/oxmall/module/product/service/ProductFeatureServiceImpl.java
Java
gpl-2.0
970
/* * Copyright (c) 2015, 2018, 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 ...
md-5/jdk10
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotInstructionProfiling.java
Java
gpl-2.0
7,955
/* * Player Java Client 3 - PlayerMapData.java * Copyright (C) 2006 Radu Bogdan Rusu * * 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...
kragniz/java-player
src/structures/map/PlayerMapData.java
Java
gpl-2.0
4,046
/* * Copyright 2006-2018 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 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...
mzmine/mzmine2
src/main/java/net/sf/mzmine/modules/peaklistmethods/dataanalysis/rtmzplots/RTMZDataset.java
Java
gpl-2.0
1,087