repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
kaczla/TAS | Client/src/main/java/tasslegro/base/Http_Delete.java | 2256 | package tasslegro.base;
import java.io.IOException;
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.ParseException;
import org.apache.http.annotation.NotThreadSafe;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.... | gpl-2.0 |
fjaviermo/dropdroid | app/src/com/fjaviermo/dropdroid/CoverImageDialogFragment.java | 1793 | package com.fjaviermo.dropdroid;
import java.io.ByteArrayOutputStream;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import andr... | gpl-2.0 |
autowang/disconf | disconf-web/src/main/java/com/baidu/disconf/web/service/zookeeper/service/ZkDeployMgr.java | 931 | package com.baidu.disconf.web.service.zookeeper.service;
import java.util.Map;
import com.baidu.disconf.core.common.constants.DisConfigTypeEnum;
import com.baidu.disconf.web.service.zookeeper.dto.ZkDisconfData;
/**
*
*
* @author liaoqiqi
* @version 2014-9-11
*/
public interface ZkDeployMgr {
/**
*
... | gpl-2.0 |
hyattgra/leetcode | MultiplyStrings/Solution.java | 1253 | package MultiplyStrings;
/**
* Created by gzhou on 6/1/15.
*/
public class Solution {
public static void main(String[] args) {
System.out.println(multiply("123", "20"));
}
public static String multiply(String num1, String num2) {
String n1 = new StringBuilder(num1).reverse().toString();... | gpl-2.0 |
BunnyWei/truffle-llvmir | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ReinterpretNode.java | 4000 | /*
* Copyright (c) 2013, 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 ... | gpl-2.0 |
camposer/cf | trade-processor/src/main/java/com/cf/tradeprocessor/web/rest/response/JsonResponse.java | 855 | package com.cf.tradeprocessor.web.rest.response;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
public class JsonResponse {
private Boolean success;
@JsonInclude(Include.NON_NULL)
private Object result;
public JsonResponse() {
}
private J... | gpl-2.0 |
specify/specify6 | src/edu/ku/brc/specify/datamodel/busrules/BaseTreeBusRules.java | 58365 | /* Copyright (C) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | gpl-2.0 |
anadollu/iq4j-javacv | iq4j-javacv/src/main/java/org/iq4j/webcam/CanvasPanel.java | 10318 | package org.iq4j.webcam;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.KeyEventDispatcher;
import ja... | gpl-2.0 |
admo/aria | aria/java/ArDPPTU.java | 10851 | /*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | gpl-2.0 |
script-solution/BBCodeEditor | bbcodeeditor/control/actions/AddImageAction.java | 2158 | /**
* Copyright (C) 2004 - 2012 Nils Asmussen
*
* 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 program... | gpl-2.0 |
chedim/minedriod | src/main/java/com/onkiup/minedroid/R.java | 7740 | package com.onkiup.minedroid;
import com.onkiup.minedroid.gui.resources.*;
import com.onkiup.minedroid.gui.MineDroid;
/**
* This class is auto generated.
* Manually made changes will be discarded.
**/
public final class R {
final static String MODID = "minedroid";
public final static class id {
public final sta... | gpl-2.0 |
HugoRedon/thesis-examples | src/main/java/thesis/CubicFileGenerator.java | 4031 | package thesis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import termo.component.Compound;
import termo.eos.Cubic;
import termo.eos.EquationsOfState;
import termo.eos.alpha.Alphas;
import termo.matter.Mixture;
import termo.matte... | gpl-2.0 |
set92/Small-Programs | Java/CFGS/Interfaces-Ejercicios/Ejercicios propuestos de metodos/sergio/EjerMetods18.java | 3147 | package sergio;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Calendar;
import java.util.GregorianCalendar;
//Ejercicio Metodos 18
//Realiza una clase llamada milibreria que contenga al menos cinco de los metodos realizados.
//Usalas de 3 formas diferent... | gpl-2.0 |
HateBreed/old-codes-from-studies | cryptoclient_in_java/com/dragongate_technologies/borZoi/ECPrivKey.java | 2027 | /**
* jBorZoi - An Elliptic Curve Cryptography Library
*
* Copyright (C) 2003 Dragongate Technologies Ltd.
*
* 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, or (at your... | gpl-2.0 |
upenn-acg/REMIX | jvm-remix/openjdk/jdk/src/share/classes/java/util/concurrent/atomic/AtomicMarkableReference.java | 7816 | /*
* 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 Foundation. Oracle designates this
* particular file as subject to th... | gpl-2.0 |
rupenp/CoreNLP | src/edu/stanford/nlp/time/Timex.java | 19256 | package edu.stanford.nlp.time;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Map;
import java.util.regex.Pattern;
import edu.stanford.nlp.util.Pair;
import org.w3c.dom.Element;
/**
* Stores one TIMEX3 expression. This class is used for both TimeAnnotator and
* GUTimeAnnotator for storin... | gpl-2.0 |
CA-IRIS/mn-iris | src/us/mn/state/dot/tms/server/comm/CameraPoller.java | 1437 | /*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2007-2016 Minnesota Department of Transportation
* Copyright (C) 2014 AHMCT, University of California
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest10564.java | 2498 | /**
* 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/... | gpl-2.0 |
nilsonmassarenti/currencyfair | currencyfair/src/main/java/com/nilsonmassarenti/app/currencyfair/model/CurrencyFairURI.java | 632 | package com.nilsonmassarenti.app.currencyfair.model;
/**
* This class is to manager URL of Rest.
* @author nilsonmassarenti - nilsonmassarenti@gmail.com
* @version 0.1
* Last update: 03-Mar-2015 12:20 am
*/
public class CurrencyFairURI {
public static final String DUMMY_BP = "/rest/currencyfair/dummy";
public s... | gpl-2.0 |
biblelamp/JavaExercises | JavaRushTasks/2.JavaCore/src/com/javarush/task/task11/task1109/Solution.java | 1210 | package com.javarush.task.task11.task1109;
/*
Как кошка с собакой
*/
public class Solution {
public static void main(String[] args) {
Cat cat = new Cat("Vaska", 5);
Dog dog = new Dog("Sharik", 4);
cat.isDogNear(dog);
dog.isCatNear(cat);
}
public static class Cat {
... | gpl-2.0 |
TheTypoMaster/Scaper | openjdk/jaxws/drop_included/jaf_src/src/javax/activation/CommandObject.java | 2259 | /*
* Copyright 1997-2005 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... | gpl-2.0 |
edu-xored/tracker-web | src/main/java/edu/xored/tracker/Issue.java | 2861 | package edu.xored.tracker;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class Issue {
private String hash;
private String summary;
private String de... | gpl-2.0 |
Lmctruck30/RiotScape-Client | src/Class3_Sub28_Sub2.java | 2501 |
final class Class3_Sub28_Sub2 extends Class3_Sub28 {
private static Class94 aClass94_3541 = Class3_Sub4.buildString("yellow:");
static int anInt3542;
private static Class94 aClass94_3543 = Class3_Sub4.buildString("Loading config )2 ");
static Class94 aClass94_3544 = aClass94_3541;
Class140_Sub2 ... | gpl-2.0 |
iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/service/persistence/benefit_rating_lkpPersistence.java | 6928 | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | gpl-2.0 |
rex-xxx/mt6572_x201 | packages/apps/Contacts/src/com/android/contacts/model/dataitem/SipAddressDataItem.java | 1543 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-2.0 |
TinyModularThings/TinyModularThings | src/speiger/src/api/common/recipes/squezingCompressor/parts/SqueezerRecipe.java | 1458 | package speiger.src.api.common.recipes.squezingCompressor.parts;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.FluidTank;
import speiger.src.api.common.recipes.squezingCompressor.EnumRecipeType;
import speiger... | gpl-2.0 |
expleeve/GoF23 | src/gof/structure/proxy/ProxySubject.java | 560 | package gof.structure.proxy;
public class ProxySubject extends Subject {
private RealSubject realSubject;
public ProxySubject(){
}
/* (non-Javadoc)
* @see gof.structure.proxy.Subject#request()
*
* Subject subject = new ProxySubject();
* subject.request();
*/
@Override
public v... | gpl-2.0 |
zendigitalstudios/wildebeest | MV.Wildebeest.Core/source/test/java/co/mv/wb/plugin/generaldatabase/dom/AnsiSqlDomServiceUnitTests.java | 7441 | // Wildebeest Migration Framework
// Copyright © 2013 - 2018, Matheson Ventures Pte Ltd
//
// This file is part of Wildebeest
//
// Wildebeest is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License v2 as published by the Free
// Software Foundation.
//
// Wildebe... | gpl-2.0 |
mindorks/Toonido | Toonido/app/src/main/java/app/toonido/mindorks/toonido/ToonidoApp.java | 451 | package app.toonido.mindorks.toonido;
import android.app.Application;
import com.parse.Parse;
/**
* Created by janisharali on 30/09/15.
*/
public class ToonidoApp extends Application {
@Override
public void onCreate() {
super.onCreate();
// Enable Local Datastore.
Parse.enableLocal... | gpl-2.0 |
soeminnminn/MyanmarIME | src/com/androidtweak/inputmethod/myanmar/SynchronouslyLoadedUserBinaryDictionary.java | 1712 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-2.0 |
AlanGuerraQuispe/SisAtuxVenta | atux-domain/src/main/java/com/atux/bean/consulta/UnidadFlt.java | 719 | package com.atux.bean.consulta;
import com.atux.comun.FilterBaseLocal;
/**
* Created by MATRIX-JAVA on 27/11/2014.
*/
public class UnidadFlt extends FilterBaseLocal {
public static final String PICK = "PICK";
public UnidadFlt(String unidad) {
this.unidad = unidad;
}
publi... | gpl-2.0 |
kompics/kola | src/main/java/se/sics/kola/node/PResource.java | 164 | /* This file was generated by SableCC (http://www.sablecc.org/). */
package se.sics.kola.node;
public abstract class PResource extends Node
{
// Empty body
}
| gpl-2.0 |
andyepx/flashspeak | app/src/main/java/uq/androidhack/flashspeak/VisualisationFragment.java | 5028 | package uq.androidhack.flashspeak;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.L... | gpl-2.0 |
jesusnoseq/JComococos | src/jrpsoft/Fantasma.java | 2570 | package jrpsoft;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.geom.Ellipse2D;
import java.util.Random;
public class Fantasma extends Actor {
protected static final int FANTASMA_SPEED = 1;
public boolean up, down, right, left;
static Boolean[] dir = new Boolean[4];
in... | gpl-2.0 |
deepstupid/fred | src/freenet/clients/http/SimpleToadletServer.java | 39516 | /* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.clients.http;
////import org.tanukisoftware.wrapper.WrapperManager;
import freenet.client.filter.HT... | gpl-2.0 |
dmlloyd/openjdk-modules | jdk/test/java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java | 44814 | /*
* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
aleister09/android | src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java | 31646 | /**
* ownCloud Android client application
*
* @author Mario Danic
* Copyright (C) 2017 Mario Danic
* Copyright (C) 2012 Bartek Przybylski
* Copyright (C) 2012-2016 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License versi... | gpl-2.0 |
karianna/jdk8_tl | hotspot/test/compiler/whitebox/SetDontInlineMethodTest.java | 2613 | /*
* Copyright (c) 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 Softwa... | gpl-2.0 |
breandan/java-algebra-system | src/edu/jas/gbufd/GroebnerBaseFGLMExamples.java | 44052 | /*
* $Id$
*/
package edu.jas.gbufd;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
//import junit.framework.Test;
//import junit.framework.TestCase;
//import junit.framework.... | gpl-2.0 |
paawak/blog | code/SpringMVCWithFlex/ims-web/src/main/java/com/swayam/ims/webapp/controller/trx/TrxFormController.java | 1332 | /*
* TrxFormController.java
*
* Created on Jan 9, 2010 8:22:32 PM
*
* Copyright (c) 2002 - 2010 : Swayam Inc.
*
* P R O P R I E T A R Y & C O N F I D E N T I A L
*
* The copyright of this document is vested in Swayam Inc. without
* whose prior written permission its contents must not be published,
* adapted ... | gpl-2.0 |
linpingchuan/misc | java/framework/src/test/java/com/moon/threadlocal/SequenceA.java | 272 | package com.moon.threadlocal;
import org.junit.Test;
/**
* Created by Paul on 2017/2/12.
*/
public class SequenceA implements Sequence{
private static int number=0;
@Override
public int getNumber(){
number=number+1;
return number;
}
}
| gpl-2.0 |
akunft/fastr | com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/UpdateAttr.java | 12281 | /*
* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
yaolei313/hello-world | utils/src/main/java/com/yao/app/java/nio/pipe/Test.java | 2218 | package com.yao.app.java.nio.pipe;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.Pipe;
public class Test {
public static void main(String[] args) {
try {
Pipe pipe = Pipe.open();
Thread t1 = new Thread(new MessageOutput(pipe));
Thread... | gpl-2.0 |
yiyuweier/OA-project | src/com/oa/bean/FeedBackInfo.java | 617 | package com.oa.bean;
public class FeedBackInfo {
private Long id;
private String feedbackinfo;
private String userid;
private String date;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getFeedbackinfo() {
return feedbackinfo;
}
public void setFeedb... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest17998.java | 2474 | /**
* 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/... | gpl-2.0 |
adamros/Transducers | adamros/mods/transducers/item/ItemElectricEngine.java | 2146 | package adamros.mods.transducers.item;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import adamros.mods.transducers.Transducers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net... | gpl-2.0 |
manuelgentile/MAP | java8/java8_lambda/src/main/java/lambda/Esempio.java | 663 | package lambda;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
public class Esempio extends JFrame {
public Esempio()
{
init();
}
private void init() {
BorderLayout b=new BorderLayout();
thi... | gpl-2.0 |
cpesch/CarCosts | car-costs/src/main/java/slash/carcosts/CurrencyModel.java | 1184 | /*
You may freely copy, distribute, modify and use this class as long
as the original author attribution remains intact. See message
below.
Copyright (C) 1998-2006 Christian Pesch. All Rights Reserved.
*/
package slash.carcosts;
import slash.gui.model.AbstractModel;
/**
* An CurrencyModel holds a Currency... | gpl-2.0 |
AlexAbak/ReversibleComputing | package/src/org/deneblingvo/booleans/core/package-info.java | 192 | /**
* Ядро булевой логики
*/
/**
* @author Алексей Кляузер <drum@pisem.net>
* Ядро булевой логики
*/
package org.deneblingvo.booleans.core; | gpl-2.0 |
Superioz/MooProject | network/src/main/java/de/superioz/moo/network/client/ClientManager.java | 5716 | package de.superioz.moo.network.client;
import de.superioz.moo.network.server.NetworkServer;
import lombok.Getter;
import de.superioz.moo.api.collection.UnmodifiableList;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.u... | gpl-2.0 |
hgdev-ch/toposuite-android | app/src/main/java/ch/hgdev/toposuite/utils/StringUtils.java | 1224 | package ch.hgdev.toposuite.utils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Useful static method for manipulating String.
*
* @author HGdev
*/
public class StringUtils {
public static final String UTF8_BOM = "\uFEFF";
/**
* This method assumes that the String contains a n... | gpl-2.0 |
miguel-gr/currency-converter | src/main/java/org/currconv/services/impl/UserServiceImpl.java | 738 | package org.currconv.services.impl;
import java.util.List;
import org.currconv.dao.UserDao;
import org.currconv.entities.user.User;
import org.currconv.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transact... | gpl-2.0 |
zydecx/htmldecoder | src/main/java/com/debugtoday/htmldecoder/output/AbstractFileOutput.java | 4685 | package com.debugtoday.htmldecoder.output;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.regex.Ma... | gpl-2.0 |
ektodorov/ShortcutsOfPower_Android | src/com/networkprofiles/widget/NPWidgetService.java | 5416 | package com.networkprofiles.widget;
/** Service to refresh the widget **/
import android.app.Service;
import android.appwidget.AppWidgetManager;
import android.content.Intent;
import android.graphics.Color;
import android.os.IBinder;
import android.provider.Settings;
import android.widget.RemoteViews;
import com.netwo... | gpl-2.0 |
MinecartRapidTransit/MRTPath2 | launcher/src/main/java/net/minecartrapidtransit/path/launcher/FileStoreUtils.java | 1412 | package net.minecartrapidtransit.path.launcher;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class FileStoreUtils {
private String version;
public FileStoreUtils(String versionFile) throws IOException{
BufferedReader br = new BufferedReader(... | gpl-2.0 |
lamsfoundation/lams | 3rdParty_sources/hibernate-core/org/hibernate/dialect/unique/InformixUniqueDelegate.java | 1458 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.dialect.unique;
import org.hibernate.boot.Metadata;
import o... | gpl-2.0 |
kieranvs/Blockbender | Blockbender/src/kieranvs/avatar/bending/earth/EarthStream.java | 4514 | package kieranvs.avatar.bending.earth;
import java.util.Arrays;
import java.util.concurrent.ConcurrentHashMap;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.init.Blocks;
import kieranvs.avatar.Protection;
import kieranvs.avatar.bending.Ability;
import... | gpl-2.0 |
dubasdey/MQQueueMonitor | src/main/java/org/erc/qmm/mq/MessageReadedListener.java | 659 | package org.erc.qmm.mq;
import java.util.EventListener;
/**
* The listener interface for receiving messageReaded events.
* The class that is interested in processing a messageReaded
* event implements this interface, and the object created
* with that class is registered with a component using the
* component's ... | gpl-2.0 |
CzBiX/Telegram | TMessagesProj/src/main/java/com/google/android/exoplayer2/ext/flac/LibflacAudioRenderer.java | 2743 | /*
* Copyright (C) 2016 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... | gpl-2.0 |
jofrantoba/mivotocuenta | src/org/mivotocuenta/client/service/ServiceGestionConteo.java | 431 | package org.mivotocuenta.client.service;
import org.mivotocuenta.server.beans.Conteo;
import org.mivotocuenta.shared.UnknownException;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("servicegestionconteo")
public interf... | gpl-3.0 |
deniskin82/hypertable | examples/java/org/hypertable/examples/PerformanceTest/Result.java | 2057 | /**
* Copyright (C) 2007-2012 Hypertable, Inc.
*
* This file is part of Hypertable.
*
* Hypertable is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or any later versio... | gpl-3.0 |
wandora-team/wandora | src/org/wandora/query/JoinDirective.java | 3327 | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2016 Wandora Team
*
* 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 Foundat... | gpl-3.0 |
gothalo/Android-2017 | 014-Parcelable/app/src/test/java/cat/foixench/test/parcelable/ExampleUnitTest.java | 406 | package cat.foixench.test.parcelable;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
publi... | gpl-3.0 |
ACGModCrew/kip | src/main/java/com/acgmodcrew/kip/tileentity/TileEntityRepositry.java | 2563 | package com.acgmodcrew.kip.tileentity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
/**
* Created by Malec on 05/03/2015.
*/
public class TileEntityRepositry extends TileEntity implements ... | gpl-3.0 |
timusus/Shuttle | app/src/main/java/com/simplecity/amp_library/playback/MediaSessionManager.java | 15327 | package com.simplecity.amp_library.playback;
import android.annotation.SuppressLint;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.media.... | gpl-3.0 |
kaloyan-raev/chitanka4kindle | src/main/java/name/raev/kaloyan/kindle/chitanka/model/search/label/Label.java | 1251 | /**
* Copyright 2017 Kaloyan Raev
*
* This file is part of chitanka4kindle.
*
* chitanka4kindle 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) ... | gpl-3.0 |
phramusca/JaMuz | test/jamuz/process/book/TableModelBookTest.java | 7906 | /*
* Copyright (C) 2019 phramusca ( https://github.com/phramusca/ )
*
* 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 versi... | gpl-3.0 |
Borlea/EchoPet | modules/v1_14_R1/src/com/dsh105/echopet/compat/nms/v1_14_R1/entity/type/EntityGiantPet.java | 1596 | /*
* This file is part of EchoPet.
*
* EchoPet is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EchoPet is distributed in th... | gpl-3.0 |
arcusys/Liferay-CIFS | source/java/org/alfresco/jlan/server/filesys/TransactionalFilesystemInterface.java | 1957 | /*
* Copyright (C) 2006-2008 Alfresco Software Limited.
*
* 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... | gpl-3.0 |
jogjayr/InTEL-Project | exercises/Keyboard/src/keyboard/KeyboardExercise.java | 12512 | /*
* This file is part of InTEL, the Interactive Toolkit for Engineering Learning.
* http://intel.gatech.edu
*
* InTEL 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 L... | gpl-3.0 |
grote/Transportr | app/src/androidTest/java/de/grobox/transportr/data/locations/FavoriteLocationTest.java | 9335 | /*
* Transportr
*
* Copyright (c) 2013 - 2021 Torsten Grote
*
* 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... | gpl-3.0 |
Co0sh/Hordes | src/main/java/pl/betoncraft/hordes/Blocker.java | 2168 | /**
* Bukkit plugin which moves the mobs closer to the players.
* Copyright (C) 2016 Jakub "Co0sh" Sapalski
*
* 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 Licen... | gpl-3.0 |
Pheelbert/twitchplayclient | src/cn/com/jautoitx/TitleBuilder.java | 12238 | package cn.com.jautoitx;
import org.apache.commons.lang3.StringUtils;
import com.sun.jna.platform.win32.WinDef.HWND;
/**
* Build window title base on Advanced Window Descriptions.
*
* @author zhengbo.wang
*/
public class TitleBuilder {
/**
* Build window title base on Advanced Window Descriptions.
*
* @... | gpl-3.0 |
sirekanyan/instaclimb | app/src/main/java/me/vadik/instaclimb/view/adapter/UserRecyclerViewAdapter.java | 1531 | package me.vadik.instaclimb.view.adapter;
import android.content.Context;
import android.databinding.ViewDataBinding;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import me.vadik.instaclimb.databinding.RowLayoutRouteBinding;
import me.vadik.instaclimb.databinding.UserCardBinding;
import me.vadik... | gpl-3.0 |
ghforlang/Working | Test/src/main/java/tencentcloud/constant/RegionConstants.java | 1002 | package tencentcloud.constant;
/**
* @author fanwh
* @version v1.0
* @decription
* @create on 2017/11/10 16:09
*/
public class RegionConstants {
/**
* 北京
*/
public static final String PEKING = "ap-beijing";
/**
* 上海
*/
public static final String SHANGHAI = "ap-shanghai";
/... | gpl-3.0 |
alberh/JIM | jim/src/main/java/com/jim_project/interprete/parser/previo/PrevioLex.java | 20877 | /* The following code was generated by JFlex 1.6.1 */
package com.jim_project.interprete.parser.previo;
import com.jim_project.interprete.parser.AnalizadorLexico;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.6.1
* from the specification file <tt>C:/Users/alber_000/Docu... | gpl-3.0 |
mikesligo/visGrid | ie.tcd.gmf.visGrid.diagram/src/visGrid/diagram/edit/parts/Series_reactorNameEditPart.java | 16066 | package visGrid.diagram.edit.parts;
import java.io.File;
import java.util.Collections;
import java.util.List;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.Label;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
im... | gpl-3.0 |
sanger-pathogens/Artemis | src/test/evosuite/uk/ac/sanger/artemis/EntryChangeEvent_ESTest_scaffolding.java | 7735 | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Thu Sep 20 14:23:56 GMT 2018
*/
package uk.ac.sanger.artemis;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;... | gpl-3.0 |
AussieGuy0/soccerSim | src/main/java/me/anthonybruno/soccerSim/reader/TeamPdfReader.java | 9771 | package me.anthonybruno.soccerSim.reader;
import org.apache.pdfbox.io.RandomAccessFile;
import org.apache.pdfbox.pdfparser.PDFParser;
import org.apache.pdfbox.text.PDFTextStripperByArea;
import java.awt.geom.Rectangle2D;
import java.io.File;
import java.io.IOException;
/**
* A class that parsers team PDF files in... | gpl-3.0 |
gaozhenhong/symphony | src/main/java/org/b3log/symphony/service/CommentMgmtService.java | 22223 | /*
* Symphony - A modern community (forum/SNS/blog) platform written in Java.
* Copyright (C) 2012-2017, b3log.org & hacpai.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 ve... | gpl-3.0 |
OpenBD/openbd-core | src/org/alanwilliamson/openbd/plugin/crontab/CronSetDirectory.java | 2444 | /*
* Copyright (C) 2000 - 2011 TagServlet Ltd
*
* This file is part of Open BlueDragon (OpenBD) CFML Server Engine.
*
* OpenBD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Free Software Foundation,version 3.
*
* Open... | gpl-3.0 |
gentasaurus/UbahFood | src/main/java/com/gentasaurus/ubahfood/inventory/ContainerSCM.java | 3263 | package com.gentasaurus.ubahfood.inventory;
import com.gentasaurus.ubahfood.init.ModBlocks;
import com.gentasaurus.ubahfood.item.crafting.SCMCraftingManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.inven... | gpl-3.0 |
bozhbo12/demo-spring-server | spring-game/src/main/java/org/epilot/ccf/codec/MessageEncode.java | 1193 | package org.epilot.ccf.codec;
import org.apache.mina.common.ByteBuffer;
import org.epilot.ccf.core.code.AbstractMessageEncode;
import org.epilot.ccf.core.protocol.Message;
import org.epilot.ccf.core.protocol.MessageBody;
import org.epilot.ccf.core.protocol.MessageHeader;
import org.epilot.ccf.core.util.ByteBufferDataH... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/core-java-modules/core-java-collections/src/main/java/com/baeldung/iteratorguide/IteratorGuide.java | 1260 | package com.baeldung.iteratorguide;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
public class IteratorGuide {
public static void main(String[] args) {
List<String> items = new ArrayList<>();
items.add("ONE");
items.add("T... | gpl-3.0 |
Tikaji/HaloCraft | src/main/java/com/tikaji/halocraft/HaloCraft.java | 1665 | package com.tikaji.halocraft;
import com.tikaji.halocraft.common.handlers.ConfigurationHandler;
import com.tikaji.halocraft.common.proxy.IProxy;
import com.tikaji.halocraft.common.utility.Reference;
import com.tikaji.halocraft.common.utility.VersionChecker;
import net.minecraftforge.common.config.Configuration;
import... | gpl-3.0 |
npomroy/MineHr | src/main/java/com/kraz/minehr/items/HorizonHoe.java | 614 | package com.kraz.minehr.items;
import com.kraz.minehr.MineHr;
import com.kraz.minehr.reference.Reference;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.ItemHoe;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class HorizonHoe extends ItemHoe... | gpl-3.0 |
kuiwang/my-dev | src/main/java/com/taobao/api/response/LogisticsConsignOrderCreateandsendResponse.java | 1165 | package com.taobao.api.response;
import com.taobao.api.TaobaoResponse;
import com.taobao.api.internal.mapping.ApiField;
/**
* TOP API: taobao.logistics.consign.order.createandsend response.
*
* @author auto create
* @since 1.0, null
*/
public class LogisticsConsignOrderCreateandsendResponse extends TaobaoRespon... | gpl-3.0 |
Cerement/pixel-dungeon-legends | java/com/voicecrystal/pixeldungeonlegends/actors/hero/HeroSubClass.java | 2845 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* 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 version.
*
* T... | gpl-3.0 |
AKSW/cubeqa | src/main/java/de/konradhoeffner/commons/package-info.java | 101 | /**General utility methods collection (not all self developed). */
package de.konradhoeffner.commons; | gpl-3.0 |
gaoju9963/MyProject | user/src/main/java/listener/IndexManager.java | 819 | package listener;
/**
* Created by pengshu on 2016/11/11.
*/
public class IndexManager implements EntryListener {
/**
* 博客文章被创建
*
* @param entryevent
*/
@Override
public void entryAdded(EntryEvent entryevent) {
System.out.println("IndexManager 处理 博客文章被创建事件。");
}
/**
... | gpl-3.0 |
mstritt/orbit-image-analysis | src/main/java/com/actelion/research/orbit/imageAnalysis/components/icons/toggle_markup.java | 7640 | package com.actelion.research.orbit.imageAnalysis.components.icons;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.SwingUtilities;
imp... | gpl-3.0 |
rPman/luwrain | src/main/java/org/luwrain/core/ShortcutManager.java | 2884 | /*
Copyright 2012-2016 Michael Pozhidaev <michael.pozhidaev@gmail.com>
This file is part of LUWRAIN.
LUWRAIN 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 ... | gpl-3.0 |
appnativa/rare | source/rare/swingx/com/appnativa/rare/platform/swing/ui/view/RadioButtonView.java | 8918 | /*
* Copyright appNativa Inc. All Rights Reserved.
*
* This file is part of the Real-time Application Rendering Engine (RARE).
*
* RARE 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 vers... | gpl-3.0 |
roskenet/simple-cms | src/main/java/de/roskenet/simplecms/repository/AttributeRepository.java | 260 | package de.roskenet.simplecms.repository;
import org.springframework.data.repository.PagingAndSortingRepository;
import de.roskenet.simplecms.entity.Attribute;
public interface AttributeRepository extends PagingAndSortingRepository<Attribute, Integer> {
}
| gpl-3.0 |
fraunhoferfokus/fokus-upnp | upnp-core/src/main/java/de/fraunhofer/fokus/upnp/core/UPnPDocParser.java | 5855 | /**
*
* Copyright (C) 2004-2008 FhG Fokus
*
* This file is part of the FhG Fokus UPnP stack - an open source UPnP implementation
* with some additional features
*
* You can redistribute the FhG Fokus UPnP stack and/or modify it
* under the terms of the GNU General Public License Version 3 as published by
* the Free So... | gpl-3.0 |
shitongtong/libraryManage | spring-boot-demo/data-jpa/src/main/java/com/stt/data/jpa/service/HotelRepository.java | 1574 | /*
* Copyright 2012-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | gpl-3.0 |
joaopms/PvPUtilities | src/main/java/net/joaopms/PvPUtilities/helper/ConfigHelper.java | 1117 | package net.joaopms.PvPUtilities.helper;
import net.minecraftforge.common.config.Configuration;
import java.io.File;
public class ConfigHelper {
private static Configuration config;
public static void init(File file) {
config = new Configuration(file, true);
config.load();
initConfi... | gpl-3.0 |
qizhenghao/Hello_Android | app/src/main/java/com/bruce/android/knowledge/custom_view/scanAnimation/ScanAnimaitonStrategy.java | 2115 | package com.bruce.android.knowledge.custom_view.scanAnimation;
/**
* @author zhenghao.qi
* @version 1.0
* @time 2015年11月09日14:45:32
*/
public class ScanAnimaitonStrategy implements IAnimationStrategy {
/**
* 起始X坐标
*/
private int startX;
/**
* 起始Y坐标
*/
private int startY;
/**... | gpl-3.0 |
jdellert/iwsa | src/de/jdellert/iwsa/sequence/PhoneticSymbolTable.java | 2258 | package de.jdellert.iwsa.sequence;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
/**
* Symbol table for mapping IPA segments to integers for efficient inte... | gpl-3.0 |
WeaveMN/DragonProxy | src/main/java/org/dragonet/proxy/network/translator/MessageTranslator.java | 7266 | /*
* GNU LESSER GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*
* You can view LICENCE file ... | gpl-3.0 |