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 (c) 2010-2020 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.... | openhab/openhab2 | bundles/org.openhab.binding.bluetooth/src/main/java/org/openhab/binding/bluetooth/BluetoothDeviceListener.java | Java | epl-1.0 | 3,487 |
/**
* Copyright (c) 2010-2020 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.... | openhab/openhab2 | bundles/org.openhab.binding.yioremote/src/main/java/org/openhab/binding/yioremote/internal/utils/WebsocketInterface.java | Java | epl-1.0 | 858 |
/*
* Copyright (c) 2013 Big Switch Networks, Inc.
*
* Licensed under the Eclipse Public License, Version 1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by ap... | mandeepdhami/netvirt-ctrl | sdnplatform/src/main/java/org/sdnplatform/perfmon/IPktInProcessingTimeService.java | Java | epl-1.0 | 1,767 |
package duplicates_in;
public class A_test964 {
void test() {
new Object() {
public void yes() {
yes();
System.out.println("hello world");
}
};
/*[*/System.out.println("hello world");/*]*/
}
} | maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/duplicates_in/A_test964.java | Java | epl-1.0 | 215 |
/**
* Copyright (c) 2010-2020 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.... | openhab/openhab2 | bundles/org.openhab.binding.cm11a/src/main/java/org/openhab/binding/cm11a/internal/X10ReceivedData.java | Java | epl-1.0 | 4,258 |
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
*
* 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
*... | bmaggi/Papyrus-SysML11 | plugins/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/helper/advice/AssociationNoneDirectedEditHelperAdvice.java | Java | epl-1.0 | 1,461 |
/**
* Copyright (c) 2010-2020 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.... | openhab/openhab2 | bundles/org.openhab.binding.lcn/src/main/java/org/openhab/binding/lcn/internal/subhandler/LcnModuleBinarySensorSubHandler.java | Java | epl-1.0 | 2,177 |
/*
* Copyright 1999-2012 Alibaba Group.
*
* 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... | igool/mybatis-shard | shard/src/main/java/org/lysu/shard/parser/ast/stmt/extension/ExtDDLCreatePolicy.java | Java | epl-1.0 | 1,823 |
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: ConvTable833.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// C... | devjunix/libjt400-java | src/com/ibm/as400/access/ConvTable833.java | Java | epl-1.0 | 3,489 |
/*
* *************************************************************************************
* Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | b-cuts/esper | esper/src/main/java/com/espertech/esper/epl/spec/ContextDetailCategory.java | Java | gpl-2.0 | 2,285 |
package edu.stanford.nlp.optimization;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
import edu.stanford.nlp.io.Ru... | sanjithuom/Stanford-corenlp | src/edu/stanford/nlp/optimization/QNMinimizer.java | Java | gpl-2.0 | 79,140 |
/*
* Copyright (c) 2013, 2017, 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 ... | JetBrains/jdk8u_jdk | src/share/classes/java/util/stream/LongPipeline.java | Java | gpl-2.0 | 22,394 |
package org.apache.commons.math.analysis.solvers;
@org.junit.runner.RunWith(value = org.evosuite.runtime.EvoRunner.class)
@org.evosuite.runtime.EvoRunnerParameters(mockJVMNonDeterminism = true, resetStaticState = true, separateClassLoader = true, useVFS = true, useVNET = true)
public class BisectionSolver_ESTest exte... | justinwm/astor | examples/evo_suite_test/math_70_spooned/evosuite/evosuite-tests/org/apache/commons/math/analysis/solvers/BisectionSolver_ESTest.java | Java | gpl-2.0 | 15,353 |
/**************************************************************************************
* Copyright (C) 2006-2015 EsperTech Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | b-cuts/esper | esper/src/main/java/com/espertech/esper/epl/agg/service/AggSvcGroupAllMixedAccessFactory.java | Java | gpl-2.0 | 2,480 |
/*
* Copyright (C) 2014 AChep@xda <artemchep@gmail.com>
*
* 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; either version 2
* of the License, or (at your option) any later version.
*
* Th... | idandan/AcDisplay | project/app/src/main/java/com/achep/acdisplay/services/BathService.java | Java | gpl-2.0 | 12,440 |
/*
* Copyright (c) 2013, 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 | src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCodeCacheProvider.java | Java | gpl-2.0 | 7,742 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | RangerRick/opennms | opennms-services/src/test/java/org/opennms/netmgt/scheduler/ScheduleTest.java | Java | gpl-2.0 | 6,338 |
/*
* Copyright (C) 2014 AChep@xda <artemchep@gmail.com>
*
* 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; either version 2
* of the License, or (at your option) any later version.
*
* Th... | hgl888/AcDisplay | project/app/src/main/java/com/achep/acdisplay/receiver/ReceiverPublic.java | Java | gpl-2.0 | 2,743 |
///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | ekummerfeld/GdistanceP | tetrad-lib/src/main/java/edu/cmu/tetrad/search/IndTestTimeSeries.java | Java | gpl-2.0 | 67,773 |
/* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.client;
import com.onionnetworks.fec.FECCode;
import com.onionnetworks.fec.PureCode;
import freenet... | saces/fred | src/freenet/client/StandardOnionFECCodec.java | Java | gpl-2.0 | 4,065 |
/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.geofence.gui.server.gwt;
import java.util.List;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt... | geoserver/geofence | src/gui/core/plugin/userui/src/main/java/org/geoserver/geofence/gui/server/gwt/RulesManagerServiceImpl.java | Java | gpl-2.0 | 6,867 |
/*
* Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | arodchen/MaxSim | graal/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/virtual/AllocatedObjectNode.java | Java | gpl-2.0 | 2,106 |
/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
... | AntumDeluge/arianne-stendhal | src/games/stendhal/server/maps/quests/KanmararnSoldiers.java | Java | gpl-2.0 | 19,127 |
/*
* Copyright (C) 2010 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 agr... | Rochelimit/fayuandi | src/com/barcode/core/FinishListener.java | Java | gpl-2.0 | 1,273 |
/*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de)
*
* 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; either version 3 of the License, or (at your option)
* any late... | lveci/nest | beam/beam-core/src/main/java/org/esa/beam/framework/datamodel/ProductNodeListener.java | Java | gpl-3.0 | 1,665 |
package com.baselet.element.old.element;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Polygon;
import java.awt.font.TextLayout;
import java.awt.geom.AffineTransform;
import java.awt.geom.Area;
import java.util.Collections;
import java.util.Set;
import java.uti... | schuellerf/umlet | umlet-swing/src/main/java/com/baselet/element/old/element/Relation.java | Java | gpl-3.0 | 69,630 |
/**
* License Agreement for OpenSearchServer
*
* Copyright (C) 2008-2014 Emmanuel Keller / Jaeksoft
*
* http://www.open-search-server.com
*
* This file is part of OpenSearchServer.
*
* OpenSearchServer is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | nvoron23/opensearchserver | src/main/java/com/jaeksoft/searchlib/web/DeleteServlet.java | Java | gpl-3.0 | 4,812 |
package atomicstryker.dynamiclights.client;
import net.minecraft.entity.Entity;
/**
*
* @author AtomicStryker
*
* Usage of this class:
* You can use this Interface to create your own Dynamic Light Sources to use with Dynamic Lights.
* Implement this interface, write code as you see fit, and then use the metho... | nalimleinad/Battlegear2 | src/api/java/atomicstryker/dynamiclights/client/IDynamicLightSource.java | Java | gpl-3.0 | 1,405 |
/******************************************************************************
* Compilation: javac TopologicalX.java
* Execution: java TopologicalX V E F
* Dependencies: Queue.java Digraph.java
*
* Compute topological ordering of a DAG using queue-based algorithm.
* Runs in O(E + V) time.
*
*********... | kevin-wayne/algs4 | src/main/java/edu/princeton/cs/algs4/TopologicalX.java | Java | gpl-3.0 | 11,467 |
package org.qii.weiciyuan.support.database.dbUpgrade;
import org.qii.weiciyuan.support.database.DatabaseHelper;
import org.qii.weiciyuan.support.database.table.AtUsersTable;
import android.database.sqlite.SQLiteDatabase;
/**
* User: qii
* Date: 14-4-8
*/
public class Upgrade35to36 {
public static void upgrad... | Rachel-Ding/weiciyuan-for-eclipse | src/org/qii/weiciyuan/support/database/dbUpgrade/Upgrade35to36.java | Java | gpl-3.0 | 483 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.
*
*/
package com.sleepycat.bind.tuple.test;
import com.sleepycat.bind.tuple.MarshalledTupleEntry;
import com.sleepycat.bind.tuple.MarshalledTupleKeyEntity;
import com.sleepy... | malin1993ml/h-store | third_party/cpp/berkeleydb/test/java/compat/src/com/sleepycat/bind/tuple/test/MarshalledObject.java | Java | gpl-3.0 | 3,225 |
package net.minecraft.command;
public class CommandNotFoundException extends CommandException
{
public CommandNotFoundException()
{
this("commands.generic.notFound");
}
public CommandNotFoundException(String message, Object... args)
{
super(message, args);
}
public synchro... | Severed-Infinity/technium | build/tmp/recompileMc/sources/net/minecraft/command/CommandNotFoundException.java | Java | gpl-3.0 | 389 |
package de.terrestris.momo.converter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import de.terrestris.momo.model.MomoLayer;
import de.terrestris.shogun2.converter.PersistentObjectIdResolver;
import de.terrestris.shogun2.dao.LayerDao;
i... | buehner/momo3-backend | src/main/java/de/terrestris/momo/converter/MomoLayerIdResolver.java | Java | gpl-3.0 | 712 |
/*
* #%L
* GeoWE Project
* %%
* Copyright (C) 2015 - 2016 GeoWE.org
* %%
* This file is part of GeoWE.org.
*
* GeoWE 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, ... | i62lotor/geowe-core | src/main/java/org/geowe/client/local/layermanager/toolbar/RasterLayerToolBar.java | Java | gpl-3.0 | 2,079 |
package net.minecraft.client.renderer;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.BlockFluidRenderer;
import net.minecraft.client.renderer.BlockModelRenderer;
import net.minecraft.client.renderer.BlockModelShapes;
import net.minecraft.client.ren... | MartyParty21/AwakenDreamsClient | mcp/temp/src/minecraft/net/minecraft/client/renderer/BlockRendererDispatcher.java | Java | gpl-3.0 | 5,341 |
/*
* Copyright (C) 2015 Information Retrieval Group at Universidad Autónoma
* de Madrid, http://ir.ii.uam.es
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/... | jacekwasilewski/RankSys | RankSys-diversity/src/main/java/es/uam/eps/ir/ranksys/diversity/sales/metrics/GiniSimpsonIndex.java | Java | gpl-3.0 | 1,493 |
/*
This file is part of Subsonic.
Subsonic 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 later version.
Subsonic is distributed in the hope that i... | MadMarty/madsonic-5.5 | src/github/madmarty/madsonic/service/parser/JukeboxStatusParser.java | Java | gpl-3.0 | 1,994 |
package de.metas.ui.web.bankstatement_reconciliation;
import java.util.List;
import org.adempiere.util.lang.impl.TableRecordReferenceSet;
import org.compiere.model.I_C_BankStatementLine;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import de.metas.banking.BankStateme... | metasfresh/metasfresh-webui | src/main/java/de/metas/ui/web/bankstatement_reconciliation/BankStatementLineRows.java | Java | gpl-3.0 | 3,081 |
/*
* MIPA - Middleware Infrastructure for Predicate detection in Asynchronous
* environments
*
* Copyright (C) 2009 the original author or authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the term of the GNU General Public License as published by
* the Free Softw... | ylyang/mipa | src/net/sourceforge/mipa/eca/Listener.java | Java | gpl-3.0 | 1,068 |
/**
* Copyright (C) 2007-2015 Hypertable, Inc.
*
* This file is part of Hypertable.
*
* Hypertable 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 any later versio... | amyvmiwei/miwei_temp | java/hypertable-common/src/main/java/org/hypertable/FsBroker/Lib/ResponseCallbackPositionRead.java | Java | gpl-3.0 | 1,861 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package persist;
import java.io.File;
import java.io.FileNotFoundException;
import com.sleepycat.db.DatabaseException;
import com.sleepycat.db.Environment;
imp... | apavlo/h-store | third_party/cpp/berkeleydb/examples/java/src/persist/DplDump.java | Java | gpl-3.0 | 4,314 |
package net.minecraft.client.gui;
import com.google.common.collect.Lists;
import java.util.List;
import net.minecraft.client.Minecraft;
import net.minecraft.client.settings.GameSettings;
public class GuiOptionsRowList extends GuiListExtended
{
private final List<GuiOptionsRowList.Row> options = Lists.<GuiOptionsR... | MartyParty21/AwakenDreamsClient | mcp/src/minecraft/net/minecraft/client/gui/GuiOptionsRowList.java | Java | gpl-3.0 | 4,802 |
/*******************************************************************************
* IMS (It Makes Sense) -- NUS WSD System
* Copyright (c) 2013 National University of Singapore.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | jgrivolla/dkpro-wsd-gpl | de.tudarmstadt.ukp.dkpro.wsd.supervised.ims-gpl/src/main/java/sg/edu/nus/comp/nlp/ims/implement/CTester.java | Java | gpl-3.0 | 15,772 |
package info.nightscout.androidaps.plugins.pump.medtronic.defs;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import info.nightscout.androidaps.R;
import info.nightscout.androidaps.plugins.pump.medtronic.comm.message.MessageBody;
import info.nightscout.androidaps.plugins.pump.medtronic.... | MilosKozak/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/defs/MedtronicCommandType.java | Java | agpl-3.0 | 17,704 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tdefilip/opennms | opennms-config-api/src/main/java/org/opennms/netmgt/config/api/DatabaseSchemaConfig.java | Java | agpl-3.0 | 2,413 |
/*
* This file is part of LibrePlan
*
* Copyright (C) 2011 WirelessGalicia, S.L.
*
* 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, either version 3 of the License, or
* (at your o... | PaulLuchyn/libreplan | libreplan-business/src/test/java/org/libreplan/business/test/planner/daos/SubcontractorCommunicationDAOTest.java | Java | agpl-3.0 | 10,102 |
/*
* Electronic Logistics Management Information System (eLMIS) is a supply chain management system for health commodities in a developing country setting.
*
* Copyright (C) 2015 John Snow, Inc (JSI). This program was produced for the U.S. Agency for International Development (USAID). It was prepared under the USAI... | OpenLMIS/open-lmis | modules/report/src/main/java/org/openlmis/report/mapper/lookup/EquipmentTypeReportMapper.java | Java | agpl-3.0 | 1,435 |
package rocks.inspectit.server.diagnosis.service.rules.testrules;
import rocks.inspectit.server.diagnosis.engine.rule.annotation.Action;
import rocks.inspectit.server.diagnosis.engine.rule.annotation.Rule;
import rocks.inspectit.server.diagnosis.engine.rule.annotation.TagValue;
/**
* @author Alexander Wert
*
*/
@R... | inspectIT/inspectIT | inspectit.server.diagnosis/src/test/java/rocks/inspectit/server/diagnosis/service/rules/testrules/RuleB.java | Java | agpl-3.0 | 480 |
/* Copyright (C) 2015-2017 Andreas Shimokawa, Carsten Pfeiffer, Daniele
Gobbetti, Uwe Hermann
This file is part of Gadgetbridge.
Gadgetbridge 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 Found... | roidelapluie/Gadgetbridge | app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/actions/WriteAction.java | Java | agpl-3.0 | 2,829 |
/*
jBilling - The Enterprise Open Source Billing System
Copyright (C) 2003-2011 Enterprise jBilling Software Ltd. and Emiliano Conde
This file is part of jbilling.
jbilling is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
... | zoranh/SeavusJB3 | src/java/com/sapienter/jbilling/server/payment/db/PaymentInvoiceMapDAS.java | Java | agpl-3.0 | 2,244 |
/*
* File: ./FIPA/DATETIMEHELPER.JAVA
* From: FIPA.IDL
* Date: Mon Sep 04 15:08:50 2000
* By: idltojava Java IDL 1.2 Nov 10 1997 13:52:11
*/
package FIPA;
public class DateTimeHelper {
// It is useless to have instances of this class
private DateTimeHelper() { }
public static void write(org.omg.C... | magnevan/Arithmic-Agents | src/FIPA/DateTimeHelper.java | Java | lgpl-2.1 | 3,558 |
package railo.runtime.interpreter.ref.op;
import railo.runtime.PageContext;
import railo.runtime.exp.PageException;
import railo.runtime.interpreter.ref.Ref;
/**
* Minus operation
*/
public final class BigMulti extends Big {
/**
* constructor of the class
* @param left
* @param right
*/
public BigMulti(R... | JordanReiter/railo | railo-java/railo-core/src/railo/runtime/interpreter/ref/op/BigMulti.java | Java | lgpl-2.1 | 508 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | it-tavis/opencms-core | src/org/opencms/synchronize/Messages.java | Java | lgpl-2.1 | 6,225 |
/*
* eXist Open Source Native XML Database
* Copyright (C) 2001-2015 The eXist Project
*
* http://exist-db.org
*
* 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
... | windauer/exist | exist-core/src/main/java/org/exist/storage/dom/CreatePageLoggable.java | Java | lgpl-2.1 | 2,956 |
package co.paralleluniverse.galaxy.netty;
import org.jboss.netty.util.ThreadNameDeterminer;
import java.util.concurrent.ThreadPoolExecutor;
/**
* Some constants used for configuring netty thread pools.
*
* @author s.stupin
*/
public class NettyUtils {
/**
* Copy of {@link org.jboss.netty.channel.socket.... | hsestupin/galaxy | src/main/java/co/paralleluniverse/galaxy/netty/NettyUtils.java | Java | lgpl-3.0 | 1,092 |
/*
* #%L
* Alfresco Remote API
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided ... | Alfresco/community-edition | projects/remote-api/source/test-java/org/alfresco/rest/api/tests/TestCustomProperty.java | Java | lgpl-3.0 | 40,542 |
package fr.unice.polytech.isa.tcf.asynchronous;
import fr.unice.polytech.isa.tcf.entities.Order;
import org.apache.openejb.util.LogCategory;
import javax.annotation.Resource;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.ejb.MessageDrivenContext;
import javax.jms.*;
import ja... | polytechnice-si/4A_ISA_TheCookieFactory | j2e/src/main/java/fr/unice/polytech/isa/tcf/asynchronous/KitchenPrinter.java | Java | lgpl-3.0 | 2,968 |
package org.molgenis.ui.menumanager;
import com.google.common.base.Predicate;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import com.google.common.collect.TreeTraverser;
import org.molgenis.data.settings.AppSettings;
import org.molgenis.file.FileStore;
import org.molgenis.framew... | jjettenn/molgenis | molgenis-core-ui/src/main/java/org/molgenis/ui/menumanager/MenuManagerController.java | Java | lgpl-3.0 | 5,042 |
/*
* 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 ... | kexianda/pig | src/org/apache/pig/impl/PigContext.java | Java | apache-2.0 | 31,304 |
/*
* Copyright 2009-2012 The MyBatis Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | ekirkilevics/iBatis | src/test/java/org/apache/ibatis/submitted/manyanno/AnnoPost.java | Java | apache-2.0 | 1,371 |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | SnappyDataInc/snappy-store | gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/iapi/jdbc/WrapperEngineBLOB.java | Java | apache-2.0 | 3,086 |
package io.cattle.platform.core.dao.impl;
import io.cattle.platform.core.constants.AccountConstants;
import io.cattle.platform.core.constants.CommonStatesConstants;
import io.cattle.platform.core.constants.CredentialConstants;
import io.cattle.platform.core.constants.ProjectConstants;
import io.cattle.platform.core.co... | rancherio/cattle | modules/model/src/main/java/io/cattle/platform/core/dao/impl/AccountDaoImpl.java | Java | apache-2.0 | 4,262 |
/*
* 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/kylin | core-metadata/src/main/java/org/apache/kylin/measure/raw/RawSerializer.java | Java | apache-2.0 | 3,684 |
package play.modules.morphia.utils;
import com.google.code.morphia.logging.Logr;
import com.google.code.morphia.logging.LogrFactory;
import com.google.code.morphia.logging.SilentLogger;
public class SilentLogrFactory implements LogrFactory {
@Override
public Logr get(Class<?> c) {
return new SilentLo... | jamesward/play-morphia | src/play/modules/morphia/utils/SilentLogrFactory.java | Java | apache-2.0 | 337 |
package com.alamkanak.weekview.sample;
import android.app.Activity;
import android.graphics.RectF;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.Toast;
import com.alamkanak.weekview.WeekView;
import com.alamkanak.weekview.WeekVi... | 0359xiaodong/Android-Week-View | sample/src/main/java/com/alamkanak/weekview/sample/MainActivity.java | Java | apache-2.0 | 10,041 |
/*
* Copyright (C) 2015 Brian Wernick
*
* 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... | daimajia/ExoMedia | library/src/main/java/com/devbrackets/android/exomedia/DefaultControls.java | Java | apache-2.0 | 20,361 |
/*
* Copyright 2005 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 app... | littleJava/mybatis-maven-generator | src/main/java/org/mybatis/generator/config/xml/ParserErrorHandler.java | Java | apache-2.0 | 2,588 |
/**
* 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... | rvenkatesh25/bookkeeper | hedwig-server/src/test/java/org/apache/hedwig/server/subscriptions/StubSubscriptionManager.java | Java | apache-2.0 | 2,169 |
/*
* 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... | treasure-data/presto | presto-pinot/src/test/java/io/prestosql/pinot/TestBrokerQueries.java | Java | apache-2.0 | 6,120 |
/*
* 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... | noslowerdna/kafka | streams/src/main/java/org/apache/kafka/streams/state/internals/KeyValueToTimestampedKeyValueByteStoreAdapter.java | Java | apache-2.0 | 4,463 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | flofreud/aws-sdk-java | aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/transform/AddCustomAttributesResultJsonUnmarshaller.java | Java | apache-2.0 | 1,732 |
/**
* 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... | justintung/hbase | hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java | Java | apache-2.0 | 16,375 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | jgrivolla/uima-addons | Lucas/src/test/java/org/apache/uima/lucas/indexer/analysis/LowerCaseFilterFactoryTest.java | Java | apache-2.0 | 1,696 |
/*
* 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-layout-editor/uberfire-layout-editor-client/src/main/java/org/uberfire/ext/layout/editor/client/api/ModalConfigurationContext.java | Java | apache-2.0 | 1,562 |
/**
*
* Copyright © 2014 Daniele Ricci
*
* 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 ag... | igniterealtime/Smack | smack-sasl-provided/src/main/java/org/jivesoftware/smack/sasl/provided/SASLExternalMechanism.java | Java | apache-2.0 | 2,140 |
package org.apache.archiva.indexer;
/*
* 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,... | apache/archiva | archiva-modules/archiva-base/archiva-repository-api/src/main/java/org/apache/archiva/indexer/ArchivaIndexingContext.java | Java | apache-2.0 | 4,069 |
package brooklyn.util.internal.ssh;
import static brooklyn.util.net.Networking.checkPortValid;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.File;
import java.util.Map;
import java.util.Set;
import brooklyn.util.os.Os... | azharhashmi/brooklyn | core/src/main/java/brooklyn/util/internal/ssh/SshAbstractTool.java | Java | apache-2.0 | 5,822 |
package com.thinkbiganalytics.metadata.api.template;
/*-
* #%L
* thinkbig-metadata-api
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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... | peter-gergely-horvath/kylo | metadata/metadata-api/src/main/java/com/thinkbiganalytics/metadata/api/template/FeedManagerTemplate.java | Java | apache-2.0 | 2,215 |
package org.dasein.cloud.tier3.compute;
public class Tier3OS {
public int id;
public String name;
public int maxCpu;
public int maxMemory;
public Tier3OS(int id, String name, int maxCpu, int maxMemory) {
this.id = id;
this.name = name;
this.maxCpu = maxCpu;
... | dasein-cloud/dasein-cloud-tier3 | src/main/java/org/dasein/cloud/tier3/compute/Tier3OS.java | Java | apache-2.0 | 363 |
/*
* ModeShape (http://www.modeshape.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | flownclouds/modeshape | modeshape-jcr/src/main/java/org/modeshape/jcr/cache/document/LocalDocumentStore.java | Java | apache-2.0 | 16,085 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | mafulafunk/wicket | wicket-core/src/main/java/org/apache/wicket/AttributeModifier.java | Java | apache-2.0 | 12,302 |
/*
* Copyright 2007 Kasper B. Graversen
*
* 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... | dkschlos/super-csv-declarative | super-csv-declarative/src/main/java/com/github/dmn1k/supercsv/io/declarative/provider/ConvertCellProcessorProvider.java | Java | apache-2.0 | 2,162 |
/**
* Copyright (C) 2010 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | cbeust/jcommander | src/test/java/com/beust/jcommander/DefaultValueTest.java | Java | apache-2.0 | 3,901 |
/*
* 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 ... | OpenSkywalking/skywalking | apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/ApplicationStartUp.java | Java | apache-2.0 | 1,150 |
// Copyright (C) 2012 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 ... | Saulis/gerrit | gerrit-server/src/main/java/com/google/gerrit/server/plugins/Plugin.java | Java | apache-2.0 | 4,497 |
package org.apereo.cas.ticket.support;
import org.apereo.cas.ticket.TicketState;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.EqualsAndH... | robertoschwald/cas | core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/support/MultiTimeUseOrTimeoutExpirationPolicy.java | Java | apache-2.0 | 4,826 |
/*
* Trident - A Multithreaded Server Alternative
* Copyright 2014 The TridentSDK Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | Twister915/Trident | src/main/java/net/tridentsdk/server/packets/play/out/PacketPlayOutUpdateEntityNBT.java | Java | apache-2.0 | 1,191 |
/*
* Copyright (c) 2010-2012 LinkedIn, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | jingwei/krati | krati-main/src/retention/java/krati/retention/EventBatchCursor.java | Java | apache-2.0 | 913 |
/*
* 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/test/java/org/elasticsearch/rest/BytesRestResponseTests.java | Java | apache-2.0 | 8,953 |
/*
* Copyright 2020 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... | gradle/gradle | subprojects/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceScenario.java | Java | apache-2.0 | 2,296 |
/*
* Copyright 2021 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... | manstis/drools | kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/main/java/org/kie/pmml/compiler/commons/codegenfactories/KiePMMLSimpleSetPredicateFactory.java | Java | apache-2.0 | 5,615 |
package azkaban.jobtype;
public enum SparkJobArg {
// standard spark submit arguments, ordered in the spark-submit --help order
MASTER("master", false), // just to trick the eclipse formatter
DEPLOY_MODE("deploy-mode", false), //
CLASS("class", false), //
NAME("name", false), //
SPARK_JARS("jars", true), ... | HappyRay/azkaban | az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/SparkJobArg.java | Java | apache-2.0 | 1,938 |
package org.wso2.siddhi.extension.popularhtag;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.Assert;
import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import org.wso2.siddhi.core.ExecutionPlanRuntime;
import org.wso2.siddhi.core.SiddhiManager;
import org.wso2.... | wso2/wso2-marketing-demos | samples/USEAnalyticsSystem/src/election-siddhi-extensions/popularhtag/src/test/java/org/wso2/siddhi/extension/popularhtag/TopKTagsExtensionExtensionTestCase.java | Java | apache-2.0 | 3,395 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | jean-merelis/keycloak | adapters/saml/core/src/main/java/org/keycloak/adapters/saml/profile/webbrowsersso/SamlEndpoint.java | Java | apache-2.0 | 2,093 |
/*
* Copyright 2008 Metastratus Web Solutions Limited. 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
*
* Unle... | dolfdijkstra/gst-foundation | gsf-core/src/main/java/tools/gsf/facade/runtag/workflowaction/SetElementName.java | Java | apache-2.0 | 1,121 |
/*
* 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 ... | gustavoanatoly/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestSnapshotQuotaObserverChore.java | Java | apache-2.0 | 15,981 |
package org.hibernate.examples.mapping.usertype;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.*;
import org.hibernate.examples.model.AbstractHibernateEntity;
import org.hibernate.examples.utils.HashTool;
import org.hibernate.examples.utils.ToStringHelper;
import org.joda.time.DateTime;
... | milcom/hibernate-redis | hibernate-examples/src/test/java/org/hibernate/examples/mapping/usertype/JodaDateTimeTZEntity.java | Java | apache-2.0 | 1,760 |
/* 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... | zwets/flowable-engine | modules/flowable-idm-engine/src/main/java/org/flowable/idm/engine/impl/persistence/entity/data/impl/MybatisByteArrayDataManager.java | Java | apache-2.0 | 1,929 |
/* 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... | stephraleigh/flowable-engine | modules/flowable-bpmn-model/src/main/java/org/flowable/bpmn/model/Association.java | Java | apache-2.0 | 1,893 |
/*
* 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 ... | dkhwangbo/druid | processing/src/test/java/org/apache/druid/query/IntervalChunkingQueryRunnerTest.java | Java | apache-2.0 | 3,703 |