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
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
IvanNikolaychuk/pentaho-kettle
engine/src/org/pentaho/di/trans/steps/checksum/CheckSum.java
Java
apache-2.0
8,616
/* * Copyright 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 appli...
paweld2/rest-assured
rest-assured/src/main/java/io/restassured/response/ResponseBodyExtractionOptions.java
Java
apache-2.0
5,765
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
berndhopp/guava
android/guava/src/com/google/common/collect/RegularImmutableSet.java
Java
apache-2.0
2,802
// Copyright 2000-2018 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.packaging.impl.artifacts; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.MultiValuesMap; import com.intellij.openapi.util.io.F...
allotria/intellij-community
java/compiler/impl/src/com/intellij/packaging/impl/artifacts/ArtifactVirtualFileListener.java
Java
apache-2.0
4,376
// Copyright 2010 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
agileowl/tapestry-5
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/Reloadable.java
Java
apache-2.0
717
package org.apache.rya.rdftriplestore.inference; /* * 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 Apa...
kchilton2/incubator-rya
sail/src/main/java/org/apache/rya/rdftriplestore/inference/ReflexivePropertyVisitor.java
Java
apache-2.0
3,520
/* * $Id: DivDirective.java 651946 2008-04-27 13:41:38Z apetrelli $ * * 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 * ...
WillJiang/WillJiang
src/plugins/dojo/src/main/java/org/apache/struts2/dojo/views/velocity/components/DivDirective.java
Java
apache-2.0
1,523
/** * 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...
Deepnekroz/kaa
server/node/src/main/java/org/kaaproject/kaa/server/admin/client/mvp/view/schema/BaseCtlSchemasGrid.java
Java
apache-2.0
6,465
/** * 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...
throughsky/lywebank
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java
Java
apache-2.0
55,050
/* * Copyright 2016 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 ...
blucas/netty
common/src/test/java/io/netty/util/concurrent/NonStickyEventExecutorGroupTest.java
Java
apache-2.0
5,189
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2015 Florian Kohlmayer, Fabian Prasser * * 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/LI...
TheRealRasu/arx
src/main/org/deidentifier/arx/algorithm/FLASHPhaseConfiguration.java
Java
apache-2.0
3,037
/* * 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...
pubudu08/carbon-deployment
components/webapp-mgt/org.wso2.carbon.tomcat.patch/src/main/java/org/apache/tomcat/util/http/mapper/Mapper.java
Java
apache-2.0
53,045
package org.drools.impl; import org.drools.KnowledgeBase; import org.drools.RuleBase; public interface InternalKnowledgeBase extends KnowledgeBase { RuleBase getRuleBase(); }
mswiderski/drools
drools-core/src/main/java/org/drools/impl/InternalKnowledgeBase.java
Java
apache-2.0
183
/** * 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/modules/scorm/archiver/ScormExportVisitor.java
Java
apache-2.0
988
/* * Copyright 2000-2016 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...
michaelgallacher/intellij-community
platform/core-api/src/com/intellij/openapi/application/Application.java
Java
apache-2.0
15,484
// Copyright 2000-2018 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.todo.nodes; import com.intellij.ide.projectView.PresentationData; import com.intellij.ide.todo.HighlightedRegionProvider; import com.intellij.ide.todo.S...
msebire/intellij-community
platform/lang-impl/src/com/intellij/ide/todo/nodes/TodoItemNode.java
Java
apache-2.0
7,989
/* * 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...
zyjiang08/servestream
src/net/sourceforge/servestream/dslv/ResourceDragSortCursorAdapter.java
Java
apache-2.0
5,596
/* * 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...
yanjunh/elasticsearch
core/src/main/java/org/elasticsearch/action/admin/cluster/node/tasks/get/TransportGetTaskAction.java
Java
apache-2.0
12,006
/* * 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 ...
Vansee/RocketMQ
common/src/test/java/org/apache/rocketmq/common/CountDownLatch2Test.java
Java
apache-2.0
3,851
/* * Copyright 2015 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/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultCompilationStateCacheFactory.java
Java
apache-2.0
3,667
/* * 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-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/transform/CreateStorediSCSIVolumeResultJsonUnmarshaller.java
Java
apache-2.0
3,589
/* * 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/kylin
core-dictionary/src/main/java/org/apache/kylin/dict/global/GlobalDictMetadata.java
Java
apache-2.0
1,963
package com.alibaba.json.bvt.serializer.filters; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.JSONSerializer; import com.alibaba.fastjson.serializer.SerializeWriter; import com.aliba...
alibaba/fastjson
src/test/java/com/alibaba/json/bvt/serializer/filters/ValueFilterTest_field_long.java
Java
apache-2.0
3,731
/** * 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...
Bizyroth/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestFifoScheduler.java
Java
apache-2.0
27,073
package co.cask.coopr.store.cluster; import co.cask.coopr.cluster.Cluster; import co.cask.coopr.cluster.ClusterSummary; import co.cask.coopr.cluster.Node; import co.cask.coopr.scheduler.task.ClusterJob; import co.cask.coopr.scheduler.task.ClusterTask; import co.cask.coopr.scheduler.task.JobId; import co.cask.coopr.sch...
caskdata/coopr
coopr-server/src/main/java/co/cask/coopr/store/cluster/SQLClusterStore.java
Java
apache-2.0
17,083
/* * Copyright (c) 2016, 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....
this/carbon-uuf
components/uuf-core/src/main/java/org/wso2/carbon/uuf/internal/RequestDispatcher.java
Java
apache-2.0
8,838
/* * Copyright 2010-2016 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...
vovagrechka/fucking-everything
phizdets/phizdetsc/src/org/jetbrains/kotlin/js/inline/JsInliner.java
Java
apache-2.0
12,950
/* * 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-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/transform/FieldJsonUnmarshaller.java
Java
apache-2.0
3,212
/* * 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 ...
Distrotech/fop
src/java/org/apache/fop/traits/BorderStyle.java
Java
apache-2.0
3,986
/** * Copyright 2011-2015 John Ericksen * * 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...
johncarl81/transfuse
transfuse/src/main/java/org/androidtransfuse/model/manifest/ReqNavigation.java
Java
apache-2.0
1,024
/** * Copyright 2009-2011 École de technologie supérieure, * Communication Research Centre Canada, * Inocybe Technologies Inc. and 6837247 CANADA 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 ...
synchromedia/OpenGSN
services-client/src/generated-sources/com/greenstarnetwork/services/facilitymanager/RefreshResourceResponse.java
Java
apache-2.0
2,196
/** * Copyright 2017 Linagora, Université Joseph Fourier, Floralis * * The present code is developed in the scope of the joint LINAGORA - * Université Joseph Fourier - Floralis research program and is designated * as a "Result" pursuant to the terms and conditions of the LINAGORA * - Université Joseph Fourier - F...
gibello/roboconf
karaf/roboconf-karaf-commands-dm/src/test/java/net/roboconf/karaf/commands/dm/history/PruneHistoryCommandTest.java
Java
apache-2.0
6,384
/* * 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-codecommit/src/main/java/com/amazonaws/services/codecommit/model/transform/CreateRepositoryResultJsonUnmarshaller.java
Java
apache-2.0
2,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 ...
nikhilvibhav/camel
components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/composite/ReferenceId.java
Java
apache-2.0
3,465
package org.apache.bookkeeper.proto.checksum; /* * 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 Lic...
sijie/bookkeeper
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/checksum/CRC32DigestManager.java
Java
apache-2.0
2,061
/* * */ package ee.ioc.cs.jbe.browser.codeedit; import java.util.ArrayList; import org.apache.bcel.generic.*; import org.gjt.jclasslib.bytecode.OpcodesUtil; public class JAsmParser { /* * Parses the input code and returns an instructionlist, but also has a * sideeffect: it updates the constant po...
dubenju/javay
src/java/ee/ioc/cs/jbe/browser/codeedit/JAsmParser.java
Java
apache-2.0
51,962
/* * 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...
sensui/guava-libraries
guava-tests/test/com/google/common/primitives/FloatsTest.java
Java
apache-2.0
17,236
/* * Copyright 2012-2013 Institut National des Sciences Appliquées de Lyon (INSA-Lyon) * * 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....
jeffmaury/golo-lang
src/main/java/fr/insalyon/citi/golo/cli/Main.java
Java
apache-2.0
12,772
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
ederign/uberfire
uberfire-extensions/uberfire-commons-editor/uberfire-commons-editor-client/src/main/java/org/uberfire/ext/editor/commons/client/file/popups/DeletePopUpView.java
Java
apache-2.0
3,430
package sun.bob.mcalendarview; import android.content.Context; import android.graphics.Color; import android.graphics.Paint; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.RectShape; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; impor...
rakawestu/mCalendarView
mcalendarview/src/main/java/sun/bob/mcalendarview/mCalendarView.java
Java
apache-2.0
5,945
package org.semanticweb.elk.reasoner.indexing.model; import org.semanticweb.elk.owl.interfaces.ElkClassExpression; /* * #%L * ELK Reasoner * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2015 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "Lice...
liveontologies/elk-reasoner
elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/indexing/model/IndexedRangeFiller.java
Java
apache-2.0
2,380
/* * 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...
IllusionRom-deprecated/android_platform_tools_idea
python/src/com/jetbrains/python/testing/nosetest/PythonNoseTestRunConfigurationParams.java
Java
apache-2.0
1,002
/* * Copyright (C) 2000-2012 Heinz Max Kabutz * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Heinz Max Kabutz 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...
smgoller/geode
geode-for-redis/src/main/java/org/apache/geode/redis/internal/services/locking/StripedRunnable.java
Java
apache-2.0
1,028
/* * 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...
izeye/spring-boot
spring-boot-samples/spring-boot-sample-actuator-log4j2/src/test/java/sample/actuator/log4j2/SampleActuatorLog4J2ApplicationTests.java
Java
apache-2.0
1,966
/* * Copyright 2015 Commonwealth Computer Research, 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...
mmatz-ccri/geomesa
geomesa-utils/src/main/java/org/locationtech/geomesa/utils/interop/SimpleFeatureTypes.java
Java
apache-2.0
969
/* * 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...
agentmilindu/stratos
components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/iaases/vcloud/VCloudPartitionValidator.java
Java
apache-2.0
2,069
package linprogMPC.helper; import java.util.concurrent.TimeUnit; import linprogMPC.ThesisTopologySimple; public class MyTimeUnit { public static double stepLength(TimeUnit timeUnit) { double stepLengthInSeconds = 24*3600/ThesisTopologySimple.TIMESTEPS_PER_DAY; switch (timeUnit) { case SECONDS: return ste...
SES-fortiss/SmartGridCoSimulation
projects/previousProjects/memapLinProgDenisThesis_2Houses/src/main/java/linprogMPC/helper/MyTimeUnit.java
Java
apache-2.0
536
package org.jboss.resteasy.plugins.server.netty; import org.jboss.resteasy.core.SynchronousDispatcher; import org.jboss.resteasy.core.SynchronousExecutionContext; import org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider; import org.jboss.resteasy.plugins.server.BaseHttpRequest; import org.jboss.resteas...
psakar/Resteasy
server-adapters/resteasy-netty/src/main/java/org/jboss/resteasy/plugins/server/netty/NettyHttpRequest.java
Java
apache-2.0
4,167
/* * Copyright 2011 - 2013 NTB University of Applied Sciences in Technology * Buchs, Switzerland, http://www.ntb.ch/inf * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
ursgraf/compiler
src/ch/ntb/inf/deep/config/Segment.java
Java
apache-2.0
1,898
/* * 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 ...
pperalta/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridCacheDhtMappingSelfTest.java
Java
apache-2.0
3,777
/* * Copyright (c) 2008-2015, Hazelcast, 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 ...
gAmUssA/hazelcast-simulator
probes/src/main/java/com/hazelcast/simulator/probes/probes/impl/HdrLatencyDistributionProbe.java
Java
apache-2.0
1,440
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
bsspirit/kettle-4.4.0-stable
src/org/pentaho/di/job/entries/deletefolders/JobEntryDeleteFolders.java
Java
apache-2.0
15,026
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * This 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 2.1 of * the License, or (at your option) any later version. * * ...
nmldiegues/stibt
infinispan/core/src/test/java/org/infinispan/distribution/rehash/RehashWithL1Test.java
Java
apache-2.0
3,376
// 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
sdk/core/src/main/java/com/google/cloud/trace/core/TraceOptions.java
Java
apache-2.0
4,000
// // The contents of this file are subject to the Mozilla Public // License Version 1.1 (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.mozilla.org/MPL/ // // Software distributed under the License is distributed on an // "AS I...
kaoru2010/android-startup-project
tools/smc/smc_6_5_0/examples/Ant/EX6/src/TcpClientListener.java
Java
apache-2.0
1,660
/* * JBoss, Home of Professional Open Source * Copyright 2010 Red Hat Inc. and/or its affiliates and other 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 n...
petrandreev/arquillian-core
container/impl-base/src/main/java/org/jboss/arquillian/container/impl/client/container/ContainerOperationResult.java
Java
apache-2.0
5,898
package com.planet_ink.coffee_mud.Abilities.Thief; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import ...
Tycheo/coffeemud
com/planet_ink/coffee_mud/Abilities/Thief/Thief_MarkInvisibility.java
Java
apache-2.0
3,481
/** * (c) Copyright 2012 WibiData, Inc. * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * 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...
rpinzon/kiji-schema
kiji-schema/src/test/java/org/kiji/schema/TestKijiDataRequest.java
Java
apache-2.0
10,149
/* * 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-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/transform/ListVolumeRecoveryPointsResultJsonUnmarshaller.java
Java
apache-2.0
3,506
/* * 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...
youngwookim/presto
presto-main/src/main/java/io/prestosql/sql/relational/Expressions.java
Java
apache-2.0
3,380
// Copyright 2021 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...
katre/bazel
src/test/java/com/google/devtools/build/lib/packages/NativeExistingRulesTest.java
Java
apache-2.0
18,415
/* * Copyright 2011 DTO Solutions, Inc. (http://dtosolutions.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
tjordanchat/rundeck
rundeckapp/src/java/com/dtolabs/rundeck/execution/UnauthorizedStatusResult.java
Java
apache-2.0
1,443
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
gemfire-core/src/main/java/com/gemstone/gemfire/admin/internal/ManagedEntityConfigXmlParser.java
Java
apache-2.0
16,415
/* * 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/syncope
ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/support/SyncopeSession.java
Java
apache-2.0
997
/* * Copyright 2000-2009 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...
android-ia/platform_tools_idea
platform/util/src/com/intellij/openapi/diff/impl/processing/ByWord.java
Java
apache-2.0
14,751
/* Derby - Class com.pivotal.gemfirexd.internal.impl.sql.compile.MaxMinAggregateDefinition 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...
papicella/snappy-store
gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/impl/sql/compile/MaxMinAggregateDefinition.java
Java
apache-2.0
3,349
package com.alibaba.fastjson.parser.deserializer; import java.lang.reflect.Type; import java.math.BigDecimal; import java.util.concurrent.atomic.AtomicInteger; import com.alibaba.fastjson.parser.DefaultJSONParser; import com.alibaba.fastjson.parser.JSONLexer; import com.alibaba.fastjson.parser.JSONToken; import com.a...
taohaox/CellDevourer
src/com/alibaba/fastjson/parser/deserializer/IntegerDeserializer.java
Java
apache-2.0
1,613
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
Technoboy-/RocketMQ
rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/netty/NettyEncoder.java
Java
apache-2.0
2,224
/** * 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...
koscejev/camel
camel-core/src/main/java/org/apache/camel/model/ProcessorDefinitionHelper.java
Java
apache-2.0
36,088
/* * Copyright 2012 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-1.12-all/4ff8jj5a73a7zgj5nnzv1ubq0/gradle-1.12/src/native/org/gradle/internal/nativeplatform/console/UnixConsoleMetaData.java
Java
bsd-2-clause
1,607
/* * File: MinkowskiDistanceMetricTest.java * Authors: Justin Basilico * Project: Cognitive Foundry * * Copyright 2011 Cognitive Foundry. All rights reserved. */ package gov.sandia.cognition.learning.function.distance; import gov.sandia.cognition.math.matrix.Vector; import gov.sandia...
codeaudit/Foundry
Components/LearningCore/Test/gov/sandia/cognition/learning/function/distance/MinkowskiDistanceMetricTest.java
Java
bsd-3-clause
6,757
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.MemoryUtil.*; import static org...
LWJGL-CI/lwjgl3
modules/lwjgl/vulkan/src/generated/java/org/lwjgl/vulkan/VkExportMemoryAllocateInfoKHR.java
Java
bsd-3-clause
12,279
/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 3.0 */ package prefuse.data.expression.parser; public class TokenMgrError extends Error { /* * Ordinals for various reasons why an Error of this type can be thrown. */ /** * Lexical error occured. */ static final int LE...
ezegarra/microbrowser
src/prefuse/data/expression/parser/TokenMgrError.java
Java
bsd-3-clause
4,221
/* * 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-web-api-test/src/test/java/org/hisp/dhis/webapi/controller/method/ApiMethodAllExcludeV32Controller.java
Java
bsd-3-clause
2,610
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/config_change.proto package com.google.api; /** * <pre> * Generated advice about this change, used for providing more * information about how a change will affect the existing service. * </pre> * * Protobuf type {@code google.api....
eoogbe/api-client-staging
generated/java/proto-google-common-protos/src/main/java/com/google/api/Advice.java
Java
bsd-3-clause
17,436
// 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.chrome.browser.firstrun; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; im...
axinging/chromium-crosswalk
chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAckedReceiver.java
Java
bsd-3-clause
2,578
package owltools.io; import owltools.graph.OWLGraphWrapper; public interface GraphRenderer { public void render(OWLGraphWrapper g); }
dhimmel/owltools
OWLTools-Core/src/main/java/owltools/io/GraphRenderer.java
Java
bsd-3-clause
139
package owltools.ontologyrelease; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.obolibrary.obo2owl.Obo2OWLConstants; /** * Tools to handle the writing and reading of version information of * owl ont...
dhimmel/owltools
OWLTools-Oort/src/main/java/owltools/ontologyrelease/OntologyVersionTools.java
Java
bsd-3-clause
1,531
package com.hearthsim.card.basic.spell; import com.hearthsim.card.spellcard.SpellTargetableCard; import com.hearthsim.event.effect.EffectCharacter; import com.hearthsim.event.filter.FilterCharacter; import com.hearthsim.event.filter.FilterCharacterTargetedSpell; public class Assassinate extends SpellTargetableCard { ...
relimited/HearthSim
src/main/java/com/hearthsim/card/basic/spell/Assassinate.java
Java
mit
1,275
package us.kbase.kbaseenigmametals; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fa...
kbase/transform
src/us/kbase/kbaseenigmametals/Matrix2DMetadata.java
Java
mit
3,403
package org.multibit.hd.ui.views.wizards.payments; import org.multibit.hd.ui.views.wizards.AbstractWizardPanelModel; /** * <p>Panel model to provide the following to "payments" wizard:</p> * <ul> * <li>Storage of state for the "choose payment request" panel</li> * </ul> * * @since 0.0.1 * */ public class Choo...
bitcoin-solutions/multibit-hd
mbhd-swing/src/main/java/org/multibit/hd/ui/views/wizards/payments/ChoosePaymentRequestPanelModel.java
Java
mit
471
package org.diorite.material.blocks; import org.diorite.BlockFace; /** * Representing fence gate blocks. */ public interface FenceGateMat extends DirectionalMat, OpenableMat { byte OPEN_FLAG = 0x4; /** * Returns one of gate sub-type based on facing direction and open state. * It will never return...
joda17/Diorite-API
src/main/java/org/diorite/material/blocks/FenceGateMat.java
Java
mit
993
package com.suse.salt.netapi.parser; import com.google.gson.JsonParseException; import com.google.gson.TypeAdapter; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; /** * Strict null rejecting primitive type adapters. */ public class Adapters { pu...
mbologna/salt-netapi-client
src/main/java/com/suse/salt/netapi/parser/Adapters.java
Java
mit
2,862
package org.devgateway.ocds.persistence.mongo.info; import org.devgateway.ocds.persistence.mongo.excel.annotation.ExcelExport; import java.lang.reflect.Field; import java.util.Iterator; import java.util.stream.Stream; import java.util.stream.StreamSupport; /** * Decorator class used to obtain only Excel Exportable ...
devgateway/oc-explorer
persistence-mongodb/src/main/java/org/devgateway/ocds/persistence/mongo/info/ClassFieldsExcelExport.java
Java
mit
1,085
package cruise.queued.statemachine.test; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; import org.junit.Assert; import org.junit.Test; public class QueuedStateMachineTest_UnspecifiedReception { @Test public void numberO...
runqingz/umple
testbed/test/cruise/queued/statemachine/test/QueuedStateMachineTest_UnspecifiedReception.java
Java
mit
13,647
package org.jinstagram.entity.common; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import org.junit.Test; import com.google.gson.Gson; public class UserTest { private Gson GSON_PARSER = new Gson(); private static final String CAPTION_JSON_NULL = "{\"caption\": nu...
Ariloum/jInstagram
src/test/java/org/jinstagram/entity/common/UserTest.java
Java
mit
1,790
package com.thebluealliance.androidclient.database; import com.thebluealliance.androidclient.database.writers.AwardListWriter; import com.thebluealliance.androidclient.database.writers.AwardWriter; import com.thebluealliance.androidclient.database.writers.DistrictListWriter; import com.thebluealliance.androidclient.da...
phil-lopreiato/the-blue-alliance-android
android/src/main/java/com/thebluealliance/androidclient/database/DatabaseWriter.java
Java
mit
6,091
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates * * 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 distributi...
gavinying/kura
kura/test/org.eclipse.kura.core.test/src/main/java/org/eclipse/kura/core/test/SystemAdminServiceTest.java
Java
epl-1.0
1,396
/* * 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-debugger/che-plugin-java-debugger-server/src/main/java/org/eclipse/che/plugin/jdb/server/BreakPointComparator.java
Java
epl-1.0
1,214
/******************************************************************************* * Copyright (c) 2009, 2011 IBM Corporation 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...
drbgfc/mdht
cda/plugins/org.openhealthtools.mdht.uml.hl7.vocab/src/org/openhealthtools/mdht/uml/hl7/vocab/ParticipationTargetSubject.java
Java
epl-1.0
5,431
/* * 11/25/2008 * * TextEditorPane.java - A syntax highlighting text area that has knowledge of * the file it is editing on disk. * Copyright (C) 2008 Robert Futrell * robert_futrell at users.sourceforge.net * http://fifesoft.com/rsyntaxtextarea * * This library is free software; you can redistribute it and/or...
kevinmcgoldrick/Tank
tools/script_filter/src/main/java/org/fife/ui/rsyntaxtextarea/TextEditorPane.java
Java
epl-1.0
23,922
package io.liveoak.wildfly; import org.jboss.as.controller.Extension; import org.jboss.as.controller.ExtensionContext; import org.jboss.as.controller.PathElement; import org.jboss.as.controller.ReloadRequiredRemoveStepHandler; import org.jboss.as.controller.SimpleResourceDefinition; import org.jboss.as.controller.Subs...
ljshj/liveoak
modules/wildfly/src/main/java/io/liveoak/wildfly/LiveOakExtension.java
Java
epl-1.0
2,730
/******************************************************************************* * Copyright (c) 2012-2016 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 ...
kaloyan-raev/che
plugins/plugin-docker/che-plugin-docker-client/src/main/java/org/eclipse/che/plugin/docker/client/DockerRegistryAuthResolver.java
Java
epl-1.0
5,412
package edu.stanford.nlp.util.logging; import edu.stanford.nlp.util.logging.Redwood.Record; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.List; /** * A filter for selecting which channels are visible. This class * behaves as an "or" filter; that is, if any of the f...
rupenp/CoreNLP
src/edu/stanford/nlp/util/logging/VisibilityHandler.java
Java
gpl-2.0
3,793
package net.fina.auditlog.core.repository; import com.mongodb.*; import net.fina.auditlog.core.domain.AuditLog; import org.springframework.stereotype.Repository; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Date; import java.util.List; @Repository public class AuditLogLoadMongoR...
nikoloz90/logs
fina-auditlog-simple5/src/main/java/net/fina/auditlog/core/repository/AuditLogLoadMongoRepository.java
Java
gpl-2.0
2,746
package ome.formats.utests; import ome.formats.OMEROMetadataStoreClient; import ome.formats.model.BlitzInstanceProvider; import ome.util.LSID; import ome.xml.model.primitives.NonNegativeInteger; import omero.api.ServiceFactoryPrx; import omero.model.Plate; import omero.model.Well; import junit.framework.TestCase; imp...
joshmoore/openmicroscopy
components/tools/OmeroImporter/test/ome/formats/utests/WellProcessorTest.java
Java
gpl-2.0
2,848
package net.sf.jabref.logic.layout.format; import net.sf.jabref.logic.layout.LayoutFormatter; import org.junit.Assert; import org.junit.Test; public class CompositeFormatTest { @Test public void testComposite() { { LayoutFormatter f = new CompositeFormat(); Assert.assertEqua...
matheusvervloet/DC-UFSCar-ES2-201601-Grupo3
src/test/java/net/sf/jabref/logic/layout/format/CompositeFormatTest.java
Java
gpl-2.0
1,244
/* Copyright (C) 1999-2009 by Peter Eastman Changes copyright (C) 2020 by Maksim Khramov 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 optio...
peteihis/ArtOfIllusion
ArtOfIllusion/src/artofillusion/animation/SkeletonTool.java
Java
gpl-2.0
14,424
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2017-2017 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2017 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenN...
jeffgdotorg/opennms
features/reporting/availability/src/main/java/org/opennms/reporting/availability/Created.java
Java
gpl-2.0
6,768
/* * This file is part of EchoPet. * * EchoPet 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. * * EchoPet is distributed in th...
UnlimitedFreedom/UF-EchoPet
modules/v1_8_R1/src/main/java/com/dsh105/echopet/compat/nms/v1_8_R1/entity/type/EntityMagmaCubePet.java
Java
gpl-3.0
1,409