code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package com.bazaarvoice.emodb.web.jersey;
import com.bazaarvoice.emodb.sortedq.core.ReadOnlyQueueException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
@Provider
public class ReadOnlyQueueExceptionMapper implements Exce... | billkalter/emodb | web/src/main/java/com/bazaarvoice/emodb/web/jersey/ReadOnlyQueueExceptionMapper.java | Java | apache-2.0 | 828 |
/**
* $Id$
* $URL$
* GenericDaoTest.java - genericdao - May 18, 2008 4:34:33 PM - azeckoski
**************************************************************************
* Copyright (c) 2008 Aaron Zeckoski
* Licensed under the Apache License, Version 2.0
*
* A copy of the Apache License has been included in this ... | prince1a/genericdao | src/test/java/org/sakaiproject/genericdao/hibernate/GenericDaoTest.java | Java | apache-2.0 | 2,016 |
/*
* Copyright 2015 JBoss Inc
*
* 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, software
* distributed under t... | sdgdsffdsfff/drools-wb | drools-wb-screens/drools-wb-scorecard-xls-editor/drools-wb-scorecard-xls-editor-api/src/main/java/org/drools/workbench/screens/scorecardxls/type/ScoreCardXLSResourceTypeDefinition.java | Java | apache-2.0 | 1,505 |
/*
* 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/oodt | cli/src/main/java/org/apache/oodt/cas/cli/option/store/spring/SpringCmdLineOptionStore.java | Java | apache-2.0 | 2,159 |
/*
* 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 ... | sryza/spark | examples/src/main/java/org/apache/spark/mllib/examples/JavaALS.java | Java | apache-2.0 | 3,124 |
/*
* Copyright (c) 2013 DataTorrent, Inc. ALL Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | DataTorrent/Netlet | src/main/java/com/datatorrent/netlet/EventLoop.java | Java | apache-2.0 | 1,325 |
/*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | SaiNadh001/aws-sdk-for-java | src/main/java/com/amazonaws/services/dynamodb/model/transform/BatchWriteItemRequestMarshaller.java | Java | apache-2.0 | 16,822 |
/*
* Copyright 2013 University of Chicago and Argonne National 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
*
* Unles... | swift-lang/swift-t | stc/code/src/exm/stc/common/exceptions/TypeMismatchException.java | Java | apache-2.0 | 1,008 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.30 at 06:15... | Apelon-VA/va-isaac-gui | import-export/src/main/java/org/hl7/knowledgeartifact/r1/GroupSelectionBehavior.java | Java | apache-2.0 | 1,284 |
package com.vaadin.tests.components.grid;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.WebElement;
import com.vaadin.testbench.By;
import com.vaadin.testbench.elements.GridElement;
import com.vaadin.testbench.parallel.TestCategory;
import com.vaadin.tests.tb3.Mult... | peterl1084/framework | uitest/src/test/java/com/vaadin/tests/components/grid/GridEditorMultiselectTest.java | Java | apache-2.0 | 1,848 |
/*
* #%L
* BroadleafCommerce Open Admin Platform
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | shopizer/BroadleafCommerce | admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/dto/ForeignKey.java | Java | apache-2.0 | 7,605 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.searchablesnapshots.action;
impor... | ern/elasticsearch | x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/action/TransportMountSearchableSnapshotAction.java | Java | apache-2.0 | 14,381 |
/*
* Copyright 2016-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... | gkatsikas/onos | cli/src/main/java/org/onosproject/cli/net/DeviceKeyAddCommand.java | Java | apache-2.0 | 3,352 |
/* Copyright (C) 2013-2015 Computer Sciences Corporation
*
* 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... | infochimps-forks/ezbake-platform-services | groups/graph/src/main/java/ezbake/groups/graph/TitanGraphConfiguration.java | Java | apache-2.0 | 5,132 |
/*
* Copyright (c) 2015, Jurriaan Mous and contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | armstrongli/etcd4j | src/main/java/mousio/etcd4j/transport/EtcdClientImpl.java | Java | apache-2.0 | 1,294 |
/*
* 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 ... | mashuai/Cassandra-Research | my-test/my/test/cluster/Node2.java | Java | apache-2.0 | 1,268 |
package org.drools.integrationtests.eventgenerator.example;
import org.drools.integrationtests.eventgenerator.Event;
public class ProductionEvent extends Event {
/**
* Special constructor for a production event
* @param parentId The id of the corresponding site, resource, ...
*/
public Product... | pperboires/PocDrools | drools-compiler/src/test/java/org/drools/integrationtests/eventgenerator/example/ProductionEvent.java | Java | apache-2.0 | 823 |
/*
* Copyright 2015 JBoss, by Red Hat, 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 ... | karreiro/uberfire | uberfire-extensions/uberfire-wires/uberfire-wires-core/uberfire-wires-core-client/src/main/java/org/uberfire/ext/wires/core/client/canvas/FocusableLienzoPanel.java | Java | apache-2.0 | 2,325 |
/*
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... | Squeegee/batik | sources/org/apache/batik/extension/svg/HistogramRed.java | Java | apache-2.0 | 3,320 |
package com.fincatto.documentofiscal.nfe310.converters;
import org.junit.Assert;
import org.junit.Test;
import org.simpleframework.xml.stream.InputNode;
import org.simpleframework.xml.stream.NodeMap;
import org.simpleframework.xml.stream.Position;
public class NFStringNullToEmptyConverterTest {
@Test
public ... | fincatto/nfe | src/test/java/com/fincatto/documentofiscal/nfe310/converters/NFStringNullToEmptyConverterTest.java | Java | apache-2.0 | 1,927 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | paplorinc/intellij-community | platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsViewUtil.java | Java | apache-2.0 | 3,816 |
/*
* 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/test/java/org/apache/geode/internal/cache/ConcurrentRegionOperationsJUnitTest.java | Java | apache-2.0 | 26,129 |
/*
* Copyright (c) 2018 Abex
* 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 conditions and ... | UniquePassive/runelite | runelite-client/src/main/java/net/runelite/client/plugins/kourendlibrary/LibraryCustomer.java | Java | bsd-2-clause | 2,190 |
package cz.metacentrum.perun.core.entry;
import cz.metacentrum.perun.TestUtils.TestConsumer;
import cz.metacentrum.perun.TestUtils.TestSupplier;
import cz.metacentrum.perun.core.AbstractPerunIntegrationTest;
import cz.metacentrum.perun.core.api.Attribute;
import cz.metacentrum.perun.core.api.AttributeDefinition;
impor... | zlamalp/perun | perun-core/src/test/java/cz/metacentrum/perun/core/entry/UsersManagerEntryIntegrationTest.java | Java | bsd-2-clause | 105,451 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.scroll;
import android.view.View;
import android.view.ViewGroup;
import com.facebook.react.bridge... | exponent/exponent | android/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.java | Java | bsd-3-clause | 3,192 |
/*
* 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 com.faceb... | algobardo/infer | infer/annotations/com/facebook/infer/annotation/TrueOnNull.java | Java | bsd-3-clause | 688 |
/*
* 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 com... | HKMOpen/fresco | imagepipeline-base/src/test/java/com/facebook/imagepipeline/cache/CountingMemoryCacheTest.java | Java | bsd-3-clause | 24,794 |
/*--
Copyright (C) 2003-2007 Wolf Paulus.
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 conditions, and th... | boyjimeking/paintown | editor/src/swixml_220/src/org/swixml/layoutconverters/FormLayoutConverter.java | Java | bsd-3-clause | 7,909 |
package org.hisp.dhis.organisationunit.comparator;
/*
* Copyright (c) 2004-2015, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must ret... | steffeli/inf5750-tracker-capture | dhis-api/src/main/java/org/hisp/dhis/organisationunit/comparator/OrganisationUnitComparator.java | Java | bsd-3-clause | 2,471 |
package org.knowm.xchange.bleutrade.dto.marketdata;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml... | dozd/XChange | xchange-bleutrade/src/main/java/org/knowm/xchange/bleutrade/dto/marketdata/BleutradeOrderBookReturn.java | Java | mit | 2,206 |
package net.sf.jabref.gui.exporter;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ActionMap;
import javax.swing.Bor... | Mr-DLib/jabref | src/main/java/net/sf/jabref/gui/exporter/ExportCustomizationDialog.java | Java | mit | 7,062 |
/**
* 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.... | Snickermicker/openhab2 | bundles/org.openhab.binding.plclogo/src/main/java/org/openhab/binding/plclogo/internal/PLCLogoHandlerFactory.java | Java | epl-1.0 | 3,509 |
/*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Ori-Libhaber/che-core | commons/che-core-commons-gwt/src/main/java/org/eclipse/che/ide/websocket/rest/Unmarshallable.java | Java | epl-1.0 | 1,594 |
/**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | hexbinary/landing | src/main/java/oscar/oscarBilling/ca/bc/pageUtil/WCBAction2.java | Java | gpl-2.0 | 4,338 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | mdaniel/svn-caucho-com-resin | modules/webbeans/src/javax/enterprise/util/Nonbinding.java | Java | gpl-2.0 | 1,367 |
/**
* Copyright (c) 2008-2012 Indivica Inc.
*
* This software is made available under the terms of the
* GNU General Public License, Version 2, 1991 (GPLv2).
* License details are available via "indivica.ca/gplv2"
* and "gnu.org/licenses/gpl-2.0.html".
*/
package oscar.dms.data;
import org.apache.struts.action... | hexbinary/landing | src/main/java/oscar/dms/data/AddDocumentTypeForm.java | Java | gpl-2.0 | 801 |
package org.dolphinemu.dolphinemu.activities;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os.Bundle;
import androidx.fragment.app.FragmentActivity;
import androidx.localbroadcastman... | JonnyH/dolphin | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/AppLinkActivity.java | Java | gpl-2.0 | 5,415 |
/*
* Copyright (c) 2008, 2012, 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 ... | Taichi-SHINDO/jdk9-jdk | test/javax/swing/text/html/CSS/4530474/bug4530474.java | Java | gpl-2.0 | 3,313 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | mdaniel/svn-caucho-com-resin | modules/jcr/src/javax/jcr/observation/ObservationManager.java | Java | gpl-2.0 | 1,710 |
package net.minecraftforge.event.terraingen;
import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.world.gen.layer.GenLayer;
import net.minecraft.world.WorldType;
/**
* WorldTypeEvent is fired when an event involving the world occurs.<br>
* If a method utilizes this {@link Event} as its parameter, the... | Scrik/Cauldron-1 | eclipse/cauldron/src/main/java/net/minecraftforge/event/terraingen/WorldTypeEvent.java | Java | gpl-3.0 | 3,141 |
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, an... | Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/ClassFile.java | Java | gpl-3.0 | 130,298 |
/*
* 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 ... | happyjack27/autoredistrict | src/org/apache/commons/math3/transform/FastFourierTransformer.java | Java | gpl-3.0 | 27,654 |
package net.minecraft.item;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class ItemSimpleFoiled extends Item
{
/**
* Returns true if this item has an enchantment glint. By default, this returns
* <code>stack.isItemEnchanted()</code>, but other ... | Severed-Infinity/technium | build/tmp/recompileMc/sources/net/minecraft/item/ItemSimpleFoiled.java | Java | gpl-3.0 | 761 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/kra/meeting/OtherPresentBean.java | Java | agpl-3.0 | 1,361 |
package tc.oc.pgm.loot;
import org.bukkit.inventory.ItemStack;
import tc.oc.commons.core.inject.HybridManifest;
import tc.oc.pgm.compose.ComposableManifest;
import tc.oc.pgm.features.FeatureBinder;
import tc.oc.pgm.match.MatchScope;
import tc.oc.pgm.match.inject.MatchBinders;
import tc.oc.pgm.match.inject.MatchScoped;... | cswhite2000/ProjectAres | PGM/src/main/java/tc/oc/pgm/loot/LootManifest.java | Java | agpl-3.0 | 1,206 |
/**
* Project Wonderland
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved
*
* Redistributions in source code form must reproduce the above
* copyright and this condition.
*
* The contents of this file are subject to the GNU General Public
* License, Version 2 (the "License"); you may no... | AsherBond/MondocosmOS | wonderland/modules/foundation/appbase/src/classes/org/jdesktop/wonderland/modules/appbase/client/View2DSet.java | Java | agpl-3.0 | 5,674 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | jstourac/wildfly | mod_cluster/extension/src/test/java/org/wildfly/extension/mod_cluster/ModClusterTransformersTestCase.java | Java | lgpl-2.1 | 6,362 |
/*
* Minecraft Forge
* Copyright (c) 2016.
*
* 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 version 2.1
* of the License.
*
* This library is distributed in the hope that it will... | SuperUnitato/UnLonely | build/tmp/recompileMc/sources/net/minecraftforge/fml/common/functions/TypeCastFunction.java | Java | lgpl-2.1 | 1,106 |
package com.puppycrawl.tools.checkstyle.indentation;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.jar.JarInputStream;
import java.util.jar.Manifest;
// Forcing a commit
class InputValidTryResourcesIndent
{
// Taken from JDK7 java.lang.Package src code.
private static Manifest l... | Andrew0701/checkstyle | src/testinputs/com/puppycrawl/tools/checkstyle/indentation/InputValidTryResourcesIndent.java | Java | lgpl-2.1 | 626 |
package org.intermine.bio.webservice;
/*
* Copyright (C) 2002-2016 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/less... | zebrafishmine/intermine | bio/webapp/src/org/intermine/bio/webservice/GFFQueryService.java | Java | lgpl-2.1 | 2,884 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | jstourac/wildfly | transactions/src/main/java/org/jboss/as/txn/ee/concurrency/EEConcurrencyContextHandleFactoryProcessor.java | Java | lgpl-2.1 | 3,267 |
/**
* Copyright (C) 2009 Orbeon, Inc.
*
* This program 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 program i... | wesley1001/orbeon-forms | src/main/java/org/orbeon/oxf/pipeline/api/ProcessorDefinition.java | Java | lgpl-2.1 | 3,587 |
package org.apache.cassandra.hadoop.cql3;
/*
*
* 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 Licens... | Bj0rnen/cassandra | src/java/org/apache/cassandra/hadoop/cql3/CqlConfigHelper.java | Java | apache-2.0 | 24,042 |
/*
* Copyright (C) 2014-2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of the
* License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | slietz/gobblin | gobblin-runtime/src/main/java/gobblin/runtime/WorkUnitManager.java | Java | apache-2.0 | 4,913 |
/**
* Copyright 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 t... | nelsonsilva/wave-protocol | src/org/waveprotocol/wave/model/document/parser/Item.java | Java | apache-2.0 | 3,626 |
/*
* 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... | mmaracic/elasticsearch | core/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/ShardsLimitAllocationDecider.java | Java | apache-2.0 | 9,164 |
/**
* Copyright 2007-2016 Jordi Hernández Sellés, Ibrahim Chaehoi
*
* 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 ... | davidwebster48/jawr-main-repo | jawr/jawr-core/src/main/java/net/jawr/web/resource/bundle/postprocess/impl/CustomPostProcessorChainWrapper.java | Java | apache-2.0 | 2,385 |
package ch.usi.dag.disl.staticcontext.uid;
import ch.usi.dag.disl.staticcontext.AbstractStaticContext;
public abstract class AbstractUniqueId extends AbstractStaticContext {
private IdHolder idHolder;
// constructor for static context
protected AbstractUniqueId () {
idHolder = null;
}
// constructor for ... | msteindorfer/disl-svn-2013-10-01 | src/ch/usi/dag/disl/staticcontext/uid/AbstractUniqueId.java | Java | apache-2.0 | 729 |
/*
* 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 ... | masaki-yamakawa/geode | extensions/geode-modules-tomcat7/src/main/java/org/apache/geode/modules/session/catalina/Tomcat7CommitSessionOutputBuffer.java | Java | apache-2.0 | 1,881 |
/*
* 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 ... | tillrohrmann/flink | flink-connectors/flink-connector-gcp-pubsub/src/test/java/org/apache/flink/streaming/connectors/gcp/pubsub/PubSubSourceTest.java | Java | apache-2.0 | 6,683 |
package one.two;
public class ReadWithInstance {
public static void main(String[] args) {
KotlinObject i = KotlinObject.INSTANCE.getStaticLateinit();
}
} | jwren/intellij-community | plugins/kotlin/refIndex/tests/testData/compilerIndex/properties/fromObject/staticLateinit/ReadWithInstance.java | Java | apache-2.0 | 170 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2018 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | kingthorin/zap-extensions | addOns/ascanrules/src/test/java/org/zaproxy/zap/extension/ascanrules/RemoteFileIncludeScanRuleUnitTest.java | Java | apache-2.0 | 4,151 |
// Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | WANdisco/gerrit | java/com/google/gerrit/server/schema/Schema_114.java | Java | apache-2.0 | 845 |
/*
* Copyright 2004-2006 Stefan Reuter
*
* 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 ... | yamajun/asterisk-java | src/main/java/org/asteriskjava/manager/action/RedirectAction.java | Java | apache-2.0 | 9,412 |
/*
* 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/olingo-odata4 | fit/src/test/java/org/apache/olingo/fit/proxy/demo/odatademo/types/CategoryCollectionComposableInvoker.java | Java | apache-2.0 | 1,249 |
package org.wso2.carbon.identity.application.authentication.framework.handler.request.impl;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.wso2.carbon.base.MultitenantConstants;
import org.wso2.carbon.identity.application.auth... | cdwijayarathna/carbon-identity | components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/request/impl/DefaultRequestCoordinator.java | Java | apache-2.0 | 14,844 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | sanojkodikkara/incubator-twill | twill-api/src/main/java/org/apache/twill/internal/DefaultTwillRunResources.java | Java | apache-2.0 | 3,520 |
/**
* $Id$
* $URL$
* EntitySite.java - entity-broker - Jun 29, 2008 9:31:10 AM - azeckoski
**************************************************************************
* Copyright (c) 2008, 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not u... | marktriggs/nyu-sakai-10.4 | entitybroker/core-providers/src/java/org/sakaiproject/entitybroker/providers/model/EntitySite.java | Java | apache-2.0 | 25,279 |
/*
* 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 ... | pax95/camel | core/camel-management/src/test/java/org/apache/camel/management/CustomEndpoint.java | Java | apache-2.0 | 2,024 |
/*
* 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 ... | DariusX/camel | core/camel-core/src/test/java/org/apache/camel/component/bean/issues/FilterBeanNonRegistryTest.java | Java | apache-2.0 | 2,588 |
/*
* Copyright 2014 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | masonmei/pinpoint | profiler/src/main/java/com/navercorp/pinpoint/test/TestClassLoaderFactory.java | Java | apache-2.0 | 2,594 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | ThiagoGarciaAlves/intellij-community | java/compiler/tests/com/intellij/compiler/artifacts/PackagingElementsTestCase.java | Java | apache-2.0 | 4,860 |
/*
* 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/config/matcher/package-info.java | Java | apache-2.0 | 756 |
/*
* 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... | Teradata/presto | presto-thrift-connector-api/src/main/java/com/facebook/presto/connector/thrift/api/datatypes/PrestoThriftJson.java | Java | apache-2.0 | 3,755 |
/*
* This file is part of dependency-check-core.
*
* 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 ... | Prakhash/security-tools | external/dependency-check-core-3.1.1/src/main/java/org/owasp/dependencycheck/data/nuget/NuspecParseException.java | Java | apache-2.0 | 2,565 |
/*
* Copyright 2021 The Closure Compiler 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... | GoogleChromeLabs/chromeos_smart_card_connector | third_party/closure-compiler/src/src/com/google/javascript/jscomp/SynthesizeExplicitConstructors.java | Java | apache-2.0 | 4,359 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | ueshin/apache-flink | flink-runtime/src/test/java/org/apache/flink/runtime/io/network/util/TestSubpartitionConsumer.java | Java | apache-2.0 | 4,339 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | objectiser/camel | examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/jaxrs/resources/BookStore.java | Java | apache-2.0 | 1,492 |
/******************************************************************************
* Copyright (c) 2006, 2010 VMware Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distr... | glyn/Gemini-Blueprint | integration-tests/bundles/error.bundle/src/main/java/org/springframework/osgi/iandt/error/TestService.java | Java | apache-2.0 | 971 |
/**
* Copyright (c) 2014-2015, Data Geekery GmbH, contact@datageekery.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | webfd/jOOL | src/main/java/org/jooq/lambda/fi/util/function/CheckedObjIntConsumer.java | Java | apache-2.0 | 1,105 |
package hex.kmeans;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import water.TestUtil;
import water.fvec.Frame;
import water.util.Log;
import java.util.Random;
public class KMeansRandomTest extends TestUtil {
@BeforeClass()
public static void setup() { stall_till_cloudsize(1); }... | weaver-viii/h2o-3 | h2o-algos/src/test/java/hex/kmeans/KMeansRandomTest.java | Java | apache-2.0 | 3,514 |
/**
* 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 ... | kishorvpatil/incubator-storm | storm-client/src/jvm/org/apache/storm/trident/topology/MasterBatchCoordinator.java | Java | apache-2.0 | 12,435 |
/*
* 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... | Lekanich/intellij-community | plugins/junit_rt/src/com/intellij/rt/execution/junit/ProcessBuilder.java | Java | apache-2.0 | 3,422 |
package org.xtuml.bp.core.test;
import org.xtuml.bp.test.GlobalsTestEnabler;
public class SystemLevelGlobalsTest extends GlobalsTestEnabler {
public SystemLevelGlobalsTest(){
super(null, null);
}
}
| jason-rhodes/bridgepoint | src/org.xtuml.bp.core.test/src/org/xtuml/bp/core/test/SystemLevelGlobalsTest.java | Java | apache-2.0 | 215 |
package eu.ehealth.db.db;
// Generated Oct 1, 2013 11:39:06 AM by Hibernate Tools 3.2.4.GA
/**
* EntertainmentContent generated by hbm2java
*/
public class EntertainmentContent implements java.io.Serializable {
private Integer id;
private String title;
private String url;
private String type... | seaclouds-atos/softcare-final-implementation | storage-component/src/main/java/eu/ehealth/db/db/EntertainmentContent.java | Java | apache-2.0 | 1,754 |
package org.nd4j.parameterserver.updater;
import org.nd4j.aeron.ipc.NDArrayMessage;
import org.nd4j.linalg.api.ndarray.INDArray;
import java.util.Map;
/**
* Created by agibsonccc on 12/1/16.
*/
public class TimeDelayedParameterUpdater extends BaseParameterUpdater {
private long syncTime;
private long lastS... | smarthi/nd4j | nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/updater/TimeDelayedParameterUpdater.java | Java | apache-2.0 | 2,281 |
// Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | andybab/Impala | fe/src/main/java/com/cloudera/impala/catalog/HdfsCachePool.java | Java | apache-2.0 | 1,904 |
/*
* Copyright 2009 The Closure Compiler 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... | weitzj/closure-compiler | test/com/google/javascript/jscomp/PhaseOptimizerTest.java | Java | apache-2.0 | 7,093 |
// Copyright 2000-2020 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.psi.scope.processor;
import com.intellij.openapi.util.Key;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiSubstitutor;
import com.intellij.ps... | smmribeiro/intellij-community | java/java-psi-impl/src/com/intellij/psi/scope/processor/FilterScopeProcessor.java | Java | apache-2.0 | 2,521 |
/*
* Copyright 2014-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... | shs96c/buck | src/com/facebook/buck/util/Types.java | Java | apache-2.0 | 5,261 |
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | hurricup/intellij-community | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/TaskCompletionProvider.java | Java | apache-2.0 | 5,715 |
/*
* 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... | hurricup/intellij-community | plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/library/RepositoryLibrarySupport.java | Java | apache-2.0 | 5,633 |
/* Copyright (C) 2000-2003 Constantin Kaplinsky. All Rights Reserved.
* Copyright 2004-2005 Cendio AB.
*
* This 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 2 of the License, or
* ... | x-hansong/aSpice | src/com/iiordanov/tigervnc/rfb/TightDecoder.java | Java | apache-2.0 | 12,131 |
/*
* 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... | smmribeiro/intellij-community | plugins/git4idea/src/git4idea/branch/GitRenameBranchOperation.java | Java | apache-2.0 | 4,461 |
package com.google.api.ads.adwords.jaxws.v201502.express;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Retrieves the budget suggestion for the specif... | stoksey69/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201502/express/BudgetSuggestionServiceInterfaceget.java | Java | apache-2.0 | 1,952 |
/*
* Copyright (C) 2014 Jerrell Mardis
*
* 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... | leasual/Amphitheatre | tv/src/main/java/com/jerrellmardis/amphitheatre/api/GuessItClient.java | Java | apache-2.0 | 1,839 |
/*
* 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 ... | smgoller/geode | geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/cli/DescribeMappingResult.java | Java | apache-2.0 | 1,768 |
/*================================================================================
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/CustomizationUserData.java | Java | bsd-3-clause | 2,636 |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation 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, an... | brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/ui/compare/PropertiesFileViewer.java | Java | mit | 3,328 |
package org.knowm.xchange.okcoin.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
public class OkCoinFuturesInfoCross {
private final OkcoinFuturesFundsCross btcFunds;
private final OkcoinFuturesFundsCross ltcFunds;
public OkCoinFuturesInfoCross(@JsonProperty("btc") final OkcoinFuturesFundsCr... | gaborkolozsy/XChange | xchange-okcoin/src/main/java/org/knowm/xchange/okcoin/dto/account/OkCoinFuturesInfoCross.java | Java | mit | 620 |