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 ...
jorgebay/tinkerpop
gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/util/DefaultGraphManagerTest.java
Java
apache-2.0
5,854
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
jswudi/alluxio
core/server/worker/src/main/java/alluxio/worker/block/evictor/AbstractEvictor.java
Java
apache-2.0
9,007
/* * Copyright 2014-2016 CyberVision, 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 o...
forGGe/kaa
server/common/dao/src/test/java/org/kaaproject/kaa/server/common/dao/service/ConfigurationServiceImplTest.java
Java
apache-2.0
19,793
/** * Bean Validation TCK * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.beanvalidation.tck.tests.constraints.application.method; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; imp...
gunnarmorling/beanvalidation-tck
tests/src/main/java/org/hibernate/beanvalidation/tck/tests/constraints/application/method/OnlineCalendarService.java
Java
apache-2.0
1,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 ...
grgrzybek/karaf
features/core/src/main/java/org/apache/karaf/features/internal/model/processing/ObjectFactory.java
Java
apache-2.0
1,069
/* * 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 ...
skoulouzis/lobcder
milton2/milton-server-ce/src/main/java/io/milton/http/fs/SimpleLockManager.java
Java
apache-2.0
5,398
package org.nibiru.ui.ios.widget; import org.nibiru.ui.core.api.Popup; import org.nibiru.ui.core.api.Viewport; import org.nibiru.ui.core.impl.BasePopup; import javax.inject.Inject; import apple.uikit.UIView; public class IOSPopup extends BasePopup<Overlay, UIView> implements Popup { @Inject public IOSPopup...
NibiruOS/ui
org.nibiru.ui.ios/src/main/java/org/nibiru/ui/ios/widget/IOSPopup.java
Java
apache-2.0
1,155
/* * 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...
TangHao1987/intellij-community
platform/diff-impl/src/com/intellij/diff/tools/simple/SimpleDiffViewer.java
Java
apache-2.0
28,600
/* * 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 ...
apache/samza
samza-core/src/main/java/org/apache/samza/table/batching/AsyncBatchingTable.java
Java
apache-2.0
6,955
// "Replace with 'Set.of' call" "false" import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Set; public class Test { static final String CONST = "b"; public static final Set<String> MY_SET = Set.o<caret>f("a", "b", "c", CONST); }
dahlstrom-g/intellij-community
java/java-tests/testData/inspection/java9CollectionFactory/beforeHashSetAsListRepeating.java
Java
apache-2.0
282
// Copyright 2000-2018 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.diff.tools.fragmented; import com.intellij.diff.DiffContext; import com.intellij.diff.actions.AllLinesIterator; import com.intellij.diff.actions.BufferedLine...
goodwinnk/intellij-community
platform/diff-impl/src/com/intellij/diff/tools/fragmented/UnifiedDiffViewer.java
Java
apache-2.0
47,029
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.lang.properties.provider; import com.intellij.lang.properties.psi.Property; import com.intellij.lang.properties.psi.PropertyKeyIndex; import com.intellij.openapi.project.Project...
jwren/intellij-community
plugins/properties/properties-psi-api/src/com/intellij/lang/properties/provider/PropertiesProviderImpl.java
Java
apache-2.0
1,127
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
mehdi149/OF_COMPILER_0.1
gen-src/main/java/org/projectfloodlight/openflow/protocol/OFAsyncConfigPropExperimenterMaster.java
Java
apache-2.0
1,789
// 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...
argv0/cloudstack
plugins/network-elements/elastic-loadbalancer/src/com/cloud/network/lb/dao/ElasticLbVmMapDao.java
Java
apache-2.0
1,527
/* * 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 ...
pengzong1111/solr4
solr/core/src/java/org/apache/solr/handler/PingRequestHandler.java
Java
apache-2.0
10,590
/* * 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")...
lucastheisen/apache-directory-server
kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/replay/ReplayCacheImpl.java
Java
apache-2.0
7,871
package com.ccb.project.vo; import java.sql.Date; /** * Created by han on 2015/6/29. */ public class planvo { private String uid; private String prjId; private Date endDate; public Date getBgnDate() { return bgnDate; } public void setBgnDate(Date bgnDate) { this.bgnDate ...
longjl/JFinal_Authority
jfinal-authority/src/main/java/com/ccb/project/vo/planvo.java
Java
apache-2.0
772
/** * * Copyright 2004 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 a...
meetdestiny/geronimo-trader
modules/mail/src/java/org/apache/geronimo/mail/NullTransport.java
Java
apache-2.0
1,308
/* * Copyright 2018 Rundeck, Inc. (http://rundeck.com) * * 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 appli...
variacode/rundeck
core/src/main/java/com/dtolabs/rundeck/core/cluster/ClusterInfoService.java
Java
apache-2.0
988
package org.ovirt.engine.ui.uicommon.models.datacenters; import java.util.Collections; import org.ovirt.engine.core.compat.*; import org.ovirt.engine.ui.uicompat.*; import org.ovirt.engine.core.common.businessentities.*; import org.ovirt.engine.core.common.vdscommands.*; import org.ovirt.engine.core.common.queries.*; i...
raksha-rao/gluster-ovirt
frontend/webadmin/modules/uicommon/src/main/java/org/ovirt/engine/ui/uicommon/models/datacenters/DataCenterNetworkListModel.java
Java
apache-2.0
17,841
package org.fusesource.fabric.openshift.commands.support; import com.openshift.client.IOpenShiftConnection; public class OpenshiftConnectionListener { private IOpenShiftConnection connection; public IOpenShiftConnection getConnection() { return connection; } public void bindConnection(IOpen...
janstey/fuse
fabric/fabric-openshift/src/main/java/org/fusesource/fabric/openshift/commands/support/OpenshiftConnectionListener.java
Java
apache-2.0
503
package com.mit.dstore.ui.chat; import java.util.List; /** * @Description 相册数据体 * @author Nana * @date 2014-5-9 */ public class ImageBucket { public int count = 0;//相册中图片数量 public String bucketName; public List<ImageItem> imageList; }
luchuangbin/test1
src/com/mit/dstore/ui/chat/ImageBucket.java
Java
apache-2.0
279
/* * Copyright 2019 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
kierarad/gocd
test/test-utils/src/main/java/com/thoughtworks/go/mail/SysOutStreamConsumer.java
Java
apache-2.0
1,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 may ...
apache/sanselan
src/main/java/org/apache/commons/imaging/common/RationalNumber.java
Java
apache-2.0
3,776
package io.cattle.platform.host.service; import io.cattle.platform.archaius.util.ArchaiusUtil; import io.cattle.platform.core.dao.DataDao; import io.cattle.platform.ssh.common.SshKeyGen; import io.cattle.platform.token.CertSet; import io.cattle.platform.token.impl.RSAKeyProvider; import io.cattle.platform.token.impl.R...
vincent99/cattle
code/implementation/host-api/src/main/java/io/cattle/platform/host/service/HostApiRSAKeyProvider.java
Java
apache-2.0
4,380
package org.apache.logging.log4j.core.pattern;/* * 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 lice...
apache/logging-log4j2
log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/HighlightConverterTest.java
Java
apache-2.0
7,123
/** * 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...
apache/openejb
container/openejb-jee/src/main/java/org/apache/openejb/jee/jba/cmp/Where.java
Java
apache-2.0
2,101
/** * Copyright 2015 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 to i...
dmgcodevil/Hystrix
hystrix-core/src/test/java/com/netflix/hystrix/CommonHystrixCommandTests.java
Java
apache-2.0
39,912
/* * Copyright 2013 MovingBlocks * * 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...
CC4401-TeraCity/TeraCity
engine/src/main/java/org/terasology/logic/particles/BlockParticleEmitterSystem.java
Java
apache-2.0
15,781
package org.ovirt.engine.core.utils.ipa; import static org.ovirt.engine.core.utils.kerberos.InstallerConstants.ERROR_PREFIX; import javax.naming.NamingException; import javax.naming.directory.Attributes; import org.springframework.ldap.core.ContextMapper; import org.springframework.ldap.core.DirContextAdapter; publ...
derekhiggins/ovirt-engine
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ipa/ITDSUserContextMapper.java
Java
apache-2.0
922
/** * * 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"); ...
gustavoanatoly/hbase
hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.java
Java
apache-2.0
1,367
package mock.services; import io.vertx.codegen.annotations.ProxyGen; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; @ProxyGen public interface ParrotService { void echo(String original, Handler<AsyncResult<String>> handler); }
aesteve/nubes
src/test/java/mock/services/ParrotService.java
Java
apache-2.0
250
package com.hubspot.singularity.executor; import static java.nio.charset.StandardCharsets.UTF_8; import java.io.BufferedWriter; import java.io.File; import java.nio.file.Files; import java.nio.file.Path; import com.github.jknack.handlebars.Template; import com.google.common.base.Throwables; import com.google.inject....
andrhamm/Singularity
SingularityExecutor/src/main/java/com/hubspot/singularity/executor/TemplateManager.java
Java
apache-2.0
3,350
/* * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * * * * * * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2011 INRIA, France Telecom * All rights reserved. * * Redistribution and ...
redkale/redkale
src/main/java/org/redkale/asm/MethodWriter.java
Java
apache-2.0
88,118
// Copyright 2018 The Bazel 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 appl...
dropbox/bazel
src/test/java/com/google/devtools/build/lib/skyframe/serialization/DynamicCodecTest.java
Java
apache-2.0
12,490
/* * 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 ...
apache/commons-dbcp
src/test/java/org/apache/commons/dbcp2/TesterUtils.java
Java
apache-2.0
1,413
/* * Copyright 2002-2019 Drew Noakes and contributors * * 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 req...
drewnoakes/metadata-extractor
Source/com/drew/metadata/exif/makernotes/LeicaMakernoteDirectory.java
Java
apache-2.0
3,940
/* * Copyright 2010-2016 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...
flofreud/aws-sdk-java
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/package-info.java
Java
apache-2.0
643
/*Copyright (C) 2017 Roland Hauser, <sourcepond@gmail.com> 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 agree...
SourcePond/fileobserver-api
fileobserver-impl/src/main/java/ch/sourcepond/io/fileobserver/impl/dispatch/DefaultDispatchKey.java
Java
apache-2.0
1,911
package org.ayo.robot.canvas.shape; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.RectF; import org.ayo.robot.BaseView; public class RectView extends BaseView { public RectView(Context context) { super(context); init(); ...
cowthan/UI-Robot
app/src/main/java/org/ayo/robot/canvas/shape/RectView.java
Java
apache-2.0
2,195
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
ShailShah/alluxio
core/server/master/src/main/java/alluxio/master/file/options/LoadMetadataOptions.java
Java
apache-2.0
3,539
/* * Copyright 2015 Dimitry Ivanov (mail@dimitryivanov.ru) * * 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 a...
noties/Storm
library/src/main/java/ru/noties/storm/sd/IntSerializer.java
Java
apache-2.0
1,033
/* * Copyright 2018 LINE Corporation * * LINE Corporation 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 r...
jmostella/armeria
core/src/main/java/com/linecorp/armeria/server/annotation/ProducesOctetStream.java
Java
apache-2.0
1,082
/* * Copyright © 2014 TU Berlin (emma@dima.tu-berlin.de) * * 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...
emmalanguage/emma
emma-mitos/src/main/java/org/emmalanguage/mitos/operators/GroupBy0ReduceTupleIntDouble.java
Java
apache-2.0
2,114
package org.vertexium; public interface ElementId extends VertexiumObjectId { static ElementId vertex(String id) { return new DefaultElementId(ElementType.VERTEX, id); } static ElementId edge(String id) { return new DefaultElementId(ElementType.EDGE, id); } static ElementId create...
visallo/vertexium
core/src/main/java/org/vertexium/ElementId.java
Java
apache-2.0
567
/* * 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...
jk1/intellij-community
platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/DependentSdkType.java
Java
apache-2.0
3,053
/* * 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 ...
chavdar/gobblin-1
gobblin-runtime/src/main/java/gobblin/runtime/instance/StandardGobblinInstanceDriver.java
Java
apache-2.0
17,339
/** * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lice...
ruhan1/pnc
rest-model/src/main/java/org/jboss/pnc/rest/restmodel/causeway/BuildImportResultRest.java
Java
apache-2.0
1,612
/* * 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 ...
hengyicai/OnlineAggregationUCAS
network/shuffle/src/test/java/org/apache/spark/network/shuffle/TestShuffleDataContext.java
Java
apache-2.0
3,794
/* * WSearchCsvEnum.java * Created on 2013/06/28 * * Copyright (C) 2011-2013 Nippon Telegraph and Telephone Corporation * * 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:...
TUBAME/migration-tool
src/tubame.wsearch/src/tubame/wsearch/models/WSearchCsvEnum.java
Java
apache-2.0
2,181
package com.cattong.sns.impl.renren; import java.text.ParseException; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.cattong.commons.LibException; import com.cattong.commons.LibResultCode; import com.catt...
0359xiaodong/YiBo
YiBoLibrary/src/com/cattong/sns/impl/renren/RenRenStatusAdapter.java
Java
apache-2.0
2,034
/* * Copyright 2010-2013 Ning, Inc. * * Ning 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 required by a...
kares/killbill
payment/src/main/java/org/killbill/billing/payment/invoice/PaymentTagHandler.java
Java
apache-2.0
4,302
package org.jboss.resteasy.examples.oauth; import javax.ws.rs.core.Application; import java.util.HashSet; import java.util.Set; /** * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a> * @version $Revision$ */ public class OAuthApplication extends Application { HashSet<Object> singletons = new HashSe...
raphaelning/resteasy-client-android
jaxrs/examples/oauth1-examples/oauth/src/main/java/org/jboss/resteasy/examples/oauth/OAuthApplication.java
Java
apache-2.0
697
/* * Copyright (c) 2013-2019 Metin Kale * * 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 ag...
metinkale38/prayer-times-android
features/times/src/main/java/com/metinkale/prayer/times/gson/BooleanSerializer.java
Java
apache-2.0
1,540
/** * 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...
radicalbit/ambari
ambari-shell/ambari-groovy-shell/src/test/java/org/apache/ambari/shell/commands/ConfigCommandsTest.java
Java
apache-2.0
3,539
/** * This file is part of Simple Scrobbler. * <p> * https://github.com/simple-last-fm-scrobbler/sls * <p> * Copyright 2011 Simple Scrobbler Team * <p> * 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 ...
tgwizard/sls
app/src/main/java/com/adam/aslfms/util/enums/AdvancedOptions.java
Java
apache-2.0
4,334
/* * Copyright 2020 StreamSets 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...
streamsets/datacollector
container/src/main/java/com/streamsets/datacollector/aster/EntitlementSyncTask.java
Java
apache-2.0
1,139
/* * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
IHTSDO/snow-owl
net4j/com.b2international.snowowl.eventbus/src/com/b2international/snowowl/internal/eventbus/net4j/HandlerChangeIndication.java
Java
apache-2.0
2,079
// "Qualify the call with 'A.B.this'" "true" class A { static class B { class C { String name(String key) { return name(<caret>); } } String name() { return ""; } } }
jwren/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/qualifyMethodCall/beforeNonStaticMethodFromNonStaticContext2.java
Java
apache-2.0
214
/* * 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 ...
apache/tomcat
java/org/apache/catalina/filters/SessionInitializerFilter.java
Java
apache-2.0
2,509
package org.ovirt.engine.ui.common.widget; import org.ovirt.engine.ui.common.widget.dialog.SimpleDialogButton; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.g...
jbeecham/ovirt-engine
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/UiCommandButton.java
Java
apache-2.0
1,364
/******************************************************************************* * 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:...
lordjone/libgdx
backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/JglfwInput.java
Java
apache-2.0
22,979
/* * 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 ...
tabish121/proton4j
protonj2/src/main/java/org/apache/qpid/protonj2/codec/EncoderState.java
Java
apache-2.0
1,858
package edu.pdx.cs410J.dmitriev; import edu.pdx.cs410J.AirlineParser; import edu.pdx.cs410J.ParserException; import javax.imageio.IIOException; import java.io.*; /** * TextParser get the name of the file along with the name of the Airline being read. * It supposed to correctly read the data about the Airline on a ...
alexander94dmitriev/PortlandStateJavaSummer2017
airline/src/main/java/edu/pdx/cs410J/dmitriev/TextParser.java
Java
apache-2.0
5,551
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Vers...
arquillian/arquillian-extension-persistence
int-tests/src/test/java/org/jboss/arquillian/integration/persistence/datasource/postgresql/PostgreSqlDataSourceExtension.java
Java
apache-2.0
1,398
/* * Copyright 2019 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
kierarad/gocd
server/src/main/java/com/thoughtworks/go/server/newsecurity/controllers/AuthenticationController.java
Java
apache-2.0
9,321
/* * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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.o...
krishanthasamaraweera/product-cep
modules/integration/tests-integration/tests/src/test/java/org/wso2/carbon/integration/test/processflow/PassThroughWithWso2Event.java
Java
apache-2.0
7,896
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
LucidDB/luciddb
farrago/src/org/eigenbase/test/EigenbaseTestCase.java
Java
apache-2.0
8,833
/* * 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 ...
apache/geronimo
plugins/pluto/geronimo-pluto/src/main/java/org/apache/geronimo/pluto/PortalStartupListener.java
Java
apache-2.0
8,945
/* * Copyright 2016 WSO2 Inc. (http://wso2.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 applicable l...
wso2/carbon-metrics
components/org.wso2.carbon.metrics.core/src/test/java/org/wso2/carbon/metrics/core/MetricsMXBeanTest.java
Java
apache-2.0
6,480
/** * */ package com.fjnu.fund.domain; /** * @author Administrator * */ public class Fund { private Integer fundNo; private String fundName; private Float fundPrice; private String fundDes; private String fundStatus; private String fundDate; public Integer getFundNo() { return fundNo; } public voi...
WebbWangPrivate/JavaSystem
FundSystem/src/com/fjnu/fund/domain/Fund.java
Java
apache-2.0
1,040
/* Copyright 2012-2015 SAP SE * * 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 ...
GenericBreakGlass/GenericBreakGlass-XACML
src/eu.aniketos.securebpmn.xacml.support/src/main/java/eu/aniketos/securebpmn/xacml/support/AttributeResolver.java
Java
apache-2.0
3,664
/* * 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 ...
dinkelaker/hbs4ode
bpel-runtime/src/main/java/org/apache/ode/bpel/memdao/BpelDAOConnectionImpl.java
Java
apache-2.0
14,032
/* * 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 ...
dinkelaker/hbs4ode
dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/XmlDataDaoImpl.java
Java
apache-2.0
5,098
package com.github.vedenin.rus.arrays; import java.util.Arrays; import java.util.stream.DoubleStream; import java.util.stream.IntStream; /** * Тестирование превращения массива в строку для печати * * Created by vedenin on 04.02.16. */ public class ConvertArrayToStringAndPrintTest { public static void main(St...
Vedenin/java_in_examples
other/src/main/java/com/github/vedenin/rus/arrays/ConvertArrayToStringAndPrintTest.java
Java
apache-2.0
1,973
/* * 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 ...
Fabryprog/camel
core/camel-core/src/test/java/org/apache/camel/language/TokenizerTest.java
Java
apache-2.0
18,428
/* * Copyright 2018 LINE Corporation * * LINE Corporation 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 r...
jmostella/armeria
core/src/main/java/com/linecorp/armeria/server/AnnotatedValueResolver.java
Java
apache-2.0
48,024
package org.apereo.cas.ticket.expiration; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.val; import org.apache.commons.io.FileUtils; import org.junit.jupiter.api.Test; import java.io.File; import java.io.IOException; import static org.junit.jupiter.api.Assertions.*; /** * @author Misagh Moayyed...
philliprower/cas
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/expiration/HardTimeoutExpirationPolicyTests.java
Java
apache-2.0
965
/* 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...
robsoncardosoti/flowable-engine
modules/flowable-engine/src/test/java/org/flowable/engine/test/bpmn/servicetask/CreateUserAndMembershipTestDelegate.java
Java
apache-2.0
2,078
/** * 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...
cexbrayat/camel
camel-core/src/test/java/org/apache/camel/processor/RecipientListBeanTest.java
Java
apache-2.0
2,243
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
mehdi149/OF_COMPILER_0.1
gen-src/main/java/org/projectfloodlight/openflow/protocol/ver15/OFTableDescStatsRequestVer15.java
Java
apache-2.0
11,425
/** * Copyright 2009-2012 WSO2, Inc. (http://wso2.com) * * 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...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src/org/wso2/developerstudio/eclipse/gmf/esb/provider/EndPointPropertyItemProvider.java
Java
apache-2.0
11,996
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
mehdi149/OF_COMPILER_0.1
gen-src/main/java/org/projectfloodlight/openflow/protocol/bsntlv/OFBsnTlvExternalGatewayMac.java
Java
apache-2.0
1,862
package org.ansj.ansj_lucene_plug; import org.ansj.domain.Term; import org.ansj.library.DicLibrary; import org.ansj.lucene6.AnsjAnalyzer; import org.ansj.lucene6.AnsjAnalyzer.TYPE; import org.ansj.splitWord.analysis.IndexAnalysis; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStrea...
NLPchina/ansj_seg
plugin/ansj_lucene6_plugin/src/test/java/org/ansj/ansj_lucene_plug/IndexAndTest.java
Java
apache-2.0
4,074
/* * 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...
pnowojski/presto
presto-main/src/main/java/com/facebook/presto/operator/MultiChannelGroupByHash.java
Java
apache-2.0
13,353
/* * JFoenix * Copyright (c) 2015, JFoenix and/or its affiliates., All rights reserved. * * This library 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 3.0 of the License, or (a...
jfoenixadmin/JFoenix
demo/src/main/java/demos/components/DatePickerDemo.java
Java
apache-2.0
2,537
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; im...
welterde/ewok
com/planet_ink/coffee_mud/Abilities/Spells/Spell_Blademouth.java
Java
apache-2.0
4,439
/** * Copyright (c) 2011-2015, Unas 小强哥 (unas@qq.com). * <p/> * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.weixin.sdk.msg.in.event; /** 接入会话: <xml> <ToUserName><![CDATA[touser]]></ToUserName> <FromUserName><![CDATA[fromuser]]></FromUserName> <CreateTime>1399197672</CreateT...
pjworkspace/wscs
weixin-sdk/src/main/java/com/weixin/sdk/msg/in/event/InCustomEvent.java
Java
apache-2.0
2,179
import greenfoot.*; public class insert extends Actor { pause p = new pause(); player pa = new player(); GreenfootSound SFX2 = new GreenfootSound("sfx/button_click.mp3"); public void act() { setLocation(550, 275); if(Greenfoot.isKeyDown("escape")) { SFX2.play(); getWorld().rem...
Juklabs/edmundo
insert.java
Java
apache-2.0
757
/* * 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 distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-logging/v2/1.31.0/com/google/api/services/logging/v2/model/SourceLocation.java
Java
apache-2.0
4,414
package org.geojson; import java.util.List; public class MultiLineString extends Geometry<List<LngLatAlt>> { public MultiLineString() { } public MultiLineString(List<LngLatAlt> line) { add(line); } @Override public <T> T accept(GeoJsonObjectVisitor<T> geoJsonObjectVisitor) { return geoJsonObjectVisitor.v...
mastinno/geojson-jackson-java
src/main/java/org/geojson/MultiLineString.java
Java
apache-2.0
430
/** * Copyright 2013-2019 the original author or authors from the Jeddict project (https://jeddict.github.io/). * * 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 * workingCopy of the License at * * http:/...
jGauravGupta/jpamodeler
jcode-util/src/main/java/io/github/jeddict/jcode/SecurityConstants.java
Java
apache-2.0
1,229
/* * 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 ...
apache/commons-imaging
src/test/java/org/apache/commons/imaging/formats/gif/GifReadTest.java
Java
apache-2.0
9,196
/* * Copyright 2014 JBoss 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 ...
Teiid-Designer/teiid-webui
teiid-webui-webapp/src/main/java/org/teiid/webui/client/widgets/ServiceFlowListWidget.java
Java
apache-2.0
1,154
/******************************************************************************* * Copyright 2013 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
TitasNandi/Summer_Project
dkpro-similarity-master/dkpro-similarity-experiments-wordpairs-asl/src/main/java/dkpro/similarity/experiments/wordpairs/io/SemanticRelatednessResultWriter.java
Java
apache-2.0
13,282
package org.wso2.carbon.identity.configuration.mgt.endpoint.dto; import io.swagger.annotations.*; import com.fasterxml.jackson.annotation.*; import javax.validation.constraints.NotNull; @ApiModel(description = "") public class ResourceFileDTO { @NotNull private String name = null; private Str...
omindu/carbon-identity-framework
components/configuration-mgt/org.wso2.carbon.identity.api.server.configuration.mgt/src/gen/java/org/wso2/carbon/identity/configuration/mgt/endpoint/dto/ResourceFileDTO.java
Java
apache-2.0
1,162
/* * 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 distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-monitoring/v3/1.31.0/com/google/api/services/monitoring/v3/model/Error.java
Java
apache-2.0
2,686
package org.hl7.fhir.dstu3.model; /* Copyright (c) 2011+, HL7, Inc. 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 copyr...
Gaduo/hapi-fhir
hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/Patient.java
Java
apache-2.0
135,364
/* * Copyright (C) 2013 salesforce.com, 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 ...
forcedotcom/aura
aura/src/main/java/org/auraframework/builder/ClientLibraryDefBuilder.java
Java
apache-2.0
1,366
package io.subutai.core.peer.impl; public class PeerInitializationError extends RuntimeException { public PeerInitializationError( final String message, final Throwable cause ) { super( message, cause ); } }
subutai-io/Subutai
management/server/core/peer-manager/peer-manager-impl/src/main/java/io/subutai/core/peer/impl/PeerInitializationError.java
Java
apache-2.0
230