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.soaplab.text_mining.kwic; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServiceFeature; /** ...
jaimedelgado/Xtext
src/org/soaplab/text_mining/kwic/KwicService.java
Java
gpl-2.0
2,933
package com.example.piasy.startup; import com.example.piasy.startup.location.PaintBoardFragment; import com.example.piasy.startup.sensors.LogBoardFragment; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.h...
Piasy/Graduate
src/GpsEvaluate/Android-client/Gps-Demo/app/src/main/java/com/example/piasy/startup/MyActivity.java
Java
gpl-2.0
7,171
/* Copyright 2007 MySQL AB, 2008 Sun Microsystems All rights reserved. Use is subject to license terms. The MySQL Connector/J is licensed under the terms of the GPL, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPL as it is applied to this software, see t...
yyuu/libmysql-java
src/com/mysql/jdbc/ResultSetRow.java
Java
gpl-2.0
42,740
/* * This is the source code of Hermes for Android v. 1.3.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.hermes.ui.Components; import android.graphics.Canvas; import androi...
ur0/hermes
TMessagesProj/src/main/java/org/hermes/ui/Components/ProgressView.java
Java
gpl-2.0
1,427
package s03; public class AmStramGram { public static void main(String[] args) { int n=7, k=5; if (args.length == 2) { n = Integer.parseInt(args[0]); k = Integer.parseInt(args[1]); } System.out.println("Winner is " + winnerAmStramGram(n, k)); } // --------------------------------------...
liTTleSiG/Algorithmique
src/s03/AmStramGram.java
Java
gpl-2.0
1,360
/* * Copyright (C) 2016-2022 ActionTech. * License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher. */ package com.actiontech.dble.services.manager.response; import com.actiontech.dble.config.Fields; import com.actiontech.dble.config.model.SystemConfig; import com.actiontech.dble.net.mysql.*; import ...
actiontech/dble
src/main/java/com/actiontech/dble/services/manager/response/ShowLoadDataErrorFile.java
Java
gpl-2.0
2,876
package fiuba.algo3.model.map; import fiuba.algo3.model.exceptions.CannotOccupyTileException; import fiuba.algo3.model.exceptions.NotEnoughRoomException; import fiuba.algo3.model.occupant.Occupant; import fiuba.algo3.model.occupant.units.TerranTransportVessel; import fiuba.algo3.model.occupant.units.Unit; public clas...
algoCraftDeveloperTeam/algosIII_tpFinal
src/fiuba/algo3/model/map/Earth.java
Java
gpl-2.0
864
/** * 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/BenchmarkTest13497.java
Java
gpl-2.0
2,294
package edu.neu.leetcode.array; public class BestTimeToBuyAndSellStockII { public static int maxProfit(int[] prices) { int res = 0, high = prices.length - 1; for (int i = prices.length - 1; i > 0; i--) { if (prices[i - 1] < prices[i]) { if (i - 1 == 0) { ...
mahaotian/LeetCode
src/edu/neu/leetcode/array/BestTimeToBuyAndSellStockII.java
Java
gpl-2.0
630
/* Copyleft (C) 2005 Hio Perroni Filho xperroni@yahoo.com ICQ: 2490863 This file is part of ChatterBean. ChatterBean 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 o...
WonderBeat/vasilich
alice-src/bitoflife/chatterbean/text/Sentence.java
Java
gpl-2.0
4,272
/***************************************************************************** * Web3d.org Copyright (c) 2001 * Java Source * * This source is licensed under the GNU LGPL v2.1 * Please read http://www.gnu.org/copyleft/lgpl.html for more information * * This so...
Norkart/NK-VirtualGlobe
Xj3D/src/java/org/web3d/vrml/renderer/ogl/nodes/OGLAreaListener.java
Java
gpl-2.0
2,694
package verbtester; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.List; import javax.swing.Action; import javax.swing.Icon; import javax.swing.JCheckBox; public class RootCheckBox extends JCheckBox { public RootCheckBox(Action a) { super(a);...
trombipeti/gerverbtester
src/verbtester/RootCheckBox.java
Java
gpl-2.0
1,867
package ai; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Vector; public class TranspositionPlayer<M extends Move<N>, N extends Node<M, N>> extends Player<M, N> { private M bestFirstMove; private int millis; private TranspositionTable<M, N> table; public Tr...
arwheelock/chess
src/ai/TranspositionPlayer.java
Java
gpl-2.0
3,005
package com.evaluation.service; import com.evaluation.control.AccountManager; import com.evaluation.dao.DatabaseAdapter; import com.evaluation.util.TcpConnect; import com.evaluation.view.*; import android.os.BatteryManager; import android.app.Service; import android.content.BroadcastReceiver; import android.content.C...
tingken/Evaluation-new
src/com/evaluation/service/HomeService.java
Java
gpl-2.0
4,291
package de.icybits.ts3.sq.api.commands; import de.icybits.ts3.sq.api.basic.Command; import de.icybits.ts3.sq.api.interfaces.ITS3CommandNames; /** * create snapshot of a virtual server * * @author Alias: Iceac Sarutobi */ public class ServersnapshotcreateCommand extends Command implements ITS3CommandNames { p...
icybits/ts3-sq-api
de.icybits.ts3.sq.api/src/de/icybits/ts3/sq/api/commands/ServersnapshotcreateCommand.java
Java
gpl-2.0
401
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2006-2011 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
bugcy013/opennms-tmp-tools
opennms-model/src/main/java/org/opennms/netmgt/model/MockServiceDaemonMBean.java
Java
gpl-2.0
1,294
/* * Copyright 2009-2022 Contributors (see credits.txt) * * This file is part of jEveAssets. * * jEveAssets 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...
GoldenGnu/jeveassets
src/main/java/net/nikr/eve/jeveasset/i18n/BundleServiceFactory.java
Java
gpl-2.0
1,439
package com.mediatek.engineermode.hqanfc; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import andro...
rex-xxx/mt6572_x201
mediatek/packages/apps/EngineerMode/src/com/mediatek/engineermode/hqanfc/PeerToPeerMode.java
Java
gpl-2.0
14,964
package com.meep.core.libs.configs; import net.minecraftforge.common.config.Configuration; /** * Created by poppypoppop on 22/12/2014. */ public class BiomeConfigHandler { //Catagories public static String general = "General"; public static String ids = "Biome IDs"; //Options public static int ...
MagiciansArtificeTeam/MEEP
src/com/meep/core/libs/configs/BiomeConfigHandler.java
Java
gpl-2.0
485
/* * USE - UML based specification environment * Copyright (C) 1999-2004 Mark Richters, University of Bremen * * 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 * Li...
classicwuhao/maxuse
src/gui/org/tzi/use/gui/views/diagrams/elements/DiamondNode.java
Java
gpl-2.0
8,728
package android.os; import android.os.Looper; import android.os.Message; import android.os.SystemClock; import android.util.Log; import android.util.Printer; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.Date; import java.text.SimpleDateFormat; /** * @hide */ p...
rex-xxx/mt6572_x201
mediatek/frameworks-ext/base/core/java/android/os/MessageLogger.java
Java
gpl-2.0
10,671
package cz.cestadomu.hospis.mock; import static cz.cestadomu.hospis.mock.Mock.BACKEND_GET_VIEW_X_EMPLOYEES_RESPONSE_MOCK; import static cz.cestadomu.hospis.mock.Mock.BACKEND_LOGIN_RESPONSE_MOCK; import java.io.IOException; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory;...
calaveraInfo/hospis
core/mock/src/main/java/cz/cestadomu/hospis/mock/BackendMockResponse.java
Java
gpl-2.0
1,197
/* * Renjin : JVM-based interpreter for the R language for the statistical analysis * Copyright © 2010-2019 BeDataDriven Groep B.V. and contributors * * 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 F...
bedatadriven/renjin
core/src/main/java/org/renjin/primitives/sequence/RepStringVector.java
Java
gpl-2.0
2,266
package com.yongk.pattern.chainOfResponsibility; public class LimitSupport extends Support { private int limit; public LimitSupport(String name, int limit) { super(name); this.limit = limit; } public LimitSupport(String name) { super(name); } @Override public boolean resolve(Trouble t) { if (t.getNu...
tturbs/pattern
src/com/yongk/pattern/chainOfResponsibility/LimitSupport.java
Java
gpl-2.0
375
/** Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved. Contact: SYSTAP, LLC 2501 Calvert ST NW #106 Washington, DC 20008 licenses@systap.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 ...
rac021/blazegraph_1_5_3_cluster_2_nodes
bigdata-rdf/src/java/com/bigdata/rdf/sparql/ast/optimizers/ASTQueryHintOptimizer.java
Java
gpl-2.0
28,914
package com.serotonin.mango.util; import com.serotonin.mango.Common; import com.serotonin.mango.rt.dataImage.DataPointRT; import com.serotonin.mango.rt.event.EventInstance; import com.serotonin.mango.rt.event.handlers.EmailHandlerRT; import com.serotonin.mango.rt.event.handlers.EmailToSmsHandlerRT; import com.serotoni...
SCADA-LTS/Scada-LTS
src/com/serotonin/mango/util/SendMsgUtils.java
Java
gpl-2.0
11,593
package doser.webclassify.dpo; import java.util.Set; import doser.entitydisambiguation.table.logic.Type; import doser.webclassify.algorithm.PageSimilarity; public class WebSite implements Cloneable, Comparable<WebSite> { private String name; private String text; private int objectId; private Set<Type> types; p...
quhfus/DoSeR
doser-core/src/main/java/doser/webclassify/dpo/WebSite.java
Java
gpl-2.0
1,245
/* * dgMaster: A versatile, open source data generator. *(c) 2007 M. Michalakopoulos, mmichalak@gmail.com */ package generator.misc; import java.util.Vector; /** * * Represents the information used to create a new text output file. * It also holds a vector of DataFileItem which define what to outpu...
tspauld98/white-mercury-dg
src/main/java/generator/misc/DataFileDefinition.java
Java
gpl-2.0
1,890
package com.mutar.libav.bridge.avformat; import org.bridj.BridJ; import org.bridj.Pointer; import org.bridj.StructObject; import org.bridj.ann.Field; import org.bridj.ann.Library; /** * <i>native declaration : ffmpeg_build/include/libavformat/avio.h:49</i><br> * This file was autogenerated by <a href="http://jnaerato...
mutars/java_libav
wrapper/src/main/java/com/mutar/libav/bridge/avformat/AVIODirEntry.java
Java
gpl-2.0
4,355
package daos; import objects.Employee; import java.util.List; public interface EmployeeDao { void createEmployee(Employee employee); void deleteEmployee(String surname, String name); Employee searchForEmployee(String surname, String name); List<Employee> findAll(); }
sunknife/GoJavaOnline
EE Module 7 Part1/src/main/java/daos/EmployeeDao.java
Java
gpl-2.0
291
package org.mule.tooling.editor.model; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class Connector extends AbstractPaletteComponent { private ConnectivityTesting connectivityTesting; @XmlAttribute public ConnectivityTesting getCo...
mulesoft/mule-tooling-incubator
org.mule.tooling.incubator.editor.model/src/org/mule/tooling/editor/model/Connector.java
Java
gpl-2.0
1,265
/* * 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 ...
lostdj/Jaklin-OpenJFX
modules/graphics/src/main/java/com/sun/glass/events/MouseEvent.java
Java
gpl-2.0
2,312
package org.egyptscholars.momken.text2phoneme; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import edu.stanford.nlp.international.a...
egyptscholarsinc/momken-text2phoneme
src/main/java/org/egyptscholars/momken/text2phoneme/App.java
Java
gpl-2.0
4,240
package com.htl_villach.tatue_rater.Classes; /** * Created by simon on 10.03.2016. */ public class Rechteck { public Punkt a; public Punkt b; public Rechteck() { } public Rechteck(Punkt a, Punkt b) { this.a = a; this.b = b; } }
Joniras/Tatue-Organiser
Code/Android-Project/Tatue-Rater2/app/src/main/java/com/htl_villach/tatue_rater/Classes/Rechteck.java
Java
gpl-2.0
273
package com.school.www.office.bo; public class Grade extends GradeBase{ /** * */ private static final long serialVersionUID = 1L; }
lxqfirst/mySchool
src/main/java/com/school/www/office/bo/Grade.java
Java
gpl-2.0
154
/* ownCloud Android client application * Copyright (C) 2012-2013 ownCloud Inc. * * 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 program is distributed in th...
cloudvega/vegadrive
src/com/owncloud/android/network/OwnCloudClientUtils.java
Java
gpl-2.0
14,256
/* * This is the source code of Telegram for Android v. 2.0.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-2016. */ package org.telegram.ui.Components; import android.content.Context; import an...
shazangroup/Mobograph
TMessagesProj/src/main/java/org/telegram/ui/Components/PickerBottomLayout.java
Java
gpl-2.0
4,787
package com.djlead.leadmod.blocks; import com.djlead.leadmod.Reference; import com.djlead.leadmod.sys.LogOut; import com.djlead.leadmod.sys.MyBlocks; import com.djlead.leadmod.sys.MyTab; import com.sun.scenario.effect.Crop; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecr...
djLead/modelead
src/java/com/djlead/leadmod/blocks/WhishSoil.java
Java
gpl-2.0
7,746
/** * Copyright (C) 2009 Kenji Nozawa * This file is part of LAPIN. * * 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 vers...
hz7k-nzw/lapin
src/lapin/lang/Nil.java
Java
gpl-2.0
1,219
/*- * #%L * Fiji distribution of ImageJ for the life sciences. * %% * Copyright (C) 2007 - 2021 Fiji 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 ...
fiji/SPIM_Registration
src/main/java/mpicbg/spim/fusion/MappingFusionParalellMaxWeight.java
Java
gpl-2.0
16,106
package nobugs.team.shopping.mvp.interactor; import java.util.List; import nobugs.team.shopping.mvp.model.Product; import nobugs.team.shopping.mvp.model.ProductType; import nobugs.team.shopping.mvp.model.Shop; /** * Created by xiayong on 2015/8/31. */ public interface ProductInteractor { void getProducts(Stri...
10211509/maketaobao
app/src/main/java/nobugs/team/shopping/mvp/interactor/ProductInteractor.java
Java
gpl-2.0
689
package com.genymobile.android_slack.internal; /** * Response to an rtm.start api call. */ public class RtmStartSlackResponse extends SlackResponse { public String url; // all other things }
fbarthelery/RoomConnect
android-slack/src/main/java/com/genymobile/android_slack/internal/RtmStartSlackResponse.java
Java
gpl-2.0
203
package org.github.soldierkam.retry; import java.lang.reflect.Method; import org.springframework.util.Assert; import org.springframework.util.StringUtils; /** * * @author soldier */ class RetryApply implements Apply { private final Retry anno; private final Method method; private final ExpressionEvalu...
soldierkam/spring-retry
src/main/java/org/github/soldierkam/retry/RetryApply.java
Java
gpl-2.0
1,100
package representation; import java.io.Serializable; public class TexCoord2f extends Tuple2f implements Serializable { /** * Constructs and initializes a TexCoord2f to (0,0). */ public TexCoord2f() { } /** * Constructs and initializes a TexCoord2f from the specified xy coordinat...
charlyz/graphic-engine
src/representation/TexCoord2f.java
Java
gpl-2.0
964
/* * Copyright (C) 2016 William Matrix Peckham * * 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. * * This progra...
MatrixPeckham/Ray-Tracer-Ground-Up-Java
RayTracer-BookBuild/src/com/matrixpeckham/raytracer/build/figures/ch28/BuildFigure47.java
Java
gpl-2.0
5,632
package it.ncorti.tdp.user.rmi; import it.ncorti.tdp.user.GameFacade; import it.ncorti.tdp.user.Log; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; /** * Classe di test che rappresenta il gioco in esecuzione su un server remoto * * @author Nicola Cort...
cortinico/tdp
TDP/src/it/ncorti/tdp/user/rmi/RemoteServer.java
Java
gpl-2.0
1,585
package dpp.bookstore.dao; import java.util.Vector; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import dpp.bookstore.pojo.User; public class UserDaoImp implements UserDao { private SessionFactory sess...
fidy1995/SE223-Database
Bookstore-SSH/src/dpp/bookstore/dao/UserDaoImp.java
Java
gpl-2.0
1,698
/** * logic for Ados market. */ package games.stendhal.server.maps.ados.market; /* $Id: package-info.java,v 1.1 2010/11/29 22:52:31 nhnb Exp $ */ /*************************************************************************** * (C) Copyright 2003-2010 - Stendhal * **************...
sourceress-project/archestica
src/games/stendhal/server/maps/ados/market/package-info.java
Java
gpl-2.0
999
/* * Copyright 1998-2007 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/src/share/classes/sun/java2d/pipe/SpanShapeRenderer.java
Java
gpl-2.0
7,502
package puck.thrifty; import puck.thrifty.datatype.Element; /** * <p> * Represents an error that occurred during the merger process. * </p> * * @author ywhite * */ public class MergerException extends RuntimeException { private static final long serialVersionUID = 1L; public MergerException() { ...
whyceewhite/json2thrift
src/main/java/puck/thrifty/MergerException.java
Java
gpl-2.0
1,022
/* * 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-fuseki/src/main/java/org/apache/jena/fuseki/FusekiCmd.java
Java
gpl-2.0
18,735
package org.regkas.service.api.bean; import org.boatpos.common.test.JavaBeanTest; import org.junit.Test; import java.math.BigDecimal; public class TaxElementBeanTest extends JavaBeanTest<TaxElementBean> { @Test public void testConstructor() { new TaxElementBean(20, 1, BigDecimal.ZERO, BigDecimal.ZER...
andi-git/boatpos
regkas-server/regkas-server-service/regkas-server-service-api/src/test/java/org/regkas/service/api/bean/TaxElementBeanTest.java
Java
gpl-2.0
348
package com.focus.example.corestoragetester.app.testObjects; import com.zva.android.data.annotations.CoreStorageEntity; import com.zva.android.data.annotations.PrimaryKey; import com.zva.android.data.annotations.QueryColumn; import java.util.Date; import java.util.List; import java.util.Map; /** * Copyright CoreSto...
ambekarzeneil/android-storage
TestModule/Test/app/src/main/java/com/focus/example/corestoragetester/app/testObjects/SimpleTestObject.java
Java
gpl-2.0
6,951
/* * Copyright (c) 1996, 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 ...
dmlloyd/openjdk-modules
jdk/src/java.base/share/classes/java/util/zip/Deflater.java
Java
gpl-2.0
20,477
package trubbl.issues.domain; import com.fasterxml.jackson.annotation.JsonProperty; import trubbl.sharedkernel.domain.Key; import trubbl.sharedkernel.domain.Keyable; public class Issue implements Keyable { @JsonProperty private Key key; @JsonProperty private String title; @JsonProperty private String descript...
thesam/trubbl
trubbl-issues/src/main/java/trubbl/issues/domain/Issue.java
Java
gpl-2.0
545
import gnu.qif.RecordArray; import gnu.qif.AccountRecord; import gnu.qif.QIFRecord; /* The gnu.qif package: A tool for creating QIF files. Copyright (C) 2001 Nicolas Marchildon 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...
elecnix/gnu-qif
src/gnu/qif/doc-files/Sample1.java
Java
gpl-2.0
2,988
/* * Copyright (c) 2007 Pentaho Corporation. All rights reserved. * This software was developed by Pentaho Corporation and is provided under the terms * of the GNU Lesser General Public License, Version 2.1. You may not use * this file except in compliance with the license. If you need a copy of the license, ...
panbasten/imeta
imeta2.x/imeta-src/imeta/src/main/java/com/panet/imeta/job/entries/zipfile/Messages.java
Java
gpl-2.0
2,273
package org.cohorte.utilities.sql.pool; import java.util.LinkedList; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.cohorte.utilities.sql.DBException; import org.cohorte.utilities.sql.IDBConnection; import org.cohorte.utilities.sql.IDBPool; import org.cohorte.utilities.sql.exec.CD...
isandlaTech/cohorte-utilities
extra/org.cohorte.utilities.sql/src/org/cohorte/utilities/sql/pool/CDBPool.java
Java
gpl-2.0
6,719
/* * java-gnome, a UI library for writing GTK and GNOME programs from Java! * * Copyright © 2007-2010 Operational Dynamics Consulting, Pty Ltd and Others * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or...
cyberpython/java-gnome
src/bindings/org/gnome/gtk/MenuToolButton.java
Java
gpl-2.0
4,952
package ebu.metadata_schema.ebucore_2015; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p>Class...
mikrosimage/jebu-core
src/main/java/ebu/metadata_schema/ebucore_2015/PositionInteractionRangeType.java
Java
gpl-2.0
2,653
package com.visittomm.mweather.fragments; import android.app.Fragment; import android.content.Context; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.A...
kankaungmalay/Mweather
app/src/main/java/com/visittomm/mweather/fragments/CachedCityListFragment.java
Java
gpl-2.0
4,581
package me.tomkent.chemcraft.Blocks; import me.tomkent.chemcraft.ChemCraft; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; public class oreBarium extends Block{ private static String blockName = "Barium Ore"; private static String bloc...
tommykent1210/ChemCraft
Development/src/main/java/me/tomkent/chemcraft/Blocks/oreBarium.java
Java
gpl-2.0
655
package cs342.Chat.GUI.custom; import javax.swing.*; import javax.swing.border.LineBorder; import javax.swing.text.*; import java.awt.*; import java.util.HashMap; public class ChatArea { private ChatPane cstmPane; private JScrollBar vertical; public final JScrollPane SCROLL_PANE; private HashMap<String, StyledD...
TomasJuocepis/CS342-ChatApp
src/cs342/Chat/GUI/custom/ChatArea.java
Java
gpl-2.0
3,081
/* This file is a part of Angry IP Scanner source code, see http://www.angryip.org/ for more information. Licensed under GPLv2. */ package net.azib.ipscan.gui; import net.azib.ipscan.config.GUIConfig; import net.azib.ipscan.config.Labels; import net.azib.ipscan.config.Platform; import net.azib.ipscan.config.Ver...
angryip/ipscan
src/net/azib/ipscan/gui/MainWindow.java
Java
gpl-2.0
8,737
package com.t3.server.database.businesslogic; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.t3.server.database.entities.User; public class UserHelper { public final static int CREATE_USER_SUCCESS = 0x0001; public final...
jackvt93/T3-Project--Tic---Tac---Toe-Game-Online-
T3Project/T3Server/src/com/t3/server/database/businesslogic/UserHelper.java
Java
gpl-2.0
4,019
package de.jlab.android.hombot.sections; import android.content.SharedPreferences; import android.graphics.PorterDuff; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.preference.PreferenceManager; import android.util.Log; import android.view.LayoutInflater; import android...
rampage128/hombot-control
mobile/src/main/java/de/jlab/android/hombot/sections/JoySection.java
Java
gpl-2.0
8,519
package com.fifino.gptw.screens; import android.graphics.Point; import com.fifino.framework.assets.Assets; import com.fifino.framework.entities.MenuItem; import com.fifino.gptw.flags.AutoRun; import com.fifino.gptw.helpers.GPTWResources; import com.kilobolt.framework.Game; import com.kilobolt.framework.Graphics; impo...
ppartida/com.fifino.gptw
src/main/java/com/fifino/gptw/screens/LoadingScreen.java
Java
gpl-2.0
2,852
/* * IRIS -- Intelligent Roadway Information System * Copyright (C) 2008-2015 Minnesota Department of Transportation * * 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 ...
SRF-Consulting/NDOR-IRIS
src/us/mn/state/dot/tms/server/comm/ntcip/OpUpdateDMSBrightness.java
Java
gpl-2.0
4,901
package project.devices; public abstract class Device { protected String name; public Device(String name){ this.name = name; } public String getName(){ return name; } }
ireyoner/SensorDataAquisitor
src/project/devices/Device.java
Java
gpl-2.0
193
package com.crazydude.navigationhandlerdemo.fragments; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.crazydude.navigationhandlerdemo.R; /** * ...
CrazyDude1994/android-navigation-handler
app/src/main/java/com/crazydude/navigationhandlerdemo/fragments/ThirdFragment.java
Java
gpl-2.0
3,525
package com.github.eswrapper.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import org.guess.core.orm.IdEntity; import org.hibernate.annotations.Cache;...
joezxh/DATAX-UI
eshbase-proxy/src/main/java/com/github/eswrapper/model/MonitorLogDetail.java
Java
gpl-2.0
7,024
/** * @author jesus * */ public class Principal { public static void main(String[] args) { Persona alumno1 = new Alumno("03181199T","Jesus","Ortega Vilchez",true,true,8); Persona profesor1 = new Profesor("0156478M","Jose Carlos","Villar",true,false,1500.50); Persona profesorFP1 = new ProfesorFP("02314566...
JesusOrtegaVilchez/JAVA
Ejercicio_Herencia/Principal.java
Java
gpl-2.0
822
/* AllStackTracesTest.java Copyright (C) 2011 Red Hat, Inc. This file is part of IcedTea. IcedTea 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. IcedTea is distributed in the hope that it will be us...
GITNE/icedtea-web
tests/reproducers/simple/AllStackTraces/testcases/AllStackTracesTest.java
Java
gpl-2.0
2,595
/* * Copyright 2017-2020 Ping Identity Corporation * All Rights Reserved. */ /* * Copyright 2017-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/util/ssl/cert/SubjectAlternativeNameExtensionTestCase.java
Java
gpl-2.0
7,738
package nl.abevos.kikker.level; import nl.abevos.kikker.KikkerGame; import nl.abevos.kikker.actor.Frog; import nl.abevos.kikker.environment.Platform; import nl.abevos.kikker.environment.Wall; import nl.abevos.kikker.manager.AssetManager; import nl.abevos.kikker.manager.ContactListener; import nl.abevos.kikker.screen.G...
ManWithAJawharp/kikker
core/src/nl/abevos/kikker/level/Level.java
Java
gpl-2.0
2,508
package com.example.lpeng.tiptap; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.Window; import android.widget.TextView; import java...
werdnanoslen/eBusker
UI/app/src/main/java/com/example/lpeng/tiptap/StartActivity.java
Java
gpl-2.0
2,293
package sjy.elwg.notation; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JDialog; public class OrnamentDialog extends JDialog implements ActionListener{ /** * ÐòÁкŠ*/ private static final long serialVers...
squallyou/LScore
src/sjy/elwg/notation/OrnamentDialog.java
Java
gpl-2.0
6,587
/* * 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 ...
maiklos-mirrors/jfx78
modules/graphics/src/main/java/com/sun/glass/ui/lens/LensView.java
Java
gpl-2.0
8,152
package org.inspire.guide.metadata; import java.util.ArrayList; import java.util.List; /** * Actions that can be performed within the * Bukkit scheduler framework. * <p/> * These actions are self-contained, so when run() is * executed, any action that will be performed does NOT require * any additional outside ...
InspiredIdealist/Trace-Framework
src/main/java/org/inspire/guide/metadata/Action.java
Java
gpl-2.0
1,404
package ComputationalServer.ServerCore; import java.io.IOException; import java.net.Socket; import GenericCommonClasses.GenericProtocol; /** * <p> * ConnectionEstabilisherThread is responsible for asynchronous connection * estabilishment and asynchronous message retrieval. * </p> * <p> * Retrieved message is p...
Waszker/IO_projekt
ComputationalCluster/src/ComputationalServer/ServerCore/ConnectionEstabilisherThread.java
Java
gpl-2.0
1,621
/* * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of this s...
smarr/Truffle
wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/WasmMath.java
Java
gpl-2.0
11,005
package org.vidogram.messenger.exoplayer.f; public final class f { public final int a; public final int b; public final int c; public final int d; public final int e; public final int f; public final int g; public final long h; public f(byte[] paramArrayOfByte, int paramInt) { paramArrayOfByte...
Robert0Trebor/robert
TMessagesProj/src/main/java/org/vidogram/messenger/exoplayer/f/f.java
Java
gpl-2.0
979
package org.jmlspecs.annotation; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) @Documented public @interface CodeJavaMath { }
shunghsiyu/OpenJML_XOR
JMLAnnotations/src/org/jmlspecs/annotation/CodeJavaMath.java
Java
gpl-2.0
254
package roart.pacman.graphic; public interface Shapes { byte PACMAN0_BITS[]= {(byte) 0x3c,(byte) 0x7e,(byte) 0xff,(byte) 0xff,(byte) 0xff,(byte) 0xff,(byte) 0x7e,(byte) 0x3c}; byte PACMANRIGHT_BITS[]= {(byte) 0x3c,(byte) 0x68,(byte) 0xf0,(byte) 0xe0,(byte) 0xe0,(byte) 0xf0,(byte) 0x78,(byte) 0x3c}; byte PACMANLEFT...
rroart/pacman
src/main/java/roart/pacman/graphic/Shapes.java
Java
gpl-2.0
4,172
// ********************************************************************** // // Generated by the ORBacus IDL to Java Translator // // Copyright (c) 2000 // Object Oriented Concepts, Inc. // Billerica, MA, USA // // All Rights Reserved // // ********************************************************************** // Vers...
crotwell/fissuresIDL
src/main/java/edu/iris/Fissures/IfNetwork/ResponseHelper.java
Java
gpl-2.0
2,254
/* This file was generated by SableCC (http://www.sablecc.org/). */ package se.sics.kola.node; public abstract class PExpression extends Node { // Empty body }
kompics/kola
src/main/java/se/sics/kola/node/PExpression.java
Java
gpl-2.0
166
package com.designedpattern.abstractfactory.impl; import com.designedpattern.abstractfactory.IMagician; public class MagicianA implements IMagician{ public void showMagician() { System.out.println("Magician A"); } }
FreeSivan/myJavaTest
src/main/java/com/designedpattern/abstractfactory/impl/MagicianA.java
Java
gpl-2.0
224
package org.tzi.use.uml.ocl.type; import java.util.Set; public class VoidType extends Type { public Set<Type> allSupertypes() { throw new UnsupportedOperationException("Call to allSupertypes is invalid on OclVoid"); } public boolean equals(Object obj) { return obj instanceof VoidType; } public int hashCod...
vnu-dse/rtl
src/main/org/tzi/use/uml/ocl/type/VoidType.java
Java
gpl-2.0
1,632
package de.superioz.moo.api.logging; import java.io.PrintWriter; import java.io.StringWriter; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.logging.Formatter; import java.util.logging.LogRecord; /** * This is just a simple formatter for a logger */ public class ConciseFormatter ex...
Superioz/MooProject
api/src/main/java/de/superioz/moo/api/logging/ConciseFormatter.java
Java
gpl-2.0
1,332
package com.dental.provider; import com.dental.persistence.entity.User; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import java.util.Collection; /** * Created by admin on 27.05.2015. */ public class DentalUserDetails implements UserDe...
light88/dental-spring
web/src/main/java/com/dental/provider/DentalUserDetails.java
Java
gpl-2.0
1,589
/** * $Id$ * <p> * Title: tn5250J * Copyright: Copyright (c) 2001,2009 * Company: * * @author: master_jaf * <p> * Description: * Tab component for displaying title text and icons. * <p> * <p> * This program is free software; you can redistribute it and/or modify * it under the terms of the...
tn5250j/tn5250j
src/org/tn5250j/gui/ButtonTabComponent.java
Java
gpl-2.0
11,125
/* * Copyright (C) 2006 The Android Open Source Project * Copyright (C) 2012 YIXIA.COM * Copyright (C) 2013 Zhang Rui <bbcallen@gmail.com> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
jgfntu/ijkplayer
android/ijkmediawidget/src/tv/danmaku/ijk/media/widget/VideoView.java
Java
gpl-2.0
25,159
/*************************************************************************** * Copyright (C) 2011-2012 by Virginia Tech Real-Time Systems Lab * * * * Author(s): * * - A...
longqzh/chronOS_test
libjchronos/source/java/edu/vt/realtime/ChronosUtil.java
Java
gpl-2.0
3,005
package starrealmssimulator.cards.ships.machinecult; import starrealmssimulator.model.*; public class PatrolBot extends Ship implements AlliableCard { public PatrolBot() { name = "Patrol Bot"; faction = Faction.MACHINE_CULT; cost = 2; set = CardSet.CRISIS_FLEETS_AND_FORTRESSES;...
icesphere/star-realms-simulator
src/starrealmssimulator/cards/ships/machinecult/PatrolBot.java
Java
gpl-2.0
1,098
package es.javiergarciaescobedo.addressbookdroid.models; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class Persons { public static List<Person> personList = new ArrayList(); public static Map<String, Person> ITEM_MAP = new HashMap<String, Person>...
javiergarciaescobedo/AddressBookDroid
app/src/main/java/es/javiergarciaescobedo/addressbookdroid/models/Persons.java
Java
gpl-2.0
2,252
package org.dei.perla.lang.executor; import org.dei.perla.lang.executor.statement.QueryHandler; /** * @author Guido Rota 13/04/15. */ public class NoopQueryHandler implements QueryHandler<Object, Object[]> { @Override public void error(Object source, Throwable error) { } @Override public v...
perlawsn/language
src/test/java/org/dei/perla/lang/executor/NoopQueryHandler.java
Java
gpl-2.0
367
/* * TuxCourser * Copyright (C) 2003-2004 Adam Elliott * * 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. * * ...
aelliott2000/tuxcourser
src/main/java/net/ovres/tuxcourser/itemtypes/Finish.java
Java
gpl-2.0
991
package de.asideas.crowdsource.controller; import de.asideas.crowdsource.presentation.DateTimeWrapper; import de.asideas.crowdsource.security.Roles; import org.joda.time.DateTime; import org.springframework.security.access.annotation.Secured; import org.springframework.web.bind.annotation.RequestMapping; import org.sp...
as-ideas/crowdsource
crowdsource-core/src/main/java/de/asideas/crowdsource/controller/DateTimeController.java
Java
gpl-2.0
697
/* * Web service utility functions for managing hibernate, json, etc. * * Copyright (C) 2010 Regents of the University of Colorado. * * 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...
SampleSizeShop/WebServiceCommon
src/edu/ucdenver/bios/webservice/common/domain/BetaScaleList.java
Java
gpl-2.0
3,456
package com.medavox.distribackup.connections; import java.io.*; import java.net.*; import com.medavox.distribackup.peers.Peer; /**Assigns new Sockets to incoming connections. The first point of contact for new connections. * Further new connection set up is handled via a callback: Peer.setupNewSocket(Socket)*/ public...
medavox/distribackup
src/main/java/com/medavox/distribackup/connections/Listener.java
Java
gpl-2.0
1,383