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) 2015 Diamond Light Source Ltd. * 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...
willrogers/dawnsci
org.eclipse.dawnsci.nexus/src/org/eclipse/dawnsci/nexus/impl/NXflipperImpl.java
Java
epl-1.0
3,165
/******************************************************************************* * 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 ...
sunix/che-plugins
plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/server/nativegit/SshKeysManager.java
Java
epl-1.0
6,978
package eu.netide.core.logpub; import java.util.LinkedList; import eu.netide.core.api.Constants; import eu.netide.core.api.MessageHandlingResult; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.zeromq.ZFrame; import org.zeromq.ZMQ; import org.zeromq.ZMQException; import org.zeromq.ZMsg; import eu...
fp7-netide/Engine
core/core.logpub/src/main/java/eu/netide/core/logpub/LogPub.java
Java
epl-1.0
7,421
/** * DB Systel GmbH / i.S.A. Dresden GmbH & Co. KG (c) 2010 */ package org.flowr.ant.tasks; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.PropertyHelper; /** * Ant task evaluating the text part after a specified separator. *<p>usage:</p> * <pre> * &lt;leadString property="<i>result.pr...
krasv/flowr
commons/ant/org.flowr.ant.tasks/src/main/java/org/flowr/ant/tasks/LeadStringTask.java
Java
epl-1.0
1,532
package br.ufrn.dimap.pairg.sumosensei.android; import com.phiworks.dapartida.ArmazenaMostrarRegrasModosOnline; import doteppo.ArmazenaMostrarRegrasTreinamento; import android.content.Intent; import android.graphics.Typeface; import android.os.Bundle; import android.view.View; import android.widget.Button; import and...
fabiophillip/sumosensei
src/br/ufrn/dimap/pairg/sumosensei/android/ExplicacaoItensActivity.java
Java
epl-1.0
5,043
/******************************************************************************* * Copyright (c) 1998, 2012 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...
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/xmlschema/attributeformdefault/unqualified/AttributeFormDefaultUnqualifiedTestCases.java
Java
epl-1.0
2,794
/** * Copyright (c) 2013 MEDEVIT <office@medevit.at>. * 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 * * Contributors...
sazgin/elexis-3-core
ch.elexis.core/src-gen/ch/elexis/core/model/util/ModelSwitch.java
Java
epl-1.0
17,995
package hu.elte.txtuml.api.model.execution.diagnostics.protocol; /** * Model related event on an instance */ public class ModelEvent extends InstanceEvent { private static final long serialVersionUID = 8194665363543638635L; public final String eventTargetClassName; public ModelEvent(MessageType type, int servic...
ELTE-Soft/txtUML
dev/plugins/hu.elte.txtuml.api.model.execution/src/hu/elte/txtuml/api/model/execution/diagnostics/protocol/ModelEvent.java
Java
epl-1.0
774
/******************************************************************************* * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> * * 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 distribu...
rickard-von-essen/egit
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GenerateHistoryJob.java
Java
epl-1.0
4,164
package org.gemoc.activitydiagram.sequential.xactivitydiagram.aspects; @SuppressWarnings("all") public class ForkNodeAspectForkNodeAspectProperties { }
gemoc/activitydiagram
dev/gemoc_sequential/language_workbench/org.gemoc.activitydiagram.sequential.xactivitydiagram/src-gen/org/gemoc/activitydiagram/sequential/xactivitydiagram/aspects/ForkNodeAspectForkNodeAspectProperties.java
Java
epl-1.0
153
/* * Copyright 2012 PRODYNA AG * * Licensed under the Eclipse Public License (EPL), 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.opensource.org/licenses/eclipse-1.0.php or * http://www.nabucco.org/License...
NABUCCO/org.nabucco.testautomation.script
org.nabucco.testautomation.script.ui.rcp/src/main/man/org/nabucco/testautomation/script/ui/rcp/multipage/metadata/masterdetail/MetadataMaintenanceMasterDetailBlock.java
Java
epl-1.0
8,978
/* * Copyright (c) 2014 Actuate Corporation */ package com.actuate.aces.idapi; import com.actuate.aces.idapi.control.ActuateException; import com.actuate.schemas.*; import org.apache.axis.attachments.AttachmentPart; import org.w3c.dom.Document; import org.xml.sax.SAXException; import javax.xml.parsers.DocumentBuil...
puckpuck/idapi-wrapper
idapi-wrapper/src/com/actuate/aces/idapi/InformationObjectExecuter.java
Java
epl-1.0
5,575
/** * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.addon.parser.java.ui; import org.jboss.forge.addon.ui.command.UICommand; /** * @author <a href="mailto:ggastal...
oscerd/core
parser-java/api/src/main/java/org/jboss/forge/addon/parser/java/ui/JavaPackageCommand.java
Java
epl-1.0
416
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates 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...
muros-ct/kapua
locator/service/src/main/java/org/eclipse/kapua/model/config/metatype/KapuaToption.java
Java
epl-1.0
3,975
/** * Copyright (c) 2015-2017 Obeo, Inria * 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 * * Contributors: * - Will...
occiware/Multi-Cloud-Studio
plugins/org.eclipse.cmf.occi.multicloud.aws.ec2/src-gen/org/eclipse/cmf/occi/multicloud/aws/ec2/impl/X1_32xlargeImpl.java
Java
epl-1.0
10,365
package com.coverity.ws.v5; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for getCIDsForStreamsResponse c...
hudson3-plugins/coverity-plugin
src/main/java/com/coverity/ws/v5/GetCIDsForStreamsResponse.java
Java
epl-1.0
1,883
/******************************************************************************* * 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...
elucash/eclipse-oxygen
org.eclipse.jdt.ui/src/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.java
Java
epl-1.0
9,298
/** * <copyright> * </copyright> * * */ package gbind.resource.gbind.ui; /** * A class for RGB-based color objects. */ public class GbindColorManager { protected java.util.Map<org.eclipse.swt.graphics.RGB, org.eclipse.swt.graphics.Color> fColorTable = new java.util.LinkedHashMap<org.eclipse.swt.graphics.RGB...
jesusc/bento
plugins/genericity.language.gbind.resource.ui/src-gen/gbind/resource/gbind/ui/GbindColorManager.java
Java
epl-1.0
1,081
package com.odcgroup.t24.server.external.model.internal; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.StringTokenizer; import com.odcgroup.t24.server.external.model.IExternalObject; import com.odcgroup.t24.server.external.model.LocalRefApp...
debabratahazra/DS
designstudio/components/t24server/core/com.odcgroup.t24.server.external/src/main/java/com/odcgroup/t24/server/external/model/internal/LocalRefApplicationLoader.java
Java
epl-1.0
3,065
/* * Copyright (c) 2020 Ericsson India Global Services Pvt Ltd. 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.h...
opendaylight/ovsdb
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepDisconnectCliCmd.java
Java
epl-1.0
3,257
package org.junit.runner; import junit.runner.Version; import org.junit.internal.JUnitSystem; import org.junit.internal.RealSystem; import org.junit.internal.TextListener; import org.junit.internal.runners.JUnit38ClassRunner; import org.junit.runner.notification.RunListener; import org.junit.runner.notification.RunNot...
junit-team/junit4
src/main/java/org/junit/runner/JUnitCore.java
Java
epl-1.0
5,862
package gov.nih.nlm.uts.webservice.metadata; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for getAllSour...
dkincaid/clumcl
src/generated/java/gov/nih/nlm/uts/webservice/metadata/GetAllSourceTermTypesResponse.java
Java
epl-1.0
1,969
/** * */ package it.xsemantics.runtime; /** * The result of a rule invocation * * @author Lorenzo Bettini * */ public class ResultWithFailure { private RuleFailedException ruleFailedException; public ResultWithFailure() { } public ResultWithFailure(RuleFailedException ruleFailedException) { super();...
szarnekow/xsemantics
plugins/it.xsemantics.runtime/src/it/xsemantics/runtime/ResultWithFailure.java
Java
epl-1.0
534
/** * Copyright (c) 2012 Concurrency and Mobility Group. * Universita' di Firenze * * 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...
michele-loreti/jResp
examples/org.cmg.examples.pingpong/src/org/cmg/jresp/examples/pingpong/VirtualPingPong.java
Java
epl-1.0
2,416
/* ****************************************************************************** * Copyright (c) 2006-2012 XMind Ltd. and others. * * This file is a part of XMind 3. XMind releases 3 and * above are dual-licensed under the Eclipse Public License (EPL), * which is available at http://www.eclipse.org/legal/ep...
nickmain/xmind
bundles/org.xmind.ui.mindmap/src/org/xmind/ui/commands/CreateTopicCommand.java
Java
epl-1.0
1,356
/******************************************************************************* * Copyright (c) 2014 Whizzo Software, LLC. * 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 availab...
whizzosoftware/hobson-hub-scheduler
src/main/java/com/whizzosoftware/hobson/scheduler/condition/TriggerConditionListener.java
Java
epl-1.0
777
/* * generated by Xtext */ package com.odcgroup.workbench.el.ui.contentassist; import org.eclipse.emf.ecore.EObject; import org.eclipse.xtext.*; import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; /** * Represents a gene...
debabratahazra/DS
designstudio/components/workbench/ui/com.odcgroup.workbench.el.ui/src-gen/com/odcgroup/workbench/el/ui/contentassist/AbstractDSELProposalProvider.java
Java
epl-1.0
3,430
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-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: 2015.09.23 at 11:18...
bradsdavis/cxml-api
src/main/java/org/cxml/fulfill/SharedSecret.java
Java
epl-1.0
1,780
/** * Copyright (c) 2014-2016 by Wen Yu. * 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 * * Any modifications to this...
k3b/pixymeta-android
pixymeta-lib/src/main/java/pixy/io/ReadStrategyMM.java
Java
epl-1.0
4,621
/** * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Attribute Exclusion Test</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * ...
miklossy/xtext-core
org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/AttributeExclusionTest.java
Java
epl-1.0
2,551
package org.sonar.PogoDsl.lexer; import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.ANY_CHAR; import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.and; import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.commentRegexp; import static com.sonar.sslr.impl.channel.RegexpChannelBuilder.o2n;...
TatyPerson/Xtext2Sonar
evaluation-scenarios/sonar-PogoDsl/PogoDsl-squid/src/main/java/org/sonar/PogoDsl/lexer/PogoDslLexer.java
Java
epl-1.0
3,633
package ts.eclipse.ide.angular.core.html; public interface INgBindingCollector { void collect(String matchingString, String name, String description, INgBindingType bindingType); }
angelozerr/angular2-eclipse
ts.eclipse.ide.angular.core/src/ts/eclipse/ide/angular/core/html/INgBindingCollector.java
Java
epl-1.0
190
package org.gemoc.scenario.xdsml.functionscenario.adapters.functionscenariomt.capellacommon; import fr.inria.diverse.melange.adapters.EObjectAdapter; import java.util.Collection; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.gemoc.scenario.xdsml.functionscenario.adapters.fun...
smadelenat/CapellaModeAutomata
Semantic/Scenario/org.gemoc.scenario.xdsml/src-gen/org/gemoc/scenario/xdsml/functionscenario/adapters/functionscenariomt/capellacommon/GenericTraceAdapter.java
Java
epl-1.0
25,983
/* * Sonatype Nexus (TM) Open Source Version * Copyright (c) 2008-present Sonatype, Inc. * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. * * This program and the accompanying materials are made available under the terms of the Eclipse Public...
sonatype/nexus-public
components/nexus-blobstore-file/src/main/java/org/sonatype/nexus/blobstore/file/package-info.java
Java
epl-1.0
885
/* * Copyright (c) [2012] - [2017] Red Hat, Inc. * 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 * * Contributors: * ...
codenvy/codenvy
wsagent/wsagent-codenvy/src/main/java/com/codenvy/api/agent/CodenvyProjectServiceLinksInjector.java
Java
epl-1.0
1,156
package com.andieguo.ormlitedemo.test; import android.test.AndroidTestCase; public class DempartmentDaoTest extends AndroidTestCase implements InterfaceTester { @Override public void testSave() { // TODO Auto-generated method stub } @Override public void testFindById() { // TODO Auto-generated method st...
andieguo/ORMLiteDemo
src/com/andieguo/ormlitedemo/test/DempartmentDaoTest.java
Java
epl-1.0
492
/** * Copyright 2011 Intuit Inc. All Rights Reserved */ package com.intuit.tank.vm.vmManager; /* * #%L * Intuit Tank Api * %% * Copyright (C) 2011 - 2015 Intuit Inc. * %% * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 ...
rkadle/Tank
api/src/main/java/com/intuit/tank/vm/vmManager/JobUtil.java
Java
epl-1.0
1,554
package edu.rice.habanero.benchmarks.trapezoid; import edu.rice.habanero.benchmarks.BenchmarkRunner; import edu.rice.habanero.concurrent.executors.PriorityBlockingQueueTaskExecutor; import edu.rice.habanero.concurrent.executors.TaskExecutor; import java.util.concurrent.TimeUnit; /** * @author <a href="http://shams....
shamsmahmood/priorityworkstealing
src/main/java/edu/rice/habanero/benchmarks/trapezoid/PriorityBlockingQueueBenchmark.java
Java
epl-1.0
1,019
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * ...
klst-com/metasfresh
de.metas.adempiere.adempiere/base/src/main/java-legacy/org/compiere/print/layout/ImageElement.java
Java
gpl-2.0
11,006
/* * @test /nodynamiccopyright/ * @summary Lists of simple types (here: Integer) * @compile RuntimeExpectIntegerList.java -sqlrepo /Users/sebastian/ma/jdk7u-langtools/test/tools/javac/sql/repo.json * @run main RuntimeExpectIntegerList */ import java.util.ArrayList; import java.util.List; import com.google.common...
sebastianoe/s4j
test/tools/javac/sql/SELECT/RuntimeExpectIntegerList.java
Java
gpl-2.0
1,048
/* * Copyright 2007 Sun Microsystems, Inc. * * This file is part of jVoiceBridge. * * jVoiceBridge is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation and distributed hereunder * to you. * * ...
damirkusar/jvoicebridge
voicelib/src/com/sun/mpk20/voicelib/impl/service/voice/BridgeConnection.java
Java
gpl-2.0
36,037
package com.stereokrauts.stereoscope.mixer.yamaha.y01v96i; import com.stereokrauts.stereoscope.mixer.yamaha.genericmidsize.midi.GenericMidsizeMidiReceiver; import model.mixer.interfaces.IAmMixer; /** * This class receives MIDI data from the Yamaha 01v96. * @author th * */ public class Y01v96iMidiReceiver extends...
stereokrauts/stereoscope
stereoscope.mixer.yamaha.y01v96i/src/main/java/com/stereokrauts/stereoscope/mixer/yamaha/y01v96i/Y01v96iMidiReceiver.java
Java
gpl-2.0
470
package cz.muni.fi.pa165.dto; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** * @author Karel Vaculik */ public class UserSystemLoginDTO { @NotNull @Size(min=3, max=64) private String loginName; @NotNull @Size(min=3, max=64) private String passwor...
Vaculik/creatures-hunting
ApiLayer/src/main/java/cz/muni/fi/pa165/dto/UserSystemLoginDTO.java
Java
gpl-2.0
1,559
/* ChecksumEncoder -- rsync protocol checksum encoder. $Id: ChecksumEncoder.java,v 1.1 2003/07/18 23:22:13 rsdio Exp $ Copyright (C) 2003 Casey Marshall <rsdio@metastatic.org> This file is a part of Jarsync. Jarsync is free software; you can redistribute it and/or modify it under the terms of the GNU General Pub...
Tongbupan/Jarsync
source/org/metastatic/rsync/v2/ChecksumEncoder.java
Java
gpl-2.0
1,818
// Test for method java.lang.InterruptedException.getClass().getName() // Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com> // This file is part of Mauve. // Mauve 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 Softwa...
niloc132/mauve-gwt
src/main/java/gnu/testlet/java/lang/InterruptedException/classInfo/getName.java
Java
gpl-2.0
1,628
package net.j7.commons.streams; import java.io.*; import java.nio.charset.Charset; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import net.j7.commons.base.CommonUtils; import net.j7.commons.base.NotNull; public class Streams { /** The technical logger to use. */ private static final Logger logg...
delafer/j7project
commontools/commons-j7/src/main/java/net/j7/commons/streams/Streams.java
Java
gpl-2.0
3,188
package garble.android; public class Record extends android.app.Activity implements mono.android.IGCUserPeer { static final String __md_methods; static { __md_methods = "n_onCreate:(Landroid/os/Bundle;)V:GetOnCreate_Landroid_os_Bundle_Handler\n" + ""; mono.android.Runtime.register ("Garble.Android.Re...
z0isch/garble
Garble.Android/Garble.Android/obj/Debug/android/src/garble/android/Record.java
Java
gpl-2.0
1,107
package org.eevolution.api.impl; /* * #%L * de.metas.adempiere.adempiere.base * %% * Copyright (C) 2015 metas GmbH * %% * 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 ...
klst-com/metasfresh
de.metas.adempiere.adempiere/base/src/main/java/org/eevolution/api/impl/ProductBOMBL.java
Java
gpl-2.0
3,184
package java.lang; import org.checkerframework.dataflow.qual.Pure; import org.checkerframework.dataflow.qual.SideEffectFree; import org.checkerframework.checker.lock.qual.*; import org.checkerframework.checker.initialization.qual.*; public class Object { public Object() { throw new RuntimeException("skeleton metho...
Jianchu/checker-framework
checker/jdk/lock/src/java/lang/Object.java
Java
gpl-2.0
1,357
package utfx.framework; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.StringReader; import java.lang.reflect.InvocationTargetException; import java.net.URISyntaxException; import javax.xml.parsers.P...
bwagner/utf-x-framework-svn-trunk
src/java/utfx/framework/XSLTTransformTestCase.java
Java
gpl-2.0
22,260
/* * Copyright (c) 2012, 2013, 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 ...
34benma/openjdk
jdk/src/java.base/share/classes/java/util/stream/Streams.java
Java
gpl-2.0
29,202
/* PartitionEntry.java Copyright (C) 2006-2008 Carnegie Mellon University Tim Vidas <tvidas at gmail d0t com> Brian Kaplan <bfkaplan at cmu d0t edu> 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...
tvidas/OpenLV
cmu/forensics/mbr/PartitionEntry.java
Java
gpl-2.0
9,594
/* * Este programa es software libre; usted puede redistribuirlo y/o modificarlo bajo los terminos * de la licencia "GNU General Public License" publicada por la Fundacion "Free Software Foundation". * Este programa se distribuye con la esperanza de que pueda ser util, pero SIN NINGUNA GARANTIA; * vea la licenc...
proyecto-adalid/adalid
source/adalid-jee1/src/meta/entidad/comun/control/acceso/RolFuncion.java
Java
gpl-2.0
7,278
package org.nextprot.api.isoform.mapper.utils; import java.util.regex.Matcher; import java.util.regex.Pattern; public class SequenceVariantUtils { // TODO: It is false as isoform name can be of "non-iso" format (ex: GTBP-N for NX_P52701) public static boolean isIsoSpecific(String featureName) { if(featureName...
calipho-sib/nextprot-api
isoform-mapper/src/main/java/org/nextprot/api/isoform/mapper/utils/SequenceVariantUtils.java
Java
gpl-2.0
745
/* * Copyright (C) 2006-2014 Gabriel Burca (gburca dash virtmus at ebixio dot 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)...
gburca/VirtMus
VirtMus/src/com/ebixio/virtmus/PlayListSet.java
Java
gpl-2.0
15,300
package net.seninp.jmotif.direct; /** * An entry comparator. * * The direct code was taken from JCOOL (Java COntinuous Optimization Library), and altered for * SAX-VSM needs. * * @see <a href="https://github.com/dhonza/JCOOL/wiki">https://github.com/dhonza/JCOOL/wiki</a> * */ import java.util.Comparator; imp...
jMotif/sax-vsm_classic
src/main/java/net/seninp/jmotif/direct/TfIdfEntryComparator.java
Java
gpl-2.0
582
/* * 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 ...
hdadler/sensetrace-src
com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/index/TupleIndexRecord.java
Java
gpl-2.0
8,048
package m127.smd2e.frontend; import java.awt.event.ActionListener; import javax.swing.JMenu; import javax.swing.JMenuItem; import m127.smd2e.Main; import m127.smd2e.backend.Block; import m127.smd2e.backend.util.BlockGroup; public class BlockChooserMenuConstructor { public static JMenu construct(BlockGroup g, Act...
Megacrafter127/MSBE
src/m127/smd2e/frontend/BlockChooserMenuConstructor.java
Java
gpl-2.0
962
package com.github.pomona.domain.model; import com.github.common.domain.model.GenericoRepo; public interface AlimentoRepo extends GenericoRepo<AlimentoUnitario, AlimentoId> { public AlimentoUnitario alimentoPeloNome(String nome); }
pioalpha/Pomona
src/main/java/com/github/pomona/domain/model/AlimentoRepo.java
Java
gpl-2.0
242
package net.minecraftplus.mcp_glowing_slime; import net.minecraftplus._api.MCS; import net.minecraftplus._api.base.Proxy; public class _CommonProxy extends Proxy { @Override public void Initialize() { MCS.entity(EntityGlowingSlimeball.class, "GlowingSlimeball", 0, _Glowing_Slime.INSTANCE, 80, 10, true); super...
andykuo1/mcplus_mods
java/net/minecraftplus/mcp_glowing_slime/_CommonProxy.java
Java
gpl-2.0
339
package fr.skyforce77.towerminer.api; import java.util.Map; public class PluginInfo { private Map<?,?> map; public PluginInfo(Map<?,?> map) { this.map = map; } public String getName() { return map.get("name").toString(); } public String getVersion() { return map.get("version").toString(); } pub...
skyforce77/TowerMiner
src/fr/skyforce77/towerminer/api/PluginInfo.java
Java
gpl-2.0
516
/* * This file is part of the CaracalDB distributed storage system. * * Copyright (C) 2009 Swedish Institute of Computer Science (SICS) * Copyright (C) 2009 Royal Institute of Technology (KTH) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publi...
CaracalDB/CaracalDB
core/src/main/java/se/sics/caracaldb/paxos/PaxosInit.java
Java
gpl-2.0
1,489
package org.jhotdraw.io; /** * Encodes and decodes to and from Base64 notation. * * <p> * Change Log: * </p> * <ul> * <li>v2.1 - Cleaned up javadoc comments and unused variables and methods. Added * some convenience methods for reading and writing to and from files.</li> * <li>v2.0.2 - Now specifies UTF-8 ...
BIORIMP/biorimp
BIO-RIMP/test_data/code/jhotdraw/src/main/java/org/jhotdraw/io/Base64.java
Java
gpl-2.0
53,386
/* * Copyright (c) 2010, 2013, 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 ...
koutheir/incinerator-hotspot
nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ClassGenerator.java
Java
gpl-2.0
15,997
package com.jayanslow.qlabMasker.models; import java.util.List; import com.google.common.collect.ImmutableList; public class Polygon { private final String _name; private final RenderMode _renderMode; private final List<Point> _points; public Polygon(final String name, final RenderMode renderMode) { t...
janslow/QLabMasker-Server
src/com/jayanslow/qlabMasker/models/Polygon.java
Java
gpl-2.0
1,219
/* * Copyright (c) 2011, 2013, 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 ...
maiklos-mirrors/jfx78
modules/controls/src/main/java/javafx/scene/control/TreeTablePosition.java
Java
gpl-2.0
5,561
/* * Copyright (c) 2003, 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 ...
w7cook/batch-javac
src/share/classes/com/sun/tools/javac/code/Types.java
Java
gpl-2.0
119,351
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package model; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * * @author kate */ @Ru...
deezzel/triary_main
Triary-ejb/test/model/ModelSuite.java
Java
gpl-2.0
871
/* * 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 ...
hdadler/sensetrace-src
com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-arq/src/main/java/com/hp/hpl/jena/sparql/expr/E_Divide.java
Java
gpl-2.0
1,623
package assets; import net.unikit.database.common.interfaces.DatabaseConfiguration; import net.unikit.database.external.implementations.ImportDatabaseManagerFactory; import net.unikit.database.external.interfaces.*; import net.unikit.database.unikit_.implementations.UniKitDatabaseManagerFactory; import net.unikit.data...
HAW-BAI4-SE2/UniKit
project/app/assets/Global.java
Java
gpl-2.0
4,684
/* * Copyright (C) 2008-2010 Martin Riesz <riesz.martin at 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 3 of the License, or * (at your option) any later ve...
lucenacaio/AtidDesktop
src/org/atid/util/GraphicsTools.java
Java
gpl-2.0
9,003
package de.icybits.ts3.sq.api.commands; import de.icybits.ts3.sq.api.basic.Command; import de.icybits.ts3.sq.api.interfaces.ITS3CommandNames; /** * set a clients channel group * * @author Alias: Iceac Sarutobi */ public class SetclientchannelgroupCommand extends Command implements ITS3CommandNames { public S...
icybits/ts3-sq-api
de.icybits.ts3.sq.api/src/de/icybits/ts3/sq/api/commands/SetclientchannelgroupCommand.java
Java
gpl-2.0
396
package mx.nic.jool.pktgen.type; import mx.nic.jool.pktgen.BitArrayOutputStream; public class ByteArrayField implements Field { private String name; private byte[] value; public ByteArrayField(String name, byte[] defaultValue) { this.name = name; this.value = defaultValue; } @Override public String toStr...
ydahhrk/PktGenerator
src/main/java/mx/nic/jool/pktgen/type/ByteArrayField.java
Java
gpl-2.0
1,079
package com.lushprojects.circuitjs1.client; import java.util.Vector; import java.util.HashMap; import java.util.Map.Entry; // Circuit element made up of a composition of other circuit elements // Using this will be (relatively) inefficient in terms of simulation performance because // all the internal workings of the...
sharpie7/circuitjs1
src/com/lushprojects/circuitjs1/client/CompositeElm.java
Java
gpl-2.0
11,923
package org.mt4j.util; import java.util.Collection; import java.util.Iterator; /** * This class provides a skeletal implementation of the <tt>Collection</tt> * interface, to minimize the effort required to implement this interface. <p> * * To implement an unmodifiable collection, the programmer needs only to * e...
rogiermars/mt4j-core
src/org/mt4j/util/AbstractCollection.java
Java
gpl-2.0
14,930
public class Conundrum { public static void main(String[] args) { Enigma e = new Enigma(); System.out.println(e.equals(e)); } } final class Enigma { // Provide a class body that makes Conundrum print false. // Do *not* override equals. }
passByReference/Algorithms
java-puzzlers/8-classier-puzzlers/puzzle-74/Conundrum.java
Java
gpl-2.0
282
package com.panguso.android.shijingshan.news; import com.panguso.android.shijingshan.R; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.widget.ImageButton; import android....
luo-isaiah/shijingshan
shijingshan-app/src/com/panguso/android/shijingshan/news/NewsPageTitleBar.java
Java
gpl-2.0
2,097
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.commands; import edu.wpi.first.wpilibj.templates.RobotParts; /** * * @author Ant...
FIRST-Team-2557-The-SOTABots/2014
2557_2014/src/edu/wpi/first/wpilibj/templates/commands/Latch.java
Java
gpl-2.0
1,319
package org.iatoki.judgels.jerahmeel.curriculum; import org.iatoki.judgels.play.model.AbstractJudgelsJedisHibernateDao; import redis.clients.jedis.JedisPool; import javax.inject.Inject; import javax.inject.Singleton; @Singleton public final class CurriculumJedisHibernateDao extends AbstractJudgelsJedisHibernateDao<C...
judgels/jerahmeel
app/org/iatoki/judgels/jerahmeel/curriculum/CurriculumJedisHibernateDao.java
Java
gpl-2.0
496
/* * Mercury-SSH * Copyright (C) 2017 Skarafaz * * This file is part of Mercury-SSH. * * Mercury-SSH 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 opti...
Skarafaz/mercury
app/src/main/java/it/skarafaz/mercury/MercuryApplication.java
Java
gpl-2.0
4,061
package handiGab.FormBean; import java.util.Date; import javax.faces.bean.SessionScoped; //@ManagedBean(name="CompteFB") @SessionScoped public class CompteFB { private String id; private String agence; private String devise; private String client; private Long solde; private Date dateOuverture; ...
TDepelley/handigab
H/HandiGAB/src/handiGab/FormBean/CompteFB.java
Java
gpl-2.0
1,309
/******************************************************************************* * Copyright (c) MOBAC developers * * 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...
bh4017/mobac
src/main/java/mobac/gui/components/JDirectoryChooser.java
Java
gpl-2.0
1,897
/******************************************************************************* * Copyright (c) 2000, 2012 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...
delafer/j7project
commontools/thirddep-j7/src/main/java/org/eclipse/swt/internal/win32/TBBUTTONINFO.java
Java
gpl-2.0
927
package net.demilich.metastone.game.cards; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import net.demilich.metastone.game.Attribute; import net.demilich.metastone.game.actions.BattlecryAction; import net.demilich.metastone.game.actions.PlayCardAction; import net.demilich.metaston...
demilich1/metastone
game/src/main/java/net/demilich/metastone/game/cards/MinionCard.java
Java
gpl-2.0
3,644
/* * Copyright 2005-2006 Sun Microsystems, Inc. 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 Software Fou...
TheTypoMaster/Scaper
openjdk/jaxws/drop_included/jaxws_src/src/com/sun/tools/internal/ws/wsdl/document/Types.java
Java
gpl-2.0
3,415
/* gvSIG Mini. A free mobile phone viewer of free maps. * * Copyright (C) 2011 Prodevelop. * * 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...
djcoin/svn2git_gvsig_mini
src/es/prodevelop/gvsig/mini/search/suggestions/FullTextSuggestionMatrixCursor.java
Java
gpl-2.0
2,779
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
intelie/esper
esper/src/test/java/com/espertech/esper/regression/epl/TestSelectClauseJoin.java
Java
gpl-2.0
3,301
package com.pmc.acc.ekyc.exception; public class Auth_XSDValidationFailedException extends KSASystemException { public Auth_XSDValidationFailedException() { super("E - 120: Auth XSD Validation Failed."); } }
krishna174/Java_C
AadharValidation-PFX/src/com/pmc/acc/ekyc/exception/Auth_XSDValidationFailedException.java
Java
gpl-2.0
237
package nks.abc.service; import java.util.List; import nks.abc.domain.dto.user.StaffDTO; import nks.abc.domain.entity.user.AccountInfo; public interface StaffService { public void add(StaffDTO employee); public List<StaffDTO> getAll(); public List<StaffDTO> getAllTeachers(); void delete(Long id, String curren...
nikolaySeveryn/abc-english-school
src/main/java/nks/abc/service/StaffService.java
Java
gpl-2.0
465
/** * Instituto de Matemática e Estatística da Universidade de São Paulo (IME-USP) * iVProg is a open source and free software of Laboratório de Informática na * Educação (LInE) licensed under GNU GPL2.0 license. * Prof. Dr. Leônidas de Oliveira Brandão - leo@ime.usp.br * Romenig da Silva Ribeiro - romenig@...
Romenig/ivprog2-final
ivprog-final/src/usp/ime/line/ivprog/interpreter/execution/expressions/booleans/comparisons/LessThanOrEqualTo.java
Java
gpl-2.0
1,808
// // @(#)Tool.java 1.00 9/2002 // // Copyright 2002 Zachary DelProposto. All rights reserved. // Use is subject to license terms. // // // 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; ...
thechrisjohnson/JDip
src/dip/tool/Tool.java
Java
gpl-2.0
1,935
// ********************************************************************** // // Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. // // ********************************************************************** import Demo.*; class SessionFactoryI extends _SessionFactoryDisp { SessionFactoryI(ReapTask reaper) ...
qiuxs/ice-demos
java/Ice/session/SessionFactoryI.java
Java
gpl-2.0
856
/* * Copyright (c) 2011, Lawrence Livermore National Security, LLC. Produced at * the Lawrence Livermore National Laboratory. Written by Keith Stevens, * kstevens@cs.ucla.edu OCEC-10-073 All rights reserved. * * This file is part of the S-Space package and is covered under the terms and * conditions therein. * ...
fozziethebeat/S-Space
src/test/java/edu/ucla/sspace/text/corpora/SemEvalCorpusReaderTest.java
Java
gpl-2.0
2,487
package com.infoecos.ning.util.graph; import java.util.Stack; public class Node { protected Stack<Link> parentLinks = new Stack<Link>(); protected Stack<Link> links = new Stack<Link>(); protected NodeObject object = null; public void addParentLink(Link parentLink) { if (!parentLinks.contains(parentLink)) pa...
javajoker/infoecos
src/com/infoecos/ning/util/graph/Node.java
Java
gpl-2.0
1,518
/** * Copyright (C) 2012-2016 52°North Initiative for Geospatial Open Source * Software GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is linked with...
ahuarte47/SOS
hibernate/common/src/main/java/org/n52/sos/ds/hibernate/entities/observation/series/AbstractValuedSeriesObservation.java
Java
gpl-2.0
2,117
package com.hh.search.action; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.struts2.ServletActionContext; import com.hh...
liaochente/knowledge
src/com/hh/search/action/AdvancedSearchAction.java
Java
gpl-2.0
10,328
/******************************************************************************* * Copyright (c) 2000, 2008 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...
AntoineDelacroix/NewSuperProject-
org.eclipse.jface/src/org/eclipse/jface/action/SubContributionItem.java
Java
gpl-2.0
3,549
package junit; import jeu.Commande; import jeu.Taquin; import main.Main; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestRule; import com.carrotsearch.junitbenchmarks.BenchmarkOptions; import com.carrotsearch.junitbenchmarks.BenchmarkRule; import com.carrotsearch.jun...
wissame95/IF06-Projet
TaquinFinal/src/junit/TaquinSpeed.java
Java
gpl-2.0
989
package exampleProgram.UserIO; /** * Handles basic input/output with the console * * @author JKidney * @version 2.0 * * last Modified: Sept 24, 2012 - JKidney Added new functionality into the class */ import java.util.*; public class ConsoleCom { public static final char NO_CHAR_INPUT = ' '; //default for ...
fowlerwill/SchoolAssignments
FowlerWill-Comp2503-Assignment05/src/exampleProgram/UserIO/ConsoleCom.java
Java
gpl-2.0
4,118
package com.afrigis.services.addresssubmission; import com.afrigis.services.Response; /** * * @author Pieterv */ public interface AddressSubmissionResponse extends Response { /** * * @return Client ID your AfriGIS key. */ String getClientID(); /** * * @return Ticket number th...
AfriGIS-South-Africa/afrigis-services-java
addresssubmission/src/main/java/com/afrigis/services/addresssubmission/AddressSubmissionResponse.java
Java
gpl-2.0
506