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...
groschovskiy/j2objc
jre_emul/android/libcore/luni/src/main/java/java/util/HashSet.java
Java
apache-2.0
7,068
/* * Copyright 2014 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 ...
dawidmalina/pinpoint
profiler/src/main/java/com/navercorp/pinpoint/profiler/util/ScopePool.java
Java
apache-2.0
952
/** * Copyright (c) 2003-2018 The Apereo Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/ecl2 * * Unless requ...
OpenCollabZA/sakai
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/panels/CourseGradeStatisticsPanel.java
Java
apache-2.0
2,906
/* * 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...
lburgazzoli/apache-activemq-artemis
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/NewDeadLetterAddressTest.java
Java
apache-2.0
3,195
/* * 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-iam/src/main/java/com/amazonaws/services/identitymanagement/model/transform/EntityTemporarilyUnmodifiableExceptionUnmarshaller.java
Java
apache-2.0
1,644
/* * Copyright 2012-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 "lice...
sheofir/aws-sdk-java
aws-java-sdk-swf-libraries/src/main/java/com/amazonaws/services/simpleworkflow/flow/annotations/Activities.java
Java
apache-2.0
3,079
package io.mycat.net; import java.io.IOException; import java.nio.channels.CancelledKeyException; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.util.Queue; import java.util.Set; import java.util.concurrent.ConcurrentLinkedQueue; import org.slf4j.Logger; import org.slf4j.LoggerF...
jacky312/Mycat-Server
src/main/java/io/mycat/net/NIOReactor.java
Java
apache-2.0
2,895
/* * 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...
sheofir/aws-sdk-java
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/DescribeResizeResult.java
Java
apache-2.0
39,871
/* EncodedKeySpec.java --- Encoded Key Specificaton class Copyright (C) 1999 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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; ei...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/java/security/spec/EncodedKeySpec.java
Java
bsd-3-clause
2,689
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
jstourac/undertow
servlet/src/test/java/io/undertow/servlet/test/charset/EchoServlet.java
Java
apache-2.0
1,718
/* * 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 ...
amitsela/incubator-beam
sdks/java/core/src/main/java/org/apache/beam/sdk/util/ExposedByteArrayInputStream.java
Java
apache-2.0
1,620
/* * 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...
MichaelNedzelsky/intellij-community
platform/lang-impl/src/com/intellij/psi/util/proximity/PsiProximityComparator.java
Java
apache-2.0
5,488
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.autoscaling.capacity; import org....
GlenRSmith/elasticsearch
x-pack/plugin/autoscaling/src/test/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingDeciderResultsWireSerializingTests.java
Java
apache-2.0
1,149
/* * 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/java/nio/file/Path.java
Java
mit
36,360
/** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Facebook. * * As ...
carlesls2/sitappandroidv1
prova/facebook/src/com/facebook/internal/ProfileInformationCache.java
Java
lgpl-3.0
1,987
/*! ****************************************************************************** * * 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/main/java/org/pentaho/di/core/compress/hadoopsnappy/HadoopSnappyCompressionInputStream.java
Java
apache-2.0
3,236
/* * 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-commons/nifi-record-path/src/main/java/org/apache/nifi/record/path/filter/LessThanFilter.java
Java
apache-2.0
1,359
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache...
grahamc/gocd
config/config-server/test/com/thoughtworks/go/config/serialization/ServerConfigTest.java
Java
apache-2.0
2,549
/** * 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 co...
tausifmuzaffar/bisApp
node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/storage/AsyncStorageModule.java
Java
apache-2.0
13,925
/* * Copyright (c) 1997, 2003, 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/src/share/classes/javax/swing/text/Document.java
Java
mit
20,748
/* * 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 ...
dulvac/sling
contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/impl/DistributionParameter.java
Java
apache-2.0
1,211
/* * 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 ...
dulvac/sling
launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl/ContextProtocolHandler.java
Java
apache-2.0
2,287
/** * 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...
kristinehahn/drill
exec/java-exec/src/main/java/org/apache/drill/exec/store/ischema/InfoSchemaDrillTable.java
Java
apache-2.0
1,632
package com.morihacky.android.rxjava.retrofit; public class User { public String name; public String email; }
simple88/RxJava-Android-Samples
app/src/main/java/com/morihacky/android/rxjava/retrofit/User.java
Java
apache-2.0
119
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2012-2014 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.components.runtime; import android.app.Activity; import android.content.Intent; import android.nfc.Nf...
Mateopato/appinventor-sources
appinventor/components/src/com/google/appinventor/components/runtime/NearField.java
Java
apache-2.0
6,710
/* * 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...
akosyakov/intellij-community
platform/vcs-api/src/com/intellij/openapi/vcs/VcsVFSListener.java
Java
apache-2.0
20,809
/* * 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...
akosyakov/intellij-community
platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogJoiner.java
Java
apache-2.0
10,058
/* * 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...
caot/intellij-community
plugins/maven/src/main/java/org/jetbrains/idea/maven/tasks/MavenTasksManager.java
Java
apache-2.0
7,347
/** * 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...
Aloomaio/incubator-storm
storm-core/src/jvm/storm/trident/state/map/CachedBatchReadsMap.java
Java
apache-2.0
2,451
/* * 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 ...
kaituo/sedge
trunk/src/org/apache/pig/impl/io/NullableText.java
Java
mit
1,348
/** * 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 */...
cdjackson/openhab
bundles/binding/org.openhab.binding.davis/src/main/java/org/openhab/binding/davis/datatypes/DataTypeTime.java
Java
epl-1.0
1,412
/* * Copyright (C) 2010 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...
sidorov-panda/omim
android/3rd_party/BottomSheet/src/main/java/com/cocosw/bottomsheet/ActionMenu.java
Java
apache-2.0
9,931
/* * 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 c...
rallportctr/cas
cas-server-integration-memcached/src/main/java/org/jasig/cas/ticket/registry/support/kryo/FieldHelper.java
Java
apache-2.0
3,017
/* * 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...
akosyakov/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/impl/auxiliary/modifiers/GrModifierListImpl.java
Java
apache-2.0
17,635
/* * 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 ...
irudyak/ignite
modules/core/src/main/java/org/apache/ignite/compute/gridify/aop/GridifySetToSetAbstractAspect.java
Java
apache-2.0
7,693
/* * 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 ...
irudyak/ignite
modules/clients/src/test/java/org/apache/ignite/internal/client/integration/ClientTcpSslDirectSelfTest.java
Java
apache-2.0
2,110
/* * 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...
idea4bsd/idea4bsd
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SshSettingsPanel.java
Java
apache-2.0
9,270
/* * 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 ...
likaiwalkman/cassandra
test/unit/org/apache/cassandra/utils/StreamingHistogramTest.java
Java
apache-2.0
4,486
/* * 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-raptor/src/main/java/com/facebook/presto/raptor/storage/ColumnIndexStatsUtils.java
Java
apache-2.0
1,790
/* * 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...
caot/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/codeInspection/untypedUnresolvedAccess/QuickFixActionRegistrarAdapter.java
Java
apache-2.0
2,082
/* * Copyright 2012 The Closure Compiler 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...
GoogleChromeLabs/chromeos_smart_card_connector
third_party/closure-compiler/src/src/com/google/javascript/jscomp/ant/Warning.java
Java
apache-2.0
1,091
/** * 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...
kristinehahn/drill
exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Filter.java
Java
apache-2.0
2,586
/* * 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
platform/indexing-impl/src/com/intellij/psi/impl/cache/impl/todo/LexerBasedTodoIndexer.java
Java
apache-2.0
1,326
/* * Copyright (c) 2003, 2008, 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/test/javax/management/remote/mandatory/notif/DiffHBTest.java
Java
mit
7,087
/* 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/reil/translators/ppc/BdnzflrlTranslator.java
Java
apache-2.0
1,898
/* 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 ...
paran0ids0ul/binnavi
src/main/java/com/google/security/zynamics/binnavi/Gui/MainWindow/ProjectTree/filters/Views/CViewTypePanel.java
Java
apache-2.0
4,191
/** * 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
components/camel-aws/src/test/java/org/apache/camel/component/aws/s3/S3ConsumerPrefixTest.java
Java
apache-2.0
4,849
/* * Copyright (C) 2009 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...
fengshao0907/guava
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
Java
apache-2.0
28,344
class s { public static final repeat REPEAT = new <ref>repeat(){}; boolean repeat = false; static class repeat {} }
caot/intellij-community
java/java-tests/testData/psi/resolve/class/VarInNew1.java
Java
apache-2.0
121
/* * 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...
qwerty4030/elasticsearch
server/src/test/java/org/elasticsearch/action/ingest/SimulateDocumentSimpleResultTests.java
Java
apache-2.0
2,785
package com.intellij.ide.ui.laf.darcula; import javax.swing.*; import javax.swing.plaf.UIResource; import javax.swing.table.DefaultTableCellRenderer; import java.awt.*; /** * @author Konstantin Bulenkov */ public class DarculaDefaultTableHeaderRenderer extends DefaultTableCellRenderer implements UIResource { publ...
asedunov/intellij-community
platform/platform-impl/src/com/intellij/ide/ui/laf/darcula/DarculaDefaultTableHeaderRenderer.java
Java
apache-2.0
6,115
/* * 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...
Allive1/pinpoint
thirdparty/google-guava/src/main/java/com/google/common/collect/UsingToStringOrdering.java
Java
apache-2.0
1,447
// "Create method 'bar'" "true" public class Test { <T extends String> void foo (T t1, T t2) { <caret>bar (t1, t2); } }
caot/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/beforeGenerics1.java
Java
apache-2.0
135
interface PsiManager { } interface PsiElement { PsiManager getManager(); } interface PsiClass extends PsiElement { } interface PsiMethod extends PsiElement { PsiClass getContainingClass(); } interface PsiMethodCallExpression extends PsiElement { PsiMethod resolveMethod(); } public class TestCompletion { publi...
allotria/intellij-community
java/java-tests/testData/codeInsight/completion/methodChains/testOneChainContainsOther2/TestCompletion.java
Java
apache-2.0
371
class Foo { public String toString() { Foo bar; String f = bar.toString();<caret> } }
Lekanich/intellij-community
java/java-tests/testData/codeInsight/completion/smartType/second/DontIgnoreToStringInsideIt-out.java
Java
apache-2.0
112
/* * Copyright (C) 2006 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...
qingsong-xu/guava
guava-tests/test/com/google/common/base/ObjectsTest.java
Java
apache-2.0
2,813
/** * 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
camel-core/src/test/java/org/apache/camel/management/JmxInstrumentationWithConnectorTest.java
Java
apache-2.0
4,827
/** * 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...
RohanHart/camel
camel-core/src/test/java/org/apache/camel/processor/BeanRouteTest.java
Java
apache-2.0
3,523
package com.some.example; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import java.util.Ar...
prayuditb/tryout-01
websocket/client/Client/node_modules/react-native/local-cli/core/__fixtures__/files/ReactPackage.java
Java
mit
973
/* * Copyright 2014 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 applic...
heymind/iosched
android/src/main/java/com/google/samples/apps/iosched/ui/debug/DebugActionRunnerActivity.java
Java
apache-2.0
1,277
/** * 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-common/src/main/java/org/apache/hadoop/fs/TrashPolicy.java
Java
apache-2.0
3,438
/* RowMapper.java -- Copyright (C) 2002, 2006, Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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, or (at your op...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/libjava/classpath/javax/swing/tree/RowMapper.java
Java
gpl-2.0
1,981
/** * 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-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/webapp/TestHsWebServices.java
Java
apache-2.0
11,726
public class pr24321 { static class Z { static { System.out.println("init"); } } static class Y extends Z { } public static Object x () { return new Object(); } public static void main(String[] args) throws Throwable { System.out.println(x() instanceof Z); ClassLoader cl = pr24321....
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/libjava/testsuite/libjava.lang/pr24321.java
Java
gpl-2.0
507
/* * Copyright (C) 2010 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...
sbazzaza/tournama
src/client_library/ActionBarSherlock-4.4.0/actionbarsherlock-samples/fragments/src/com/actionbarsherlock/sample/fragments/FragmentDialogOrActivitySupport.java
Java
gpl-2.0
2,848
/* AdjustmentEvent.java -- an adjustable value was changed Copyright (C) 1999, 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 Sof...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/libjava/classpath/java/awt/event/AdjustmentEvent.java
Java
gpl-2.0
7,171
/* * Copyright 2011 Alibaba.com All right reserved. This software is the * confidential and proprietary information of Alibaba.com ("Confidential * Information"). You shall not disclose such Confidential Information and shall * use it only in accordance with the terms of the license agreement you entered * into wi...
zhushuchen/Ocean
项目源码/dubbo/dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/home/module/screen/Restful.java
Java
agpl-3.0
3,276
/* * 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/index/mapper/MapperServiceModule.java
Java
apache-2.0
1,066
/* * Copyright (c) 2016, nwillc@gmail.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 THE AUTHOR DISC...
nwillc/jdk_contract_tests
src/test/java/com/github/nwillc/contracts/ComparatorContractNullsFirstTest.java
Java
isc
1,658
/* * Copyright © 2014 <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" AN...
io7m/jparasol
io7m-jparasol-compiler-core/src/main/java/com/io7m/jparasol/untyped/ast/resolved/UASTRFragmentShaderLocalVisitorType.java
Java
isc
1,336
/* * 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/smf
com.io7m.smfj.format.obj/src/main/java/com/io7m/smfj/format/obj/package-info.java
Java
isc
1,123
package org.apollo.game.content.quest.impl.black; import org.apollo.game.content.quest.Quest; import org.apollo.game.content.quest.impl.steps.Step; import org.apollo.game.model.Player; /** * The first step of black knights fortress * * * @author Rodrigo Molina */ public class FirstStep extends Step {...
AWildridge/ProtoScape
src/org/apollo/game/content/quest/impl/black/FirstStep.java
Java
isc
1,106
package net.scapeemulator.game.model.grounditem; import net.scapeemulator.game.model.grounditem.GroundItemList.GroundItem; /** * @author Hadyn Richard */ public abstract class GroundItemListener { public abstract boolean shouldFireEvents(GroundItem groundItem); public abstract void groundItemCr...
davidi2/mopar
src/net/scapeemulator/game/model/grounditem/GroundItemListener.java
Java
isc
512
package net.scapeemulator.game.model.player.skills.construction.room; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.util.HashMap; import java.util.Map; import net.scapeemulator.game.model.Position; import net.scapeemulator.game.model.object.GroundObjectList.GroundObjec...
davidi2/mopar
src/net/scapeemulator/game/model/player/skills/construction/room/RoomPlaced.java
Java
isc
10,159
package com.example.awang94.gesturedsl; /** * Created by awang94 on 7/15/2015. */ public enum Direction { LEFT, RIGHT, DOWN, UP, ANY, OPPOSITE, HORIZONTAL, VERTICAL; }
ecu-sle-lab/android-gestures-dsl
touch-log/gesturedsl/src/main/java/com/example/awang94/gesturedsl/Direction.java
Java
mit
175
package be.bagofwords.util; import com.fasterxml.jackson.annotation.JsonIgnore; import java.io.Serializable; public class Pair<S, T> implements Comparable, Serializable { private S first; private T second; public Pair(S first, T second) { this.first = first; this.second = second; }...
koendeschacht/bow-utils
src/main/java/be/bagofwords/util/Pair.java
Java
mit
2,882
package tonius.simplyjetpacks.integration; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import tonius.simplyjetpacks.SimplyJetpacks; import cpw.mods.fml.common.event.FMLInterModComms; public abstract class EIORecipes { public static void addAll...
Tonius/SimplyJetpacks
src/main/java/tonius/simplyjetpacks/integration/EIORecipes.java
Java
mit
2,886
package com.alltheducks.stripes.rest; import com.fasterxml.jackson.databind.ObjectMapper; import net.sourceforge.stripes.action.ActionBean; import net.sourceforge.stripes.action.Resolution; import net.sourceforge.stripes.validation.ValidationErrorHandler; import net.sourceforge.stripes.validation.ValidationErrors; /*...
AllTheDucks/restful-stripes
src/main/java/com/alltheducks/stripes/rest/RestfulActionBean.java
Java
mit
627
package org.appfuse.service.base; import junit.framework.Test; import junit.framework.TestSuite; public class AllTests { public static Test suite() { TestSuite suite = new TestSuite("Test for org.appfuse.service.base"); //$JUnit-BEGIN$ suite.addTestSuite(BaseServiceTest.class); //$JUnit-END$ return suite;...
chinayuans/sysadmin
test/service/org/appfuse/service/base/AllTests.java
Java
mit
327
package com.velocity.gson.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * An annotation that indicates this member should be serialized to JSON with * the provided name va...
nab-velocity/android-sdk
VelocityLibrary/src/com/velocity/gson/annotations/SerializedName.java
Java
mit
1,952
package com.wamdy.com.datascrapt.excel; import java.text.DecimalFormat; import java.util.Date; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellType; import org.apache.poi.ss.usermodel.DataFormatter; import org.apache.poi.ss.usermodel.DateUtil; import org.apache.poi.ss.usermodel.Row; im...
wamdy/scaffold
scaffold-common/scaffold-common-dpp/scaffold-common-dpp-core/src/main/java/com/wamdy/com/datascrapt/excel/CellHelper.java
Java
mit
5,438
package tiramisudelemon.restaurand.app.media; import android.content.Context; import android.content.ContextWrapper; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.support.annotation.DrawableRes; import android.support.annotation.Nullable; import android.widget.ImageView; import...
willylatorre/restaurand
app/src/main/java/tiramisudelemon/restaurand/app/media/ImagesModule.java
Java
mit
4,040
package org.dnal.compiler.parser.error; public class ErrorScope { public ErrorScope(String srcFile, String statement, String statementType) { super(); this.srcFile = srcFile; this.statement = statement; this.statementType = statementType; } private String srcFile; priva...
ianrae/dnal-lang
src/main/java/org/dnal/compiler/parser/error/ErrorScope.java
Java
mit
583
package net.querz.nbt.io; import net.querz.io.Deserializer; import net.querz.nbt.tag.Tag; import java.io.IOException; import java.io.InputStream; import java.util.zip.GZIPInputStream; public class NBTDeserializer implements Deserializer<NamedTag> { private boolean compressed, littleEndian; public NBTDeserializer(...
Querz/NBT
src/main/java/net/querz/nbt/io/NBTDeserializer.java
Java
mit
955
package com.ultrahook.internal; import java.io.IOException; import java.io.InputStream; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apac...
flosell/ultrahook-java-client
src/main/java/com/ultrahook/internal/StreamConnection.java
Java
mit
1,517
package mlxy.tumplar.model.service; import mlxy.tumplar.global.Apis; import retrofit.Response; import retrofit.http.GET; import retrofit.http.Path; import rx.Observable; public interface AvatarService { @GET(Apis.BLOG_AVATAR) Observable<Response<String>> avatar(@Path("blog") String blog); @GET(Apis.BLOG_...
chihane/Tumplar
app/src/main/java/mlxy/tumplar/model/service/AvatarService.java
Java
mit
422
package be.ana.nmct.multimania; import android.app.Application; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.test.ApplicationTestCase; import andro...
SNiels/Multi-Mania-app
app/MultiMania/app/src/androidTest/java/be/ana/nmct/multimania/ProviderTest.java
Java
mit
9,411
package tr.bel.pendik.aquilamonitor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure....
PendikBelediyesi/AquilaMonitor
src/main/java/tr/bel/pendik/aquilamonitor/StartupApp.java
Java
mit
5,387
package leonardo2204.com.br.flowtests.presenter; import android.support.design.widget.NavigationView; import android.view.Menu; import mortar.ViewPresenter; /** * Created by Leonardo on 18/03/2016. */ public class NavigationPresenter extends ViewPresenter<NavigationView> { public Menu setupMenuItem() { ...
leonardo2204/Flow1.0.0-alphaExample
app/src/main/java/leonardo2204/com/br/flowtests/presenter/NavigationPresenter.java
Java
mit
358
/* * Copyright (C) 2008 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...
gizwits/Gizwits-WaterHeater_Android
src/zxing/decoding/Intents.java
Java
mit
6,201
package com.connorhaigh.jootil.utilities; import java.security.InvalidKeyException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import javax.crypto.Cipher; import javax.crypto.NoSuchPaddingException; import javax.crypto.spec.SecretKeySpec; public class Cryptography ...
Contron/Jootil
src/com/connorhaigh/jootil/utilities/Cryptography.java
Java
mit
1,530
package fr.pizzeria.stock.springboot.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestM...
tanguygiga/dta-formation
pizzeria-app/pizzeria-stock-app-spring-boot/src/main/java/fr/pizzeria/stock/springboot/controller/IngredientControllerRest.java
Java
mit
1,575
package br.edu.ifpi.sgp.model.entity; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; /** * Entity implementation class for En...
clodbrasilino/sgp
src/br/edu/ifpi/sgp/model/entity/Equipamento.java
Java
mit
1,683
package com.adyen.service.resource.notification; import com.adyen.Client; import com.adyen.Service; import com.adyen.service.Resource; import java.util.Collections; public class GetNotificationConfiguration extends Resource { public GetNotificationConfiguration(Service service) { super(service, ...
Adyen/adyen-java-api-library
src/main/java/com/adyen/service/resource/notification/GetNotificationConfiguration.java
Java
mit
558
package pl.java.scalatech.route; import org.apache.camel.builder.RouteBuilder; import org.springframework.beans.factory.annotation.Autowired; import pl.java.scalatech.bean.HelloBean; public class MyFirstRouteBuilder extends RouteBuilder { @Autowired private HelloBean helloBean; @Override public void...
przodownikR1/jmsCamelBootKata
src/main/java/pl/java/scalatech/route/MyFirstRouteBuilder.java
Java
mit
426
package net.fortytwo.twitlogic.syntax.afterthought.impl.openvocab; import net.fortytwo.twitlogic.syntax.afterthought.ObjectPropertyAfterthoughtMatcher; import net.fortytwo.twitlogic.vocabs.OpenVocab; /** * @author Joshua Shinavier (http://fortytwo.net). */ public class OVStudiesMatcher extends ObjectPropertyAfterth...
joshsh/twitlogic
twitlogic-core/src/main/java/net/fortytwo/twitlogic/syntax/afterthought/impl/openvocab/OVStudiesMatcher.java
Java
mit
604
package org.yatech.jedis.utils.lua.ast; import java.util.List; /** * Created by Yinon Avraham on 11/09/2015. */ public class LuaAstRedisCall extends LuaAstFunction { private final String methodName; private final List<LuaAstExpression> arguments; public LuaAstRedisCall(String methodName, List<LuaAstEx...
yatechorg/jedis-utils
src/main/java/org/yatech/jedis/utils/lua/ast/LuaAstRedisCall.java
Java
mit
677
// ********************************************************************** // // <copyright> // // BBN Technologies // 10 Moulton Street // Cambridge, MA 02138 // (617) 873-8000 // // Copyright (C) BBNT Solutions LLC. All rights reserved. // // </copyright> // ***************************************************...
d2fn/passage
src/main/java/com/bbn/openmap/graphicLoader/netmap/NetMapListenerSupport.java
Java
mit
3,577
package com.sid.leetcode.problem.linkedlist; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import org.junit.Before; import org.junit.Test; import com.sid.leetcode.data.ListNode; import com.sid.leetcode.problem.linkedlist.MergeTwoSortedLists; public class MergeTwoSortedLists...
rencht/LeetCode
src/test/java/com/sid/leetcode/problem/linkedlist/MergeTwoSortedListsTest.java
Java
mit
873
package com.grasp.exception; import org.springframework.http.HttpStatus; import java.util.List; public class ControllerException extends GraspRuntimeException { public ControllerException(HttpStatus httpStatus, String message) { super(httpStatus, message); } public ControllerException(HttpStatu...
Grasp-Team/grasp
src/main/java/com/grasp/exception/ControllerException.java
Java
mit
400