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
/* * Copyright 2012-2017 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...
deki/spring-boot
spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/runner/classpath/package-info.java
Java
apache-2.0
741
/* * The MIT License * Copyright (c) 2012 Microsoft Corporation * * 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,...
kentongray/ews-java-api
src/main/java/microsoft/exchange/webservices/data/property/definition/PropertyDefinition.java
Java
mit
6,573
package org.mockito.internal.configuration.plugins; import org.mockito.exceptions.base.MockitoException; import org.mockito.exceptions.misusing.MockitoConfigurationException; import org.mockito.internal.util.collections.Iterables; import org.mockito.plugins.PluginSwitch; import java.io.IOException; import java.net.UR...
geoffschoeman/mockito
src/org/mockito/internal/configuration/plugins/PluginLoader.java
Java
mit
2,683
/* * Copyright 2003 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
vongosling/cglib-ext
src/proxy/net/sf/cglib/proxy/FixedValue.java
Java
apache-2.0
1,472
/* * Copyright 2012-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
tiarebalbi/spring-boot
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/src/main/java/smoketest/actuator/customsecurity/ExampleRestControllerEndpoint.java
Java
apache-2.0
1,233
/* * Copyright (c) 2014. Marshal Chen. */ package com.marshalchen.common.usefulModule.standuptimer.dao; import static android.provider.BaseColumns._ID; import java.util.ArrayList; import java.util.List; import com.marshalchen.common.usefulModule.standuptimer.model.Team; import com.marshalchen.common.usefulModule...
cymcsg/UltimateAndroid
deprecated/UltimateAndroidNormal/UltimateAndroid/src/com/marshalchen/common/usefulModule/standuptimer/dao/TeamDAO.java
Java
apache-2.0
4,747
/* * 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 "lice...
mahaliachante/aws-sdk-java
aws-java-sdk-support/src/main/java/com/amazonaws/services/support/model/AddAttachmentsToSetResult.java
Java
apache-2.0
7,304
package vtk; import java.util.HashMap; import java.util.Map.Entry; import java.util.concurrent.atomic.AtomicInteger; /** * Information object return by the Garbage collector. This allow the user to * monitor what kind of vtkObject and how many have been removed and kept during * the Garbage collection call. * * ...
msmolens/VTK
Wrapping/Java/vtk/vtkReferenceInformation.java
Java
bsd-3-clause
3,930
/* * Copyright (c) 1998, 2015, 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 ...
google/error-prone-javac
test/tools/javac/NonAmbiguousField/Test.java
Java
gpl-2.0
1,345
/* * Copyright (C) 2010 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 ...
thejeshgn/sl4a
android/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/ScriptListAdapter.java
Java
apache-2.0
2,464
/* * Copyright 2006-2008 Sxip Identity Corporation */ package org.openid4java.infocard; import org.openid4java.message.Message; import org.openid4java.message.ParameterList; import org.openid4java.OpenIDException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.w3c.do...
rajzz9/openid4java
src/org/openid4java/infocard/OpenIDToken.java
Java
apache-2.0
5,477
package org.apache.lucene.store; /* * 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, Versio...
smartan/lucene
src/main/java/org/apache/lucene/store/IOContext.java
Java
apache-2.0
4,505
package redis.clients.jedis; import java.net.URI; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import redis.clients.jedis...
rabbitcount/jedis
src/main/java/redis/clients/jedis/Jedis.java
Java
mit
121,171
@Deprecated package com.puppycrawl.tools.checkstyle.annotation;
lhanson/checkstyle
src/testinputs/com/puppycrawl/tools/checkstyle/annotation/package-info.java
Java
lgpl-2.1
65
/* Copyright 2019 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...
gunan/tensorflow
tensorflow/java/src/main/java/org/tensorflow/AbstractOperation.java
Java
apache-2.0
2,874
/* * 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 ...
amarouni/incubator-beam
sdks/java/core/src/main/java/org/apache/beam/sdk/util/BucketingFunction.java
Java
apache-2.0
4,168
/* * 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-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/DescribeVolumeStatusResultStaxUnmarshaller.java
Java
apache-2.0
2,769
/* * 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-elasticloadbalancing/src/main/java/com/amazonaws/services/elasticloadbalancing/model/transform/SetLoadBalancerPoliciesForBackendServerRequestMarshaller.java
Java
apache-2.0
3,102
/* * 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-ec2/src/main/java/com/amazonaws/services/ec2/model/RouteOrigin.java
Java
apache-2.0
1,816
/* * 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")...
antoaravinth/incubator-groovy
src/main/org/codehaus/groovy/ast/DynamicVariable.java
Java
apache-2.0
2,090
/** * 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...
grgrzybek/camel
components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
Java
apache-2.0
8,541
// Copyright (C) 2009 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
hdost/gerrit
gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/RpcServletModule.java
Java
apache-2.0
1,805
/* * Copyright 2002-2014 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...
panchenko/spring-security
test/src/main/java/org/springframework/security/test/context/support/WithUserDetailsSecurityContextFactory.java
Java
apache-2.0
2,223
/* DynamicImpHandler.java -- Copyright (C) 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 Software Foundation; either version 2, or (at your o...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/gnu/CORBA/Poa/DynamicImpHandler.java
Java
bsd-3-clause
3,072
/* ClassPrepareEvent.java -- An event specifying that a class has been prepared by the virtual machine Copyright (C) 2005 Free Software Foundation 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 pub...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/gnu/classpath/jdwp/event/ClassPrepareEvent.java
Java
bsd-3-clause
4,624
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) 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-v1...
ibaton/smarthome
bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/library/items/DateTimeItem.java
Java
epl-1.0
2,055
/* * 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 ...
belliottsmith/cassandra
test/unit/org/apache/cassandra/cql3/validation/entities/udfverify/UseOfSynchronizedWithWaitLI.java
Java
apache-2.0
2,059
/* * libjingle * Copyright 2013, Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
actorapp/droidkit-webrtc
webrtc/src/main/java/org/webrtc/MediaConstraints.java
Java
bsd-3-clause
2,814
/******************************************************************************* * Copyright (c) 2013, 2015 Orange. * 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 *...
marinmitev/smarthome
protocols/enocean/org.eclipse.smarthome.protocols.enocean.basedriver.impl/src/main/java/org/eclipse/smarthome/protocols/enocean/basedriver/impl/radio/Message4BS.java
Java
epl-1.0
2,363
/* * 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 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
GlenRSmith/elasticsearch
server/src/test/java/org/elasticsearch/index/suggest/stats/CompletionsStatsTests.java
Java
apache-2.0
1,435
// Copyright 2012 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.android_webview; import android.content.pm.ActivityInfo; import android.graphics.Bitmap; import android.graphics.Picture; import and...
s20121035/rk3288_android5.1_repo
external/chromium_org/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
Java
gpl-3.0
8,483
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.common.persistence; /** * DAO支持类实现 * @author ThinkGem * @version 2014-05-16 */ public interface BaseDao { }
leogoing/spring_jeesite
src/main/java/com/thinkgem/jeesite/common/persistence/BaseDao.java
Java
apache-2.0
269
/* * Copyright 2011 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 app...
sriharshanb/powermock
core/src/main/java/org/powermock/core/testlisteners/FieldDefaulter.java
Java
apache-2.0
1,629
/* * 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 ...
roele/sling
samples/webloader/service/src/main/java/org/apache/sling/samples/webloader/Webloader.java
Java
apache-2.0
1,938
/* * 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...
JuudeDemos/android-sdk-20
src/java/lang/IllegalAccessException.java
Java
apache-2.0
1,618
/* * Copyright (c) 2001, 2006, 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/accessibility/AccessibleExtendedTable.java
Java
mit
2,976
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
iKrelve/DexHunter
dalvik/tests/083-jit-regressions/src/Main.java
Java
apache-2.0
4,427
/** * 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/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailureReporting.java
Java
apache-2.0
11,522
/* * 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...
thomasdarimont/keycloak
model/jpa/src/main/java/org/keycloak/connections/jpa/entityprovider/JpaEntitySpi.java
Java
apache-2.0
1,430
package org.andengine.util.modifier.ease; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Gil * @author Nicolas Gramlich * @since 16:52:11 - 26.07.2010 */ public class EaseBounceInOut implements IEaseFunction { // =========================================================== // Constants // =...
zcwk/AndEngine
src/org/andengine/util/modifier/ease/EaseBounceInOut.java
Java
apache-2.0
1,822
package org.andengine.entity.modifier; import org.andengine.entity.IEntity; import org.andengine.util.color.Color; import org.andengine.util.modifier.ease.EaseLinear; import org.andengine.util.modifier.ease.IEaseFunction; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @sinc...
zcwk/AndEngine
src/org/andengine/entity/modifier/ColorModifier.java
Java
apache-2.0
4,680
/* * 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/lang-impl/src/com/intellij/codeInsight/generation/CommentByBlockCommentHandler.java
Java
apache-2.0
28,839
/* * Copyright (c) 1999, 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/security/auth/DestroyFailedException.java
Java
mit
2,136
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2000-2009 Oracle. All rights reserved. * * $Id$ */ package com.sleepycat.util; /** * Interface implemented by exceptions that can contain nested exceptions. * * @author Mark Hayes */ public interface ExceptionWrapper { /** ...
mxrrow/zaicoin
src/deps/db/java/src/com/sleepycat/util/ExceptionWrapper.java
Java
mit
1,021
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2009 Oracle. All rights reserved. * * $Id$ */ package com.sleepycat.util.test; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import junit.framework.Test; import junit.framework.TestCase; im...
mxrrow/zaicoin
src/deps/db/test/scr024/src/com/sleepycat/util/test/ExceptionWrapperTest.java
Java
mit
3,867
/* * 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...
lcssos/cas-server
cas-server-webapp-support/src/test/java/org/jasig/cas/web/flow/ServiceAuthorizationCheckTests.java
Java
apache-2.0
4,644
/*************************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...
tomwscott/GoCD
config/config-api/src/com/thoughtworks/go/config/StageNotFoundException.java
Java
apache-2.0
1,760
/** * Copyright (c) 2005-2012 https://github.com/zhangkaitao * * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.sishuok.es.showcase.move.repository; import com.sishuok.es.common.repository.BaseRepository; import com.sishuok.es.showcase.move.entity.Move; /** * <p>User: Zhang Kaitao...
cxzl25/es
web/src/main/java/com/sishuok/es/showcase/move/repository/MoveRepository.java
Java
apache-2.0
449
/* * 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...
ivan-fedorov/intellij-community
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/associations/impl/FileAssociationsManagerImpl.java
Java
apache-2.0
9,413
/* * 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...
keycloak/keycloak
util/embedded-ldap/src/main/java/org/keycloak/util/ldap/KerberosKeytabCreator.java
Java
apache-2.0
3,739
/* * 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/diff-impl/src/com/intellij/diff/util/TextDiffType.java
Java
apache-2.0
1,286
/* * Copyright 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 agreed ...
roadlabs/android
zxing-1.6/core/src/com/google/zxing/oned/UPCAReader.java
Java
mit
2,583
/* * 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...
akosyakov/intellij-community
plugins/java-decompiler/engine/src/org/jetbrains/java/decompiler/modules/renamer/PoolInterceptor.java
Java
apache-2.0
1,494
/* * 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
platform/platform-impl/src/com/intellij/util/ui/ValidatingTableEditor.java
Java
apache-2.0
12,809
/** * 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...
nvoron23/hadoop-20
src/mapred/org/apache/hadoop/mapred/pipes/UpwardProtocol.java
Java
apache-2.0
2,946
/** * ownCloud Android client application * * Copyright (C) 2015 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. * * This program is distributed i...
kindras/OwnCloud-Android
src/com/owncloud/android/ui/activity/UploadPathActivity.java
Java
gpl-2.0
2,639
/* * 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/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemBeforeRunTask.java
Java
apache-2.0
3,393
/* * 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...
android-ia/platform_tools_idea
java/java-impl/src/com/intellij/codeInsight/generation/PropertyClassMember.java
Java
apache-2.0
1,255
/** * Copyright 2009-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 * * Unle...
liuqk/mybatis-3
src/test/java/org/apache/ibatis/submitted/call_setters_on_nulls/DoNotCallSettersOnNullsTest.java
Java
apache-2.0
2,902
// This file is part of OpenTSDB. // Copyright (C) 2010-2012 The OpenTSDB Authors. // // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 2.1 of the License, or (at your //...
tsuna/opentsdb
src/tsd/WordSplitter.java
Java
gpl-3.0
1,555
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
GreenLightning/libgdx
tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ShaderTest.java
Java
apache-2.0
9,212
/* * Copyright (c) 2007, 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/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java
Java
mit
3,610
/* * 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...
ivan-fedorov/intellij-community
plugins/gradle/src/org/jetbrains/plugins/gradle/service/notification/GradleNotificationExtension.java
Java
apache-2.0
3,485
/* 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/Startup/CommandlineParser.java
Java
apache-2.0
2,150
/******************************************************************************* * Copyright (c) 2005, 2014 springside.github.io * * Licensed under the Apache License, Version 2.0 (the "License"); *******************************************************************************/ package org.springside.examples.showca...
jxjjdccj/smile
springside4-master/examples/showcase/src/main/java/org/springside/examples/showcase/entity/Role.java
Java
apache-2.0
1,467
/** * 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...
PolymorhicCode/openhab
bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/protocol/commandclass/ZWaveSceneActivationCommandClass.java
Java
epl-1.0
3,607
/* * Copyright 2013 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 ...
iloveyou416068/CookNIOServer
netty_source_4_0_25/codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdySynReplyFrame.java
Java
apache-2.0
2,087
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Red Hat, Inc. * * 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, incl...
lindzh/jenkins
core/src/main/java/hudson/model/TaskThread.java
Java
mit
6,567
/* * Copyright (c) 1994, 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/openjdk2/jdk/src/share/classes/sun/tools/tree/AssignBitAndExpression.java
Java
mit
1,902
import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.VBox; public class _CustomVBox extends VBox { @FXML private TextField tf; @FXML private Label lab1; @FXML void myMethod(){ lab1.setText(tf.getText()); } }
consulo/consulo-javafx
src/test/resources/highlighting/custom/_CustomVBox.java
Java
apache-2.0
318
package hello; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.cache.LoadingCache; import io.undertow.server.HttpHandler; import io.undertow.server.HttpServerExchange; import io.undertow.util.Headers; import java.util.Objects; import static hello.HelloWebServer.JSON_UTF8; /** * Handles...
seem-sky/FrameworkBenchmarks
undertow/src/main/java/hello/CacheHandler.java
Java
bsd-3-clause
1,169
/* * Copyright (c) 2001, 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/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/DebugVC50SSFileIndex.java
Java
mit
2,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...
bravo-zhang/spark
sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/CLIServiceUtils.java
Java
apache-2.0
2,392
/* * 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...
seanli310/guava
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
Java
apache-2.0
2,967
/* * 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...
grafiszti/ReplicaIsland
src/main/java/com/replica/replicaisland/TiledWorld.java
Java
apache-2.0
4,430
/* * Copyright 2012 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 ...
firebase/netty
transport-sctp/src/main/java/io/netty/channel/sctp/oio/package-info.java
Java
apache-2.0
801
/* * 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/main/java/org/elasticsearch/index/analysis/StandardTokenizerFactory.java
Java
apache-2.0
2,256
/** * 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...
davidwilliams1978/camel
components/camel-test-spring40/src/test/java/org/apache/camel/test/spring/CamelSpringJUnit4ClassRunnerProvidesBreakpointTest.java
Java
apache-2.0
2,490
/* * Copyright 1999-2012 Alibaba Group. * * 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 ...
zhushuchen/Ocean
项目源码/dubbo/dubbo-rpc/dubbo-rpc-api/src/test/java/com/alibaba/dubbo/rpc/filter/TpsLimitFilterTest.java
Java
agpl-3.0
2,455
/** * 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-core/src/main/java/org/apache/hadoop/mapred/SortedRanges.java
Java
apache-2.0
10,894
/* * 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/jcanephora
com.io7m.jcanephora.tests/src/test/java/com/io7m/jcanephora/tests/core/JCGLVersionTest.java
Java
isc
3,648
package foundation.stack.datamill.serialization; import rx.functions.Func1; /** * @author Ravi Chodavarapu (rchodava@gmail.com) */ @FunctionalInterface public interface Serializer<SourceType, SerializedType extends StructuredOutput> extends Func1<SourceType, SerializedType> { }
rchodava/datamill
core/src/main/java/foundation/stack/datamill/serialization/Serializer.java
Java
isc
291
/* * This file is part of CPSC475, licensed under the ISC License. * * Copyright (c) 2016, Richard Harrah <richard.harrah.13@cnu.edu> * * 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 perm...
Nunnery/CPSC475
slots1/src/test/java/com/tealcube/slots1/ExampleUnitTest.java
Java
isc
1,176
package org.ripple.bouncycastle.jcajce.provider.symmetric; import org.ripple.bouncycastle.crypto.CipherKeyGenerator; import org.ripple.bouncycastle.crypto.engines.CAST6Engine; import org.ripple.bouncycastle.crypto.macs.GMac; import org.ripple.bouncycastle.crypto.modes.GCMBlockCipher; import org.ripple.bouncycastle.jca...
xdv/ripple-lib-java
ripple-bouncycastle/src/main/java/org/ripple/bouncycastle/jcajce/provider/symmetric/CAST6.java
Java
isc
1,685
import java.util.Scanner; public class ParseURL { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); URL inputURL = new URL(scanner.nextLine()); System.out.println(inputURL.printStats()); } } class URL { private String rawURL; priva...
i-den/SoftwareUniversity
Software University/09) Java Advanced - January 2017/13. Manual String Processing - Lab/02. Parse URL.java
Java
mit
1,955
package com.nicolasdu.pick_n_eat; import android.media.Image; import java.io.Serializable; import java.net.URL; import java.util.ArrayList; /** * Created by Nicolas on 1/30/2015. */ public class Restaurant implements Serializable{ private String Title; private ArrayList<String> Address; ...
NicolasDucom/Pick-n-Eat-Android
app/src/main/java/com/nicolasdu/pick_n_eat/Restaurant.java
Java
mit
2,579
package com.iems.biz.service; import com.iems.biz.entity.EventInfo; import com.iems.biz.model.EventInfoModel; import com.iems.core.dao.support.PageResults; import com.iems.core.dao.support.SearchConditions; public interface IEventInfoService { PageResults<EventInfoModel> getEventInfoModels(int pageNo, int pageSize,...
insky2005/iems-platform
iems/iems-webapp/src/main/java/com/iems/biz/service/IEventInfoService.java
Java
mit
658
package com.digero.maestro.view; import info.clearthought.layout.TableLayout; import info.clearthought.layout.TableLayoutConstants; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.i...
digero/maestro
src/com/digero/maestro/view/SettingsDialog.java
Java
mit
18,081
/* Copyright 2006 by Sean Luke and George Mason University Licensed under the Academic Free License version 3.0 See the file "LICENSE" for more information */ package ec.app.ecsuite; import ec.util.*; import ec.*; import ec.simple.*; import ec.vector.*; /* * ECSuite.java * * Created: Thu M...
ashkanent/GP_FitnessSharing
GP project/ecj/ec/app/ecsuite/ECSuite.java
Java
mit
30,336
package dlei.forkme.gui.adapters; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import dlei.forkme.R; import dlei.forkme.gui.activities.github.RepositoryViewActivit...
darvid7/ForkMe-Mobile
ForkMe-Mobile/app/src/main/java/dlei/forkme/gui/adapters/RepositoryRecyclerViewAdapter.java
Java
mit
2,815
package openmods.network.event; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface NetworkEventMeta { public EventDirection dir...
OpenMods/OpenModsLib
src/main/java/openmods/network/event/NetworkEventMeta.java
Java
mit
359
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2000, 2010 Oracle and/or its affiliates. All rights reserved. * */ package com.sleepycat.bind.tuple; import com.sleepycat.je.DatabaseEntry; /** * A concrete <code>TupleBinding</code> for a sorted <code>Float</code> * primitive wrapp...
prat0318/dbms
mini_dbms/je-5.0.103/src/com/sleepycat/bind/tuple/SortedFloatBinding.java
Java
mit
1,989
package chav1961.purelib.basic; public class BooleanOwner { public boolean value = false; private boolean privateValue = false; public boolean getPrivateValue(){return privateValue;} public void setPrivateValue(final boolean newValue){privateValue = newValue;} }
chav1961/purelib
src/test/java/chav1961/purelib/basic/BooleanOwner.java
Java
mit
270
package synth.modulation; import net.beadsproject.beads.core.AudioContext; import synth.container.Device; /** * A basic envelope wrapping class. */ public class Envelope extends Modulator implements Modulatable { /** attack time in milliseconds */ protected int attack; /** decay time in milliseconds *...
occloxium/Monoid
src/synth/modulation/Envelope.java
Java
mit
4,051
package data_struct.labs.l04.a; /** * This is the Commission class for lab4 * * @author Eddie Gurnee * @version 10/14/2013 */ public class Commission extends Hourly { protected double totalSales; protected double commissionRate; public Commission(String eName, String eAddress, String ePhone, String socSec...
pegurnee/2013-03-211
complete/src/data_struct/labs/l04/a/Commission.java
Java
mit
773
package com.nicktoony.screeps.structures; import com.nicktoony.screeps.interfaces.DecayableStructure; /** * Created by nick on 10/08/15. */ public abstract class Wall extends DecayableStructure { }
NickToony/scrAI
src/main/java/com/nicktoony/screeps/structures/Wall.java
Java
mit
202
import java.util.ArrayList; import java.util.List; import javax.faces.bean.ManagedBean; @ManagedBean public class TestBean { private String[] colors= {"red","blue","green","black"}; private List<String> meals = new ArrayList<>(); public TestBean(){ meals.add("soup"); meals.add("fish fillet"); meals.add("...
Shalantor/JSF-Course
JSF2-Expression-Language/exercises_1_and_2/src/TestBean.java
Java
mit
613
package org.metaworks; /** * Created by jangjinyoung on 15. 9. 17.. */ public interface AllChildFacesAreIgnored extends Face{}
TheOpenCloudEngine/metaworks
metaworks3/src/main/java/org/metaworks/AllChildFacesAreIgnored.java
Java
mit
129
package net.sf.jabref; import java.net.Authenticator; import java.util.Map; import javax.swing.SwingUtilities; import javafx.application.Application; import javafx.application.Platform; import javafx.stage.Stage; import net.sf.jabref.cli.ArgumentProcessor; import net.sf.jabref.gui.remote.JabRefMessageHandler; impor...
Mr-DLib/jabref
src/main/java/net/sf/jabref/JabRefMain.java
Java
mit
6,658
package com.ikasoa.springboot.autoconfigure; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.client.ServiceInstance; import org.springframework.cloud.client.discovery.DiscoveryClient; impor...
venwyhk/ikasoa
ikasoa-spring-boot-starter/src/main/java/com/ikasoa/springboot/autoconfigure/ClientAutoConfiguration.java
Java
mit
4,079