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 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
liveqmock/platform-tools-idea
platform/indexing-impl/src/com/intellij/openapi/module/impl/scopes/LibraryRuntimeClasspathScope.java
Java
apache-2.0
6,421
/** * Copyright (C) 2013-2014 EaseMob Technologies. 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 * Unles...
cf0566/CarMarket
src/com/easemob/chatuidemo/widget/photoview/ScrollerProxy.java
Java
apache-2.0
3,945
/* * 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 ...
implydata/druid
sql/src/main/java/org/apache/druid/sql/calcite/expression/builtin/LikeOperatorConversion.java
Java
apache-2.0
3,331
/* * Copyright (C) 2015 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...
DavesMan/guava
guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java
Java
apache-2.0
1,706
/* * 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 * "Licen...
ankitsinghal/phoenix
phoenix-pherf/src/main/java/org/apache/phoenix/pherf/rules/SequentialIntegerDataGenerator.java
Java
apache-2.0
2,431
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.common.action.VdcActionParametersBase; public abstract class ConfigCommandBase<T extends VdcActionParametersBase> extends CommandBase<T> { protected ConfigCommandBase(T parameters) { super(parameters); } }
Dhandapani/gluster-ovirt
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ConfigCommandBase.java
Java
apache-2.0
288
/* * 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 ...
christophd/camel
components/camel-infinispan/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteConfigurationIT.java
Java
apache-2.0
4,826
// 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...
damienmg/bazel
src/test/java/com/google/devtools/build/lib/profiler/ProfilerTest.java
Java
apache-2.0
19,092
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.runtimefields.query; import org.apache.lucen...
nknize/elasticsearch
x-pack/plugin/runtime-fields/src/main/java/org/elasticsearch/xpack/runtimefields/query/StringScriptFieldRangeQuery.java
Java
apache-2.0
3,629
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
distro/wildfly8/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Java
apache-2.0
5,340
/* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Inc. * Copyright 2010, Real-Time Innovations, 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...
steveturner/datadistrib4j
srcJava/org/omg/dds/type/typeobject/UnionType.java
Java
apache-2.0
1,765
package alien4cloud.tosca.parser.postprocess; import static alien4cloud.utils.AlienUtils.safe; import javax.annotation.Resource; import org.alien4cloud.tosca.model.types.NodeType; import org.springframework.stereotype.Component; /** * Post process a node type. */ @Component public class NodeTypePostProcessor impl...
alien4cloud/alien4cloud
alien4cloud-tosca/src/main/java/alien4cloud/tosca/parser/postprocess/NodeTypePostProcessor.java
Java
apache-2.0
784
/* * Copyright 2021 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 in w...
emeroad/pinpoint
profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/config/DefaultPluginLoadingConfig.java
Java
apache-2.0
2,527
package org.jaudiotagger.audio.mp4; import org.jaudiotagger.audio.generic.GenericAudioHeader; import org.jaudiotagger.audio.mp4.atom.Mp4EsdsBox; /** * Store some additional attributes not available for all audio types */ public class Mp4AudioHeader extends GenericAudioHeader { /** * The key for the kind fi...
dubenju/javay
src/java/org/jaudiotagger/audio/mp4/Mp4AudioHeader.java
Java
apache-2.0
1,542
/* * Copyright 2016 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...
VibyJocke/gocd
common/src/com/thoughtworks/go/serverhealth/HealthStateScope.java
Java
apache-2.0
9,950
/* * 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 app...
porcelli-forks/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-marshalling/src/test/java/org/kie/workbench/common/stunner/bpmn/client/marshall/converters/customproperties/AssociationListTest.java
Java
apache-2.0
1,713
/* * Copyright 2008-2013 LinkedIn, 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...
HB-SI/voldemort
src/java/voldemort/cluster/Cluster.java
Java
apache-2.0
13,745
/** * 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 applicabl...
Deepnekroz/kaa
server/common/nosql/cassandra-dao/src/test/java/org/kaaproject/kaa/server/common/nosql/cassandra/dao/model/CassandraEndpointUserTest.java
Java
apache-2.0
999
/* * 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...
qwerty4030/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/bucket/composite/CompositeValuesComparator.java
Java
apache-2.0
5,333
/* * 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 ...
syzer/incubator-tamaya
modules/events/src/test/java/org/apache/tamaya/events/TestConfigView.java
Java
apache-2.0
4,643
/* * 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 ...
StephanEwen/incubator-flink
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/aggfunctions/AvgAggFunction.java
Java
apache-2.0
7,723
/* * 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 ...
mehant/incubator-calcite
core/src/main/java/org/apache/calcite/rel/convert/package-info.java
Java
apache-2.0
964
/*Copyright (C) 2012 Longerian (http://www.longerian.me) 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...
longerian/RC4A
src/org/rubychina/android/GlobalResource.java
Java
apache-2.0
1,797
/* * Copyright 2011 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 ...
psiroky/kie-wb-common
kie-wb-common-widgets/kie-wb-common-ui/src/main/java/org/kie/workbench/common/widgets/client/widget/PercentageCalculator.java
Java
apache-2.0
979
/* * Copyright 2015 DuraSpace, 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...
ruebot/fcrepo4
fcrepo-http-api/src/main/java/org/fcrepo/http/api/FedoraHttpConfiguration.java
Java
apache-2.0
1,125
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
paplorinc/intellij-community
xml/dom-openapi/src/com/intellij/util/xml/highlighting/DomElementAnnotationHolder.java
Java
apache-2.0
2,866
package com.mapswithme.maps.purchase; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import...
matsprea/omim
android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java
Java
apache-2.0
13,042
/* * Copyright 2010-2013 Coda Hale and Yammer, Inc., 2014-2017 Dropwizard Team * * 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 * *...
networknt/light-4j
metrics/src/test/java/io/dropwizard/metrics/SlidingWindowReservoirTest.java
Java
apache-2.0
1,479
/* * Copyright (c) 2008-2017, 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 ...
juanavelez/hazelcast
hazelcast/src/test/java/com/hazelcast/concurrent/atomicreference/AtomicReferenceInstanceSharingTest.java
Java
apache-2.0
2,990
/* * 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-directory/src/main/java/com/amazonaws/services/directory/model/transform/CreateConditionalForwarderResultJsonUnmarshaller.java
Java
apache-2.0
1,808
/* * Copyright 2020 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...
ketan/gocd
server/src/main/java/com/thoughtworks/go/server/controller/actions/JsonAction.java
Java
apache-2.0
4,901
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
ThiagoGarciaAlves/intellij-community
xml/dom-impl/src/com/intellij/util/xml/impl/DomManagerImpl.java
Java
apache-2.0
17,979
/* * Copyright 2021 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
stianst/keycloak
quarkus/runtime/src/main/java/org/keycloak/quarkus/runtime/storage/database/liquibase/QuarkusLiquibaseConnectionProvider.java
Java
apache-2.0
5,267
package org.apereo.cas.web.flow.actions; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.authentication.principal.ResponseBuilderLocator; import org.apereo.cas.authentication.principal.WebApplicationService; import org.apereo.cas.authentication.principal.WebApplicationServiceRes...
robertoschwald/cas
core/cas-server-core-webflow/src/test/java/org/apereo/cas/web/flow/actions/RedirectToServiceActionTests.java
Java
apache-2.0
2,947
package org.camunda.bpm.engine.rest.wink; import org.camunda.bpm.engine.rest.AbstractMessageRestServiceTest; import org.camunda.bpm.engine.rest.util.WinkTomcatServerBootstrap; import org.junit.AfterClass; import org.junit.BeforeClass; public class MessageRestServiceTest extends AbstractMessageRestServiceTest { pro...
tkaefer/camunda-bpm-platform
engine-rest/src/test/java/org/camunda/bpm/engine/rest/wink/MessageRestServiceTest.java
Java
apache-2.0
629
/* * JBoss, Home of Professional Open Source * Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
jboss-developer/jboss-wfk-quickstarts
deltaspike-partialbean-basic/src/main/java/org/jboss/as/quickstart/deltaspike/partialbean/ExamplePartialBeanImplementation.java
Java
apache-2.0
1,876
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
jmartisk/hibernate-validator
engine/src/main/java/org/hibernate/validator/cfg/defs/EmailDef.java
Java
apache-2.0
1,337
/* * Copyright (c) 2010. All rights reserved. */ package ro.isdc.wro.model.resource.processor; import static org.junit.Assert.assertEquals; import java.io.File; import java.net.URL; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import ro.isdc.wro.config...
UAK-35/wro4j
wro4j-core/src/test/java/ro/isdc/wro/model/resource/processor/TestConformColorsCssProcessor.java
Java
apache-2.0
1,512
/* * Copyright (c) 2015, 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.a...
dakshika/product-mss
samples/petstore/frontend-util/src/main/java/org/wso2/carbon/mss/examples/petstore/util/fe/view/NavigationBean.java
Java
apache-2.0
1,401
/* * Copyright (c) 2017, 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.org/li...
darshanasbg/identity-inbound-auth-oauth
components/org.wso2.carbon.identity.oauth/src/test/java/org/wso2/carbon/identity/oauth2/validators/OAuth2TokenValidationMessageContextTest.java
Java
apache-2.0
2,398
/* Copyright 2011-2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
chubbymaggie/binnavi
src/main/java/com/google/security/zynamics/binnavi/disassembly/INaviEdgeListener.java
Java
apache-2.0
1,248
package com.bazaarvoice.emodb.common.dropwizard.leader; import com.bazaarvoice.curator.recipes.leader.LeaderService; import com.bazaarvoice.emodb.common.dropwizard.task.TaskRegistry; import com.bazaarvoice.emodb.common.zookeeper.leader.PartitionedLeaderService; import com.google.common.collect.ImmutableMultimap; impor...
billkalter/emodb
common/dropwizard/src/main/java/com/bazaarvoice/emodb/common/dropwizard/leader/LeaderServiceTask.java
Java
apache-2.0
5,047
package org.elasticsearch.action.get; import com.bazaarvoice.elasticsearch.client.core.spi.RestExecutor; import com.bazaarvoice.elasticsearch.client.core.spi.RestResponse; import com.bazaarvoice.elasticsearch.client.core.util.UrlBuilder; import org.elasticsearch.action.AbstractRestClientAction; import org.elasticsearc...
bazaarvoice/es-client-java
es-rest-client-1.3/core/src/main/java/org/elasticsearch/action/get/GetRest.java
Java
apache-2.0
2,328
/* * 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 ...
benmccann/pdfbox
tools/src/main/java/org/apache/pdfbox/tools/TextToPDF.java
Java
apache-2.0
11,926
/* * Copyright 2012 International Business Machines Corp. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You ...
sidgoyal/standards.jsr352.jbatch
javax.batch/src/main/java/javax/batch/api/chunk/listener/AbstractItemWriteListener.java
Java
apache-2.0
2,264
/* * #%L * SparkCommerce Framework Web * %% * Copyright (C) 2009 - 2013 Spark Commerce * %% * 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/L...
akdasari/SparkIntegration
src/test/java/org/sparkcommerce/core/payment/service/NullPaymentGatewayConfigurationImpl.java
Java
apache-2.0
3,194
package org.zstack.sdk.zwatch.thirdparty.api; public class QueryThirdpartyAlertResult { public java.util.List inventories; public void setInventories(java.util.List inventories) { this.inventories = inventories; } public java.util.List getInventories() { return this.inventories; }...
zstackorg/zstack
sdk/src/main/java/org/zstack/sdk/zwatch/thirdparty/api/QueryThirdpartyAlertResult.java
Java
apache-2.0
513
/* * 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...
dpursehouse/elasticsearch
core/src/test/java/org/elasticsearch/discovery/zen/publish/PublishClusterStateActionTests.java
Java
apache-2.0
44,836
package com.orientechnologies.orient.core.index; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import com.orientechnologies.common.collection.OCompositeKey; import com....
nengxu/OrientDB
core/src/test/java/com/orientechnologies/orient/core/index/OSimpleKeyIndexDefinitionTest.java
Java
apache-2.0
4,965
/* * Copyright 2000-2010 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...
IllusionRom-deprecated/android_platform_tools_idea
plugins/ant/src/com/intellij/lang/ant/refactoring/AntRenameHandler.java
Java
apache-2.0
3,289
/* * Copyright 2011 Christopher Pheby * * 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 applica...
JadiraOrg/jadira
bindings/src/main/java/org/jadira/bindings/core/binder/RegisterableBinder.java
Java
apache-2.0
8,392
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.plugin.ij.intentions; import com.intellij.codeInsight.CodeInsightUtilBase; import com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import com.int...
pdalbora/gosu-lang
idea-gosu-plugin/src/main/java/gw/plugin/ij/intentions/WhileToForFix.java
Java
apache-2.0
4,712
/* * 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 ...
jgrivolla/uima-addons
RegularExpressionAnnotator/src/main/java/org/apache/uima/annotator/regex/RegexVariables.java
Java
apache-2.0
1,870
/* * 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...
wwjiang007/alluxio
core/client/fs/src/main/java/alluxio/client/block/stream/DefaultBlockWorkerClient.java
Java
apache-2.0
9,174
/* * Copyright (c) 2005-2010 Grameen Foundation USA * 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 * * Unl...
vorburger/mifos-head
acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/loan/CreateLoanAccountSearchParameters.java
Java
apache-2.0
1,290
/* * Copyright 2014 Realm 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 wr...
ShikaSD/realm-java
realm/realm-library/src/androidTest/java/io/realm/internal/test/CodeGenTest.java
Java
apache-2.0
901
/* * $Id: WrapperClassBean.java 799110 2009-07-29 22:44:26Z musachy $ * * 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 ...
WillJiang/WillJiang
src/plugins/json/src/test/java/org/apache/struts2/json/WrapperClassBean.java
Java
apache-2.0
4,821
package alien4cloud.tosca.parser.mapping.generator; import java.io.IOException; import java.util.AbstractMap; import java.util.Map; import javax.annotation.PostConstruct; import javax.annotation.Resource; import lombok.extern.slf4j.Slf4j; import org.springframework.context.ApplicationContext; import org.springframe...
loicalbertin/alien4cloud
alien4cloud-core/src/main/java/alien4cloud/tosca/parser/mapping/generator/MappingGenerator.java
Java
apache-2.0
12,944
/* * 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 ...
foryou2030/incubator-carbondata
core/src/test/java/org/apache/carbondata/core/writer/sortindex/CarbonDictionarySortIndexWriterImplTest.java
Java
apache-2.0
6,533
/** * Copyright (C) 2015 Born Informatik AG (www.born.ch) * * 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...
bbrehman/wte4j
wte4j-core/src/main/java/org/wte4j/impl/service/MapperSqlType.java
Java
apache-2.0
2,743
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
yrcourage/netty
handler/src/main/java/io/netty/handler/ssl/OpenSsl.java
Java
apache-2.0
11,625
/** * * Copyright 2017 Paul Schaub, 2020 Florian Schmaus * * 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...
igniterealtime/Smack
smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/OmemoManager.java
Java
apache-2.0
49,782
/* * Copyright 2020 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 applica...
AndroidX/androidx
vectordrawable/integration-tests/testapp/src/main/java/com/example/android/support/vectordrawable/app/SeekableDemo.java
Java
apache-2.0
4,134
/* * 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/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialExceptionTest.java
Java
apache-2.0
1,516
/* * Copyright 2020 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...
arvindsv/gocd
common/src/main/java/com/thoughtworks/go/domain/materials/scm/PluggableSCMMaterialAgent.java
Java
apache-2.0
4,585
/** * Copyright (c) 2010 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 applic...
sunmeng007/oozie
core/src/main/java/org/apache/oozie/service/ActionCheckerService.java
Java
apache-2.0
9,013
package com.google.api.ads.dfp.jaxws.v201508; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * * The content partner related validation errors. * ...
shyTNT/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201508/ContentPartnerError.java
Java
apache-2.0
1,711
/** * Copyright 2017 LinkedIn Corp. 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 applica...
xiahome/ambry
ambry-store/src/main/java/com.github.ambry.store/ScanResults.java
Java
apache-2.0
10,385
/* * 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 ...
mafulafunk/wicket
wicket-core/src/main/java/org/apache/wicket/application/ReloadingClassLoader.java
Java
apache-2.0
9,526
package jadx.tests.integration.conditions; import org.junit.jupiter.api.Test; import jadx.tests.api.SmaliTest; import static jadx.tests.api.utils.assertj.JadxAssertions.assertThat; @SuppressWarnings("CommentedOutCode") public class TestTernary4 extends SmaliTest { // @formatter:off /* private Set test(HashMap<...
skylot/jadx
jadx-core/src/test/java/jadx/tests/integration/conditions/TestTernary4.java
Java
apache-2.0
944
package jadx.tests.integration.debuginfo; import org.junit.jupiter.api.Test; import jadx.core.dex.nodes.ClassNode; import jadx.tests.api.SmaliTest; import static jadx.tests.api.utils.JadxMatchers.containsOne; import static org.hamcrest.MatcherAssert.assertThat; public class TestVariablesNames extends SmaliTest { /...
skylot/jadx
jadx-core/src/test/java/jadx/tests/integration/debuginfo/TestVariablesNames.java
Java
apache-2.0
1,206
package com.cardshifter.gdx.screens; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.*; i...
Cardshifter/Cardshifter
gdx/core/src/com/cardshifter/gdx/screens/GameScreen.java
Java
apache-2.0
17,117
/* * 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...
jk1/intellij-community
python/src/com/jetbrains/python/inspections/quickfix/AddFieldQuickFix.java
Java
apache-2.0
10,326
/* * Copyright 2018 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 applica...
AndroidX/androidx
emoji/emoji/src/androidTest/java/androidx/emoji/text/MetadataRepoTest.java
Java
apache-2.0
3,654
/* * Copyright 2009 Martin Grotzke * * 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 ...
zhangwei5095/memcached-session-manager
core/src/test/java/de/javakaffee/web/msm/RequestTrackingHostValveTest.java
Java
apache-2.0
7,744
/* * 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 ...
ty1er/incubator-asterixdb
hyracks-fullstack/algebricks/algebricks-rewriter/src/main/java/org/apache/hyracks/algebricks/rewriter/rules/subplan/IntroduceGroupByForSubplanRule.java
Java
apache-2.0
15,726
/** * Copyright 2009 - 2011 Sergio Bossa (sergio.bossa@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 * * ...
byzhang/terrastore
src/main/java/terrastore/store/features/Update.java
Java
apache-2.0
3,088
/* * Copyright 2012, Google 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 copyright * notice, this list of conditio...
4455jkjh/apktool
dexlib2/src/main/java/org/jf/dexlib2/writer/pool/StringPool.java
Java
apache-2.0
2,633
/* * 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.inference.allocation; import o...
ern/elasticsearch
x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/inference/allocation/TrainedModelAllocationClusterServiceTests.java
Java
apache-2.0
40,420
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2022 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...
project-ncl/pnc
indy-repository-manager/src/test/java/org/jboss/pnc/indyrepositorymanager/ExcludeInternalRepoByRegexTest.java
Java
apache-2.0
6,538
/* * Copyright (c) 2010-2014 Evolveum * * 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...
gureronder/midpoint
testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapComplex.java
Java
apache-2.0
12,396
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/impl/services/cache/GfxdConcurrentCache.java
Java
apache-2.0
6,422
/* * 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 ...
internetarchive/pig
test/org/apache/pig/test/TestRegisteredJarVisibility.java
Java
apache-2.0
6,888
package com.kodcu.service.extension.chart; import com.kodcu.controller.ApplicationController; import com.kodcu.other.Current; import com.kodcu.service.ThreadService; import javafx.scene.chart.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * Crea...
gastaldi/AsciidocFX
src/main/java/com/kodcu/service/extension/chart/AreaChartBuilderService.java
Java
apache-2.0
1,187
package com.taobao.zeus.broadcast.alarm; import java.net.InetAddress; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.NoSuchProviderException; im...
wwzhe/dataworks-zeus
schedule/src/main/java/com/taobao/zeus/broadcast/alarm/MailAlarm.java
Java
apache-2.0
4,315
/** * 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...
igor-sfdc/felix
tooling/features-maven-plugin/src/test/java/org/apache/felix/karaf/tooling/features/GenerateFeaturesXmlMojoTest.java
Java
apache-2.0
1,613
/** * Copyright 2015 IBM 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 in wr...
ibmkendrick/phonebookdemo-v2
src/main/java/com/ibmcloud/contest/phonebook/BadRequestException.java
Java
apache-2.0
1,011
package org.zstack.sdk.zwatch.monitorgroup.api; import org.zstack.sdk.zwatch.monitorgroup.entity.MonitorTemplateInventory; public class CreateMonitorTemplateResult { public MonitorTemplateInventory inventory; public void setInventory(MonitorTemplateInventory inventory) { this.inventory = inventory; ...
zstackorg/zstack
sdk/src/main/java/org/zstack/sdk/zwatch/monitorgroup/api/CreateMonitorTemplateResult.java
Java
apache-2.0
417
/*- * Copyright (C) 2007 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 ap...
google/google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/Uri.java
Java
apache-2.0
65,026
/* * 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 ...
pivotal-amurmann/geode
geode-core/src/main/java/org/apache/geode/distributed/internal/membership/MemberServices.java
Java
apache-2.0
3,644
/* * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr. * * This file is part of the SeaGlass Pluggable Look and Feel. * * 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 * * ...
khuxtable/seaglass
src/main/java/com/seaglasslookandfeel/ui/SeaGlassTextPaneUI.java
Java
apache-2.0
6,509
/** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com - http://twitter.com/hoteia - contact@h...
eric-stanley/qalingo-engine
apis/api-core/api-core-common/src/main/java/org/hoteia/qalingo/core/service/pojo/CustomerPojoService.java
Java
apache-2.0
3,861
/* 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...
roberthafner/flowable-engine
modules/flowable-engine/src/main/java/org/activiti/engine/impl/context/ExecutionContext.java
Java
apache-2.0
1,626
package nak.liblinear; import static nak.liblinear.Linear.info; /** * Trust Region Newton Method optimization */ class Tron { private final Function fun_obj; private final double eps; private final int max_iter; public Tron( final Function fun_obj ) { this(fun_obj, 0.1); } ...
scalanlp/nak
src/main/java/nak/liblinear/Tron.java
Java
apache-2.0
7,591
/* * 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...
paplorinc/intellij-community
xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlTagValueImpl.java
Java
apache-2.0
5,970
/* * 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/syncope
core/spring/src/main/java/org/apache/syncope/core/spring/security/AuthDataAccessor.java
Java
apache-2.0
23,971
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
tests/core/src/main/java/admin/keepalive/TestPrms.java
Java
apache-2.0
1,450
/* $Id$ * * 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")...
OBIGOGIT/etch
binding-java/runtime/src/main/java/org/apache/etch/bindings/java/msg/ValueFactory.java
Java
apache-2.0
5,950
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2014 - 2017 Board of Regents of the University of * Wisconsin-Madison, University of Konstanz and Brian Northan. * %% * Redistribution and use in source and binary forms, with or without * modification, are permi...
gab1one/imagej-ops
src/main/java/net/imagej/ops/create/img/CreateImgFromInterval.java
Java
bsd-2-clause
2,532
package org.hisp.dhis.system.filter; /* * Copyright (c) 2004-2015, University of Oslo * 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 th...
steffeli/inf5750-tracker-capture
dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/filter/AggregatableDataElementFilter.java
Java
bsd-3-clause
2,620