code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
curso007/camel
camel-core/src/main/java/org/apache/camel/model/Constants.java
Java
apache-2.0
1,610
/* * 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...
ThalaivaStars/OrgRepo1
core/src/test/java/org/elasticsearch/index/store/CorruptedTranslogTests.java
Java
apache-2.0
8,147
/* * 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...
abhijitiitr/es
src/main/java/org/elasticsearch/index/codec/postingsformat/DefaultPostingsFormatProvider.java
Java
apache-2.0
2,542
/* * 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...
openweave/openweave-core
third_party/android/platform-libcore/android-platform-libcore/luni/src/main/java/java/net/URLStreamHandlerFactory.java
Java
apache-2.0
1,316
/** * Copyright (c) 2008, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
virustotalop/snakeyaml
src/test/java/examples/DiceExampleTest.java
Java
apache-2.0
6,032
/* * Copyright 2000-2017 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...
paplorinc/intellij-community
uast/uast-tests/java/Performance/LoopWithReassignment.java
Java
apache-2.0
1,044
/* * 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...
asedunov/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/naming/ClassNamingConventionInspectionBase.java
Java
apache-2.0
2,464
/* * 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...
mahaliachante/aws-sdk-java
src/samples/AwsFlowFramework/src/com/amazonaws/services/simpleworkflow/flow/examples/deployment/DeploymentWorkflowImpl.java
Java
apache-2.0
1,712
/* * Copyright (c) 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 Softwa...
rokn/Count_Words_2015
testing/openjdk2/langtools/test/com/sun/javadoc/testProfiles/pkg2/ClassException.java
Java
mit
1,184
/* * Copyright 2002-2007 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 agr...
asedunov/intellij-community
plugins/xslt-debugger/engine/impl/src/org/intellij/plugins/xsltDebugger/rt/XSLTDebuggerMain.java
Java
apache-2.0
2,235
public class A { @org.jetbrains.annotations.TestOnly public static final String MY_FIELD = "VALUE"; @org.jetbrains.annotations.TestOnly public static final Runnable MY_TEST_ONLY_RUNNABLE = new Runnable() { public void run() { System.out.println(MY_FIELD); } }; public static final Runnable MY...
asedunov/intellij-community
java/java-tests/testData/inspection/testOnly/insideField/src/A.java
Java
apache-2.0
432
/* * Copyright (c) 1997, 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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/PayloadQNameBasedOperationFinder.java
Java
mit
6,757
/* * This file is part of "SnipSnap Radeox Rendering Engine". * * Copyright (c) 2002 Stephan J. Schmidt, Matthias L. Jugel * All Rights Reserved. * * Please visit http://radeox.org/ for updates and contact. * * --LICENSE NOTICE-- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
OpenCollabZA/sakai
rwiki/rwiki-util/radeox/src/java/org/radeox/macro/CodeMacro.java
Java
apache-2.0
4,735
/* * 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...
machine16/xerces-for-android
src/mf/org/apache/xerces/impl/xs/XSAttributeUseImpl.java
Java
apache-2.0
4,986
/* * Copyright (c) 2010, 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/langtools/test/tools/javac/processing/werror/WErrorLast.java
Java
mit
1,916
package im.actor.core.api; /* * Generated by the Actor API Scheme generator. DO NOT EDIT! */ import im.actor.runtime.bser.*; import im.actor.runtime.collections.*; import static im.actor.runtime.bser.Utils.*; import im.actor.core.network.parser.*; import org.jetbrains.annotations.Nullable; import org.jetbrains.ann...
actorapp/actor-platform
actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/api/ApiMessageUnsupported.java
Java
agpl-3.0
1,039
// Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). package org.pantsbuild.example.hello.main; import java.io.IOException; import org.pantsbuild.example.hello.greet.Greeting; public class HelloMain { public static void main(String[]...
wisechengyi/intellij-pants-plugin
testData/dummy_repo/examples/src/java/org/pantsbuild/example/hello/main/HelloMain.java
Java
apache-2.0
724
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
yangqiang1223/EffectiveAndroidUI
app/src/main/java/com/github/pedrovgs/effectiveandroidui/TvShowsApplication.java
Java
apache-2.0
3,103
/* * 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/contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/evaluation/TestStat.java
Java
mit
4,676
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.apach...
ewjmulder/keycloak
adapters/spi/jboss-adapter-core/src/main/java/org/keycloak/adapters/jboss/KeycloakLoginModule.java
Java
apache-2.0
3,864
/* * 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
platform/platform-impl/src/com/intellij/openapi/editor/actions/LineStartWithSelectionAction.java
Java
apache-2.0
1,422
/* * Copyright (C) 2008 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...
RyanTech/DexHunter
dalvik/dexgen/src/com/android/dexgen/dex/code/CatchTable.java
Java
apache-2.0
5,361
/* * 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...
lshain-android-source/external-guava
guava-tests/test/com/google/common/collect/ConstrainedSetMultimapTest.java
Java
apache-2.0
1,328
package kale.callback; /** * @author Jack Tony * @date 2015/8/3 */ public interface Callback { }
yjl136/Utils-master
lib/src/main/java/kale/callback/Callback.java
Java
apache-2.0
102
/* * Copyright 2003-2014 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
akosyakov/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/visibility/LambdaParameterHidingMemberVariableInspectionBase.java
Java
apache-2.0
3,719
/* * Copyright 2012-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
janicduplessis/buck
src/com/facebook/buck/dalvik/firstorder/FirstOrderVisitorContext.java
Java
apache-2.0
1,251
/* Copyright (C) 2006 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
jyt109/termite-data-server
tools/mallet-2.0.7/src/cc/mallet/grmm/test/TestUniformFactor.java
Java
bsd-3-clause
2,928
/* * 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...
weipinghe/elasticsearch
core/src/test/java/org/elasticsearch/index/translog/TranslogTests.java
Java
apache-2.0
59,770
/* * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
rokn/Count_Words_2015
testing/openjdk2/jdk/src/solaris/classes/sun/nio/fs/BsdFileSystem.java
Java
mit
3,450
/** * 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...
jmandawg/camel
components/camel-leveldb/src/test/java/org/apache/camel/component/leveldb/LevelDBAggregateSerializedHeadersTest.java
Java
apache-2.0
3,885
/* * 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...
jimczi/elasticsearch
modules/lang-mustache/src/main/java/org/elasticsearch/script/mustache/CustomMustacheFactory.java
Java
apache-2.0
13,638
/** * 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...
jlpedrosa/camel
tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelIronmqTest.java
Java
apache-2.0
1,734
/** * 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/test/java/org/apache/hadoop/cli/util/ComparatorBase.java
Java
apache-2.0
1,373
/* * 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...
jacobgao/presto
presto-main/src/main/java/com/facebook/presto/operator/aggregation/MergeHyperLogLogAggregation.java
Java
apache-2.0
2,147
/* 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 ...
ytx0574/binnavi
src/main/java/com/google/security/zynamics/reil/ReilProgram.java
Java
apache-2.0
2,012
/* 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 ...
guiquanz/binnavi
src/main/java/com/google/security/zynamics/binnavi/Database/PostgreSQL/Loaders/PostgreSQLProjectCallgraphLoader.java
Java
apache-2.0
3,705
/* * 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...
ivan-fedorov/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/bugs/MisspelledEqualsInspectionBase.java
Java
apache-2.0
1,907
// "Remove variable 'i'" "true" import org.jetbrains.annotations.Contract; class a { private void run() { Object <caret>i = dodo(); } @Contract(pure = true) private Object dodo() { return null; } }
asedunov/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/removeUnusedVariable/beforePure.java
Java
apache-2.0
227
/* * 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...
consulo/consulo-xslt-debugger
src/org/intellij/lang/xpath/xslt/refactoring/BaseIntroduceDialog.java
Java
apache-2.0
3,023
/* * Copyright 2003-2011 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
lshain-android-source/tools-idea
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/style/ReturnThisInspection.java
Java
apache-2.0
2,050
/* * 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...
asedunov/intellij-community
plugins/maven/src/main/java/org/jetbrains/idea/maven/indices/MavenClassSearchResult.java
Java
apache-2.0
773
/** * 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...
rahulopengts/myhome
bundles/binding/org.openhab.binding.ekey/src/main/java/org/openhab/binding/ekey/internal/EKeyBinding.java
Java
epl-1.0
9,302
package com.intellij.json; import com.intellij.openapi.actionSystem.IdeActions; import org.jetbrains.annotations.NotNull; /** * @author Mikhail Golubev */ public class JsonCommenterTest extends JsonTestCase { private void doTest(@NotNull String actionId) { myFixture.configureByFile("commenter/" + getTestName...
idea4bsd/idea4bsd
json/tests/test/com/intellij/json/JsonCommenterTest.java
Java
apache-2.0
817
/* * 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...
caot/intellij-community
plugins/groovy/src/org/jetbrains/plugins/groovy/hierarchy/type/GroovyTypeHierarchyProvider.java
Java
apache-2.0
825
import java.util.ArrayList class Test { void foo() { ArrayList l = <selection>new ArrayList<>()</selection>; } }
caot/intellij-community
java/java-tests/testData/refactoring/introduceParameter/beforeDiamond2Raw.java
Java
apache-2.0
120
// "Make 'inner' static" "true" import java.io.*; class c { class inner { class ininner {} } static { <caret>new inner(); } }
asedunov/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/modifier/before30.java
Java
apache-2.0
160
class A { public void doTest() { Throwable t = new Throwable("q"); Object b = new Inner(new Throwable("t")); } private class <caret>Inner { private String myMessage; public Inner(Throwable t) { String msg = t.getMessage(); myMessage = msg; } ...
samthor/intellij-community
java/java-tests/testData/refactoring/inlineToAnonymousClass/FieldVsLocalConflict.java
Java
apache-2.0
401
/** * 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...
Microsoft-CISL/hadoop-prototype
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/AppPage.java
Java
apache-2.0
2,452
/* * 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 ...
igorborojevic/incubator-zeppelin
zeppelin-interpreter/src/main/java/org/apache/zeppelin/dep/RepositoryListener.java
Java
apache-2.0
3,999
/** * 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...
snadakuduru/camel
camel-core/src/test/java/org/apache/camel/processor/DynamicRouterThrowExceptionFromExpressionTest.java
Java
apache-2.0
2,245
/* * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distribute...
kbauskar/percona-server
storage/ndb/clusterj/clusterj-jdbc/src/main/java/com/mysql/clusterj/jdbc/antlr/ANTLRNoCaseFileStream.java
Java
gpl-2.0
2,575
/** * 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
components/camel-smpp/src/test/java/org/apache/camel/component/smpp/integration/SmppConsumerReconnectIntegrationTest.java
Java
apache-2.0
1,921
/** * 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-jms/src/test/java/org/apache/camel/component/jms/issues/MyFailureProcessor.java
Java
apache-2.0
1,147
/* * Copyright 2007 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 agreed ...
faarwa/EngSocP5
zxing/core/test/src/com/google/zxing/client/result/ParsedReaderResultTestCase.java
Java
gpl-3.0
17,068
/* * Copyright 2012-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 ap...
qq83387856/spring-boot
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mail/package-info.java
Java
apache-2.0
725
/* java.beans.beancontext.BeanContextServiceProviderBeanInfo 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;...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/libjava/classpath/java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
Java
gpl-2.0
2,519
package com.j256.ormlite.android; import java.io.IOException; import java.sql.SQLException; import java.sql.Savepoint; importnet.sqlcipher.Cursor; import net.sqlcipher.database.SQLiteDatabase; import net.sqlcipher.database.SQLiteStatement; import com.j256.ormlite.dao.ObjectCache; import com.j256.ormlite.field.FieldT...
softctrl/ormlite-android-cipher
src/main/java/com/j256/ormlite/android/AndroidDatabaseConnection.java
Java
isc
12,568
package de.hhu.stups.plues.data.entities; import org.hibernate.annotations.Immutable; import org.hibernate.annotations.NaturalId; import java.io.Serializable; import java.util.Objects; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "info") @Immuta...
plues/model-generator
src/main/java/de/hhu/stups/plues/data/entities/Info.java
Java
isc
1,233
package com.mapbox.rctmgl.components.styles.layers; import com.facebook.react.bridge.ReadableArray; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.uimanager.ThemedReactContext; import com.facebook.react.uimanager.ViewGroupManager; import com.facebook.react.uimanager.annotations.ReactProp; impo...
bsudekum/react-native-mapbox-gl
android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.java
Java
isc
2,453
package gmbarrera.ga.generic; public abstract class Gen { }
gmbarrera/GA-Implementation
src/gmbarrera/ga/generic/Gen.java
Java
isc
63
package io.ahimsa.ahimsa_app.core; import android.app.IntentService; import android.content.Intent; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.support.v4.content.LocalBroadcastManager; import android.util.Log; import com.google.bitcoin.core.AbstractBlockCha...
alexkuck/ahimsa-app
application/src/main/java/io/ahimsa/ahimsa_app/core/AhimsaService.java
Java
isc
26,271
/** * Copyright (c) 2012, Hadyn Richard * * 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, including without limitation the rights to * use, copy, modify, me...
davidi2/mopar
src/net/scapeemulator/game/plugin/PluginLoader.java
Java
isc
7,559
/** */ package CIM; import java.util.Date; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Combined Version</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link CIM.CombinedVersion#getVersion <em>Version</em>}</li> * ...
georghinkel/ttc2017smartGrids
solutions/ModelJoin/src/main/java/CIM/CombinedVersion.java
Java
mit
4,095
package Client.Game; import java.awt.Color; import java.awt.GridLayout; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.Vector; import javax.swing.JOptionPane; import javax.swing.JPanel; import Client.ChessClient; import Client.Windows.ClientPanelWindow; import Library.ImageLib...
yangalex/Chess-Online
src/Client/Game/GameBoard.java
Java
mit
11,507
package com.genchance.tools.core.config; /** * 配置接口,用于提供系统配置内容 * * */ public interface IConfig { /** * 取得系统配置的版本号,该版本号不代表程序的真实版本号,只是声明的版本号 */ public abstract String getVersion(); /** * 校验配置参数是否符合有效 * * @exception IllegalArgumentException * 如果有参数配置错误,会抛出此异常 */ public abstract voi...
harryboda/genchance
LogTools/src/com/genchance/tools/core/config/IConfig.java
Java
mit
564
package br.com.meutransporte.entities; import br.com.meutransporte.models.EventoTransporte; import javax.persistence.*; import java.util.List; @Entity(name = "pessoa") public class PessoaEntity { @Id @GeneratedValue private Long id; private String cpf; private String nome; private String t...
eduardorost/meutransporte-api
src/main/java/br/com/meutransporte/entities/PessoaEntity.java
Java
mit
1,609
/** * */ package com.github.nnest.arcteryx.data.diff; import org.springframework.data.repository.CrudRepository; /** * @author brad.wu * */ public interface UserRepository extends CrudRepository<User, Long> { }
bradwoo8621/arcteryx-data
src/test/java/com/github/nnest/arcteryx/data/diff/UserRepository.java
Java
mit
220
package com.gamaset.sonicbot.collector.dto; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; public class TeamMatchDTO { private TeamDTO team...
christopherscotini/sonicbot-collector
src/main/java/com/gamaset/sonicbot/collector/dto/TeamMatchDTO.java
Java
mit
1,087
/* Meet & Eat * Tirza Soute (10761977) * Programmeerproject * * This class implements the DrawerItem object. This object consists of a title and an icon and is * used to add an image/icon next to the title of an item in the Navigation Drawer. */ package nl.mprog.meeteat; class DrawerItem { private int icon;...
tirzaelise/Meet-Eat
Meet-Eat/app/src/main/java/nl/mprog/meeteat/DrawerItem.java
Java
mit
552
package com.eslint.settings; import com.eslint.utils.ESLintFinder; import com.intellij.openapi.components.*; import com.intellij.openapi.project.Project; import com.intellij.util.xmlb.XmlSerializerUtil; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @State( name = "ESLint...
idok/eslint-plugin
src/com/eslint/settings/Settings.java
Java
mit
1,462
/* * Copyright (c) 2011 Daiki Sanno */ import java.applet.Applet; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; public class JDolphin extends Applet { ...
dsanno/java_reversi
src/JDolphin.java
Java
mit
21,314
/* * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2011 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions ...
jmockit/jmockit2
src/org/jmockit/external/asm/Opcodes.java
Java
mit
10,904
package zame.game.engine; import android.util.FloatMath; import java.io.IOException; import zame.game.engine.data.DataItem; import zame.game.engine.data.DataListItem; import zame.game.engine.data.DataReader; import zame.game.engine.data.DataWriter; import zame.game.managers.SoundManager; import zame.game.store.Achieve...
restorer/gloomy-dungeons-2
src/main/java/zame/game/engine/Monster.java
Java
mit
14,541
/* * This file is part of Cubic Chunks Mod, licensed under the MIT License (MIT). * * Copyright (c) 2015-2021 OpenCubicChunks * Copyright (c) 2015-2021 contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "So...
OpenCubicChunks/CubicChunks
src/main/java/io/github/opencubicchunks/cubicchunks/core/world/chunkloader/CubicChunkManager.java
Java
mit
13,550
package com.designpatterns.behavioural.interpreter; public class Sub implements Expression { private Expression leftExpression; private Expression righExpression; public Sub(Expression leftExpression, Expression righExpression) { this.leftExpression = leftExpression; this.righExpression = righExpression; ...
deepaksama/Design-Patterns
DesignPatterns/src/com/designpatterns/behavioural/interpreter/Sub.java
Java
mit
441
package com.jakduk.batch.common.converter; import com.jakduk.batch.common.DateUtils; import org.springframework.core.convert.converter.Converter; import java.time.LocalDateTime; import java.util.Date; /** * Created by pyohwanjang on 2017. 3. 12.. */ public class LocalDateTimeToDateConverter implements Converter<Lo...
JakduK/jakduk-batch
src/main/java/com/jakduk/batch/common/converter/LocalDateTimeToDateConverter.java
Java
mit
466
package org.telegram.telegrambots.meta.api.objects.chatmember; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsCons...
rubenlagus/TelegramBots
telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/objects/chatmember/ChatMemberOwner.java
Java
mit
1,570
package themplator.bricks; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; import themplator.models.SimpleModel; public class ListRepeaterTest extends BaseBrickTest<ListRepeater<?>> { @Test public void testRepeat() { List<Integer> list = new ArrayList<Integer>...
jawher/themplator
src/test/java/themplator/bricks/ListRepeaterTest.java
Java
mit
2,691
package za.co.kmotsepe.vicaria; /* * Adopted and modified by Kingsley Motsepe (Copyright 2017) * Distributed under the GNU General Public License; see the README file. * This code comes with NO WARRANTY. * More Information and documentation: https://github.com/k1nG5l3yM/vicaria */ /** * Title: jHTTPp2: Java HTT...
kmotsepe/vicaria
src/main/java/za/co/kmotsepe/vicaria/VicariaURLMatch.java
Java
mit
1,587
/* * Xero Payroll UK * This is the Xero Payroll API for orgs in the UK region. * * The version of the OpenAPI document: 2.2.4 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. ...
SidneyAllen/Xero-Java
src/main/java/com/xero/models/payrolluk/PayRunCalendars.java
Java
mit
3,600
package me.consuegra.algorithms; /** * Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. * <p> * Note: * You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional * elements from nums2. The number of elements initialized in nu...
aconsuegra/algorithms-playground
src/main/java/me/consuegra/algorithms/MergeTwoSortedArrays.java
Java
mit
1,072
package com.jtanks.controller.drivers; import com.jtanks.controller.ControlPanel; import com.jtanks.controller.EntityVector; import com.jtanks.util.Euclid; import com.jtanks.util.Point; import java.awt.Color; import java.util.List; import static com.jtanks.util.Euclid.distanceBetweenPoints; public class...
timfremote/jtanks
src/com/jtanks/controller/drivers/BlueTankDriver.java
Java
mit
3,442
package io.nodus; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.common.base.Function; import com.google.common.base.Optional; import com.google.common.collect.Lists; import io.nodus.util.ann...
erwolff/nodus
src/main/java/io/nodus/Nodus.java
Java
mit
11,031
package Dlib.Models; import javax.persistence.*; import javax.validation.constraints.Size; import java.util.HashSet; import java.util.Set; @Entity @Table(name = "tblcmspagetype") public class CmsPageType { @javax.persistence.Id private int Id; private String title; private String name; @OneToMany...
hamidrh/dLib
src/Dlib/Models/CmsPageType.java
Java
mit
1,270
package net.linkedbuildingdata.common; /** * Super class for all exceptions in the DSG software * * @author Nam Vu * */ public class LbdException extends Exception { private static final long serialVersionUID = 1L; public LbdException() { } public LbdException(String arg0) { super(arg0);...
Web-of-Building-Data/Ifc2Rdf
software/drumbeat-ifc2rdf-1.4.0/net.linkedbuildingdata.common/src/net/linkedbuildingdata/common/LbdException.java
Java
mit
595
/* * Flip API * Description * * OpenAPI spec version: 2.0.1 * Contact: cloudsupport@telestream.net * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package net.telestream.cloud.flip; impor...
Telestream/telestream-cloud-java-sdk
telestream-cloud-flip-sdk/src/main/java/net/telestream/cloud/flip/ExtraFile.java
Java
mit
3,047
/* * */ package com.royalstone.vss.daemon; import java.io.IOException; import java.sql.Connection; import java.sql.SQLException; import javax.naming.NamingException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servl...
DongpoAlex/hhvss
src/main/java/com/royalstone/vss/daemon/DaemonLogon.java
Java
mit
5,966
package com.rocketchat.common.data; import com.ryanharter.auto.value.moshi.MoshiAdapterFactory; import com.squareup.moshi.JsonAdapter; @MoshiAdapterFactory public abstract class CommonJsonAdapterFactory implements JsonAdapter.Factory { public static JsonAdapter.Factory create() { return new AutoValueMosh...
RocketChat/Rocket.Chat.Java.SDK
rocketchat-common/src/main/java/com/rocketchat/common/data/CommonJsonAdapterFactory.java
Java
mit
358
/* * Copyright (C) 2012 Igor de Almeida * * 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, including without limitation the rights to use, * copy, modify, merge, ...
almeida91/Splice
samples/nqueens/NQueensChromosomeFactory.java
Java
mit
1,797
package com.ntbrock.seatop.pebble.aggregate; import com.ntbrock.seatop.pebble.protocol.SeatopPebbleProtocol; /** * Created by brockman on 2/3/16. */ public class SeatopDataPoint { public Long timestamp; public Double timevalue; public SeatopMeasurementType measurement; public String toString() { ...
ntbrock/seatop-watch-pebble
Android/app/src/main/java/com/ntbrock/seatop/pebble/aggregate/SeatopDataPoint.java
Java
mit
1,422
package com.github.pabloo99.xmlsoccer.client; import com.github.pabloo99.xmlsoccer.api.dto.*; import com.github.pabloo99.xmlsoccer.api.service.XmlSoccerService; import com.github.pabloo99.xmlsoccer.model.xml.*; import com.github.pabloo99.xmlsoccer.webservice.*; import lombok.Setter; import org.modelmapper.ModelMapper;...
pabloo99/xmlsoccer
src/main/java/com/github/pabloo99/xmlsoccer/client/XmlSoccerServiceImpl.java
Java
mit
29,719
package org.biopax.validator.rules; import java.util.HashMap; import java.util.Map; import java.util.Set; import org.biopax.paxtools.controller.ModelUtils; import org.biopax.paxtools.model.BioPAXLevel; import org.biopax.paxtools.model.Model; import org.biopax.paxtools.model.level3.UtilityClass; import org.biopax.val...
BioPAX/validator
biopax-validator/src/main/java/org/biopax/validator/rules/ClonedUtilityClassRule.java
Java
mit
2,118
package com.weeryan17.vgs.commands; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; /** * This is the admin sub command class called whenever someone does /v admin. * * @author weeryan17 * */ public class AdminSubCommand { /** * Represents the base command. */ VillageCommand com...
weeryan17/Villages
Villages/src/com/weeryan17/vgs/commands/AdminSubCommand.java
Java
mit
648
/******************************************************************************* * * MIT License * * Copyright (c) 2016 Tiago de Freitas Lima * * 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 ...
ljtfreitas/java-restify
java-restify-xml-jaxb-converter/src/main/java/com/github/ljtfreitas/restify/http/client/message/converter/xml/JaxBXmlMessageConverter.java
Java
mit
4,636
package commands.arithmeticCommands; import java.util.ArrayList; public class Tan extends Calculate{ public Tan(ArrayList<Object> p) { super.setParams(p); params = p; } public double execute() { double angle = (Double) params.get(params.size() - 1); return Math.tan(angle); } }
Yongjiao/Slogo-Programming-Language-Console
src/commands/arithmeticCommands/Tan.java
Java
mit
296
package pl.mmorpg.prototype.server.objects.monsters.npcs; import java.util.Collection; public interface Shop { Collection<ShopItemWrapper> getAvailableItems(); ShopItemWrapper getItemWrapper(long itemId); }
Pankiev/MMORPG_Prototype
Server/core/src/pl/mmorpg/prototype/server/objects/monsters/npcs/Shop.java
Java
mit
212
/******************************************************************************* * Copyright (c) 2000, 2010 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, an...
archimatetool/archi
org.eclipse.gef/src/org/eclipse/gef/editparts/RootTreeEditPart.java
Java
mit
5,103
package tourguide.tourguidedemo; import android.app.Activity; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Gravity; import android.view.View; import android.view.animation.AlphaAnimation; import android.view.animation.Animation; import android.widget.Button; import to...
wsygwg/TourGuide
app/src/main/java/tourguide/tourguidedemo/ManualSequenceActivity.java
Java
mit
3,470
package datatables.jdbc; import datatables.annotations.Column; import org.apache.commons.lang.Validate; import org.springframework.jdbc.core.RowMapper; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.SQLException; import jav...
malbini/datatables-server
datatables-server/src/main/java/datatables/jdbc/DatatablesColumnRowMapper.java
Java
mit
4,899
package com.groupdocs.conversion.examples.advanced_usage.loading.load_options_by_document_type.presentation; import com.groupdocs.conversion.Converter; import com.groupdocs.conversion.examples.Constants; import com.groupdocs.conversion.options.convert.PdfConvertOptions; import com.groupdocs.conversion.options.load.Pre...
groupdocs-conversion/GroupDocs.Conversion-for-Java
Examples/src/main/java/com/groupdocs/conversion/examples/advanced_usage/loading/load_options_by_document_type/presentation/ConvertPresentationByHiddingComments.java
Java
mit
1,071