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 org.eclipse.php.internal.core.ast.nodes; import org.eclipse.php.internal.core.ast.match.ASTMatcher; import org.eclipse.php.internal.core.ast.visitor.Visitor; public class TraitAliasStatement extends TraitStatement { private TraitAlias alias; public TraitAliasStatement(int start, int end, AST ast, TraitAlia...
Tocea/pdt-standalone-parser
src/main/java/org/eclipse/php/internal/core/ast/nodes/TraitAliasStatement.java
Java
epl-1.0
1,543
/******************************************************************************* * Copyright (c) 1998, 2013 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. ...
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/sessions/remote/RemoteCursoredStream.java
Java
epl-1.0
3,540
package net.jakubholy.dbunitexpress; import net.jakubholy.dbunitexpress.assertion.RowComparator; import org.junit.Before; import org.junit.Test; /** * An example of an annotation-based, JUnit 4 simple unit test verifying data in the test database, * using directly the {@link EmbeddedDbTester} instead of extending t...
jakubholynet/dbunit-express
src/test/java/net/jakubholy/dbunitexpress/SimpleNonExtendingEmbeddedDbJUnit4Test.java
Java
epl-1.0
1,657
package ch.elexis.connect.afinion; import gnu.io.SerialPortEvent; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Calendar; import java.util.GregorianCalendar; import ch.elexis.core.ui.importer.div.rs232.AbstractConnection; import ch.elexis.core.ui.util....
DavidGutknecht/elexis-3-base
bundles/ch.elexis.connect.afinion/src/ch/elexis/connect/afinion/AfinionConnection.java
Java
epl-1.0
15,502
// -----BEGIN DISCLAIMER----- /******************************************************************************* * Copyright (c) 2011, 2021 JCrypTool Team and Contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which a...
jcryptool/core
org.jcryptool.core/src/org/jcryptool/core/commands/OpenNewSampleHexEditorCommand.java
Java
epl-1.0
1,434
/******************************************************************************* * Copyright (c) 2005, 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/refactoring/reorg/RenameLinkedMode.java
Java
epl-1.0
22,768
/****************************************************************************** * DeploySOLODHTML.java * ****************************************************************************/ /* J_LZ_COPYRIGHT_BEGIN ******************************************************* * Copyright 2001-2004, 2008, 2009 Laszlo Systems, Inc....
mcarlson/openlaszlo
WEB-INF/lps/server/src/org/openlaszlo/utils/DeploySOLODHTML.java
Java
epl-1.0
16,014
/** * 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...
Mark-Booth/daq-eclipse
uk.ac.diamond.org.apache.activemq/org/apache/activemq/util/IOHelper.java
Java
epl-1.0
10,337
/******************************************************************************* * Copyright (c) 2009, 2021 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...
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/dispatcher/internal/channel/HttpDispatcherLink.java
Java
epl-1.0
50,638
package tp.pr3.control; import tp.pr3.logica.TipoJuego; //!! ¿Qué representa esta interfaz? public interface Comando { /** * Analiza dado un string, si coincide con este comando. * @param cmd - string con el que compara. */ public boolean analiza(String cmd); /** * Ejecuta el comado introducido. * @p...
elzumbi/4EnRaya
tp/pr3/control/Comando.java
Java
epl-1.0
428
package rltoys.experiments.parametersweep.reinforcementlearning; import rltoys.algorithms.representations.Projector; import rltoys.algorithms.representations.acting.Policy; import rltoys.algorithms.representations.actions.Action; import rltoys.environments.envio.OffPolicyLearner; import rltoys.environments.envio.RLAge...
amw8/rlpark
rlpark.plugin.rltoys/jvsrc/rltoys/experiments/parametersweep/reinforcementlearning/OffPolicyAgent.java
Java
epl-1.0
1,238
/******************************************************************************* * Copyright (c) 2010-2016 ITER Organization. * 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 avail...
fqqb/yamcs-studio
bundles/org.csstudio.autocomplete/src/org/csstudio/autocomplete/ui/util/SSTextLayout.java
Java
epl-1.0
1,821
/******************************************************************************* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2020, Deep Blue C Technology Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of th...
debrief/debrief
org.mwc.asset.legacy/src/ASSET/Util/XMLFactory/XMLOperation.java
Java
epl-1.0
1,263
/** * Copyright (c) 2013 committers of YAKINDU and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * Contr...
Yakindu/statecharts
plugins/org.yakindu.sct.simulation.core.sexec/src/org/yakindu/sct/simulation/core/sexec/interpreter/ITraceStepInterpreter.java
Java
epl-1.0
849
/** * Copyright (c) 2015 Bosch Software Innovations GmbH and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ...
stormc/hawkbit
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/common/detailslayout/DistributionSetMetadataDetailsLayout.java
Java
epl-1.0
3,084
/******************************************************************************* * Copyright (c) 2011, 2020 Eurotech and/or its affiliates * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributi...
nicolatimeus/kura
kura/org.eclipse.kura.net.admin/src/main/java/org/eclipse/kura/net/admin/modem/telit/le910/TelitLe910AtCommands.java
Java
epl-1.0
882
/* * 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-base/src/main/java/org/sonatype/nexus/internal/datastore/SecurityDatabase.java
Java
epl-1.0
2,756
package extras; public class Constantes { //Estado Pagos public static int PAGO_BORRADOR=0; public static int PAGO_GENERADO=1; public static int PAGO_ANULADO=2; }
mhersc1/SIGMO
src/extras/Constantes.java
Java
epl-1.0
168
package dumpsExerc; public class Plant { private String name; // public Plant(){} // public Plant() { Tree(); } public Plant(String name) { this.name = name; } public Plant() { this("fern"); } public String getName() { return name; } }
ShubhankarRaj/JavaCodingFolder
Eclipse Workspace/myProject/src/dumpsExerc/Plant.java
Java
epl-1.0
243
/** * Eclipse Public License - v 1.0 * * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION * OF THE * PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. * * 1. DEFINITIONS * * "Contribution" means: * * a) in ...
RodriguesJ/Atem
src/com/runescape/client/revised/media/magic/lunar/other/MagicImbueSprite.java
Java
epl-1.0
11,726
/** * ***************************************************************************** Copyright (c) 2005, * 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, a...
sleshchenko/che
plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-ltk-core-refactoring/src/main/java/org/eclipse/ltk/internal/core/refactoring/history/RefactoringContributionManager.java
Java
epl-1.0
8,917
// $Id: PackagingTestCase.java 18918 2010-03-02 23:11:41Z hardy.ferentschik $ /* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. ...
ControlSystemStudio/cs-studio
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/entitymanager/src/test/java/org/hibernate/ejb/test/packaging/PackagingTestCase.java
Java
epl-1.0
14,087
package org.muml.psm.allocation.algorithm.ilp.opt4j.tests; import org.junit.BeforeClass; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; import org.muml.psm.allocation.ilp.lpsolve.xtext.LPSolveStandaloneSetup; @RunWith(Suite.class) @SuiteClasses({ Objecti...
upohl/eloquent
tests/org.muml.psm.allocation.algorithm.ilp.opt4j.tests/src/org/muml/psm/allocation/algorithm/ilp/opt4j/tests/AllTestsSuite.java
Java
epl-1.0
496
/* * generated by Xtext */ package zarnekow.hello; import org.eclipse.xtext.junit4.IInjectorProvider; import com.google.inject.Injector; public class HelloDSLUiInjectorProvider implements IInjectorProvider { public Injector getInjector() { return zarnekow.hello.ui.internal.HelloDSLActivator.getInstance().getInj...
szarnekow/testing-multiple-dsls
zarnekow.hello.tests/src-gen/zarnekow/hello/HelloDSLUiInjectorProvider.java
Java
epl-1.0
361
/******************************************************************************* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2020, Deep Blue C Technology Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the E...
debrief/debrief
org.mwc.debrief.build/checkstyle/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/SymTabASTIterator.java
Java
epl-1.0
3,641
package com.redhat.ceylon.eclipse.core.launch; import org.eclipse.debug.core.ILaunchManager; public class RunAsJsAction extends RunAction { @Override protected String getLaunchMode() { return ILaunchManager.RUN_MODE; } @Override protected CeylonJsModuleShortcut getShortcut() { ...
rohitmohan96/ceylon-ide-eclipse
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/launch/RunAsJsAction.java
Java
epl-1.0
376
/** * Copyright (c) 2010-2021 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....
paulianttila/openhab2
bundles/org.openhab.binding.keba/src/main/java/org/openhab/binding/keba/internal/KebaBindingConstants.java
Java
epl-1.0
4,329
/******************************************************************************* * Copyright (C) 2010, Mathias Kinzler <mathias.kinzler@sap.com> * * 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 dist...
jdcasey/EGit
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/command/HistoryViewCommands.java
Java
epl-1.0
3,754
/* * 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.business.provision
org.nabucco.business.provision.impl.service/src/main/man/org/nabucco/business/provision/impl/service/maintain/MaintainQualificationServiceHandlerImpl.java
Java
epl-1.0
1,898
package tools.vitruv.framework.views; import java.util.Collection; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EObject; import com.google.common.annotations.Beta; import com.google.common.collect.FluentIterable; import tools.vitruv.framework.views.changederivation.DefaultStateBasedChangeRes...
vitruv-tools/Vitruv
bundles/framework/tools.vitruv.framework.views/src/tools/vitruv/framework/views/View.java
Java
epl-1.0
4,572
/** * Eclipse Public License - v 1.0 * * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION * OF THE * PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. * * 1. DEFINITIONS * * "Contribution" means: * * a) in ...
RodriguesJ/Atem
src/com/runescape/server/revised/net/packets/codec/game/client/chat/UpdateChatPacket.java
Java
epl-1.0
13,764
package xl.learn.uber; /** * Created by xuelin on 9/20/17. */ public class TinyUrl { }
xuelin-wang/puzzles
src/java/xl/learn/uber/TinyUrl.java
Java
epl-1.0
90
/******************************************************************************* * Copyright (c) 2020, 2022 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...
OpenLiberty/open-liberty
dev/io.openliberty.microprofile.openapi.2.0.internal/src/io/openliberty/microprofile/openapi20/internal/validation/package-info.java
Java
epl-1.0
1,064
/** */ package com.opcoach.project.impl; import com.opcoach.project.ProjectPackage; import com.opcoach.project.MProjectPackage; import com.opcoach.project.Task; import com.opcoach.project.TaskFolder; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.util.EObje...
opcoach/genModelAddon
example/com.opcoach.project.test/src-gen/com/opcoach/project/impl/MTaskFolderImpl.java
Java
epl-1.0
1,272
/** */ package bento.sirius.tests.metamodels.network; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Router</b></em>'. * <!-- end-user-doc --> * * * @see bento.sirius.tests.metamodels.network.NetworkPackage#getRouter() * @model * @generated */ public interface Router extends Ne...
jesusc/bento
tests/bento.sirius.tests.metamodels/src-gen/bento/sirius/tests/metamodels/network/Router.java
Java
epl-1.0
344
/** * Copyright (c) 2010-2014, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * @author ...
phoenixrbrth/smarthaus-android
mobile/src/main/java/org/openhab/habdroid/ui/OpenHABMainActivity.java
Java
epl-1.0
49,408
/******************************************************************************* * Copyright (C) 2017 terry. * 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 * h...
terry1013/Alesia
plugins/flicka/FlickaAction.java
Java
epl-1.0
1,645
/* ========================================== * JGraphT : a free Java graph-theory library * ========================================== * * Project Info: http://jgrapht.sourceforge.net/ * Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh) * * (C) Copyright 2003-2008, by Barak Naveh and Con...
arcanefoam/jgrapht
jgrapht-core/src/main/java/org/jgrapht/DirectedGraph.java
Java
epl-1.0
3,077
/******************************************************************************* * Copyright (c) 2021 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, and is a...
kgibm/open-liberty
dev/com.ibm.ws.wssecurity_fat.wsscxf.saml.1/fat/src/com/ibm/ws/wssecurity/fat/cxf/samltoken1/TwoServerTests/CxfSAMLWSSTemplates2ServerTests.java
Java
epl-1.0
5,922
/******************************************************************************* * Copyright (c) 2013, 2014, 2015 QPark Consulting S.a r.l. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0. * The Eclipse Public License is available at * http:...
QPark/EIP
qp-enterprise-integration-platform-impl/eip-core/src/main/java/com/qpark/eip/core/ReportingThreadPoolProvider.java
Java
epl-1.0
2,054
package anatlyzer.experiments.typing; import java.io.PrintStream; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.eclips...
jesusc/anatlyzer
experiments/anatlyzer.experiments.typing/src/anatlyzer/experiments/typing/QuickfixEvaluationByMutation.java
Java
epl-1.0
6,637
/* * Copyright © 2017 Hewlett Packard Enterprise, Co. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ pac...
opendaylight/ovsdb
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transact/LogicalRouterUpdateCommand.java
Java
epl-1.0
10,057
/** * Copyright 2009-2016 Université Paris Ouest and Sorbonne Universités, Univ. Paris 06 - CNRS UMR 7606 (LIP6) * * 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 av...
lhillah/pnmlframework
pnmlFw-PT-HLPNG/src/fr/lip6/move/pnml/pthlpng/booleans/impl/BoolImpl.java
Java
epl-1.0
6,776
/******************************************************************************* * Copyright (c) 2010, 2013 Tasktop Technologies * * 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 i...
Tasktop/code2cloud.server
com.tasktop.c2c.server/com.tasktop.c2c.server.tasks.web.ui/src/main/java/com/tasktop/c2c/server/tasks/client/widgets/wiki/WikiMarkupMessages.java
Java
epl-1.0
5,386
/* * Copyright (c) 2012-2014 NEC Corporation * All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.openday...
opendaylight/vtn
coordinator/java/vtn-javaapi/src/org/opendaylight/vtn/javaapi/resources/logical/VRouterInterfacesResource.java
Java
epl-1.0
11,308
package com.dwr.test; import java.util.HashMap; import java.util.Map; public class Test5 { public Map hello(){ Map map = new HashMap(); map.put("key1", "Hello"); map.put("key2", "World"); return map; } }
Og192/Java
code/DWR/DWR_Test/src/com/dwr/test/Test5.java
Java
gpl-2.0
240
package br.ufg.si.ad.matematica.webservices; 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>Classe Java de dividirResponse complex type. * * <p>O seguinte fragmento ...
brunokarpo/WebServiceEuFiz
src/br/ufg/si/ad/matematica/webservices/DividirResponse.java
Java
gpl-2.0
1,256
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
ganncamp/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00507.java
Java
gpl-2.0
3,449
/* * Copyright (C) 2009. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 or * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WA...
openstreetmap/mkgmap
src/uk/me/parabola/imgfmt/app/mdr/Mdr5Record.java
Java
gpl-2.0
4,917
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * *************************************************************************** *************************************************************************** ...
markuskeunecke/stendhal
src/games/stendhal/client/entity/ActionType.java
Java
gpl-2.0
8,627
/* * AwareEngine * Copyright (C) 2011 Adam Bennett <cruxicATgmailDOTcom> * * 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 versi...
wangcan26/aware-engine
java/cruxic/aware/ipo/IPOTimeSource.java
Java
gpl-2.0
931
package ostukorv.qualitylab.ee.shoplist.adapters; import android.content.Context; import android.content.DialogInterface; import android.os.AsyncTask; import android.support.v7.app.AlertDialog; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapt...
markokonsa/Shoplist
app/src/main/java/ostukorv/qualitylab/ee/shoplist/adapters/MembersAdapter.java
Java
gpl-2.0
3,604
/* * 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 use...
sencko/NALB
nalb2013/src/org/apache/pdfbox/pdmodel/interactive/action/PDAnnotationAdditionalActions.java
Java
gpl-2.0
9,494
/* * Created on Jan 27, 2009 * Created by Paul Gardner * * Copyright 2009 Vuze, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License on...
thangbn/Direct-File-Downloader
src/src/com/aelitis/azureus/core/devices/DeviceManager.java
Java
gpl-2.0
3,098
/* * Javassist, a Java-bytecode translator toolkit. * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. Alternatively, the contents of th...
alpapad/HotswapAgent
hotswap-agent-core/src/main/java/org/hotswap/agent/javassist/bytecode/stackmap/MapMaker.java
Java
gpl-2.0
20,432
package com.owncloud.android.screenshots; import android.content.Intent; import com.owncloud.android.R; import com.owncloud.android.ui.activity.FileDisplayActivity; import com.owncloud.android.ui.activity.Preferences; import junit.framework.Assert; import org.junit.BeforeClass; import org.junit.ClassRule; import or...
tobiasKaminsky/android
src/androidTest/disabledTests/screenshots/ScreenshotsIT.java
Java
gpl-2.0
4,535
package libBBMPC.images; import javax.swing.ImageIcon; public class Images { private static String path = "libBBMPC/images/"; public static ImageIcon flag_b = new ImageIcon(ClassLoader.getSystemResource(path + "flag_blue.gif")); public static ImageIcon flag_r = new ImageIcon(ClassLoader.getSystemResource(pa...
guyburton/beatbutchermpc
libBBMPC/src/libBBMPC/images/Images.java
Java
gpl-2.0
2,959
package com.taperay.android.preview; import java.util.HashMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList; public class ServerObject { protected HashMap<String, String> propertyHash; protected String tag = "ServerObject"; protected void readFromNode(Node node) { NodeList properties = node.getChildNo...
zonque/TapeRayAndroid
src/com/taperay/android/preview/ServerObject.java
Java
gpl-2.0
1,030
package de.superioz.moo.api.collection; import lombok.Getter; import java.util.ArrayList; import java.util.Comparator; import java.util.List; /** * Implementation of a list where the entries can be retrieves like pages * <br> * Example: You have 20 entries and each page has a size of 10 -> Would result in 2 pages...
Superioz/MooProject
api/src/main/java/de/superioz/moo/api/collection/PageableList.java
Java
gpl-2.0
3,198
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
flymoondust/project
android/SystemUI2/src/com/android/systemui/statusbar/policy/NetworkController.java
Java
gpl-2.0
56,345
package org.oscarehr.billing.CA.ON.web; import java.io.File; import java.net.URLDecoder; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.apache.struts.action.Action;...
oscarservice/oscar-old
src/main/java/org/oscarehr/billing/CA/ON/web/ArchiveMOHFileAction.java
Java
gpl-2.0
1,955
/* * Copyright (c) 2021, 2021, 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 ...
smarr/Truffle
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/resources/NativeImageResourceFileStore.java
Java
gpl-2.0
3,639
package com.br.teste; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.net.URL; import java.text.SimpleDateFormat; import java.util.HashMap; import java.util.Map; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom....
viniciuscarneiro/exBBB
gerador-danfe/src/main/java/com/br/teste/GeradorDanfe.java
Java
gpl-2.0
3,855
/* BinaryInfo Copyright (C) 1998-2002 Jochen Hoenicke. * * 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, or (at your option) * any later version. * * This program...
vitstradal/jozin
jode/bytecode/BinaryInfo.java
Java
gpl-2.0
6,590
/* * Copyright Captainsoft 2010 - 2015. * All rights reserved. */ package com.captainsoft.TADr.model.puzzle.talk; import java.awt.Color; import java.awt.Font; import com.captainsoft.TADr.engine.TadRepo; import com.captainsoft.spark.ui.Fonts; import com.captainsoft.spark.ui.box.ImageBox; import com.captainsoft.spar...
captainsoft/terminal-angel-disease
src/com/captainsoft/TADr/model/puzzle/talk/TalkWindow.java
Java
gpl-2.0
1,912
package view.cells; import model.data.Classe; public class CellListClass extends CellListCaracs { private static final long serialVersionUID = -5691967785973684865L; private Classe classe; public CellListClass(Classe classe) { super(classe.getName()); this.classe = classe; } public Classe ...
Pyeroh/mobarenahelper
MobArena_Helper/src/view/cells/CellListClass.java
Java
gpl-2.0
362
/* * Universal Media Server, for streaming any media to DLNA * compatible renderers based on the http://www.ps3mediaserver.org. * Copyright (C) 2012 UMS developers. * * This program is a free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by ...
UniversalMediaServer/UniversalMediaServer
src/main/java/net/pms/dlna/protocolinfo/DLNAOrgPlaySpeeds.java
Java
gpl-2.0
12,196
/* * This is the source code of Telegram for Android v. 1.7.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2014. */ package org.telegramsecureplus.ui.Components; import android.graphics.Canvas;...
jun0813/Telegram-plusplus
TMessagesProj/src/main/java/org/telegramsecureplus/ui/Components/IdenticonDrawable.java
Java
gpl-2.0
2,593
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston 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. This progra...
smeny/JPC
src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/rm/fadd_ST5_ST2.java
Java
gpl-2.0
2,068
// Copied from a snapshot of Slipstream Mod Manager after 1.9. // https://github.com/Vhati/Slipstream-Mod-Manager/blob/baa60a1b577a5a3006c70a9202b60e4099184d24/src/main/java/net/vhati/ftldat/FTLPack.java package net.vhati.ftldat; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; i...
Vhati/ftl-profile-editor
src/main/java/net/vhati/ftldat/FTLPack.java
Java
gpl-2.0
18,221
/** * 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/parameter/QuantityValuedParameter.java
Java
gpl-2.0
1,436
/* * OptimisticStateTransformerFactory.java - This file is part of the Jakstab project. * Copyright 2007-2012 Johannes Kinder <jk@jakstab.org> * * 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 Fr...
fliedpig/jakstab-arm-extension
src/org/jakstab/cfa/OptimisticStateTransformerFactory.java
Java
gpl-2.0
4,623
/* * Copyright 2010-2020 Ping Identity Corporation * All Rights Reserved. */ /* * Copyright 2010-2020 Ping Identity 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 * * ...
UnboundID/ldapsdk
tests/unit/src/com/unboundid/ldap/sdk/unboundidds/examples/DumpDNsTestCase.java
Java
gpl-2.0
9,161
/* * Copyright (c) 1998-2011 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...
dlitz/resin
modules/quercus/src/com/caucho/quercus/lib/ApcModule.java
Java
gpl-2.0
11,833
/* * Copyright (c) 1998-2010 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...
christianchristensen/resin
modules/servlet16/src/javax/el/PropertyNotWritableException.java
Java
gpl-2.0
1,464
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file...
gerryDreamer/dreamerLib
src/com/dreamer/data/structures/EmptyListException.java
Java
gpl-2.0
2,898
/** * 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...
williamgrosset/OSCAR-ConCert
src/main/java/org/oscarehr/ws/rest/ScheduleService.java
Java
gpl-2.0
12,803
package com.yh.hr.component.im.check.factory; import com.yh.hr.component.im.check.service.CollItemCheckService; import com.yh.platform.core.exception.ServiceException; import com.yh.platform.core.util.SpringBeanUtil; /** * 导入前数据检查工厂类 * @author wangx * @date 2017-07-10 * @version 1.0 */ public abstract class Impo...
meijmOrg/Repo-test
freelance-hr-component/src/java/com/yh/hr/component/im/check/factory/ImportCheckFactory.java
Java
gpl-2.0
841
package freenet.client.metadata; import freenet.FieldSet; //import freenet.support.Bucket; //import java.io.InputStream; public class InfoPart extends MetadataPart { public static final String name = "Info"; private String format; private String description; private String checksum; public Info...
freenet/legacy
src/freenet/client/metadata/InfoPart.java
Java
gpl-2.0
1,873
package recogniser.test; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import javaff.data.GroundProblem; import javaff.data.TotalOrderPlan; import javaff.data.UngroundProblem; import javaff.parser.PDDL21parser; import ja...
dpattiso/igraph
src/recogniser/test/SolutionLengthTester.java
Java
gpl-2.0
2,864
package net.pms.plugin.fileimport.imdb.gui; import java.awt.GridLayout; import javax.swing.BorderFactory; import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextField; import org.slf4j.Logger; import org.slf4j.LoggerFactory; imp...
taconaut/pms-mlx
plugins/ImdbMovieImportPlugin/src/main/java/net/pms/plugin/fileimport/imdb/gui/GlobalConfigurationPanel.java
Java
gpl-2.0
4,777
package com.toet.TinyVoxel.Renderer.Wrapped; /** * Created by Kajos on 9/23/2014. */ public class WrappedBoolean { boolean value; public WrappedBoolean(boolean value) { set(value); } public void set(boolean value) { this.value = value; } public boolean get() { retur...
neuroradiology/TinyVoxel
core/src/com/toet/TinyVoxel/Renderer/Wrapped/WrappedBoolean.java
Java
gpl-2.0
337
package io.fishb6nes.java.util.collection; import java.util.ArrayList; public class ThreeDimensionalArrayList<E> extends ArrayList<TwoDimensionalArrayList<E>> { public ThreeDimensionalArrayList(int primarySize, int secondarySize, int tertiarySize) { super(primarySize); for (int i = 0; i < size(); ++i) add(i,...
fishb6nes/JavaUtil
src/main/java/io/fishb6nes/java/util/collection/ThreeDimensionalArrayList.java
Java
gpl-2.0
1,024
// Stanford Parser -- a probabilistic lexicalized NL CFG parser // Copyright (c) 2002 - 2011 The Board of Trustees of // The Leland Stanford Junior University. All Rights Reserved. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as pu...
tabladrum/CoreNLP
src/edu/stanford/nlp/parser/lexparser/LexicalizedParser.java
Java
gpl-2.0
65,980
/** * Copyright (C) 2012-2014 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...
USGS-CIDA/SOS
core/api/src/main/java/org/n52/sos/ogc/ows/SosServiceProviderFactorySettings.java
Java
gpl-2.0
7,464
/* ==================================================================== 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 ...
benjaminy/STuneLite
OldJavaImplementation/poi-3.2-FINAL/src/scratchpad/src/org/apache/poi/hwpf/model/types/CHPAbstractType.java
Java
gpl-2.0
30,316
/** * 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". */ /* * EctConsultationFormRequestPrintAction.java * * C...
scoophealth/oscar
src/main/java/oscar/oscarEncounter/oscarConsultationRequest/pageUtil/EctConsultationFormRequestPrintAction2.java
Java
gpl-2.0
8,752
package com.stefankopieczek.audinance.formats.flac.structure; import com.stefankopieczek.audinance.audiosources.EncodedSource; import java.nio.ByteOrder; public class SeektableBlock extends MetadataBlock { private EncodedSource mDataSource; private int mNumRows; public SeektableBlock(int length, EncodedSource...
StefanKopieczek/audinance
src/com/stefankopieczek/audinance/formats/flac/structure/SeektableBlock.java
Java
gpl-2.0
1,720
/* * Copyright (C) 2012-2022 52°North Spatial Information Research 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 libraries which are l...
52North/SOS
coding/netcdf/api/src/main/java/org/n52/sos/netcdf/data/subsensor/PointProfileSubSensor.java
Java
gpl-2.0
2,703
package com.entboost.im.user; import net.yunim.service.EntboostCache; import net.yunim.service.EntboostUM; import net.yunim.service.entity.AccountInfo; import net.yunim.service.listener.EditInfoListener; import android.os.Bundle; import android.view.View; import android.widget.EditText; import com.entboost.handler.Ha...
entboost/EntboostIM
src/EntboostIM/src/com/entboost/im/user/InfoZipcodeEditActivity.java
Java
gpl-2.0
1,847
import com.swigi.mabainji.*; public class MabainTest { static { System.loadLibrary("mabainJava"); } public static void insertionTest(Mabain mdb, int count) { int added = 0; for (int i = 0; i < count; i++) { String key = "TEST_KEY_" + Integer.toString(i); Str...
chxdeng/mabain
swig/java/MabainTest.java
Java
gpl-2.0
1,990
/* * 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.cth.dzenkyair.frontend.view; import edu.cth.dzenkyair.backend.core.Flight; import edu.cth.dzenkyair.backend.core.F...
kadric/dreamteam
front/src/main/java/edu/cth/dzenkyair/frontend/view/OrderListBB.java
Java
gpl-2.0
1,650
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest19616.java
Java
gpl-2.0
2,673
package org.janelia.render.client; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParametersDelegate; import java.util.List; import org.janelia.alignment.spec.ListTransformSpec; import org.janelia.alignment.spec.ResolvedTileSpecCollection; import org.janelia.alignment.spec.TileSpec; import org.ja...
saalfeldlab/render
render-ws-java-client/src/main/java/org/janelia/render/client/TransformRemovalClient.java
Java
gpl-2.0
6,870
/* * Copyright 2003-2004 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/jdk/test/java/lang/instrument/NoTransformerAddedTest.java
Java
gpl-2.0
2,079
package it.unibas.icar.freesbee.modello; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import javax.persistence.*; import javax.xml.bind.annotation.XmlTransient; import org.hibernate.annotations.CacheConcurrencyStrategy; @Entity //@Cach...
donatellosantoro/freESBee
freesbee/src/it/unibas/icar/freesbee/modello/Servizio.java
Java
gpl-2.0
7,662
package lecho.lib.hellocharts.util; public class FloatUtils { public static final int POW10[] = {1, 10, 100, 1000, 10000, 100000, 1000000}; /** * Returns next bigger float value considering precision of the argument. */ public static float nextUpF(float f) { if (Float.isNaN(f) || f == Float.POSITIVE_INFINITY...
skylmsgq/smms
android/MySensorTag/hellocharts-library/src/lecho/lib/hellocharts/util/FloatUtils.java
Java
gpl-2.0
5,832
package com.petersomogyi.weather.api; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath("/api") public class WeatherServiceApplication extends Application { }
petersomogyi/weather-notifier
src/main/java/com/petersomogyi/weather/api/WeatherServiceApplication.java
Java
gpl-2.0
201
package codejam2017_2nd; import java.io.BufferedInputStream; import java.io.BufferedWriter; import java.io.FileInputStream; import java.io.FileWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import java.util.Scanner; import java.util.Set; import java.util.TreeMap; public ...
apostlez/algorithm-Exams
src/codejam2017_2nd/Problem_5_1_done.java
Java
gpl-2.0
5,473
/* * Copyright (c) 2012, 2015, 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 ...
streamsupport/streamsupport
src/tests/java/java8/util/stream/IntStreamTestScenario.java
Java
gpl-2.0
9,452