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 2018 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
doom369/netty
handler/src/main/java/io/netty/handler/ssl/DefaultOpenSslKeyMaterial.java
Java
apache-2.0
3,553
/* * Copyright (C) 2008 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
congdepeng/java-guava-lib-demo
guava-libraries/guava-gwt/test/com/google/common/primitives/LongsTest_gwt.java
Java
apache-2.0
6,447
package com.box.androidsdk.content.models; import com.eclipsesource.json.JsonObject; import com.eclipsesource.json.JsonValue; import java.util.Map; /** * Class that represents a collection on Box. */ public class BoxCollection extends BoxEntity { /** * Constructs an empty BoxCollection object. */ ...
MariusVolkhart/box-android-sdk
box-content-sdk/src/main/java/com/box/androidsdk/content/models/BoxCollection.java
Java
apache-2.0
1,723
package com.cardpay.pccredit.product.constant; import java.util.HashMap; import java.util.Map; import com.cardpay.pccredit.common.Dictionary; public class DictTypeConstant { public static Map<String, Object> TypeMap=new HashMap<String, Object>(); static{ TypeMap.put(ProductFilterColumn.TITLE,Dictionary...
zhuyuanyan/PCCredit_TY
src/java/com/cardpay/pccredit/product/constant/DictTypeConstant.java
Java
apache-2.0
746
/******************************************************************************* * Copyright 2014 Open Networking Laboratory * * 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:...
fnkhan/New
src/main/java/org/openflow/protocol/action/OFActionStripVirtualLan.java
Java
apache-2.0
2,493
/** * * Copyright (c) Microsoft and contributors. 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 r...
flydream2046/azure-sdk-for-java
service-management/azure-svc-mgmt-websites/src/main/java/com/microsoft/windowsazure/management/websites/models/WebSiteCreateResponse.java
Java
apache-2.0
1,447
/* * 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 ...
vineetgarg02/hive
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/ExecBean.java
Java
apache-2.0
1,535
package org.camunda.bpm.engine.rest.wink; import org.camunda.bpm.engine.rest.AbstractJobDefinitionRestServiceQueryTest; import org.camunda.bpm.engine.rest.util.WinkTomcatServerBootstrap; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.rules.TemporaryFolder...
rainerh/camunda-bpm-platform
engine-rest/src/test/java/org/camunda/bpm/engine/rest/wink/JobDefinitionRestServiceQueryTest.java
Java
apache-2.0
923
/* 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...
adufilie/flex-sdk
modules/thirdparty/batik/sources/org/apache/flex/forks/batik/ext/awt/image/URLImageCache.java
Java
apache-2.0
3,727
package hello; import static hello.Helper.getQueries; import static hello.Helper.randomWorld; import static hello.Helper.sendException; import static hello.Helper.sendJson; import com.mongodb.async.client.MongoCollection; import com.mongodb.async.client.MongoDatabase; import com.mongodb.client.model.Filters; import c...
k-r-g/FrameworkBenchmarks
frameworks/Java/undertow/src/main/java/hello/UpdatesMongoAsyncHandler.java
Java
bsd-3-clause
3,233
/* * 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...
rokn/Count_Words_2015
testing/spring-boot-master/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackageTask.java
Java
mit
7,655
/* * The MIT License * * Copyright 2018 Victor Martinez. * * 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,...
oleg-nenashev/jenkins
test/src/test/java/hudson/cli/ListJobsCommandTest.java
Java
mit
6,254
/* * 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 Software Foundation. Oracle designates this * particular file as subject to th...
FauxFaux/jdk9-jdk
src/java.base/share/classes/jdk/internal/org/objectweb/asm/commons/Remapper.java
Java
gpl-2.0
9,445
/* * 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...
FauxFaux/jdk9-jdk
test/sun/management/jdp/JdpTestCase.java
Java
gpl-2.0
7,749
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
armenrz/adempiere
base/src/org/compiere/model/I_C_Phase.java
Java
gpl-2.0
6,102
package net.minecraft.util; import net.minecraft.nbt.NBTTagCompound; public class WeightedSpawnerEntity extends WeightedRandom.Item { private final NBTTagCompound nbt; public WeightedSpawnerEntity() { super(1); this.nbt = new NBTTagCompound(); this.nbt.setString("id", "Pig"); ...
danielyc/test-1.9.4
build/tmp/recompileMc/sources/net/minecraft/util/WeightedSpawnerEntity.java
Java
gpl-3.0
973
package org.jboss.as.test.integration.jaxrs.decorator; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; /** * @author Stuart Douglas */ @Path("decorator") @Produces({"text/plain"}) public interface ResourceInterface { @GET String getMessage(); }
xasx/wildfly
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jaxrs/decorator/ResourceInterface.java
Java
lgpl-2.1
289
/* * 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")...
paulk-asert/groovy
src/test/gls/ch06/s05/testClasses/Tt1go.java
Java
apache-2.0
1,197
/** * 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 requir...
rickyHong/RSparkMR4C
java/src/java/com/google/mr4c/message/DefaultMessageHandler.java
Java
apache-2.0
1,149
/* Copyright 2015 Akexorcist 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 distrib...
first087/Android-RoundCornerProgressBar
library/src/main/java/com/akexorcist/roundcornerprogressbar/TextRoundCornerProgressBar.java
Java
apache-2.0
8,335
/* * 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 ...
kidaa/incubator-ignite
examples/src/main/java8/org/apache/ignite/examples/java8/streaming/package-info.java
Java
apache-2.0
937
package org.zstack.header.host; import org.zstack.header.message.NeedReplyMessage; import org.zstack.header.vm.VmNicInventory; import java.util.List; public class AttachNicToVmOnHypervisorMsg extends NeedReplyMessage implements HostMessage { private String vmInstanceUuid; private String hostUuid; privat...
SoftwareKing/zstack
header/src/main/java/org/zstack/header/host/AttachNicToVmOnHypervisorMsg.java
Java
apache-2.0
806
/* * 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 ...
WangTaoTheTonic/flink
flink-runtime/src/main/java/org/apache/flink/runtime/concurrent/CompletableFuture.java
Java
apache-2.0
1,816
// Copyright 2016 Twitter. 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...
objmagic/heron
tools/java/src/com/twitter/bazel/checkstyle/JavaCheckstyle.java
Java
apache-2.0
5,067
/* * Copyright 2010 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...
weitzj/closure-compiler
src/com/google/javascript/jscomp/JoinOp.java
Java
apache-2.0
2,431
/* * 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
libs/x-content/src/main/java/org/elasticsearch/xcontent/ObjectParser.java
Java
apache-2.0
35,948
package org.pentaho.di.trans.steps.loadsave.setter; import java.lang.reflect.Method; public class MethodSetter<T> implements Setter<T> { private final Method method; public MethodSetter( Method method ) { this.method = method; } @Override public void set( Object obj, T value ) { try { method...
apratkin/pentaho-kettle
engine/test-src/org/pentaho/di/trans/steps/loadsave/setter/MethodSetter.java
Java
apache-2.0
468
/* * Copyright (C) 2006-2013 Bitronix Software (http://www.bitronix.be) * * 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 requ...
brettwooldridge/btm
btm/src/main/java/bitronix/tm/resource/jdbc/proxy/JdbcCglibProxyFactory.java
Java
apache-2.0
11,137
/* * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in com...
kevin3061/cas-4.0.1
cas-server-core/src/main/java/org/jasig/cas/util/AopUtils.java
Java
apache-2.0
1,525
/* * OutputBuffer.java June 2007 * * Copyright (C) 2007, Niall Gallagher <niallg@users.sf.net> * * 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/...
sn00py2/SimpleXMLLegacy
src/org/simpleframework/xml/stream/OutputBuffer.java
Java
apache-2.0
5,031
/* * Copyright (c) 2010, 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/nashorn/src/jdk/nashorn/internal/parser/Token.java
Java
mit
4,603
/* // This software is subject to the terms of the Eclipse Public License v1.0 // Agreement, available at the following URL: // http://www.eclipse.org/legal/epl-v10.html. // You must accept the terms of that agreement to use this software. // // Copyright (C) 2001-2005 Julian Hyde // Copyright (C) 2005-2015 Pentaho and...
AvinashPD/mondrian
src/main/mondrian/olap/Util.java
Java
epl-1.0
147,689
package org.dolphinemu.dolphinemu.viewholders; import android.view.View; import android.widget.ImageView; import androidx.leanback.widget.ImageCardView; import androidx.leanback.widget.Presenter; import org.dolphinemu.dolphinemu.model.GameFile; /** * A simple class that stores references to views so that the GameA...
TwitchPlaysPokemon/dolphinWatch
Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/viewholders/TvGameViewHolder.java
Java
gpl-2.0
765
/* * [The "BSD license"] * Copyright (c) 2010 Terence Parr * 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 of source code must retain the above copyright * ...
helloiloveit/VkxPhoneProject
submodules/externals/antlr3/tool/src/test/java/org/antlr/test/TestCompositeGrammars.java
Java
gpl-2.0
33,185
class UnimportedExtends2 { //:: error: cannot find symbol class Inner extends UnimportedClass {} }
Jianchu/checker-framework
framework/tests/framework/UnimportedExtends2.java
Java
gpl-2.0
107
package com.baidu.disconf.client.core.processor.impl; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.baidu.disconf.client.common.model.DisConfCommonModel; import com.baidu.disconf.client.common.model.DisconfCenterItem; import com...
fengshao0907/disconf
disconf-client/src/main/java/com/baidu/disconf/client/core/processor/impl/DisconfItemCoreProcessorImpl.java
Java
gpl-2.0
5,926
/* * Copyright (c) 2002, 2018, 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 ...
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jdi/ShortValue/compareTo/compareto001a.java
Java
gpl-2.0
6,823
package net.sourceforge.jsocks.test; import net.sourceforge.jsocks.socks.*; import net.sourceforge.jsocks.socks.server.*; import java.net.Socket; /** Test file for UserPasswordAuthentictor */ public class UPSOCKS implements UserValidation{ String user, password; UPSOCKS(String user,String passw...
cqjjjzr/jsocks-mirror
src/java/net/sourceforge/jsocks/test/UPSOCKS.java
Java
lgpl-3.0
1,135
package barqsoft.footballscores; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import android.view.MenuItem; public class MainActivity extends ActionBarActivity { public static int selected_match_id; ...
vickychijwani/udacity-p3-super-duo
football-scores/app/src/main/java/barqsoft/footballscores/MainActivity.java
Java
unlicense
2,966
/** * Copyright 2012 Twitter, 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 i...
liancheng/parquet-mr
parquet-hadoop/src/main/java/parquet/hadoop/codec/SnappyDecompressor.java
Java
apache-2.0
4,725
/** * 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/test/java/com/navercorp/pinpoint/profiler/interceptor/bci/TestObjectNestedClass.java
Java
apache-2.0
1,898
/* * Copyright (c) 2017, WSO2 Inc. (http://wso2.com) 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 re...
jaadds/product-apim
sample-scenarios/backend/src/main/java/server/obj/Salary.java
Java
apache-2.0
1,401
package com.myapp; public final class R { public static final class drawable { public static final int test_icon=0x7f02005d; } public static final class mipmap { public static final int test_icon=0x7f04005d; } public static final class color { public static final int colorAc...
jwren/intellij-community
plugins/kotlin/idea/tests/testData/android/gutterIcon/R.java
Java
apache-2.0
567
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.blogspot.na5cent.connectdb; import com.blogspot.na5cent.connectdb.model.Department; import com.blogspot.na5cent.connectdb....
jittagornp/cpe4235
connect-database/src/main/java/com/blogspot/na5cent/connectdb/S5QueryPagination.java
Java
apache-2.0
1,216
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
pedrofvteixeira/big-data-plugin
legacy/src/main/java/org/pentaho/di/bigdata/ShimDependentPluginRegistryPlugin.java
Java
apache-2.0
1,948
/* * 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
plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/base/IntentionUtils.java
Java
apache-2.0
7,700
/** * Copyright 2012 Netflix, 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 t...
JayhJung/Hystrix
hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java
Java
apache-2.0
20,424
/** * 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...
arnaud-deprez/camel
camel-core/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java
Java
apache-2.0
18,104
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
nikhilvibhav/camel
components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyInOutFromSedaTest.java
Java
apache-2.0
2,050
/** * Copyright 2010-2015 Axel Fontaine * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
mpage23/flyway
flyway-core/src/main/java/org/flywaydb/core/internal/dbsupport/vertica/package-info.java
Java
apache-2.0
722
// Copyright 2013 The Flutter 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 io.flutter.embedding.engine.mutatorsstack; import android.graphics.Matrix; import android.graphics.Path; import android.graphics.Rect; import andr...
rmacnak-google/engine
shell/platform/android/io/flutter/embedding/engine/mutatorsstack/FlutterMutatorsStack.java
Java
bsd-3-clause
6,643
/** * Copyright (c) 2014-2017 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 ...
AchimHentschel/smarthome
bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/events/EventFilter.java
Java
epl-1.0
1,055
package com.cloupia.feature.purestorage.tasks; import java.util.Arrays; import com.cisco.cuic.api.client.WorkflowInputFieldTypeDeclaration; import com.cloupia.feature.purestorage.constants.PureConstants; import com.cloupia.service.cIM.inframgr.TaskOutputDefinition; import com.cloupia.service.cIM.inframgr.customactio...
maheshonecloud/Testrepo
UCSD 6.0 Connector/FlashArray UCSD Adapter and Source Code/src/com/cloupia/feature/purestorage/tasks/ScheduleVolumeSnapshotTask.java
Java
gpl-2.0
5,177
package com.puppycrawl.tools.checkstyle.checks.design; public class InputMutableException { public class FooException extends Exception { private final int finalErrorCode; private int errorCode = 1; public FooException() { finalErrorCode = 1; } public class Foo...
Bhavik3/checkstyle
src/test/resources/com/puppycrawl/tools/checkstyle/checks/design/InputMutableException.java
Java
lgpl-2.1
1,239
/* * Copyright 2011 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 ...
buntarb/closure-stylesheets
src/com/google/common/css/compiler/passes/ProcessKeyframes.java
Java
apache-2.0
5,425
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.task.impl; import com.intellij.task.ProjectTask; import org.jetbrains.annotations.Nls; import org.jetbrains.annotations.NotNull; import java.util.Collection...
allotria/intellij-community
platform/lang-impl/src/com/intellij/task/impl/AbstractProjectTask.java
Java
apache-2.0
1,005
/* * 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...
fred84/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder.java
Java
apache-2.0
8,317
/* * 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 ...
tmaret/sling
bundles/scripting/core/src/test/java/org/apache/sling/scripting/core/impl/BindingsValuesProvidersByContextIT.java
Java
apache-2.0
11,818
/* 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...
nagyistoce/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/examples/bpmn/gateway/ExclusiveGatewayTest.java
Java
apache-2.0
2,644
/* * Copyright (C) 2014 Square, 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 agre...
jrodbx/okhttp
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.java
Java
apache-2.0
3,299
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.codeInsight; import com.intellij.lang.Language; import com.intellij.lang.injection.MultiHostRegistrar; import com.intellij.openapi.util.TextRange; im...
smmribeiro/intellij-community
python/src/com/jetbrains/python/codeInsight/PyInjectionUtil.java
Java
apache-2.0
10,214
package main; import com.intellij.util.concurrency.annotations.fake.RequiresEdt; public class MethodHasOtherAnnotationBefore { @Deprecated @RequiresEdt public Object test() { return null; } }
smmribeiro/intellij-community
plugins/devkit/jps-plugin/testData/threadingModelHelper/instrumenter/MethodHasOtherAnnotationBefore.java
Java
apache-2.0
205
/* * 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/transform/trait/TraitComposer.java
Java
apache-2.0
28,378
package org.zstack.header.volume; import org.zstack.header.search.APISearchReply; public class APISearchVolumeReply extends APISearchReply { public static APISearchVolumeReply __example__() { APISearchVolumeReply reply = new APISearchVolumeReply(); return reply; } }
winger007/zstack
header/src/main/java/org/zstack/header/volume/APISearchVolumeReply.java
Java
apache-2.0
299
// 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.content.browser; import android.content.Context; import android.util.Log; import android.util.SparseIntArray; import android.view.Su...
cvsuser-chromium/chromium
content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java
Java
bsd-3-clause
26,544
/* * Copyright (c) 2002-2008 LWJGL Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this...
andrewmcvearry/mille-bean
lwjgl/src/templates/org/lwjgl/opengl/ATI_texture_float.java
Java
mit
2,261
/** * 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.ihc/src/main/java/org/openhab/binding/ihc/ws/IhcControllerService.java
Java
epl-1.0
6,258
/* * @(#)UnsupportedPhysicalMemoryException.java 1.2 05/10/20 * * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.squawk.realtime; /** * Thrown when the underlying hardware does not support the type of * physical me...
sics-sse/moped
squawk/cldc/src/com/sun/squawk/realtime/UnsupportedPhysicalMemoryException.java
Java
gpl-2.0
1,022
package net.oschina.app.ui; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import net.oschina.app.AppContext; import net.oschina.app.AppException; import net.oschina.app.R; import net.oschina.app.bean.FriendList; import net.oschina.app.bean.MyInfo...
ivaners/android-app
src/net/oschina/app/ui/UserInfo.java
Java
gpl-2.0
11,772
package com.objogate.wl.swing.driver; import javax.swing.JProgressBar; import java.awt.Component; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeMatcher; import com.objogate.wl.Prober; import com.objogate.wl.swing.ComponentSelector; import com.objogate.wl.swing.gesture.Gestur...
alienisty/windowlicker
src/swing/main/com/objogate/wl/swing/driver/JProgressBarDriver.java
Java
gpl-3.0
3,570
/* * ProActive Parallel Suite(TM): * The Open Source library for parallel and distributed * Workflows & Scheduling, Orchestration, Cloud Automation * and Big Data Analysis on Enterprise Grids & Clouds. * * Copyright (c) 2007 - 2017 ActiveEon * Contact: contact@activeeon.com * * This library is free software: y...
tobwiens/scheduling
rest/rest-client/src/main/java/org/ow2/proactive/scheduler/rest/ds/RemoteSource.java
Java
agpl-3.0
3,278
/** * 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
components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/service/WordpressServiceTags.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 may ...
gnodet/camel
components/camel-aws2-athena/src/test/java/org/apache/camel/component/aws2/athena/AthenaComponentConfigurationTest.java
Java
apache-2.0
4,235
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.provider; import org.eclipse.emf.common.ui.celleditor.ExtendedDialogCellEditor; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.ui.provider.PropertyDescriptor; import org.eclipse.jface.viewers.CellEditor; import o...
nwnpallewela/developer-studio
esb/plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/provider/FilterSourcePropertyDescriptor.java
Java
apache-2.0
1,435
package org.bouncycastle.crypto.tls; /** * RFC 4492 5.1.1 * <p> * The named curves defined here are those specified in SEC 2 [13]. Note that many of these curves * are also recommended in ANSI X9.62 [7] and FIPS 186-2 [11]. Values 0xFE00 through 0xFEFF are * reserved for private use. Values 0xFF01 and 0xFF02 indi...
thedrummeraki/Aki-SSL
src/org/bouncycastle/crypto/tls/NamedCurve.java
Java
apache-2.0
2,521
/* * #%L * ACS AEM Commons Twitter Support Bundle * %% * Copyright (C) 2013 - 2014 Adobe * %% * 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/...
steffenrosi/acs-aem-commons
bundle-twitter/src/main/java/com/adobe/acs/commons/twitter/impl/TwitterFeedScheduler.java
Java
apache-2.0
2,833
/* * Copyright (c) 2011 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 in ...
wgpshashank/google-http-java-client
google-http-client/src/main/java/com/google/api/client/util/NullValue.java
Java
apache-2.0
1,108
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
baibaichen/eagle
eagle-core/eagle-query/eagle-storage-base/src/test/java/org/apache/eagle/storage/operation/TestRowkeyQueryStatement.java
Java
apache-2.0
2,418
/* * 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 ...
datawire/qpid-proton
proton-j/src/test/java/org/apache/qpid/proton/engine/impl/TransportOutputAdaptorTest.java
Java
apache-2.0
5,474
/** * Copyright The Apache Software Foundation * * 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 Li...
juwi/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.java
Java
apache-2.0
6,724
/* * Copyright 2012-2020 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...
shakuzen/spring-boot
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/jdbc/metadata/CompositeDataSourcePoolMetadataProviderTests.java
Java
apache-2.0
2,293
// Author: mszal@google.com (Michael Szal) package com.google.libwebm.mkvmuxer; import com.google.libwebm.Common; public class Segment extends Common { public enum Mode { None, kLive, kFile }; public static final long kDefaultMaxClusterDuration = 30000000000L; public Segment() { nativePoin...
wudingli/openfire
src/plugins/jitsivideobridge/src/java/com/google/libwebm/mkvmuxer/Segment.java
Java
apache-2.0
5,592
class C { String s = "\u00C1\u00EE"; }
jwren/intellij-community
plugins/java-i18n/testData/quickFix/convertToBasicLatin/StringLiteral_after.java
Java
apache-2.0
42
// Generated by delombok at Wed Oct 02 19:12:43 GMT 2019 import java.util.Set; public class SingularSet<T> { private Set rawTypes; private Set<Integer> integers; private Set<T> generics; private Set<? extends Number> extendsGenerics; @java.lang.SuppressWarnings("all") SingularSet(final Set rawTypes, final Set<...
mplushnikov/lombok-intellij-plugin
testData/after/builder/Singular/Generic/Util/Collection/SingularSet.java
Java
bsd-3-clause
6,721
/* * 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 ...
plumer/codana
tomcat_files/7.0.61/Choose.java
Java
mit
1,382
/* Collator.java -- Perform locale dependent String comparisons. Copyright (C) 1998, 1999, 2000, 2001, 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 publish...
taciano-perez/JamVM-PH
src/classpath/java/text/Collator.java
Java
gpl-2.0
14,820
package com.temenos.interaction.core.rim; /* * #%L * interaction-core * %% * Copyright (C) 2012 - 2013 Temenos Holdings N.V. * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, ...
ritumalhotra8/IRIS
interaction-core/src/main/java/com/temenos/interaction/core/rim/ResourceInteractionModel.java
Java
agpl-3.0
1,694
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
mehdikwa/google-gin
src/com/google/gwt/inject/client/multibindings/SimpleMultimap.java
Java
apache-2.0
1,365
/* * Copyright (C) 2013 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
gk5885/auto
factory/src/test/resources/good/MixedDepsImplementingInterfaces.java
Java
apache-2.0
1,238
// ================================================================================================= // Copyright 2011 Twitter, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use ...
abel-von/commons
src/java/com/twitter/common/text/token/TwitterTokenStream.java
Java
apache-2.0
6,183
/* * 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
rpc/src/main/java/com/navercorp/pinpoint/rpc/stream/LoggingStreamChannelStateChangeEventHandler.java
Java
apache-2.0
1,432
/* * Copyright (C) 2016 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...
bwirgau/androidproject
Lesson02-GitHub-Repo-Search/T02.04-Exercise-ConnectingToTheInternet/app/src/main/java/com/example/android/datafrominternet/MainActivity.java
Java
apache-2.0
2,821
package org.bouncycastle.cert.selector; import java.io.IOException; import org.bouncycastle.asn1.ASN1Encoding; import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo; import org.bouncycastle.util.Pack; class MSOutlookKeyIdCalculator { // This is less than ideal, but it seems to be the best way of supporting this...
thedrummeraki/Aki-SSL
src/org/bouncycastle/cert/selector/MSOutlookKeyIdCalculator.java
Java
apache-2.0
10,705
package org.apache.lucene.analysis.util; /* * 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...
smartan/lucene
src/main/java/org/apache/lucene/analysis/util/AnalysisSPILoader.java
Java
apache-2.0
5,322
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
theoweiss/openhab2
bundles/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/PowermaxBindingConstants.java
Java
epl-1.0
2,871
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
clinique/openhab2
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/protocol/SetDimAbsoluteRequest.java
Java
epl-1.0
1,951
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ...
fictionalfridge/shattered-pixel-dungeon
src/com/shatteredpixel/shatteredpixeldungeon/items/armor/glyphs/Entanglement.java
Java
gpl-3.0
2,360
package org.apereo.cas.audit; import org.apereo.inspektr.audit.AuditActionContext; import org.apereo.inspektr.audit.AuditTrailManager; import java.time.LocalDate; import java.util.List; import java.util.Set; /** * This is {@link AuditTrailExecutionPlan}. * * @author Misagh Moayyed * @since 5.3.0 */ public inter...
robertoschwald/cas
api/cas-server-core-api-audit/src/main/java/org/apereo/cas/audit/AuditTrailExecutionPlan.java
Java
apache-2.0
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 ...
deltaprojects/druid
extendedset/src/main/java/org/apache/druid/extendedset/intset/EmptyIntIterator.java
Java
apache-2.0
1,478
/** * 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...
lburgazzoli/apache-camel
platforms/spring-boot/components-starter/camel-pgevent-starter/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
Java
apache-2.0
3,839