repo_id stringclasses 875
values | size int64 974 38.9k | file_path stringlengths 10 308 | content stringlengths 974 38.9k |
|---|---|---|---|
apache/iotdb | 1,093 | iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/processor/twostage/state/State.java | /*
* 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/jena | 1,106 | jena-tdb2/src/test/java/org/apache/jena/tdb2/store/tupletable/TS_TupleTable.java | /*
* 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/jena | 1,119 | jena-tdb2/src/test/java/org/apache/jena/tdb2/setup/TS_TDBSetup.java | /*
* 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/jena | 1,124 | jena-arq/src/test/java/org/apache/jena/atlas/json/TS_JSON.java | /*
* 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/juneau | 1,107 | juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/matcher/package-info.java | /***************************************************************************************************************************
* 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 copyr... |
apache/kafka | 1,109 | clients/src/main/java/org/apache/kafka/common/errors/AuthorizationException.java | /*
* 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... |
apache/kafka | 1,122 | clients/src/main/java/org/apache/kafka/common/config/Config.java | /*
* 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... |
apache/maven-archetype | 1,088 | archetype-common/src/main/java/org/apache/maven/archetype/ArchetypeGenerationResult.java | /*
* 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/maven-resolver | 1,052 | maven-resolver-transport-jdk-parent/maven-resolver-transport-jdk-8/src/main/java/org/eclipse/aether/transport/jdk/package-info.java | // CHECKSTYLE_OFF: RegexpHeader
/*
* 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, Vers... |
apache/maven | 1,107 | impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/package-info.java | /*
* 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/metron | 1,076 | metron-platform/metron-writer/metron-writer-storm/src/main/java/org/apache/metron/writer/hdfs/SyncPolicyCreator.java | /**
* 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/metron | 1,077 | metron-platform/metron-data-management/src/main/java/org/apache/metron/dataloads/bulk/StartDateException.java | /**
* 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/mina-sshd | 1,102 | sshd-core/src/main/java/org/apache/sshd/client/session/ClientSessionHolder.java | /*
* 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 ma... |
apache/mina-sshd | 1,102 | sshd-core/src/main/java/org/apache/sshd/server/session/ServerSessionHolder.java | /*
* 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 ma... |
apache/myfaces | 1,098 | impl/src/main/java/org/apache/myfaces/config/element/facelets/FaceletConverterTag.java | /*
* 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/myfaces | 1,098 | impl/src/main/java/org/apache/myfaces/config/element/facelets/FaceletValidatorTag.java | /*
* 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/nifi | 1,056 | minifi/minifi-toolkit/minifi-toolkit-configuration/src/main/java/org/apache/nifi/minifi/toolkit/configuration/PathInputStreamFactory.java | /*
* 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/olingo-odata4 | 1,088 | lib/server-api/src/main/java/org/apache/olingo/server/api/serializer/SerializerResult.java | /*
* 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 ma... |
apache/ozhera | 1,058 | trace-etl/trace-etl-extensions/trace-etl-kafka-extension/src/main/java/org/apache/ozhera/trace/etl/extension/kafka/VpcType.java | /*
* 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/ozhera | 1,090 | ozhera-monitor/ozhera-monitor-service/src/main/java/org/apache/ozhera/monitor/bo/UserInfo.java | /*
* 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/pig | 1,129 | src/org/apache/pig/scripting/groovy/OutputSchemaFunction.java | /*
* 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 ma... |
apache/plc4x | 1,106 | plc4j/drivers/opcua/src/test/java/org/apache/plc4x/java/opcua/OpcuaDriverIT.java | /*
* 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/poi | 1,135 | poi/src/main/java/org/apache/poi/poifs/dev/package-info.java | /* ====================================================================
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 Y... |
apache/polaris | 1,098 | persistence/nosql/idgen/spi/src/main/java/org/apache/polaris/ids/spi/IdGeneratorSource.java | /*
* 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/rocketmq-clients | 1,096 | java/client/src/main/java/org/apache/rocketmq/client/java/hook/Attribute.java | /*
* 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/rocketmq-streams | 1,089 | core/src/main/java/org/apache/rocketmq/streams/core/serialization/KeyValueDeserializer.java | /*
* 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/rocketmq | 1,098 | common/src/main/java/org/apache/rocketmq/common/config/ConfigManagerVersion.java | /*
* 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/servicecomb-fence | 1,078 | common/common-authentication-client/src/main/java/org/apache/servicecomb/fence/resource/AuthFilter.java | /*
* 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/sis | 1,097 | optional/src/org.apache.sis.storage.gdal/main/org/apache/sis/storage/panama/Resources_en.java | /*
* 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/skywalking-java | 1,059 | apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/jvm/memorypool/MemoryPoolMetricsAccessor.java | /*
* 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/skywalking | 1,035 | oap-server/server-cluster-plugin/cluster-zookeeper-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/zookeeper/NodeNameBuilder.java | /*
* 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/spark-kubernetes-operator | 1,087 | spark-operator-api/src/main/java/org/apache/spark/k8s/operator/SparkClusterList.java | /*
* 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/stanbol | 1,082 | reasoners/servicesapi/src/main/java/org/apache/stanbol/reasoners/servicesapi/UnsupportedTaskException.java | /*
* 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/storm | 1,108 | storm-client/src/jvm/org/apache/storm/streams/operations/mappers/TupleValueMapper.java | /**
* 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 ... |
apache/storm | 1,124 | storm-client/src/jvm/org/apache/storm/trident/operation/Aggregator.java | /**
* 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 ... |
apache/streampipes | 1,092 | streampipes-model/src/main/java/org/apache/streampipes/model/configuration/LocationConfig.java | /*
* 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/struts | 1,101 | plugins/rest/src/main/java/org/apache/struts2/rest/handler/xstream/XStreamProvider.java | /*
* 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/submarine | 1,085 | submarine-server/server-core/src/main/java/org/apache/submarine/server/websocket/WebSocketListener.java | /*
* 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/tapestry-5 | 1,080 | tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/BeanEditCalendarDemo.java | // Copyright 2009 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 applicable l... |
apache/tapestry-5 | 1,113 | plastic/src/main/java/org/apache/tapestry5/plastic/ComputedValue.java | // Copyright 2011 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 applicable law o... |
apache/tomee | 1,042 | arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/core/ejb/ejbjar/FirstBean.java | /*
* 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/tomee | 1,087 | itests/openejb-itests-client/src/main/java/org/apache/openejb/test/entity/cmp/ComplexCmpTestClient.java | /**
*
* 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/tomee | 1,103 | container/openejb-core/src/main/java/org/apache/openejb/config/sys/MapFactory.java | /*
* 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/unomi | 1,111 | rest/src/main/java/org/apache/unomi/rest/models/EventCollectorResponse.java | /*
* 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/xmlgraphics-batik | 1,082 | batik-svgbrowser/src/main/java/org/apache/batik/apps/svgbrowser/DOMDocumentTreeController.java | /*
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/xmlgraphics-fop | 1,113 | fop-events/src/main/java/org/apache/fop/events/EventProducer.java | /*
* 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 ... |
google-ai-edge/LiteRT | 1,108 | tflite/java/src/test/java/org/tensorflow/lite/InterpreterTestHelper.java | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
google/auto | 1,108 | value/src/main/java/com/google/auto/value/processor/AbortProcessingException.java | /*
* Copyright 2014 Google LLC
*
* 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... |
google/bindiff | 1,070 | java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/editmode/actions/CDefaultEdgeLabelHoverAction.java | // Copyright 2011-2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
google/bindiff | 1,094 | java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/tabpanels/TabPanel.java | // Copyright 2011-2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
google/error-prone | 1,114 | core/src/main/java/com/google/errorprone/refaster/UIdent.java | /*
* Copyright 2013 The Error Prone 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... |
google/santa-tracker-android | 1,057 | doodles-lib/src/main/java/com/google/android/apps/santatracker/doodles/shared/sound/DoodleMediaPlayer.java | /*
* Copyright 2019. Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
google/truth | 1,105 | core/src/test/java/com/google/common/truth/StackTraceCleanerJUnit3Test.java | /*
* Copyright (c) 2017 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
googleads/google-ads-java | 1,067 | google-ads-stubs-v19/src/main/java/com/google/ads/googleads/v19/common/CustomAffinityInfoOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v19/common/criteria.proto
// Protobuf Java Version: 3.25.7
package com.google.ads.googleads.v19.common;
public interface CustomAffinityInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googlead... |
googleads/google-ads-java | 1,067 | google-ads-stubs-v20/src/main/java/com/google/ads/googleads/v20/common/CustomAffinityInfoOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v20/common/criteria.proto
// Protobuf Java Version: 3.25.7
package com.google.ads.googleads.v20.common;
public interface CustomAffinityInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googlead... |
googleads/google-ads-java | 1,067 | google-ads-stubs-v21/src/main/java/com/google/ads/googleads/v21/common/CustomAffinityInfoOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v21/common/criteria.proto
// Protobuf Java Version: 3.25.7
package com.google.ads.googleads.v21.common;
public interface CustomAffinityInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googlead... |
googleads/google-ads-java | 1,076 | google-ads-stubs-v19/src/main/java/com/google/ads/googleads/v19/common/YearMonthOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v19/common/dates.proto
// Protobuf Java Version: 3.25.7
package com.google.ads.googleads.v19.common;
public interface YearMonthOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v19.common... |
googleads/google-ads-java | 1,076 | google-ads-stubs-v20/src/main/java/com/google/ads/googleads/v20/common/YearMonthOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v20/common/dates.proto
// Protobuf Java Version: 3.25.7
package com.google.ads.googleads.v20.common;
public interface YearMonthOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v20.common... |
googleads/google-ads-java | 1,076 | google-ads-stubs-v21/src/main/java/com/google/ads/googleads/v21/common/YearMonthOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v21/common/dates.proto
// Protobuf Java Version: 3.25.7
package com.google.ads.googleads.v21.common;
public interface YearMonthOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v21.common... |
googleapis/google-cloud-java | 1,029 | java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/CreateDocumentMetadataOrBuilder.java | /*
* Copyright 2025 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
googleapis/google-cloud-java | 1,029 | java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/UpdateDocumentMetadataOrBuilder.java | /*
* Copyright 2025 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
googleapis/sdk-platform-java | 1,054 | java-shared-dependencies/dependency-analyzer/src/test/java/com/google/cloud/model/LicenseTest.java | package com.google.cloud.model;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class LicenseTest {
@Test
public void testToLicenseSucceeds() {
String license = "Apache-2.0";
assertEquals(License.APACHE_2_0, License.toLicense(license));
}
@Test
public void testToLicense... |
googlearchive/caja | 1,127 | tests/com/google/caja/plugin/CatalogTestCase.java | // Copyright (C) 2013 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
googlearchive/gwt-google-apis | 1,097 | gadgets/gadgets/src/com/google/gwt/gadgets/client/NeedsSetTitle.java | /*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
hibernate/hibernate-ogm | 1,067 | mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/type/impl/ObjectIdGridType.java | /*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.datastore.mongodb.type.impl;
import org.bson.type... |
hibernate/hibernate-orm | 1,027 | hibernate-core/src/test/java/org/hibernate/orm/test/jpa/factory/puUtil/LegacyEntityPk.java | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.orm.test.jpa.factory.puUtil;
import java.io.Serializable;
public class LegacyEntityPk implements Serializable {
private int primitivePk1;
private int primitivePk2;
public LegacyEntityPk() {
}
p... |
hibernate/hibernate-orm | 1,029 | hibernate-core/src/test/java/org/hibernate/orm/test/annotations/manytoonewithformula/ManufacturerId.java | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.orm.test.annotations.manytoonewithformula;
import java.io.Serializable;
import jakarta.persistence.Column;
import jakarta.persistence.Embeddable;
@Embeddable
public class ManufacturerId implements Serial... |
hibernate/hibernate-orm | 1,037 | hibernate-core/src/main/java/org/hibernate/boot/jaxb/internal/ContextProvidingValidationEventHandler.java | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.boot.jaxb.internal;
import jakarta.xml.bind.ValidationEvent;
import jakarta.xml.bind.ValidationEventHandler;
import jakarta.xml.bind.ValidationEventLocator;
/**
* ValidationEventHandler implementation ... |
hibernate/hibernate-search | 1,030 | lucene-next/backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/FuzzyQueryBuilder.java | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.search.backend.lucene.lowlevel.query.impl;
import static org.apache.lucene.search.BoostAttribute.DEFAULT_BOOST;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.index.Term;
import or... |
hibernate/hibernate-search | 1,057 | engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/QueryStringPredicateFieldStepImpl.java | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.search.engine.search.predicate.dsl.impl;
import java.util.Arrays;
import org.hibernate.search.engine.search.predicate.dsl.QueryStringPredicateFieldMoreStep;
import org.hibernate.search.engine.search.pre... |
hibernate/hibernate-search | 1,058 | v5migrationhelper/engine/src/main/java/org/hibernate/search/query/facet/Facet.java | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.search.query.facet;
import org.hibernate.search.query.dsl.FacetContext;
/**
* A single facet (field value and count).
*
* @author Hardy Ferentschik
* @deprecated See the deprecation note on {@link ... |
hibernate/hibernate-search | 1,072 | engine/src/main/java/org/hibernate/search/engine/backend/spi/BackendStartContext.java | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.search.engine.backend.spi;
import org.hibernate.search.engine.cfg.ConfigurationPropertySource;
import org.hibernate.search.engine.environment.bean.BeanResolver;
import org.hibernate.search.engine.environ... |
hibernate/hibernate-shards | 1,110 | src/test/java/org/hibernate/shards/ShardOperationDefaultMock.java | /**
* Copyright (C) 2007 Google Inc.
*
* 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 2.1 of the License, or (at your option) any later version.
* This library i... |
openjdk/jdk8 | 1,104 | langtools/test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedFilename.java | /*
* Copyright (c) 2010, 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... |
openjdk/jdk8 | 1,126 | jdk/src/solaris/classes/sun/java2d/x11/XSurfaceData.java | package sun.java2d.x11;
import java.awt.image.*;
import sun.awt.*;
import sun.java2d.*;
import sun.java2d.loops.*;
import sun.java2d.pipe.*;
public abstract class XSurfaceData extends SurfaceData {
static boolean isX11SurfaceDataInitialized = false;
public static boolean isX11SurfaceDataInitialized() {
... |
openjdk/jdk8 | 1,135 | langtools/test/com/sun/javadoc/testPackagePage/pkg2/C.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
openjdk/jdk8 | 1,139 | langtools/test/com/sun/javadoc/WindowTitles/p1/C1.java | /*
* Copyright (c) 2002, 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... |
openjdk/jdk8 | 1,139 | langtools/test/tools/javac/diags/examples/Expected2.java | /*
* Copyright (c) 2010, 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... |
openjdk/jdk8 | 1,139 | langtools/test/tools/javac/generics/7007615/acc1/p1/D.java | /*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
openjdk/jdk8 | 1,139 | langtools/test/tools/javac/generics/7007615/acc2/p2/E.java | /*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
oracle/coherence | 1,063 | prj/examples/guides/210-ssl/src/test/java/com/oracle/coherence/guides/ssl/loaders/CustomCertificateLoader.java | /*
* Copyright (c) 2022 Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
*/
package com.oracle.coherence.guides.ssl.loaders;
import com.tangosol.net.ssl.AbstractCertificateLoader;
import com.tangosol.net.ssl.CertificateLoad... |
oracle/coherence | 1,072 | prj/coherence-core/src/main/java/com/tangosol/internal/net/grpc/DefaultRemoteGrpcTopicServiceDependencies.java | /*
* Copyright (c) 2000, 2025, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
*/
package com.tangosol.internal.net.grpc;
/**
* A default implementation of {@link RemoteGrpcTopicServiceDependencies}.
*
* @author Jonathan... |
oracle/coherence | 1,077 | prj/coherence-concurrent/src/main/java/com/oracle/coherence/concurrent/executor/internal/Leased.java | /*
* Copyright (c) 2016, 2021, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.oracle.coherence.concurrent.executor.internal;
import com.tangosol.util.InvocableMap;
/**
* A {@link Leased} object is one that... |
oracle/coherence | 1,089 | prj/coherence-core/src/main/java/com/tangosol/dev/component/VetoableSubChangeListener.java | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.tangosol.dev.component;
import java.util.EventListener;
import java.beans.PropertyVetoException;
/**
* The VetoableSubChangeLi... |
oracle/coherence | 1,097 | prj/coherence-core/src/main/java/com/tangosol/dev/assembler/Ifle.java | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.tangosol.dev.assembler;
import java.io.IOException;
import java.io.DataInput;
import java.io.DataOutput;
/**
* The IFLE op br... |
apache/commons-math | 1,094 | commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/genetics/Fitness.java | /*
* 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/cxf | 1,100 | systests/tracing/src/test/java/org/apache/cxf/systest/jaxws/tracing/BookStoreService.java | /**
* 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 m... |
apache/cxf | 1,103 | rt/bindings/coloc/src/main/java/org/apache/cxf/binding/coloc/spring/NamespaceHandler.java | /**
* 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 m... |
apache/cxf | 1,106 | rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/type/java5/dto/MapDTO.java | /**
* 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 m... |
apache/cxf | 1,112 | rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/StreamingResponse.java | /**
* 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 m... |
apache/directory-kerby | 1,086 | kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/kdc/EncAsRepPart.java | /**
* 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"... |
apache/drill | 1,127 | exec/rpc/src/main/java/org/apache/drill/exec/rpc/RpcOutcome.java | /*
* 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/dubbo | 1,084 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/HttpInputMessage.java | /*
* 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/eagle | 1,092 | eagle-jpm/eagle-jpm-mr-history/src/main/java/org/apache/eagle/jpm/mr/history/parser/RecordTypes.java | /*
* 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/eagle | 1,098 | eagle-jpm/eagle-jpm-util/src/main/java/org/apache/eagle/jpm/util/DefaultJobIdPartitioner.java | /*
* 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/felix-dev | 1,039 | ipojo/runtime/core-it/ipojo-core-service-dependency-proxies/src/main/java/org/apache/felix/ipojo/runtime/core/test/components/inner/C2.java | /*
* 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/felix-dev | 1,090 | healthcheck/annotation/src/main/java/org/apache/felix/hc/annotation/HealthCheckService.java | /*
* 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 SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may... |
apache/felix-dev | 1,099 | rootcause/src/test/java/org/apache/felix/rootcause/examples/CompWithoutService.java | /*
* 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/flink | 1,105 | flink-runtime/src/main/java/org/apache/flink/runtime/shuffle/PartitionWithMetrics.java | /*
* 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/geaflow | 1,062 | geaflow-console/app/core/model/src/main/java/org/apache/geaflow/console/core/model/metric/GeaflowMetricQueryRequest.java | /*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.