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 2012-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... | domix/spring-boot | spring-boot-cli/src/it/java/org/springframework/boot/cli/CommandLineIT.java | Java | apache-2.0 | 2,817 |
/*
* Copyright 2017 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | kunickiaj/datacollector | kudu-protolib/src/test/java/com/streamsets/pipeline/stage/destination/kudu/TestKuduOperationType.java | Java | apache-2.0 | 1,508 |
/*
* 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 ... | tmess567/syncope | common/lib/src/main/java/org/apache/syncope/common/lib/to/ProvisionTO.java | Java | apache-2.0 | 2,858 |
package org.apache.solr.core;
/*
* 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... | zhangdian/solr4.6.0 | solr/core/src/test/org/apache/solr/core/TestSolrXMLSerializer.java | Java | apache-2.0 | 6,577 |
/*
* 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 ... | rangadi/beam | sdks/java/core/src/test/java/org/apache/beam/sdk/testing/CoderPropertiesTest.java | Java | apache-2.0 | 9,270 |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | psiroky/uberfire | uberfire-workbench/uberfire-workbench-client/src/test/java/org/uberfire/client/workbench/widgets/dnd/CompassDropControllerUnitTestWrapper.java | Java | apache-2.0 | 2,481 |
package no.priv.garshol.duke.databases;
import java.util.ArrayList;
import java.util.Collection;
import no.priv.garshol.duke.Configuration;
import no.priv.garshol.duke.Database;
import no.priv.garshol.duke.Record;
public class InMemoryBlockingDatabaseTest extends DatabaseTest {
public Database createDatabase(Con... | enricopal/STEM | lib/Duke/duke-core/src/test/java/no/priv/garshol/duke/databases/InMemoryBlockingDatabaseTest.java | Java | apache-2.0 | 751 |
/*
* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
/*
* @author IBM Corp.
*
* Copyright IBM Corp. 1999-2000. All rights reserved.
*/
package javax... | shun634501730/java_source_cn | src_en/javax/management/modelmbean/ModelMBean.java | Java | apache-2.0 | 4,920 |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any la... | codyhoag/blade.tools | blade.migrate.liferay70/projects/opensocial-portlet-6.2.x/docroot/WEB-INF/src/com/liferay/opensocial/admin/lar/GadgetStagedModelDataHandler.java | Java | apache-2.0 | 3,523 |
/**
* Copyright 2005-2014 Red Hat, Inc.
*
* Red Hat 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 r... | hekonsek/fabric8 | sandbox/fabric/fabric-commands/src/main/java/io/fabric8/commands/ContainerInfo.java | Java | apache-2.0 | 3,562 |
/*
* Copyright 2017 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 applica... | kishorvpatil/incubator-storm | external/storm-kafka-client/src/test/java/org/apache/storm/kafka/spout/KafkaSpoutReactivationTest.java | Java | apache-2.0 | 7,711 |
package apoc.result;
import java.util.Map;
/**
* @author mh
* @since 26.02.16
*/
public class RowResult {
public final Map<String, Object> row;
public RowResult(Map<String, Object> row) {
this.row = row;
}
}
| atuljangra/neo4j-apoc-procedures | src/main/java/apoc/result/RowResult.java | Java | apache-2.0 | 234 |
/* 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... | hawky-4s-/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventListenerDelegate.java | Java | apache-2.0 | 5,414 |
/**
* 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... | moreus/hadoop | hadoop-0.11.2/src/java/org/apache/hadoop/mapred/SequenceFileInputFilter.java | Java | apache-2.0 | 10,738 |
//--------------------------------------------------------------------------
// Copyright (c) 1998-2004, Drew Davidson and Luke Blanshard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
... | pascalrobert/aribaweb | src/expr/src/main/java/ariba/util/expr/NullHandler.java | Java | apache-2.0 | 2,451 |
/*
* 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 ... | kostya-sh/parquet-format | src/main/java/org/apache/parquet/format/event/Consumers.java | Java | apache-2.0 | 6,605 |
// Copyright 2007-2010 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 in ... | threefish/acre | webapp/WEB-INF/src/com/google/acre/script/AnnotatedForJS.java | Java | apache-2.0 | 995 |
/**
* 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... | sverkera/camel | components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/util/AS2HeaderUtils.java | Java | apache-2.0 | 5,793 |
/*
* Copyright 2000-2013 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 | java/java-tests/testSrc/com/intellij/codeInspection/JavaAPIUsagesInspectionTest.java | Java | apache-2.0 | 5,146 |
package org.ovirt.engine.ui.userportal.widget.resources;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.VM;
import org.ovirt.engine.core.common.businessentities.storage.DiskImage;
import org.ovirt.engine.ui.common.SubTableResources;
imp... | walteryang47/ovirt-engine | frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/widget/resources/VmTable.java | Java | apache-2.0 | 19,033 |
/*
* Copyright 2016 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 applica... | mbogoevici/spring-cloud-data | spring-cloud-dataflow-completion/src/main/java/org/springframework/cloud/dataflow/completion/TaskCompletionProvider.java | Java | apache-2.0 | 2,632 |
// 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... | davidzchen/bazel | src/test/java/com/google/devtools/build/lib/packages/util/Crosstool.java | Java | apache-2.0 | 24,181 |
/*
* Copyright 2013-present Facebook, 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... | GerritCodeReview/buck | src/com/facebook/buck/java/Classpaths.java | Java | apache-2.0 | 2,041 |
/*
* 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 ... | dotunolafunmiloye/hadoop-common | src/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java | Java | apache-2.0 | 3,250 |
/*
* Copyright 2014 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 applicable la... | ravikumaran2015/ravikumaran201504 | core/api/src/main/java/org/onosproject/net/resource/DefaultLinkResourceAllocations.java | Java | apache-2.0 | 2,858 |
/*
* Jicofo, the Jitsi Conference Focus.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jitsi.protocol.xmpp;
import org.jivesoftware.smack.packet.*;
/**
* The interface for Smack XMPP connection.
*
* @author Pawel Domas
*/
public interface XmppConnection
{
/**
... | trimnguye/JavaChatServer | src/plugins/ofmeet/src/java/org/jitsi/protocol/xmpp/XmppConnection.java | Java | apache-2.0 | 783 |
/**
* 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"... | plusplusjiajia/directory-kerby | kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/impl/DefaultKdcHandler.java | Java | apache-2.0 | 2,751 |
/**
* 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... | baishuo/hbase-1.0.0-cdh5.4.7_baishuo | hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotMetadata.java | Java | apache-2.0 | 12,842 |
/*
* Copyright (c) 2008-2021, 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 ... | emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/config/PredicateConfigReadOnly.java | Java | apache-2.0 | 1,570 |
package org.uberfire.client.views.bs2.tab;
import com.google.gwt.dom.client.Style;
import com.google.gwt.event.logical.shared.SelectionHandler;
import com.google.gwt.user.client.Element;
import com.google.gwtmockito.GwtMockitoTestRunner;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
... | baldimir/uberfire | uberfire-workbench/uberfire-workbench-client-views-bs2/src/test/java/org/uberfire/client/views/bs2/tab/MultiTabWorkbenchPanelViewTest.java | Java | apache-2.0 | 1,539 |
/*
* Copyright 2014 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 applicable la... | ravikumaran2015/ravikumaran201504 | core/store/dist/src/main/java/org/onosproject/store/impl/WallClockTimestamp.java | Java | apache-2.0 | 2,334 |
/*
* 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 ... | rmetzger/flink | flink-connectors/flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/table/JdbcDynamicOutputFormatBuilder.java | Java | apache-2.0 | 12,200 |
/*
* 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 ... | rekhajoshm/pigfork | test/org/apache/pig/test/TestUnion.java | Java | apache-2.0 | 16,092 |
/*
* 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/incubator-asterixdb-hyracks | hyracks/hyracks-storage-am-btree/src/main/java/org/apache/hyracks/storage/am/btree/impls/RangePredicate.java | Java | apache-2.0 | 4,390 |
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi.impl.java.stubs.impl;
import com.intellij.extapi.psi.StubBasedPsiElementBase;
import com.intellij.psi.PsiClass;
import com.intellij.psi... | smmribeiro/intellij-community | java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/impl/PsiClassStubImpl.java | Java | apache-2.0 | 7,808 |
/*
* 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 ... | tillrohrmann/flink | flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/delegation/BlinkPlannerFactory.java | Java | apache-2.0 | 2,727 |
/**
* 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... | gigaroby/hops | hadoop-tools/distributedLoadSimulator/src/main/java/org/apache/hadoop/distributedloadsimulator/sls/scheduler/FifoSchedulerMetrics.java | Java | apache-2.0 | 1,984 |
/*
* 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 ... | ZhenyaM/veraPDF-pdfbox | tools/src/main/java/org/apache/pdfbox/tools/Version.java | Java | apache-2.0 | 2,063 |
// Copyright 2008-2010 Victor Iacoban
//
// 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... | android-ia/platform_tools_idea | plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgRepositorySelectorComponent.java | Java | apache-2.0 | 2,354 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.structuralsearch;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.RangeMarker;
import com.intellij.openapi.project.Project;
i... | leafclick/intellij-community | platform/structuralsearch/source/com/intellij/structuralsearch/DocumentBasedReplaceHandler.java | Java | apache-2.0 | 2,415 |
/*
* Copyright 2017-present Open Networking 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 appli... | kuujo/onos | utils/misc/src/test/java/org/onlab/packet/BasePacketTest.java | Java | apache-2.0 | 1,128 |
package org.hisp.dhis.i18n;
/*
* Copyright (c) 2004-2016, 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 the above copyright... | minagri-rwanda/DHIS2-Agriculture | dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/i18n/I18nLocaleService.java | Java | bsd-3-clause | 2,638 |
package de.plushnikov.intellij.plugin.thirdparty;
import de.plushnikov.intellij.plugin.processor.field.AccessorsInfo;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class... | AlexejK/lombok-intellij-plugin | src/test/java/de/plushnikov/intellij/plugin/thirdparty/LombokUtilsAllGetterTest.java | Java | bsd-3-clause | 2,868 |
package org.hisp.dhis.program;
/*
* Copyright (c) 2004-2016, 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 the abov... | minagri-rwanda/DHIS2-Agriculture | dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/program/ProgramIndicatorDeletionHandler.java | Java | bsd-3-clause | 2,980 |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.download;
import android.graphics.Bitmap;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.c... | chromium/chromium | chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/DownloadInfo.java | Java | bsd-3-clause | 20,987 |
/*================================================================================
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/VirtualDeviceFileExtension.java | Java | bsd-3-clause | 2,015 |
package org.apollo.game.release.r377;
import org.apollo.game.message.impl.ItemOptionMessage;
import org.apollo.net.codec.game.DataOrder;
import org.apollo.net.codec.game.DataTransformation;
import org.apollo.net.codec.game.DataType;
import org.apollo.net.codec.game.GamePacket;
import org.apollo.net.codec.game.GamePack... | garyttierney/apollo | game/src/main/org/apollo/game/release/r377/SecondItemOptionMessageDecoder.java | Java | isc | 989 |
package com.fewlaps.quitnowcache.util;
import java.util.Date;
import java.util.Random;
public class RandomGenerator {
private static Random random = new Random((new Date()).getTime());
public static String generateRandomString() {
char[] values = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
... | Fewlaps/quitnow-cache | src/test/java/com/fewlaps/quitnowcache/util/RandomGenerator.java | Java | mit | 687 |
package org.knowm.xchange.wex.v3.dto.trade;
import static org.assertj.core.api.Assertions.assertThat;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.Map;
import java.util.Map.Entry;
import org.junit.Test;
/** @... | LeonidShamis/XChange | xchange-wex/src/test/java/org/knowm/xchange/wex/v3/dto/trade/WexTradeHistoryJSONTest.java | Java | mit | 1,754 |
package org.jabref.gui.customentrytypes;
import java.awt.Component;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.Focu... | conde2/DC-UFSCar-ES2-201701-BoxTesters | src/main/java/org/jabref/gui/customentrytypes/FieldSetComponent.java | Java | mit | 11,648 |
/**
* 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.... | afuechsel/openhab2 | addons/binding/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_01/D2_01.java | Java | epl-1.0 | 9,134 |
/*******************************************************************************
* 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 | foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/security/PrivilegedGetMethodParameterTypes.java | Java | epl-1.0 | 1,211 |
/*******************************************************************************
* 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 | foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/expressions/SQLUpdateStatement.java | Java | epl-1.0 | 4,367 |
/*
* Copyright (c) 2015 Cisco Systems, Inc. and others. 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
*/
package org.... | Johnson-Chou/test | opendaylight/md-sal/messagebus-impl/src/main/java/org/opendaylight/controller/config/yang/messagebus/app/impl/MessageBusAppImplModule.java | Java | epl-1.0 | 2,549 |
/**
* neuroConstruct
* Software for developing large scale 3D networks of biologically realistic neurons
*
* Copyright (c) 2009 Padraig Gleeson
* UCL Department of Neuroscience, Physiology and Pharmacology
*
* Development of this software was made possible with funding from the
* Medical Research Council... | rgerkin/neuroConstruct | src/ucl/physiol/neuroconstruct/gui/InputRequestElement.java | Java | gpl-2.0 | 2,112 |
/*
* Copyright (c) 2014, 2018, 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 ... | md-5/jdk10 | test/hotspot/jtreg/serviceability/jvmti/GetObjectSizeOverflow.java | Java | gpl-2.0 | 2,854 |
/*
* Copyright (c) 2001, 2019, 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 ... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/currentContendedMonitor/currentcm001.java | Java | gpl-2.0 | 18,431 |
// License: GPL. For details, see LICENSE file.
package org.openstreetmap.josm.gui.widgets;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.beans.PropertyChangeEvent;
import java.beans.Pro... | CURocketry/Ground_Station_GUI | src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java | Java | gpl-3.0 | 6,645 |
package org.ovirt.engine.api.restapi.resource;
import static org.easymock.EasyMock.expect;
import javax.ws.rs.WebApplicationException;
import org.junit.Test;
import org.ovirt.engine.api.model.DiskProfile;
import org.ovirt.engine.core.common.action.DiskProfileParameters;
import org.ovirt.engine.core.common.action.Vdc... | jtux270/translate | ovirt/3.6_source/backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendDiskProfileResourceTest.java | Java | gpl-3.0 | 7,622 |
package org.ovirt.engine.core.bll;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import org.ovirt.engine.core.bll.context.CommandContext;
import org.ovirt.engine.core.common.action.RemoveAllVmImagesParameters;
import org.ovirt.engine.c... | jtux270/translate | ovirt/3.6_source/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveAllVmImagesCommand.java | Java | gpl-3.0 | 5,661 |
/*
* 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/iget_boolean/d/T_iget_boolean_12.java | Java | gpl-3.0 | 793 |
// uniCenta oPOS - Touch Friendly Point Of Sale
// Copyright (c) 2009-2014 uniCenta & previous Openbravo POS works
// http://www.unicenta.com
//
// This file is part of uniCenta oPOS
//
// uniCenta oPOS is free software: you can redistribute it and/or modify
// it under the terms of the GNU General P... | sbandur84/micro-Blagajna | src-data/com/openbravo/data/user/BrowsableData.java | Java | gpl-3.0 | 11,396 |
/*************************************************************************
* Copyright 2014 Eucalyptus Systems, Inc.
*
* This program 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; version 3 of the Licen... | eethomas/eucalyptus | clc/modules/simpleworkflow-common/src/main/java/com/eucalyptus/simpleworkflow/common/model/CloseStatusFilter.java | Java | gpl-3.0 | 7,268 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Clinical/src/ims/clinical/forms/patientassessmentlistandsearch/FormInfo.java | Java | agpl-3.0 | 2,720 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/emergency/vo/domain/DNWForOutcomeVoAssembler.java | Java | agpl-3.0 | 14,908 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/DomainObjects/src/ims/core/admin/pas/domain/objects/AllocatedWardHistory.java | Java | agpl-3.0 | 13,658 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Core/src/ims/core/domain/PatientDocumentErrors.java | Java | agpl-3.0 | 1,811 |
/*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | marcocast/scheduling | rm/rm-client/src/main/java/org/ow2/proactive/resourcemanager/frontend/RMConnection.java | Java | agpl-3.0 | 4,454 |
package net.minecraftforge.debug;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyInteger;
import net... | luacs1998/MinecraftForge | src/test/java/net/minecraftforge/debug/ModelBakeEventDebug.java | Java | lgpl-2.1 | 13,609 |
package cofh.api.transport;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.ForgeDirection;
/**
* This interface is implemented on Item Conduits. Use it to attempt to eject items into an entry point.
*
* @author Zeldo Kavira, King Lemming
*
*/
public interface IItemConduit {
/**
* Ins... | tterrag1098/EnderiumPowerArmor | src/main/java/cofh/api/transport/IItemConduit.java | Java | lgpl-3.0 | 1,180 |
/* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri 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
*
... | GeoinformationSystems/GeoprocessingAppstore | src/com/esri/gpt/catalog/harvest/protocols/HarvestProtocolArcIms.java | Java | apache-2.0 | 5,810 |
/*
* 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-cloudkms/v1/1.31.0/com/google/api/services/cloudkms/v1/model/RestoreCryptoKeyVersionRequest.java | Java | apache-2.0 | 1,679 |
/*
* Copyright (C) 2015 Twitter, 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... | vivekkiran/digits-android | samples/app/src/main/java/com/example/app/digits/ContactsReceiver.java | Java | apache-2.0 | 1,897 |
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.security.spec;
/**
* This immutable class specifies the set of parameters used for
* gen... | shun634501730/java_source_cn | src_en/java/security/spec/ECGenParameterSpec.java | Java | apache-2.0 | 1,494 |
/*
* Copyright (c) 2005-2010, 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... | maheshika/wso2-synapse | modules/core/src/main/java/org/apache/synapse/rest/AbstractRESTProcessor.java | Java | apache-2.0 | 2,067 |
package com.redhat.ceylon.compiler.java.metadata;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation applied to a Java class which had a compile time error but
* got generated anyway becau... | unratito/ceylon.language | runtime/com/redhat/ceylon/compiler/java/metadata/CompileTimeError.java | Java | apache-2.0 | 449 |
/*
* 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... | ebyhr/presto | core/trino-main/src/test/java/io/trino/operator/aggregation/TestLongVarianceAggregation.java | Java | apache-2.0 | 1,904 |
/**
* 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... | BUPTAnderson/apache-hive-2.1.1-src | orc/src/test/org/apache/orc/impl/TestStringRedBlackTree.java | Java | apache-2.0 | 8,010 |
/***
Copyright (c) 2008-2012 CommonsWare, 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 w... | atishagrawal/cw-android | Service/FakePlayer/src/com/commonsware/android/fakeplayer/FakePlayer.java | Java | apache-2.0 | 1,352 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | electrum/presto | core/trino-main/src/test/java/io/trino/operator/aggregation/TestApproximateCountDistinctAggregations.java | Java | apache-2.0 | 2,695 |
/*
* 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... | pwz3n0/presto | presto-raptor/src/test/java/com/facebook/presto/raptor/TestRaptorDistributedQueries.java | Java | apache-2.0 | 3,260 |
/*
* Copyright 2014 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 | collections/src/main/java/com/gs/collections/impl/multimap/list/MultiReaderFastListMultimap.java | Java | apache-2.0 | 4,667 |
/*
* Copyright (c) 2016, 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
*
* Unles... | rmsamitha/product-pc | modules/components/analytics/core/generic/org.wso2.carbon.pc.analytics.core.generic/src/main/java/org/wso2/carbon/pc/analytics/core/generic/internal/AnalyticsServiceComponent.java | Java | apache-2.0 | 2,302 |
/*
* 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... | gmarz/elasticsearch | modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/ConvertProcessor.java | Java | apache-2.0 | 6,869 |
/**
* 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... | kevinearls/camel | examples/camel-example-fhir-auth-tx-spring-boot/src/main/java/sample/camel/MyCamelRouter.java | Java | apache-2.0 | 2,786 |
/*
* 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 ... | mreutegg/jackrabbit-oak | oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/cli/blob/LoopbackBlobStore.java | Java | apache-2.0 | 4,214 |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* 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 ... | mirkosertic/Bytecoder | classlib/java.xml/src/main/resources/META-INF/modules/java.xml/classes/com/sun/org/apache/bcel/internal/generic/INVOKEINTERFACE.java | Java | apache-2.0 | 4,443 |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.math.curve;
import com.opengamma.analytics.math.function.Function;
import com.opengamma.util.ArgumentChecker;
/**
* A function that performs subtra... | jeorme/OG-Platform | projects/OG-Analytics/src/main/java/com/opengamma/analytics/math/curve/SubtractCurveSpreadFunction.java | Java | apache-2.0 | 2,054 |
/*
* Copyright (c) 2016, 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.or... | wso2/siddhi | modules/siddhi-core/src/main/java/io/siddhi/core/query/selector/attribute/aggregator/MaxForeverAttributeAggregatorExecutor.java | Java | apache-2.0 | 11,651 |
/*
* 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 ... | mproch/apache-ode | bpel-dao/src/main/java/org/apache/ode/bpel/dao/BpelDAOConnectionFactoryJDBC.java | Java | apache-2.0 | 1,565 |
/**
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | eg-eng/Priam | priam/src/main/java/com/netflix/priam/backup/IncrementalBackup.java | Java | apache-2.0 | 3,837 |
/*
* 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/util/concurrent/AssertScopeExclusiveAccessTest.java | Java | apache-2.0 | 1,506 |
/*******************************************************************************
* (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Ap... | narry/score | worker/worker-manager/score-worker-manager-api/src/main/java/io/cloudslang/worker/management/services/WorkerRecoveryManager.java | Java | apache-2.0 | 810 |
/*
* 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 ... | ascherbakoff/ignite | modules/core/src/main/java/org/apache/ignite/internal/managers/systemview/walker/ReentrantLockViewWalker.java | Java | apache-2.0 | 2,529 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | platform/core-api/src/com/intellij/openapi/application/ApplicationInfo.java | Java | apache-2.0 | 2,993 |
/**
* 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... | juwi/hbase | hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotFromAdmin.java | Java | apache-2.0 | 7,718 |
/**
* 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... | tomatoKiller/Hadoop_Source_Learn | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java | Java | apache-2.0 | 95,752 |
package com.google.api.ads.adwords.jaxws.v201506.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Defines the elements within the header of a SOAP response.
*
*
* <p>Java class for So... | stoksey69/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201506/cm/SoapResponseHeader.java | Java | apache-2.0 | 4,033 |
/*
* Copyright 2015 MongoDB, 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... | kay-kim/mongo-java-driver | driver-core/src/main/com/mongodb/event/package-info.java | Java | apache-2.0 | 700 |
/*
* Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.corba.se.spi.protocol;
import org.omg.CORBA.portable.ServantObject;
/**
* @author Ha... | shun634501730/java_source_cn | src_en/com/sun/corba/se/spi/protocol/LocalClientRequestDispatcher.java | Java | apache-2.0 | 2,154 |