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
package lab.s2jh.biz.md.test.service; import java.util.List; import lab.s2jh.biz.md.entity.Commodity; import lab.s2jh.biz.md.service.CommodityService; import lab.s2jh.core.test.SpringTransactionalTestCase; import lab.s2jh.core.test.TestObjectUtils; import org.junit.Assert; import org.junit.Test; import org.springfra...
xautlx/s2jh
prototype/src/test/java/lab/s2jh/biz/md/test/service/CommodityServiceTest.java
Java
lgpl-3.0
906
/* * Copyright 2010-2012 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...
XidongHuang/aws-sdk-for-java
src/main/java/com/amazonaws/services/ec2/model/CancelReservedInstancesListingResult.java
Java
apache-2.0
5,609
/* * Copyright 2014 - 2015 Real Logic Ltd. * * 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...
jerrinot/Aeron
aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/media/DataTransportPoller.java
Java
apache-2.0
3,036
// Copyright 2012 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...
PP888/collide
java/com/google/collide/client/code/autocomplete/codegraph/ScopeTrieBuilder.java
Java
apache-2.0
6,983
/* * Copyright 2011 Red Hat, Inc. and/or its affiliates. * * This 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 option) any later version. * * ...
nmldiegues/stibt
infinispan/client/hotrod-client/src/test/java/org/infinispan/client/hotrod/HotRod10CSAIntegrationTest.java
Java
apache-2.0
1,386
package iri; import java.lang.reflect.Field; import java.lang.reflect.Method; import reflection.AnnoT; @AnnoT public class JLRFSet2 extends FormattingHelper { public JLRFSet2() { } public String string; public String string2; public String run() throws Exception { Method m = Field.class.getMethod("set", ...
spring-projects/spring-loaded
testdata/src/main/java/iri/JLRFSet2.java
Java
apache-2.0
568
package org.batfish.representation.f5_bigip; import com.google.common.collect.ImmutableMap; import java.util.Arrays; import java.util.Map; import java.util.function.Function; import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.annotation.ParametersAreNonnullByDefault; /** Enumeration of bu...
arifogel/batfish
projects/batfish/src/main/java/org/batfish/representation/f5_bigip/BuiltinProfileOneConnect.java
Java
apache-2.0
1,133
/* * 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 ...
hhbyyh/spark
common/network-common/src/main/java/org/apache/spark/network/server/ChunkFetchRequestHandler.java
Java
apache-2.0
6,326
/** * Copyright (c) 2011 Yahoo! 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 ap...
mashuai/Open-Source-Research
OMID/src/test/java/com/yahoo/omid/OmidTestBase.java
Java
apache-2.0
7,789
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community License, Ve...
pushyamig/sakai
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ItemAddListener.java
Java
apache-2.0
123,543
/** * 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...
onders86/camel
camel-core/src/test/java/org/apache/camel/impl/ShutdownGracefulNoAutoStartedRoutesTest.java
Java
apache-2.0
2,028
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
camunda/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/application/impl/embedded/TestApplicationWithCustomDefaultEngine.java
Java
apache-2.0
1,393
package com.evernym.sdk.vcx.connection; import com.evernym.sdk.vcx.ErrorCode; import com.evernym.sdk.vcx.VcxException; /** * Created by abdussami on 13/06/18. */ public class InvalidInviteDetailsException extends VcxException { private static final long serialVersionUID = 3294831240096535507L; private fina...
Artemkaaas/indy-sdk
vcx/wrappers/java/src/main/java/com/evernym/sdk/vcx/connection/InvalidInviteDetailsException.java
Java
apache-2.0
497
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.protocol.jabber; import java.awt.*; import java.text.*; import net.java.sip.communicator.service.protocol.*; import net.java.sip.co...
ibauersachs/jitsi
src/net/java/sip/communicator/impl/protocol/jabber/OperationSetDesktopStreamingJabberImpl.java
Java
apache-2.0
11,924
package com.weisong.test.comm; public enum CComponentType { driver, proxy, hub, agent, endpoint }
weisong44/archived-projects
infra-mgmt-comm/core/src/main/java/com/weisong/test/comm/CComponentType.java
Java
apache-2.0
100
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.openshift.build_configs; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.u...
DariusX/camel
components/camel-kubernetes/src/generated/java/org/apache/camel/component/openshift/build_configs/OpenshiftBuildConfigsEndpointConfigurer.java
Java
apache-2.0
8,632
/* * 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...
freeVM/freeVM
enhanced/java/classlib/modules/swing/src/main/java/common/javax/swing/text/html/parser/LexerTextStateType.java
Java
apache-2.0
914
/* * 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 ...
NSAmelchev/ignite
modules/numa-allocator/src/main/java/org/apache/ignite/mem/NumaAllocator.java
Java
apache-2.0
1,844
/* * 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...
asankasanjaya/stratos
components/org.apache.stratos.tenant.activity/src/main/java/org/apache/stratos/tenant/activity/services/TenantActivityService.java
Java
apache-2.0
3,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 may...
brreitme/camel
components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsConsumer.java
Java
apache-2.0
13,051
/* * 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 ...
MikeThomsen/nifi
nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/security/authorization/database/entity/DatabaseGroup.java
Java
apache-2.0
1,290
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * 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...
psiroky/kie-wb-distributions
kie-drools-wb/kie-drools-wb-webapp/src/main/java/org/kie/workbench/drools/client/RepositoryPreferencesProducer.java
Java
apache-2.0
1,122
/* * 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 not ...
prasi-in/geode
geode-web/src/test/java/org/apache/geode/management/internal/web/controllers/support/LoginHandlerInterceptorJUnitTest.java
Java
apache-2.0
10,987
package org.apache.lucene.analysis.en; /* * 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, ...
q474818917/solr-5.2.0
lucene/analysis/common/src/test/org/apache/lucene/analysis/en/TestPorterStemFilter.java
Java
apache-2.0
3,292
/* * Copyright 2020 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless required by applicable law or agree...
gurbuzali/hazelcast-jet
extensions/elasticsearch/elasticsearch-7/src/main/java/com/hazelcast/jet/elastic/impl/ElasticCatClient.java
Java
apache-2.0
9,076
/* * 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-blogger/v2/1.29.2/com/google/api/services/blogger/model/CommentList.java
Java
apache-2.0
4,169
/* * Copyright (c) 2005-2009, 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:...
Niranjan-K/carbon-governance
components/governance/org.wso2.carbon.governance.platform.extensions/src/org/wso2/carbon/governance/platform/extensions/client/ConfigManagementClient.java
Java
apache-2.0
2,263
/* * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.xml.parsers; import javax.xml.validation.Schema; /** * Defines a factory API that enab...
shun634501730/java_source_cn
src_en/javax/xml/parsers/DocumentBuilderFactory.java
Java
apache-2.0
23,021
/* * 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 ...
prateekm/samza
samza-api/src/main/java/org/apache/samza/job/model/LocalityModel.java
Java
apache-2.0
3,081
/* * 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 ...
q474818917/solr-5.2.0
solr/contrib/clustering/src/java/org/apache/solr/handler/clustering/carrot2/package-info.java
Java
apache-2.0
1,045
/* * Copyright (c) 2008-2018, Hazelcast, 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 ...
Donnerbart/hazelcast
hazelcast-client/src/test/java/com/hazelcast/client/cluster/ClientNodeExtensionTest.java
Java
apache-2.0
4,693
// Copyright 2012 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...
ericmckean/collide
java/com/google/collide/client/ui/list/SimpleList.java
Java
apache-2.0
12,854
/* * 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 ...
cchang738/drill
exec/java-exec/src/main/java/org/apache/drill/exec/rpc/control/ControlConnectionConfig.java
Java
apache-2.0
1,871
/* * * Copyright 2016 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 ap...
irontable/genie
genie-common/src/test/java/com/netflix/genie/common/dto/search/package-info.java
Java
apache-2.0
758
/* * 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 ...
bowenli86/flink
flink-core/src/test/java/org/apache/flink/util/TemporaryClassLoaderContextTest.java
Java
apache-2.0
1,584
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
camunda/camunda-xml-model
src/main/java/org/camunda/bpm/model/xml/impl/parser/AbstractModelParser.java
Java
apache-2.0
6,817
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
tabish121/activemq-artemis
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/LargeMessageCompressTest.java
Java
apache-2.0
14,780
/* * Copyright 2017 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...
rockmkd/datacollector
basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/websocketserver/WebSocketServerPushSource.java
Java
apache-2.0
2,761
/* * Copyright 2011-2012 Alfresco Software Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Alfresco/alfresco-jive-toolkit
common-components/jiveopenclient/src/main/java/org/alfresco/jive/SpaceNotFoundException.java
Java
apache-2.0
1,204
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.ir.compiler.bytecode.expression; import gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler; import gw.internal.gosu.ir.compiler.bytecode.IRBytecodeContext; import gw.internal.gosu.ir.compiler.bytecode.IRBytecodeCompiler; import gw....
pdalbora/gosu-lang
gosu-core/src/main/java/gw/internal/gosu/ir/compiler/bytecode/expression/IRNewExpressionCompiler.java
Java
apache-2.0
1,481
/* * 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...
s1monw/elasticsearch
server/src/main/java/org/elasticsearch/action/update/UpdateRequest.java
Java
apache-2.0
30,918
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * 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...
jomarko/drools
drools-model/drools-model-compiler/src/main/java/org/drools/modelcompiler/builder/generator/declaredtype/generator/GeneratedConstructor.java
Java
apache-2.0
7,375
package com.mapswithme.maps.onboarding; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.Window; import android.widget.CheckBox; import a...
darina/omim
android/src/com/mapswithme/maps/onboarding/WelcomeDialogFragment.java
Java
apache-2.0
12,252
/* * 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...
electrum/presto
core/trino-main/src/test/java/io/trino/sql/planner/optimizations/TestPlanNodeSearcher.java
Java
apache-2.0
4,008
/* * 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...
robin13/elasticsearch
server/src/main/java/org/elasticsearch/cluster/metadata/SingleNodeShutdownMetadata.java
Java
apache-2.0
8,035
/* * 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 ...
objectiser/camel
components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileOperations.java
Java
apache-2.0
5,249
/* * 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...
freeVM/freeVM
enhanced/java/classlib/modules/misc/src/main/java/org/apache/harmony/misc/accessors/MemoryAccessor.java
Java
apache-2.0
31,675
package gov.hhs.onc.crigtt.web.context.impl; import gov.hhs.onc.crigtt.context.impl.AbstractCrigttMetadataInitializer; import gov.hhs.onc.crigtt.context.impl.CrigttApplication; import java.io.File; import java.util.Optional; import org.springframework.core.Ordered; import org.springframework.core.annotation.Order; @O...
esacinc/crigtt
crigtt-web/src/main/java/gov/hhs/onc/crigtt/web/context/impl/WebMetadataInitializer.java
Java
apache-2.0
691
/* * 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/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ExternalSystemKeymapExtension.java
Java
apache-2.0
17,033
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.ml.action; import org.apache.loggi...
GlenRSmith/elasticsearch
x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpgradeJobModelSnapshotAction.java
Java
apache-2.0
13,735
/* * Copyright 2005 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 i...
hxf0801/guvnor
guvnor-services/guvnor-services-backend/src/main/java/org/guvnor/common/services/backend/file/upload/FormData.java
Java
apache-2.0
1,421
/* * Copyright 2000-2016 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
java/java-impl/src/com/intellij/codeInsight/JavaProjectCodeInsightSettings.java
Java
apache-2.0
4,076
/* * 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...
nknize/elasticsearch
modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/CsvProcessor.java
Java
apache-2.0
5,341
// Copyright (C) 2015 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 ...
qtproject/qtqa-gerrit
java/com/google/gerrit/extensions/events/HashtagsEditedListener.java
Java
apache-2.0
1,077
/** * Copyright (c) 2017 YCSB 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 required by...
cricket007/YCSB
cloudspanner/src/main/java/com/yahoo/ycsb/db/cloudspanner/CloudSpannerClient.java
Java
apache-2.0
14,712
/* * Copyright 2014 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...
immortius/Terasology
engine/src/main/java/org/terasology/logic/console/commandSystem/MethodCommand.java
Java
apache-2.0
6,392
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/table/v1/bigtable_table_data.proto package com.google.bigtable.admin.table.v1; public interface TableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.table.v1.Table) com.google.pro...
derjust/cloud-bigtable-client
bigtable-protos/src/generated/java/protos/com/google/bigtable/admin/table/v1/TableOrBuilder.java
Java
apache-2.0
3,090
package net.sf.jsqlparser.test.select; import java.io.StringReader; import net.sf.jsqlparser.JSQLParserException; import net.sf.jsqlparser.expression.BinaryExpression; import net.sf.jsqlparser.expression.DoubleValue; import net.sf.jsqlparser.expression.Function; import net.sf.jsqlparser.expression.LongValue; i...
altsoft/PlatypusJS
platypus-js-sql-parser/src/test/java/net/sf/jsqlparser/test/select/SelectTest.java
Java
apache-2.0
50,569
/* * 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.apach...
madhawa-gunasekara/andes
modules/andes-core/broker/src/main/java/org/wso2/andes/server/store/StoredMemoryMessage.java
Java
apache-2.0
2,714
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.ilm; import org.apache.logging.log...
ern/elasticsearch
x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/ilm/IndexLifecycleRunner.java
Java
apache-2.0
27,118
package org.jglfont.impl.format; import org.jglfont.JGLFontException; import org.jglfont.spi.JGLFontRenderer; import org.jglfont.spi.ResourceLoader; import java.io.IOException; import java.util.Map; /** * User: iamtakingiteasy * Date: 2013-12-28 * Time: 22:37 */ public class JGLBitmapFontData extends JGLAbstract...
Ryszard-Trojnacki/nifty-gui
nifty-core/src/main/java/org/jglfont/impl/format/JGLBitmapFontData.java
Java
bsd-2-clause
2,156
package org.jcodec.containers.mkv; import static java.lang.Long.toHexString; import static org.jcodec.containers.mkv.util.EbmlUtil.toHexString; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.Arrays; import java.util.Collection...
minseonahn/jcodec
src/main/java/org/jcodec/containers/mkv/MKVType.java
Java
bsd-2-clause
43,738
// Copyright (c) 2014 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; import java.io.BufferedReader; import java.io.FileReader; import java.lang.System; import org.apache.cordova.CallbackContext; ...
JussMee15/cordova-plugin-chrome-apps-system-cpu
src/android/ChromeSystemCpu.java
Java
bsd-3-clause
4,804
/* * Copyright 2010, Mahmood Ali. * 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 list of condi...
kmadel/java-apns
src/main/java/com/notnoop/apns/EnhancedApnsNotification.java
Java
bsd-3-clause
5,945
/** * Copyright (c) 2014, * Charles Prud'homme (TASC, INRIA Rennes, LINA CNRS UMR 6241), * Jean-Guillaume Fages (COSLING S.A.S.). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:...
PhilAndrew/choco3gwt
choco-solver/src/main/java/org/chocosolver/util/ESat.java
Java
bsd-3-clause
2,215
// Copyright (c) 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.test.util; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * A helper ...
junmin-zhu/chromium-rivertrail
content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java
Java
bsd-3-clause
3,904
package org.jsoup.parser; import org.junit.Test; import static org.junit.Assert.*; /** * Test suite for character reader. * * @author Jonathan Hedley, jonathan@hedley.net */ public class CharacterReaderTest { @Test public void consume() { CharacterReader r = new CharacterReader("one"); asser...
amikey/jsoup-learning
src/test/java/org/jsoup/parser/CharacterReaderTest.java
Java
mit
7,193
package classes.demo; import java.io.*; import java.util.*; import java.util.zip.*; public class GzipDemo { static final int CHUNK_SIZE = 512; // number of bytes to decompress at a time static byte[] fileToByteArray(String filename) throws IOException { File file = new File(filename); ...
bpowers/doppio
classes/demo/GzipDemo.java
Java
mit
1,788
package io.jxm; import jxm.Callback; import jxm.Client; import jxm.ClientEvents; import jxm.LogLevel; public class Main { public static void main(String[] args) { ClientEvents events = new ClientEvents() { @Override public void OnConnect(Client c) { System.out.println("Connected"); final Client cl...
brunobg/jxm
samples/Client/Java/Channels/Client-side-subscription/src/io/jxm/Main.java
Java
mit
1,753
/******************************************************************************* * Copyright (c) 2014 Salesforce.com, inc.. * 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 availab...
PatrickSHYee/idecore
com.salesforce.ide.core.test/src/com/salesforce/ide/test/common/BaseTestCase.java
Java
epl-1.0
2,262
/** * Copyright (c) 2010-2019 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 */...
watou/openhab
bundles/binding/org.openhab.binding.lcn/src/main/java/org/openhab/binding/lcn/mappingtarget/VarAbs.java
Java
epl-1.0
12,254
/** * 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....
computergeek1507/openhab
bundles/binding/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm1/internal/DSCAlarmGenericBindingProvider.java
Java
epl-1.0
4,878
/** * Copyright (c) 2010-2019 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.ht...
idserda/openhab
bundles/binding/org.openhab.binding.xbmc/src/main/java/org/openhab/binding/xbmc/rpc/calls/SystemHibernate.java
Java
epl-1.0
1,068
/******************************************************************************* * Copyright (c) 2012-2015 Codenvy, S.A. * 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 ...
Ori-Libhaber/che-core
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/action/IdeActions.java
Java
epl-1.0
2,013
/* * Copyright (c) 2014, 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...
isaacl/openjdk-jdk
test/java/awt/datatransfer/DataFlavor/DataFlavorEqualsTest.java
Java
gpl-2.0
2,027
/* * 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 ...
martingwhite/astor
examples/math_50v2/src/test/java/org/apache/commons/math/random/Well1024aTest.java
Java
gpl-2.0
5,699
/** * Copyright (C) 2013, 2014 Johannes Taelman * * This file is part of Axoloti. * * Axoloti 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 lat...
norbim1/axoloti
src/main/java/axoloti/dialogs/PatchSettingsFrame.java
Java
gpl-3.0
25,406
package org.jeecgframework.core.common.hibernate.dialect; public class OracleDialect extends Dialect { public boolean supportsLimit() { return true; } public boolean supportsLimitOffset() { return true; } public String getLimitString(String sql, int offset, String offsetPlaceholder, int limit,...
hairongwang/R_BOD
src/main/java/org/jeecgframework/core/common/hibernate/dialect/OracleDialect.java
Java
gpl-3.0
1,244
/** * Copyright (c) 2007 Borland Software Corporation * * 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 * * Contribut...
mikesligo/visGrid
ie.tcd.gmf.visGrid.plugin/src/org/eclipse/gmf/runtime/lite/edit/parts/labels/ILabelController.java
Java
gpl-3.0
1,766
/******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, an...
Niky4000/UsefulUtils
projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/ast/LabeledStatement.java
Java
gpl-3.0
3,955
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, Inc. * * 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, eithe...
mukadder/kc
coeus-impl/src/main/java/org/kuali/coeus/sys/framework/controller/interceptor/SessionExpiredFilter.java
Java
agpl-3.0
2,046
/* * JBoss, Home of Professional Open Source. * Copyright 2019, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
jstourac/wildfly
microprofile/fault-tolerance-smallrye/extension/src/main/java/org/wildfly/extension/microprofile/faulttolerance/deployment/MicroProfileFaultToleranceMarker.java
Java
lgpl-2.1
3,066
/* * XMLViewer.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or ...
4ment/beast-mcmc
src/dr/app/bfe/XMLViewer.java
Java
lgpl-2.1
6,265
/* * 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...
galaxynut/aws-sdk-java
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/DocumentLimitExceededException.java
Java
apache-2.0
1,199
// Copyright 2015 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...
juhalindfors/bazel-patches
src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibraryAarProvider.java
Java
apache-2.0
2,125
/* 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...
lsmall/flowable-engine
modules/flowable-cmmn-rest/src/main/java/org/flowable/cmmn/rest/service/api/runtime/task/TaskSubTaskCollectionResource.java
Java
apache-2.0
2,128
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInspection; import com.intellij.openapi.application.ApplicationStarter; import org.jetbrains.annotations.NotNull; import java.util.Lis...
siosio/intellij-community
platform/inspect/src/com/intellij/codeInspection/InspectionMain.java
Java
apache-2.0
3,604
/* * 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...
hanst/elasticsearch
src/main/java/org/elasticsearch/search/aggregations/bucket/significant/InternalSignificantTerms.java
Java
apache-2.0
8,033
/** * 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...
songweijia/fffs
sources/hadoop-2.4.1-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestClientProtocolWithDelegationToken.java
Java
apache-2.0
4,783
package com.google.bitcoin.bouncycastle.crypto.digests; import com.google.bitcoin.bouncycastle.crypto.digests.GeneralDigest; import com.google.bitcoin.bouncycastle.crypto.util.Pack; /** * SHA-224 as described in RFC 3874 * <pre> * block word digest * SHA-1 512 32 160 * SHA-224 512 32 22...
bitcoin-labs/bitcoinj
src/com/google/bitcoin/bouncycastle/crypto/digests/SHA224Digest.java
Java
apache-2.0
7,003
/** * * 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"); ...
mahak/hbase
hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java
Java
apache-2.0
32,533
/* * 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 ...
dashorst/wicket
wicket-jmx/src/main/java/org/apache/wicket/jmx/Initializer.java
Java
apache-2.0
9,681
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015 */ package mqtt; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Future; import com.ibm.streamsx.topology.TStream; import com.ibm.streamsx.topology.Topology; im...
IBMStreams/streamsx.topology
samples/java/functional/src/mqtt/MqttSample.java
Java
apache-2.0
9,409
package org.zstack.test.console; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.zstack.console.ConsoleGlobalConfig; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.he...
zstackorg/zstack
test/src/test/java/org/zstack/test/console/TestConsoleProxy6.java
Java
apache-2.0
3,136
/* * 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 ...
objectiser/camel
components/camel-aws-kinesis/src/test/java/org/apache/camel/component/aws/firehose/integration/KinesisFirehoseComponentIntegrationTest.java
Java
apache-2.0
2,375
/* * 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...
coding0011/elasticsearch
server/src/test/java/org/elasticsearch/cluster/metadata/MetaDataTests.java
Java
apache-2.0
47,887
/* * 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 ...
wanglan/calcite
core/src/test/java/org/apache/calcite/sql/test/SqlAdvisorTest.java
Java
apache-2.0
39,773
/* * 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 ...
ueshin/apache-flink
flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/LocalTaskManagerLocation.java
Java
apache-2.0
1,269
/* * 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 ...
stillalex/jackrabbit-oak
oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/query/QueryUtil.java
Java
apache-2.0
4,425
/** * 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...
mahak/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/client/RestoreSnapshotFromClientCloneTestBase.java
Java
apache-2.0
2,800