code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | daidong/DominoHBase | hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/thrift/MetricsThriftServerSourceFactoryImpl.java | Java | apache-2.0 | 1,838 |
/*
* 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... | trangvh/elasticsearch | core/src/main/java/org/elasticsearch/indices/recovery/RecoveriesCollection.java | Java | apache-2.0 | 9,564 |
/*
* Copyright (c) 2003, 2006, 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 ... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/javax/management/remote/rmi/NoCallStackClassLoader.java | Java | apache-2.0 | 10,211 |
/*
* 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 ... | mreutegg/jackrabbit-oak | oak-exercise/src/test/java/org/apache/jackrabbit/oak/exercise/security/user/L13_SystemUserTest.java | Java | apache-2.0 | 8,769 |
/*
* Copyright (c) 2010-2014. Axon Framework
*
* 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 ... | oiavorskyi/AxonFramework | core/src/main/java/org/axonframework/serializer/json/ByteArrayToJsonNodeConverter.java | Java | apache-2.0 | 2,049 |
/**
*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and condi... | HJ-StevenSun/Weex-TestDemo | weex-dev/android/sdk/src/main/java/com/taobao/weex/utils/FontDO.java | Java | apache-2.0 | 14,354 |
/*
* Copyright 2012-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 "lice... | flofreud/aws-sdk-java | aws-java-sdk-swf-libraries/src/main/java/com/amazonaws/services/simpleworkflow/flow/WorkflowContext.java | Java | apache-2.0 | 1,613 |
/*
* Copyright 2014-2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | packet-tracker/onos | core/store/dist/src/main/java/org/onosproject/store/link/impl/GossipLinkStore.java | Java | apache-2.0 | 35,742 |
/*
* 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 ... | Jollyplum/cassandra | src/java/org/apache/cassandra/cql3/ColumnIdentifier.java | Java | apache-2.0 | 7,332 |
/**
*
* Copyright (c) Microsoft and contributors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | flydream2046/azure-sdk-for-java | service-management/azure-svc-mgmt-servicebus/src/main/java/com/microsoft/windowsazure/management/servicebus/QueueOperationsImpl.java | Java | apache-2.0 | 176,026 |
/*
// Licensed to Julian Hyde under one or more contributor license
// agreements. See the NOTICE file distributed with this work for
// additional information regarding copyright ownership.
//
// Julian Hyde licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file e... | mprudhom/incubator-optiq | core/src/main/java/org/eigenbase/sql/validate/SqlScopedShuttle.java | Java | apache-2.0 | 2,220 |
/*
* Copyright (c) 2019, 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... | wso2/siddhi | modules/siddhi-core/src/test/java/io/siddhi/core/query/table/store/JoinTestStoreTestCase.java | Java | apache-2.0 | 27,982 |
/*
* 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... | jk1/intellij-community | plugins/ant/src/com/intellij/lang/ant/dom/AntDomMacrodefAttributeReference.java | Java | apache-2.0 | 4,088 |
/*
// Licensed to Julian Hyde under one or more contributor license
// agreements. See the NOTICE file distributed with this work for
// additional information regarding copyright ownership.
//
// Julian Hyde licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file e... | julianhyde/optiq | splunk/src/main/java/net/hydromatic/optiq/impl/splunk/util/TrustAllSslSocketFactory.java | Java | apache-2.0 | 4,075 |
/*
* 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/apache/lucene/spatial/prefix/tree/LegacyCell.java | Java | apache-2.0 | 7,652 |
/*
* 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 ... | ufctester/apache-jmeter | src/components/org/apache/jmeter/modifiers/gui/CounterConfigGui.java | Java | apache-2.0 | 5,941 |
/*
* Copyright (c) Facebook, Inc. and 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 applic... | facebook/buck | test/com/facebook/buck/jvm/java/MavenUberJarTest.java | Java | apache-2.0 | 5,189 |
/*
* Copyright 2008 ZXing 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 agreed ... | da-baumann/dev | resources/lib/core/test/src/com/google/zxing/negative/FalsePositives2BlackBoxTestCase.java | Java | apache-2.0 | 1,142 |
/**
* 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 t... | nelsonsilva/wave-protocol | test/org/waveprotocol/wave/model/document/util/TextExtractorTest.java | Java | apache-2.0 | 1,958 |
/*
* 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... | facebook/presto | presto-iceberg/src/main/java/com/facebook/presto/iceberg/TableStatisticsMaker.java | Java | apache-2.0 | 13,891 |
/*
* 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 no... | HyczZhu/dtcassandra | test/unit/org/apache/cassandra/db/TimeSortTest.java | Java | apache-2.0 | 5,425 |
/*
* Copyright 2009-2013 by The Regents of the University of California
* 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 from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | lwhay/hyracks | hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/invertedindex/tokenizers/DelimitedUTF8StringBinaryTokenizer.java | Java | apache-2.0 | 3,185 |
/*
* 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/internal/cache/ValueByteWrapper.java | Java | apache-2.0 | 1,887 |
// Copyright 2016 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 applica... | hermione521/bazel | src/main/java/com/google/devtools/build/lib/buildeventstream/GenericBuildEvent.java | Java | apache-2.0 | 1,906 |
/*
* 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... | RobinUS2/presto | presto-orc/src/main/java/com/facebook/presto/orc/stream/FloatInputStream.java | Java | apache-2.0 | 2,694 |
/*
* Copyright 2000-2012 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... | android-ia/platform_tools_idea | platform/lang-impl/src/com/intellij/openapi/roots/impl/ModuleRootManagerComponent.java | Java | apache-2.0 | 2,537 |
/*
* © Copyright IBM Corp. 2010
*
* 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 ... | iharkhukhrakou/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.controls/src/com/ibm/xsp/extlib/renderkit/dojo/DojoWidgetRenderer.java | Java | apache-2.0 | 3,366 |
/*
* 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... | guozhangwang/kafka | streams/src/main/java/org/apache/kafka/streams/processor/internals/assignment/AssignorError.java | Java | apache-2.0 | 1,443 |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.model;
import org.jetbrains.annotations.NotNull;
/**
* Convenience interface, representing a symbol which is also a declaration of itself:
* <pre>
* Symb... | leafclick/intellij-community | platform/core-api/src/com/intellij/model/DeclarationSymbol.java | Java | apache-2.0 | 672 |
/*
* Copyright (c) 2007 - 2008 by Damien Di Fede <ddf@compartmental.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at ... | UTSDataArena/examples | processing/sketchbook/libraries/minim/src/ddf/minim/analysis/WindowFunction.java | Java | bsd-2-clause | 4,394 |
/*================================================================================
Copyright (c) 2013 Steve Jin. 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 re... | n4ybn/yavijava | src/main/java/com/vmware/vim25/InfoUpgradeEvent.java | Java | bsd-3-clause | 1,823 |
/*
* Copyright (C) 2014 Camptocamp
*
* This file is part of MapFish Print
*
* MapFish Print 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 l... | jesseeichar/mapfish-printV3 | core/src/main/java/org/mapfish/print/map/tiled/wms/TiledWmsLayerParserPlugin.java | Java | mit | 2,133 |
/* ==========================================
* JGraphT : a free Java graph-theory library
* ==========================================
*
* Project Info: http://jgrapht.sourceforge.net/
* Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh)
*
* (C) Copyright 2003-2008, by Barak Naveh and Con... | AdrianAlan/kmax | src/org/jgrapht/util/PrefetchIterator.java | Java | mit | 6,421 |
package org.knowm.xchange.bitcoinium;
import org.knowm.xchange.BaseExchange;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.bitcoinium.service.BitcoiniumMarketDataService;
import si.mazi.rescu.SynchronizedValueFactory;
public class BitcoiniumExchange exten... | anwfr/XChange | xchange-bitcoinium/src/main/java/org/knowm/xchange/bitcoinium/BitcoiniumExchange.java | Java | mit | 1,244 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | ddiaz914/easynoms | node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewProps.java | Java | mit | 4,800 |
package net.dean.jraw.fluent;
/**
* This class provides a constructor that requires a {@link ManagerAggregation} instead of a
* {@link net.dean.jraw.RedditClient}, like what {@link AbstractReference} does. This aggregation is visible to
* subclasses through the {@link #managers} field.
*/
public class ElevatedAbst... | pokowaka/JRAW | src/main/java/net/dean/jraw/fluent/ElevatedAbstractReference.java | Java | mit | 792 |
/*******************************************************************************
* Copyright (c) 2011, 2016 Eurotech and/or its affiliates
*
* 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 distributi... | gavinying/kura | kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/bluetooth/listener/AdvertisingReportRecord.java | Java | epl-1.0 | 1,719 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | jpa/org.eclipse.persistence.jpa/src/org/eclipse/persistence/internal/jpa/metadata/transformers/ReadTransformerMetadata.java | Java | epl-1.0 | 6,389 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0
* whi... | RallySoftware/eclipselink.runtime | sdo/eclipselink.sdo.test/src/org/eclipse/persistence/testing/sdo/helper/xmlhelper/datatype/SDOXMLHelperDatatypeDateTestCases.java | Java | epl-1.0 | 2,036 |
import cpp11_thread_local.*;
public class cpp11_thread_local_runme {
static {
try {
System.loadLibrary("cpp11_thread_local");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation fo... | DGA-MI-SSI/YaCo | deps/swig-3.0.7/Examples/test-suite/java/cpp11_thread_local_runme.java | Java | gpl-3.0 | 1,499 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | s20121035/rk3288_android5.1_repo | cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/T_sget_object_12.java | Java | gpl-3.0 | 750 |
// License: GPL. For details, see LICENSE file.
package org.openstreetmap.josm.io;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.RandomAccessFile;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeMap;
impo... | CURocketry/Ground_Station_GUI | src/org/openstreetmap/josm/io/CacheFiles.java | Java | gpl-3.0 | 11,364 |
package org.ovirt.engine.core.bll;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.core.common.AuditLogType;
import org.ovirt.engine.core.common.action.RolesOperationsParameters;
import org.ovirt.engine.core.common.businessentities.Role;
import org.ovirt.engine.core.common.errors.EngineMessage;
pu... | jtux270/translate | ovirt/3.6_source/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateRoleCommand.java | Java | gpl-3.0 | 2,066 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Correspondence/src/ims/correspondence/domain/base/impl/BaseGlossaryAdminConfigurationImpl.java | Java | agpl-3.0 | 3,088 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/emergency/vo/TriageProtocolAssessmentVoCollection.java | Java | agpl-3.0 | 8,497 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/racpc/vo/beans/RACPCReferralVoBean.java | Java | agpl-3.0 | 8,236 |
public class NewStmt {
public static void main(String [] args){
NewStmt ns;
ns = new NewStmt();
new NewStmt();
}
}
| mbenz89/soot | systests/java_tests/NewStmt.java | Java | lgpl-2.1 | 148 |
package org.flymine.web.displayer;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.... | elsiklab/intermine | flymine/webapp/src/org/flymine/web/displayer/FlyAtlasDisplayer.java | Java | lgpl-2.1 | 2,558 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file tothe License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR C... | smayoorans/netty | buffer/src/main/java/io/netty/buffer/PooledHeapByteBuf.java | Java | apache-2.0 | 9,250 |
package org.anarres.jarjar.test;
public class Main {
public static void main(String[] args) {
System.out.println("Hello, world.");
}
}
| juhalindfors/bazel-patches | third_party/java/jarjar/jarjar-gradle/example/src/main/java/org/anarres/jarjar/test/Main.java | Java | apache-2.0 | 140 |
/*
* Copyright (c) Facebook, Inc. and 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 applic... | facebook/buck | tools/ideabuck/tests/integration/com/facebook/buck/intellij/ideabuck/actions/select/SelectedTestRunLineMarkerContributorTest.java | Java | apache-2.0 | 4,400 |
/*
* 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... | facebook/presto | presto-spi/src/main/java/com/facebook/presto/spi/plan/FilterNode.java | Java | apache-2.0 | 3,194 |
/*
* 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... | HyukjinKwon/parquet-mr | parquet-thrift/src/main/java/org/apache/parquet/thrift/TBaseRecordConverter.java | Java | apache-2.0 | 2,508 |
/*
* Copyright (C) 2013 salesforce.com, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | TribeMedia/aura | aura-impl/src/main/java/org/auraframework/impl/root/component/ComponentImpl.java | Java | apache-2.0 | 7,508 |
/*
* 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... | jiangyifangh/presto | presto-main/src/main/java/com/facebook/presto/operator/scalar/ArrayReduceFunction.java | Java | apache-2.0 | 4,823 |
/*
* Copyright (C) 2013 salesforce.com, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | TribeMedia/aura | aura-impl/src/test/java/org/auraframework/impl/java/controller/AuraStorageTestController.java | Java | apache-2.0 | 16,964 |
package org.elasticsearch.gradle;
import java.io.File;
import java.util.function.Supplier;
public interface FileSupplier extends Supplier<File> {}
| HonzaKral/elasticsearch | buildSrc/src/main/java/org/elasticsearch/gradle/FileSupplier.java | Java | apache-2.0 | 149 |
/*
* 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 ... | sandeep-n/incubator-systemml | src/main/java/org/apache/sysml/runtime/util/UniformPRNGenerator.java | Java | apache-2.0 | 1,228 |
/*
Copyright 2007-2012 Selenium committers
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... | krosenvold/selenium-git-release-candidate | java/client/src/org/openqa/selenium/support/pagefactory/ByChained.java | Java | apache-2.0 | 2,488 |
/*
* 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 app... | mbiarnes/drools-wb | drools-wb-screens/drools-wb-guided-dtable-editor/drools-wb-guided-dtable-editor-client/src/main/java/org/drools/workbench/screens/guided/dtable/client/widget/table/columns/DialectUiColumn.java | Java | apache-2.0 | 3,390 |
/*
* Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.management;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io... | shun634501730/java_source_cn | src_en/javax/management/MBeanFeatureInfo.java | Java | apache-2.0 | 8,928 |
/*
* 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... | hurricup/intellij-community | platform/structuralsearch/source/com/intellij/structuralsearch/plugin/ui/ConfigurationManager.java | Java | apache-2.0 | 7,251 |
/*
* Copyright 2016 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... | jomarko/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-core/kie-wb-common-stunner-api/kie-wb-common-stunner-core-api/src/main/java/org/kie/workbench/common/stunner/core/definition/adapter/PropertyAdapterWrapper.java | Java | apache-2.0 | 1,620 |
/**
* 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... | wisebaldone/incubator-wave | wave/src/test/java/org/waveprotocol/wave/model/conversation/DocumentBasedManifestThreadTest.java | Java | apache-2.0 | 5,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... | wisebaldone/incubator-wave | wave/src/main/java/org/waveprotocol/wave/client/wavepanel/view/fake/FakeTopConversationView.java | Java | apache-2.0 | 2,052 |
/*
* 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 ... | plutext/sling | bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/common/ViewHelper.java | Java | apache-2.0 | 4,709 |
/*
* 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-appengine/v1/1.31.0/com/google/api/services/appengine/v1/model/Operation.java | Java | apache-2.0 | 7,475 |
package brooklyn.policy.basic;
import static brooklyn.util.GroovyJavaMethods.elvis;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.concurrent.Future;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import brooklyn.config.ConfigKey;
import brooklyn.confi... | rhodgin/brooklyn | core/src/main/java/brooklyn/policy/basic/ConfigMapImpl.java | Java | apache-2.0 | 6,810 |
/*
* Copyright 2013 Twitter, Inc. and other contributors.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | felixb/mesos-plugin | src/main/java/org/jenkinsci/plugins/mesos/JenkinsScheduler.java | Java | apache-2.0 | 33,125 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | wrmsr/jimfs | jimfs/src/main/java/com/google/common/jimfs/Util.java | Java | apache-2.0 | 3,754 |
package org.ovirt.engine.core.bll.validator.storage;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.when;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.m... | walteryang47/ovirt-engine | backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/validator/storage/StorageServerConnectionExtensionValidatorTest.java | Java | apache-2.0 | 2,485 |
/*
* Copyright 2013 Goldman Sachs.
*
* 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 ... | gabby2212/gs-collections | serialization-tests/src/test/java/com/gs/collections/impl/map/immutable/primitive/ImmutableIntLongHashMapSerializationTest.java | Java | apache-2.0 | 1,356 |
/*
* 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-websecurityscanner/v1alpha/1.31.0/com/google/api/services/websecurityscanner/v1alpha/model/ListScanRunsResponse.java | Java | apache-2.0 | 2,946 |
/**
* 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... | kylerichardson/incubator-metron | metron-platform/metron-hbase/src/test/java/org/apache/metron/hbase/client/UserSettingsClientTest.java | Java | apache-2.0 | 4,136 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | alina-ipatina/pentaho-kettle | test/org/pentaho/di/repository/KettleFileRepositoryTest.java | Java | apache-2.0 | 10,139 |
/*
* 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-core/src/test/java/org/apache/geode/internal/statistics/StatArchiveWithConsecutiveResourceInstGeneratorTest.java | Java | apache-2.0 | 2,138 |
/*
* Copyright (c) 2005-2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | Niranjan-K/siddhi | modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/output/callback/OutputCallback.java | Java | apache-2.0 | 847 |
/*
* 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... | hurricup/intellij-community | platform/testRunner/src/com/intellij/execution/testframework/TestTreeView.java | Java | apache-2.0 | 10,460 |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.interestrate;
import static com.opengamma.analytics.financial.interestrate.InterestRateCurveSensitivityUtils.addSensitivity;
import java.u... | DevStreet/FinanceAnalytics | projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/interestrate/PresentValueCurveSensitivityCalculator.java | Java | apache-2.0 | 16,143 |
/*
* Copyright 2013-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | thomasdarimont/spring-cloud-config | spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/EnvironmentRepositoryPropertySourceLocator.java | Java | apache-2.0 | 2,052 |
/*
* Copyright (c) 2018, Adam <Adam@sigterm.info>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* li... | kfricilone/runelite | runescape-api/src/main/java/net/runelite/rs/api/RSMouseWheelHandler.java | Java | bsd-2-clause | 1,521 |
/**
* Copyright (c) 2013-2015, jcabi.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of condition... | cvrebert/typed-github | src/test/java/com/jcabi/github/RtNotificationsITestCase.java | Java | bsd-3-clause | 1,865 |
/*
* 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 ... | xiaojiaC/jedis-annotation | src/main/java/redis/clients/util/MurmurHash.java | Java | mit | 4,089 |
/*
* 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... | rokn/Count_Words_2015 | testing/droolsjbpm-integration-master/kie-server-parent/kie-server-controller/kie-server-controller-api/src/main/java/org/kie/server/controller/api/KieServerControllerAdmin.java | Java | mit | 4,119 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | plumer/codana | tomcat_files/7.0.61/ErrorDispatcher.java | Java | mit | 22,963 |
/**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | philomatic/smarthome | bundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/i18n/ThingTypeI18nLocalizationService.java | Java | epl-1.0 | 4,278 |
/**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | clinique/openhab2 | bundles/org.openhab.binding.openuv/src/main/java/org/openhab/binding/openuv/internal/json/OpenUVResponse.java | Java | epl-1.0 | 816 |
/*
* NodeType.java
*
* Copyright (c) 2013 Mike Strobel
*
* This source code is based on Mono.Cecil from Jb Evain, Copyright (c) Jb Evain;
* and ILSpy/ICSharpCode from SharpDevelop, Copyright (c) AlphaSierraPapa.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0.
... | sgilda/windup | forks/procyon/Procyon.CompilerTools/src/main/java/com/strobel/decompiler/languages/java/ast/NodeType.java | Java | epl-1.0 | 856 |
/**
* Copyright (C) 2012-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | nuest/SOS | core/api/src/main/java/org/n52/sos/config/SettingValueFactory.java | Java | gpl-2.0 | 6,840 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | neuroidss/adempiere | base/src/org/compiere/model/X_AD_Package_Imp_Proc.java | Java | gpl-2.0 | 6,071 |
// 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... | ikoula/cloudstack | plugins/hypervisors/ovm3/src/test/java/com/cloud/hypervisor/ovm3/objects/NtpTest.java | Java | gpl-2.0 | 3,457 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | TaymourReda/-https-github.com-adempiere-adempiere | base/src/org/compiere/model/X_PA_Ratio.java | Java | gpl-2.0 | 4,996 |
package com.dotmarketing.portlets.folder.business;
import com.dotcms.repackage.org.junit.Assert;
import com.dotcms.repackage.org.junit.Test;
import com.dotmarketing.beans.Host;
import com.dotmarketing.beans.Identifier;
import com.dotmarketing.business.APILocator;
import com.dotmarketing.portlets.folders.model.Folder;... | zhiqinghuang/core | test/com/dotmarketing/portlets/folder/business/FolderAPITest.java | Java | gpl-3.0 | 2,442 |
/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | nguyentienlong/community-edition | projects/repository/source/java/org/alfresco/repo/node/integrity/IntegrityEvent.java | Java | lgpl-3.0 | 1,310 |
/*
* 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 ... | sjaco002/vxquery | vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/datetime/FnTimezoneFromDateTimeScalarEvaluatorFactory.java | Java | apache-2.0 | 1,968 |
/*
* Copyright 2012-2013 eBay Software Foundation and ios-driver committers
*
* 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... | adataylor/ios-driver | server/src/main/java/org/uiautomation/ios/command/web/ClearHandler.java | Java | apache-2.0 | 1,670 |
/**
* 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
* distribu... | shahankhatch/aurora | commons/src/main/java/org/apache/aurora/common/args/constraints/NotNull.java | Java | apache-2.0 | 967 |
package ca.uhn.fhir.rest.gclient;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2015 University Health Network
* %%
* 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
*... | cementsuf/hapi-fhir | hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/IGetPageTyped.java | Java | apache-2.0 | 819 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | daneshk/carbon-kernel | tests/osgi-tests/src/test/java/org/wso2/carbon/osgi/BaseOSGiTest.java | Java | apache-2.0 | 3,265 |
/*
* Copyright 2016 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 b... | dgutierr/uberfire-extensions | uberfire-security/uberfire-security-management/uberfire-security-management-client/src/main/java/org/uberfire/ext/security/management/client/validation/ClientRoleValidator.java | Java | apache-2.0 | 851 |