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
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* JOrbis * Copyright (C) 2000 ymnk, JCraft,Inc. * * Written by: 2000 ymnk<ymnk@jcraft.com> * * Many thanks to * Monty <monty@xiph.org> and * The XIPHOPHORUS Company http://www.xiph.org/ . * JOrbis has been based on their awesome works, V...
XtremeMP-Project/xtrememp-fx
xtrememp-audio-spi-vorbis/src/com/jcraft/jorbis/PsyInfo.java
Java
bsd-3-clause
2,222
// Copyright 2014 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.base; import android.os.Looper; import android.os.MessageQueue; import android.os.SystemClock; import android.util.Log; import andro...
Teamxrtc/webrtc-streaming-node
third_party/webrtc/src/chromium/src/base/android/java/src/org/chromium/base/TraceEvent.java
Java
mit
11,372
/* * Copyright (c) 1998, 1999, 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 ...
rokn/Count_Words_2015
testing/openjdk/jdk/make/tools/src/build/tools/jdwpgen/AltNode.java
Java
mit
4,156
/* * Copyright (c) 2015, 张涛. * * 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...
supercwn/KJFrameForAndroid
KJFrame/app/src/main/java/org/kymjs/blog/ui/widget/RecordButtonUtil.java
Java
apache-2.0
5,318
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
tkafalas/pentaho-kettle
plugins/salesforce/core/src/test/java/org/pentaho/di/trans/steps/salesforce/SalesforceStepTest.java
Java
apache-2.0
6,334
/* * Copyright 2010-2015 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...
mahaliachante/aws-sdk-java
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/transform/InvalidParameterValueExceptionUnmarshaller.java
Java
apache-2.0
2,012
/* * Copyright (C) 2010-2013 The SINA WEIBO 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 require...
zjupure/SneezeReader
weibosdk/src/main/java/com/sina/weibo/sdk/openapi/models/Status.java
Java
apache-2.0
5,659
/* * 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...
corochoone/elasticsearch
src/main/java/org/elasticsearch/search/aggregations/bucket/filter/InternalFilter.java
Java
apache-2.0
2,222
/* * Copyright (c) 1997, 2011, 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 ...
rokn/Count_Words_2015
testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/ParserContext.java
Java
mit
6,989
/* * 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...
wangcy6/storm_app
frame/kafka-0.11.0/kafka-0.11.0.1-src/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/standalone/StandaloneConfig.java
Java
apache-2.0
1,709
/* * Copyright (c) 2007, 2013, 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 ...
rokn/Count_Words_2015
testing/openjdk2/jdk/src/share/classes/sun/text/resources/sr/FormatData_sr_ME.java
Java
mit
3,546
/* * Copyright (c) 2007, 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...
rokn/Count_Words_2015
testing/openjdk/jdk/test/javax/sound/midi/Gervill/SoftAudioSynthesizer/GetFormat.java
Java
mit
2,359
/* * Copyright (c) 2010, 2011, 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 ...
rokn/Count_Words_2015
testing/openjdk2/jdk/src/share/classes/java/lang/CharacterName.java
Java
mit
4,017
/* * 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...
himanshuag/elasticsearch
core/src/main/java/org/elasticsearch/discovery/zen/fd/MasterFaultDetection.java
Java
apache-2.0
19,229
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
nknize/elasticsearch
client/rest-high-level/src/test/java/org/elasticsearch/client/ml/StopDatafeedResponseTests.java
Java
apache-2.0
1,469
/** * 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...
cshannon/activemq-artemis
tests/activemq5-unit-tests/src/test/java/org/apache/activemq/filter/DestinationFilterTest.java
Java
apache-2.0
3,298
package org.jsoup.parser; import org.jsoup.helper.Validate; import java.util.Arrays; import java.util.Locale; /** CharacterReader consumes tokens off a string. To replace the old TokenQueue. */ final class CharacterReader { static final char EOF = (char) -1; private static final int maxCacheLen = 12; ...
rogerxaic/gestock
src/org/jsoup/parser/CharacterReader.java
Java
unlicense
10,826
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
tkafalas/pentaho-kettle
engine/src/test/java/org/pentaho/di/job/entries/evaluatetablecontent/MockDriver.java
Java
apache-2.0
3,801
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
wseyler/pentaho-kettle
core/src/main/java/org/pentaho/di/core/KettleAttributeInterface.java
Java
apache-2.0
1,533
/* * 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 ...
bryce-anderson/netty
transport/src/main/java/io/netty/channel/DefaultSelectStrategy.java
Java
apache-2.0
1,101
/** * Appcelerator Titanium Mobile * Copyright (c) 2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package org.appcelerator.kroll; public class KrollPropertyChange { protected String n...
arnaudsj/titanium_mobile
android/titanium/src/org/appcelerator/kroll/KrollPropertyChange.java
Java
apache-2.0
846
class Foo { public void foo() { int i; } }
asedunov/intellij-community
java/java-tests/testData/inspection/defUse/UnusedVariable.java
Java
apache-2.0
50
/* * 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...
kuzemchik/presto
presto-main/src/main/java/com/facebook/presto/metadata/SpecializedFunctionKey.java
Java
apache-2.0
2,138
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package com.skia; import javax.microedition.khronos.egl.EGL10; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.egl.EGLDisplay; import javax...
zero-rp/miniblink49
third_party/skia/platform_tools/android/app/src/com/skia/SkiaSampleView.java
Java
apache-2.0
10,208
package org.apache.maven.repository.metadata; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apach...
apache/maven
maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java
Java
apache-2.0
1,822
/* * 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 ...
WilliamNouet/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/flow/FlowElection.java
Java
apache-2.0
3,255
/* * Copyright 2000-2012 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...
akosyakov/intellij-community
jps/model-serialization/testSrc/org/jetbrains/jps/model/serialization/JpsProjectSerializationTest.java
Java
apache-2.0
11,503
/********************************************************************************** * * $Id$ * *********************************************************************************** * * Copyright (c) 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * yo...
rodriguezdevera/sakai
edu-services/gradebook-service/api/src/java/org/sakaiproject/service/gradebook/shared/GradebookExternalAssessmentService.java
Java
apache-2.0
14,476
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
apratkin/pentaho-kettle
core/src/org/pentaho/di/core/vfs/configuration/KettleFileSystemConfigBuilderFactory.java
Java
apache-2.0
3,605
/* * 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...
dantuffery/elasticsearch
src/test/java/org/elasticsearch/action/RejectionActionTests.java
Java
apache-2.0
4,951
/* * 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...
marsorp/blog
presto166/presto-parser/src/main/java/com/facebook/presto/sql/tree/NotExpression.java
Java
apache-2.0
1,998
/* * 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...
kdwink/intellij-community
java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/GuessTypeParameters.java
Java
apache-2.0
10,162
/* * 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 ...
pauloricardomg/cassandra
test/unit/org/apache/cassandra/repair/consistent/AbstractConsistentSessionTest.java
Java
apache-2.0
3,628
/* * Copyright (c) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.par...
MSchantz/Parse-SDK-Android
Parse/src/main/java/com/parse/ParseRemoveOperation.java
Java
bsd-3-clause
3,725
/* * 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...
irudyak/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/GridCacheBinaryTransactionalEntryProcessorDeploymentSelfTest.java
Java
apache-2.0
1,284
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version ...
conder/sakai
message/message-api/api/src/java/org/sakaiproject/message/api/MessageHeader.java
Java
apache-2.0
4,259
/* Copyright 2017 The TensorFlow 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 applicable law or a...
nburn42/tensorflow
tensorflow/java/src/main/java/org/tensorflow/op/annotation/Operator.java
Java
apache-2.0
3,654
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Ve...
marktriggs/nyu-sakai-10.4
providers/jldap/src/java/edu/amc/sakai/user/LdapConnectionLivenessValidator.java
Java
apache-2.0
1,307
/* * 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...
corochoone/elasticsearch
src/test/java/org/elasticsearch/stresstest/indexing/BulkIndexingStressTest.java
Java
apache-2.0
2,807
/* * Copyright 2013 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...
davidmrtz/TrackingApp
myMapa/library/src/com/google/maps/android/MathUtil.java
Java
apache-2.0
3,305
/** * Copyright (c) 2010-2015, openHAB.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 distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
cyclingengineer/UpnpHomeAutomationBridge
src/org/openhab/binding/maxcube/internal/exceptions/IncorrectMultilineIndexException.java
Java
epl-1.0
737
/** * 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...
tseen/Federated-HDFS
tseenliu/FedHDFS-hadoop-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/BlockReaderUtil.java
Java
apache-2.0
1,761
/* Copyright 2015 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 or agreed to in ...
dgrif/binnavi
src/main/java/com/google/security/zynamics/binnavi/Gui/MainWindow/ProjectTree/Nodes/Module/CModuleNode.java
Java
apache-2.0
8,652
/* * Copyright 2000-2015 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...
idea4bsd/idea4bsd
platform/testFramework/src/com/intellij/mock/MockPsiFile.java
Java
apache-2.0
8,673
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
asedunov/intellij-community
xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlMarkupDeclImpl.java
Java
apache-2.0
1,100
/** * 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...
YMartsynkevych/camel
components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/CreateOperation.java
Java
apache-2.0
2,550
/* * Copyright 2005 Sascha Weinreuter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
clumsy/intellij-community
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/XPath2Language.java
Java
apache-2.0
1,943
/** * 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...
shakamunyi/hadoop-20
src/test/org/apache/hadoop/mapred/ReliabilityTest.java
Java
apache-2.0
18,910
package butterknife; import android.view.View; import butterknife.internal.ListenerClass; import butterknife.internal.ListenerMethod; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static android.widget.AdapterView.OnItemSelectedListener; import static java.lang.annotation.ElementTy...
carollynn2253/butterknife
butterknife/src/main/java/butterknife/OnItemSelected.java
Java
apache-2.0
2,447
/* * Copyright (c) 2007, 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...
rokn/Count_Words_2015
testing/openjdk2/jdk/test/java/awt/im/4959409/bug4959409.java
Java
mit
2,168
/* * Copyright (c) 2013-2015 by appPlant UG. All rights reserved. * * @APPPLANT_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apache License * Version 2.0 (the 'License'). You may not use this file except in * complia...
ElieSauveterre/cordova-plugin-local-notifications
src/android/ClickActivity.java
Java
apache-2.0
2,346
public enum A { ; A(String s){} }
asedunov/intellij-community
java/java-tests/testData/refactoring/moveMembers/enumConstant/before/A.java
Java
apache-2.0
37
class A { public void f() { Inner i = new Inner(); i.doStuff(); } private class <caret>Inner { public void doStuff() { } } }
asedunov/intellij-community
java/java-tests/testData/refactoring/inlineToAnonymousClass/NoInlineMethodUsage.java
Java
apache-2.0
173
class MyException extends RuntimeException{} class MyClass { public void foo() throws MyException { throw new MyException();<caret> } }
asedunov/intellij-community
java/java-tests/testData/codeInsight/completion/smartType/ExceptionTwice-out.java
Java
apache-2.0
139
/* * Copyright (C) 2007 Esmertec AG. * Copyright (C) 2007 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/LICEN...
jodson/TextSecure
src/ws/com/google/android/mms/pdu/ReadRecInd.java
Java
gpl-3.0
4,014
/** * 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...
mohanaraosv/camel
camel-core/src/test/java/org/apache/camel/processor/RedeliveryOnExceptionBlockedDelayTest.java
Java
apache-2.0
3,369
/** * 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...
coderczp/camel
camel-core/src/test/java/org/apache/camel/processor/RemoveHeadersTest.java
Java
apache-2.0
3,108
/** * 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...
CandleCandle/camel
camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateControllerTest.java
Java
apache-2.0
4,309
/** * 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...
YMartsynkevych/camel
components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatTest.java
Java
apache-2.0
8,709
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
ppamorim/fresco
fbcore/src/main/java/com/facebook/datasource/BaseDataSubscriber.java
Java
bsd-3-clause
1,838
/* * Copyright (C) 2009,2010,2011,2012 Samuel Audet * * This file is part of JavaCV. * * JavaCV 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) an...
JanesR/javacv
src/main/java/com/googlecode/javacv/ProCamTransformer.java
Java
gpl-2.0
23,990
/** * 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...
CandleCandle/camel
components/camel-jaxb/src/test/java/org/apache/camel/example/Bar.java
Java
apache-2.0
1,514
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
nelsonsilva/libgdx
backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/DirectReadWriteFloatBufferAdapter.java
Java
apache-2.0
4,412
/* * 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 ...
esi-mineset/spark
sql/core/src/main/java/org/apache/spark/sql/api/java/package-info.java
Java
apache-2.0
942
/** * 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...
tseen/Federated-HDFS
tseenliu/FedHDFS-hadoop-src/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/oncrpc/RpcMessage.java
Java
apache-2.0
2,009
/* * 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...
mkis-/elasticsearch
src/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java
Java
apache-2.0
2,762
package info.faceland.loot.data; public class PriceData { private int price; private boolean rare; public PriceData (int price, boolean rare) { this.price = price; this.rare = rare; } public int getPrice() { return price; } public void setPrice(int price) { this.price = price; } ...
TealCube/loot
src/main/java/info/faceland/loot/data/PriceData.java
Java
isc
435
package de.klimek.spacecurl.activities; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.content.pm.ActivityInfo; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.u...
Tetr4/Spacecurl
app/src/main/java/de/klimek/spacecurl/activities/BasicTrainingActivity.java
Java
isc
14,055
package com.evanbyrne.vending_machine_kata.ui; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; import java.util.Scanner; import java.util.SortedMap; import org.jooq.lambda.tuple.Tuple2; import com.evanbyrne.vending_machine_kata.coin.Cents; import com.evanbyrne.vending_machine_kata.c...
evantbyrne/vending-machine-kata
src/main/java/com/evanbyrne/vending_machine_kata/ui/Console.java
Java
isc
4,553
/* * Copyright © 2016 <code@io7m.com> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ...
io7m/jcanephora
com.io7m.jcanephora.tests.lwjgl3/src/test/java/com/io7m/jcanephora/tests/lwjgl3/LWJGL3FramebuffersTestGL33.java
Java
isc
1,726
package org.apollo.game.event.handler.impl; import org.apollo.game.event.handler.EventHandler; import org.apollo.game.event.handler.EventHandlerContext; import org.apollo.game.event.impl.ItemOnItemEvent; import org.apollo.game.model.Inventory; import org.apollo.game.model.Item; import org.apollo.game.model.Player; /*...
DealerNextDoor/ApolloDev
src/org/apollo/game/event/handler/impl/ItemOnItemVerificationHandler.java
Java
isc
1,001
package com.leychina.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.webkit.WebChromeClient; import android.widget.ImageView; import android.widget.TextView; import com.leychina.R; import com.leychina.mo...
yuandunlong/leychina-android
app/src/main/java/com/leychina/activity/ArtistDetailActivity.java
Java
isc
2,114
/* * Copyright (c) 2014 Stephan D. Cote' - All rights reserved. * * This program and the accompanying materials are made available under the * terms of the MIT License which accompanies this distribution, and is * available at http://creativecommons.org/licenses/MIT/ * * Contributors: * Stephan D. ...
sdcote/loader
src/test/java/coyote/i13n/EventListTest.java
Java
mit
4,336
package com.isme.zteui.cache; import android.graphics.Bitmap; import android.support.v4.util.LruCache; import com.android.volley.toolbox.ImageLoader.ImageCache; /** * Title: Volley 的缓存类</br><br> * Description: </br><br> * Copyright: Copyright(c)2003</br><br> * Company: ihalma </br><br> * @author and</br><br> ...
heyugtan/zteUI
ZTEUI/src/com/isme/zteui/cache/BitmapLruCache.java
Java
mit
944
package warhammerrpg.database.exception; import warhammerrpg.core.exception.WarhammerRpgException; public class DatabaseException extends WarhammerRpgException { public DatabaseException(Exception originalExceptionObject) { super(originalExceptionObject); } public DatabaseException() { su...
tomaszkowalczyk94/warhammer-rpg-helper
src/main/java/warhammerrpg/database/exception/DatabaseException.java
Java
mit
335
package org.ethereum.android.service; import android.os.Message; public interface ConnectorHandler { boolean handleMessage(Message message); void onConnectorConnected(); void onConnectorDisconnected(); String getID(); }
BlockchainSociety/ethereumj-android
ethereumj-core-android/src/main/java/org/ethereum/android/service/ConnectorHandler.java
Java
mit
240
/* * Copyright (c) 2003-2009 jMonkeyEngine * 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 ...
accelazh/ThreeBodyProblem
lib/jME2_0_1-Stable/src/com/jme/curve/CurveController.java
Java
mit
9,311
/* * Copyright (C) 2011 ZXing 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 agr...
longluo/AndroidDemo
app/src/main/java/com/longluo/demo/qrcode/zxing/client/android/encode/Formatter.java
Java
mit
1,015
/** * */ package com.kant.datastructure.queues; import com.kant.sortingnsearching.MyUtil; /** * @author shaskant * */ public class GenerateBinaryNumbers1toN { /** * * @param n * @return * @throws OverFlowException * @throws UnderFlowException */ public String[] solve(int n) throws OverFlowExcept...
thekant/myCodeRepo
src/com/kant/datastructure/queues/GenerateBinaryNumbers1toN.java
Java
mit
1,022
package com.baomidou.hibernateplus.spring.vo; import java.io.Serializable; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import com.baomidou.hibernateplus.entity.Convert; /** * <p> * Vdemo * </p> * * @author Caratacus * @date 2016-12-2 */ publi...
baomidou/hibernate-plus
hibernate-plus/src/test/java/com/baomidou/hibernateplus/spring/vo/Vdemo.java
Java
mit
1,066
package xsmeral.semnet.sink; import java.util.Properties; import org.openrdf.repository.Repository; import org.openrdf.repository.RepositoryException; import org.openrdf.repository.sail.SailRepository; import org.openrdf.sail.rdbms.RdbmsStore; /** * Factory of {@link RdbmsStore} repositories. * <br /> * Takes para...
rsmeral/semnet
SemNet/src/xsmeral/semnet/sink/RdbmsStoreFactory.java
Java
mit
1,465
package com.test.SERVICE; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.test.DAO.IMercaderiaDAO; import com.test.BEAN.Mercaderia; @Service public class MercaderiaService implements IMercaderiaService...
renzopalmieri/demomercaderia
spring-boot-2/src/main/java/com/test/SERVICE/MercaderiaService.java
Java
mit
1,116
package org.gw4e.eclipse.builder.exception; /*- * #%L * gw4e * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2017 gw4e-project * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software withou...
gw4e/gw4e.project
bundles/gw4e-eclipse-plugin/src/org/gw4e/eclipse/builder/exception/SeverityConfigurationException.java
Java
mit
1,676
package org.jabref.gui.openoffice; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JDialog;...
tobiasdiez/jabref
src/main/java/org/jabref/gui/openoffice/AdvancedCiteDialog.java
Java
mit
3,726
package com.ricex.aft.android.request; import org.springframework.http.HttpStatus; public class AFTResponse<T> { /** The successful response from the server */ private final T response; /** The error response from the server */ private final String error; /** The HttpStatus code of the response */ private...
mwcaisse/AndroidFT
aft-android/src/main/java/com/ricex/aft/android/request/AFTResponse.java
Java
mit
1,925
package cn.edu.ustc.appseed.clubseed.activity; /* * Show the detail content of the event which you select. * Why to use a custom toolbar instead of the default toolbar in ActionBarActivity? * Because the custom toolbar is very convenient to edit it and good to unify the GUI. */ import android.content.Intent; import ...
leerduo/ClubSeed
app/src/main/java/cn/edu/ustc/appseed/clubseed/activity/StarContentActivity.java
Java
mit
2,293
package com.smbc.droid; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; import android.view.Menu; import android.view.MenuItem; import android.view.View; import com.android.volley.toolbox.NetworkImageView; public class MainActivity extends FragmentA...
nindalf/smbc-droid
app/src/main/java/com/smbc/droid/MainActivity.java
Java
mit
1,709
package lab; public class IntArrayWorker { /** two dimensional matrix */ private int[][] matrix = null; /** set the matrix to the passed one * @param theMatrix the one to use */ public void setMatrix(int[][] theMatrix) { matrix = theMatrix; } /** * Method to return the ...
Zedai/APCOMSCI
ApComSci/pictures_lab/lab/IntArrayWorker.java
Java
mit
2,755
package com.smartbit8.laravelstorm.run; import com.intellij.execution.ExecutionException; import com.intellij.execution.Executor; import com.intellij.execution.configurations.*; import com.intellij.execution.process.*; import com.intellij.execution.runners.ExecutionEnvironment; import com.intellij.ide.browsers.*; impo...
3mmarg97/LaravelStorm
src/com/smartbit8/laravelstorm/run/LaravelRunConf.java
Java
mit
6,140
package com.bitdubai.fermat_bnk_api.layer.bnk_wallet.bank_money.exceptions; import com.bitdubai.fermat_api.FermatException; /** * Created by Yordin Alayn on 18.09.15. */ public class CantTransactionBankMoneyException extends FermatException { public static final String DEFAULT_MESSAGE = "Falled To Get Bank Tra...
fvasquezjatar/fermat-unused
fermat-bnk-api/src/main/java/com/bitdubai/fermat_bnk_api/layer/bnk_wallet/bank_money/exceptions/CantTransactionBankMoneyException.java
Java
mit
533
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package modelo; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java...
deivisvieira/PosJava
src/java/modelo/Cotacao.java
Java
mit
2,527
package br.com.dbsoft.rest.dados; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInc...
dbsoftcombr/dbssdk
src/main/java/br/com/dbsoft/rest/dados/DadosStatus.java
Java
mit
1,014
package com.landenlabs.all_flipanimation; /** * Copyright (c) 2015 Dennis Lang (LanDen Labs) landenlabs@gmail.com * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software"), to deal in the Software without restriction, inc...
landenlabs2/all_FlipAnimation
app/src/main/java/com/landenlabs/all_flipanimation/ActivityRotAnimation.java
Java
mit
10,273
package com.example.apahlavan1.top10downloader; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationT...
AriaPahlavan/Android-Apps
Top10Downloader/app/src/androidTest/java/com/example/apahlavan1/top10downloader/ApplicationTest.java
Java
mit
369
package com.kkk.retrofitdemo; import com.kkk.retrofitdemo.bean.Repo; import com.kkk.retrofitdemo.bean.SearchRepoResult; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; import rx.Observable; public interface GitHubService { @GET("u...
kylm53/learn-android
RetrofitDemo/src/main/java/com/kkk/retrofitdemo/GitHubService.java
Java
mit
655
package gui; import java.awt.Font; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.image.BufferedImage; import java.awt.Toolkit; import javax.imageio.ImageIO; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextArea; import javax.swing.SwingConstants;...
berserkingyadis/ImageDownloader
src/main/java/gui/GUI.java
Java
mit
18,735
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package curveavg; /** * Small helper class for computing the circular arc between two points. * @author Sebastian Weiss */ public c...
shamanDevel/CurveAverage
src/curveavg/CircularArc.java
Java
mit
4,540
import com.sendgrid.Method; import com.sendgrid.Request; import com.sendgrid.Response; import com.sendgrid.SendGrid; import com.sendgrid.helpers.mail.Mail; import com.sendgrid.helpers.mail.objects.Content; import com.sendgrid.helpers.mail.objects.Email; import com.sendgrid.helpers.mail.objects.Personalization; import ...
sendgrid/sendgrid-java
examples/helpers/mail/SingleEmailMultipleRecipients.java
Java
mit
1,666
package org.workcraft.plugins.circuit; import org.workcraft.annotations.DisplayName; import org.workcraft.annotations.Hotkey; import org.workcraft.annotations.SVGIcon; import org.workcraft.dom.Node; import org.workcraft.dom.visual.BoundingBoxHelper; import org.workcraft.dom.visual.DrawRequest; import org.workcraft.for...
tuura/workcraft
workcraft/CircuitPlugin/src/org/workcraft/plugins/circuit/VisualFunctionContact.java
Java
mit
13,140
package net.dirtyfilthy.bouncycastle.asn1.nist; import net.dirtyfilthy.bouncycastle.asn1.DERObjectIdentifier; import net.dirtyfilthy.bouncycastle.asn1.sec.SECNamedCurves; import net.dirtyfilthy.bouncycastle.asn1.sec.SECObjectIdentifiers; import net.dirtyfilthy.bouncycastle.asn1.x9.X9ECParameters; import net.dirtyfilth...
dirtyfilthy/dirtyfilthy-bouncycastle
net/dirtyfilthy/bouncycastle/asn1/nist/NISTNamedCurves.java
Java
mit
2,937