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 |
|---|---|---|---|---|---|
/*
* 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 sw13.executorNegative;
import java.util.concurrent.Callable;
/**
*
* @author Steve Ineichen
*/
public class WorkerCallabl... | Inux/nebsynch | SW13/src/sw13/executorNegative/WorkerCallable.java | Java | gpl-3.0 | 603 |
package com.gmail.altakey.ray;
import android.app.Activity;
import android.os.Bundle;
import android.os.Parcelable;
import android.net.Uri;
import android.content.Intent;
import android.widget.Toast;
import android.util.Log;
import android.net.http.AndroidHttpClient;
import org.apache.http.client.methods.HttpPost;
im... | taky/ray | src/com/gmail/altakey/ray/EnqueueActivity.java | Java | gpl-3.0 | 10,120 |
package br.edu.utfpr.cm.pi.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.H... | sergioramossilva/Sistema-Pagamento-RU | src/main/java/br/edu/utfpr/cm/pi/controller/LoginUsuarioServlet.java | Java | gpl-3.0 | 1,740 |
package com.github.cypher.gui.root.roomcollection;
import com.airhacks.afterburner.views.FXMLView;
public class RoomCollectionView extends FXMLView {
}
| Gurgy/Cypher | src/main/java/com/github/cypher/gui/root/roomcollection/RoomCollectionView.java | Java | gpl-3.0 | 154 |
package Aula_4.Carro;
import java.awt.Graphics2D;
public class RodaAros extends Roda {
int n;
public RodaAros(int n, int raio, int xi, int yi) {
super(raio, xi, yi, 0);
this.n = n;
}
/*public RodaAros(int xi, int yi) {
super(17, xi, yi, 0);
n = 8;
raio = 17;
}*/
public void dra... | mini890/2D-Computer-Graphics | src/Aula_4/Carro/RodaAros.java | Java | gpl-3.0 | 818 |
/*
* Copyright (C) 2009 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... | s20121035/rk3288_android5.1_repo | packages/apps/Camera2/tests/src/com/android/camera/stress/CameraLatency.java | Java | gpl-3.0 | 7,032 |
/*
* Kerbal Space App
*
* Copyright (C) 2014 Jim Pekarek (Amagi82)
*
* 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... | Amagi82/KerbalSpaceApp | src/com/amagi82/kerbalspaceapp/MissionPlanner.java | Java | gpl-3.0 | 17,210 |
package alexiil.mods.load.json.subtypes;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import net.minecraft.util.ResourceLocation;
import alexiil.mods.load.baked.func.BakedFunction;
import alexiil.mods.load.baked.func.FunctionBaker;
import alexiil.mods.load.baked.insn.BakedInstruction;
i... | Adaptivity/BetterLoadingScreen | src/main/java/alexiil/mods/load/json/subtypes/JsonImagePanorama.java | Java | gpl-3.0 | 1,195 |
/*
* 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.
*
* This program is distributed in the hope that it w... | waikato-datamining/adams-base | adams-core/src/test/java/adams/flow/sink/RemoteCommandWriterTest.java | Java | gpl-3.0 | 4,366 |
package unagoclient.partner;
import unagoclient.Global;
import unagoclient.gui.*;
import javax.swing.*;
/**
* Displays a send dialog, when the partner presses "Send" in the GoFrame. The
* message is appended to the PartnerFrame.
*/
public class PartnerSendQuestion extends CloseDialog {
/**
... | rdnz/UnaGo | unagoclient/partner/PartnerSendQuestion.java | Java | gpl-3.0 | 1,804 |
package com.baeldung.reflect;
public class Person {
private String fullName;
public Person(String fullName) {
this.fullName = fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
public String getFullName() {
return fullName;
}
}
| Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/core-java-modules/core-java-8/src/main/java/com/baeldung/reflect/Person.java | Java | gpl-3.0 | 278 |
package com.winthier.linkportal;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;
@Getter
public final class LinkPortalPlugin extends JavaPlugin {
private final LinkPortalListener listener = new LinkPortalListener(this);
pri... | StarTux/LinkPortal | src/main/java/com/winthier/linkportal/LinkPortalPlugin.java | Java | gpl-3.0 | 997 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/demo/samples/csvdatasource/src/CsvDataSourceApp.java | Java | gpl-3.0 | 15,435 |
/**
* Copyright (C) 2011 Matthias Jordan <matthias.jordan@googlemail.com>
*
* This file is part of piRSS.
*
* piRSS 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
*... | matthiasjordan/piRSS | src/de/codefu/android/rss/updateservice/ServiceComm.java | Java | gpl-3.0 | 8,607 |
/*
* Copyright (C) 2014 Emil
*
* 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.
*
* This program is distr... | wachsmuth/freeWarOnTerror | src/freeWarOnTerror/cards/IEDs.java | Java | gpl-3.0 | 1,521 |
package com.pixelutilitys.commands;
import com.pixelmonmod.pixelmon.Pixelmon;
import com.pixelmonmod.pixelmon.enums.EnumGui;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ChatComponentTranslation;
publi... | AnDwHaT5/PixelUtilities | src/main/java/com/pixelutilitys/commands/PokecheckmeCommand.java | Java | gpl-3.0 | 1,217 |
/*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | IntellectualSites/PlotSquared | Core/src/main/java/com/plotsquared/core/events/PlotChangeOwnerEvent.java | Java | gpl-3.0 | 3,957 |
/*
* Copyright (C) 2012-2015 Dominik Schürmann <dominik@dominikschuermann.de>
* Copyright (C) 2015 Adithya Abraham Philip <adithyaphilip@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... | tobiasschuelke/open-keychain | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SettingsKeyserverFragment.java | Java | gpl-3.0 | 13,816 |
/*
* Copyright (C) 2016-2022 phantombot.github.io/PhantomBot
*
* 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.
*
... | PhantomBot/PhantomBot | source/tv/phantombot/event/discord/channel/DiscordChannelPartEvent.java | Java | gpl-3.0 | 1,025 |
/*
* Copyright (C) 2014 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... | MTK6580/walkie-talkie | ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/development/samples/Support7Demos/src/com/example/android/supportv7/app/ToolbarDisplayOptions.java | Java | gpl-3.0 | 4,827 |
package com.minecolonies.inventory;
import com.minecolonies.colony.buildings.Building;
import com.minecolonies.colony.materials.MaterialStore;
import com.minecolonies.colony.materials.MaterialSystem;
import com.minecolonies.tileentities.TileEntityColonyBuilding;
import net.minecraft.inventory.IInventory;
import net.mi... | MinecoloniesDevs/Minecolonies | src/test/java/com/minecolonies/inventory/InventoryTest.java | Java | gpl-3.0 | 1,801 |
package compiler;
import checker.Checker;
import checker.SemanticException;
import encoder.Encoder;
import parser.Parser;
import parser.SyntacticException;
import scanner.LexicalException;
import util.FileException;
import util.AST.Programa;
/**
* Compiler driver
* @version 2010-september-04
* @disci... | Drakmord2/rec-compiler | Compilador/src/compiler/Compiler.java | Java | gpl-3.0 | 3,268 |
package org.mariotaku.harmony.app;
import android.app.Application;
import android.content.Context;
import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.n... | mariotaku/harmony | src/org/mariotaku/harmony/app/HarmonyApplication.java | Java | gpl-3.0 | 1,908 |
package net.marevalo.flowsmanager;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
public class CollectionAdapte... | marevalo/FlowsManager | app/src/main/java/net/marevalo/flowsmanager/CollectionAdapter.java | Java | gpl-3.0 | 1,955 |
package org.softuni.mostwanted.entity;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.softuni.mostwanted.util.ReflectionUtil;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import javax.persistence.Column;
import javax.pers... | kostovhg/SoftUni | Java_DBFundamentals-Jan18/DBAdvanced_HibernateSpring/s_Practical_Exam/Skeleton/src/test/java/org.softuni.mostwanted/entity/CarEntityTests.java | Java | gpl-3.0 | 5,858 |
package web;
import entities.User;
import services.UserService;
import javax.inject.Inject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java... | kostovhg/SoftUni | JavaWeb/JavaWebDevelopmentBasics/f_serverpages/demo/src/main/java/web/HomeServlet.java | Java | gpl-3.0 | 3,142 |
package yuuto.quantumelectronics.transport.routing;
import net.minecraft.item.ItemStack;
public interface IItemDestination extends IItemRouter{
ItemStack insertItem(ItemStack stack, boolean simulate, boolean supplier);
boolean isSupplier();
}
| AnimeniacYuuto/QuantumElectronics | src/main/java/yuuto/quantumelectronics/transport/routing/IItemDestination.java | Java | gpl-3.0 | 250 |
package io.github.notsyncing.lightfur.integration.jdbc;
import io.github.notsyncing.lightfur.annotations.entity.Column;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List... | notsyncing/lightfur | lightfur-integration-jdbc/src/main/java/io/github/notsyncing/lightfur/integration/jdbc/ReflectDataMapper.java | Java | gpl-3.0 | 2,099 |
package de.leif.ffmanagementsuite.service;
import de.leif.ffmanagementsuite.domain.Authority;
import de.leif.ffmanagementsuite.domain.User;
import de.leif.ffmanagementsuite.repository.AuthorityRepository;
import de.leif.ffmanagementsuite.config.Constants;
import de.leif.ffmanagementsuite.repository.UserRepository;
imp... | t08094a/ffManagementSuite | src/main/java/de/leif/ffmanagementsuite/service/UserService.java | Java | gpl-3.0 | 10,089 |
/*
* Copyright (c) 2014 Washington State 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 3 of the License, or
* (at your option) any later ver... | chrxn/wsdot-mobile-app | src/main/java/gov/wa/wsdot/mobile/client/activities/trafficmap/expresslanes/SeattleExpressLanesView.java | Java | gpl-3.0 | 1,634 |
/**
*
*/
package org.javahispano.javaleague.client.event;
import org.javahispano.javaleague.shared.domain.TacticUser;
import com.google.gwt.event.shared.GwtEvent;
/**
* @author adou
*
*/
public class UpdateTacticEvent extends GwtEvent<UpdateTacticEventHandler> {
public static Type<UpdateTacticEventHandler> T... | alfonsodou/javaLeagueBootstrap | src/org/javahispano/javaleague/client/event/UpdateTacticEvent.java | Java | gpl-3.0 | 721 |
/*
* HawkEye Redux
* Copyright (C) 2012-2013 Cubeville <http://www.cubeville.org> 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 Foundation, either version 3 of the License, or
* ... | Cubeville/HawkEye-Redux | api/src/main/java/org/cubeville/hawkeye/config/ConfigurationNode.java | Java | gpl-3.0 | 7,970 |
/*
* 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 is distributed in the hope that... | paolopavan/cfr | src/weka/gui/BEANS/TestSetEvent.java | Java | gpl-3.0 | 2,331 |
package it.unibas.lunatic.model.chase.chasede.operators.mainmemory;
import it.unibas.lunatic.Scenario;
import it.unibas.lunatic.model.chase.chasede.operators.IReplaceDatabase;
import java.util.Iterator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import speedy.model.algebra.operators.ITupleIterator;
impor... | donatellosantoro/Llunatic | lunaticEngine/src/it/unibas/lunatic/model/chase/chasede/operators/mainmemory/MainMemoryReplaceDatabase.java | Java | gpl-3.0 | 2,579 |
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | qt-haiku/LibreOffice | qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java | Java | gpl-3.0 | 5,478 |
package com.autowp.canreader;
import android.content.Context;
import android.hardware.usb.UsbDevice;
import android.os.Build;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.List;
/**
* ... | autowp/CANreader | app/src/main/java/com/autowp/canreader/UsbDeviceSpinnerAdapter.java | Java | gpl-3.0 | 2,360 |
/*
Copyright (C) 2009-2013 Bengt Martensson.
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.
This program is distributed in th... | bengtmartensson/IrpMaster | src/main/java/org/harctoolbox/IrpMaster/Wave.java | Java | gpl-3.0 | 25,136 |
/*
* Copyright (c) 2018.
*
* This file is part of AvaIre.
*
* AvaIre 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.
*
* AvaI... | avaire/orion | src/main/java/com/avairebot/imagegen/colors/ranks/MountainRangeColors.java | Java | gpl-3.0 | 1,664 |
package com.tiketal.overwatch.util;
import org.bukkit.Bukkit;
import org.bukkit.boss.BarColor;
import org.bukkit.boss.BarStyle;
import org.bukkit.boss.BossBar;
import org.bukkit.entity.Player;
public class DisplayBar {
private BossBar bar;
public DisplayBar(String name, String color, String style) {
color = co... | Tiketal/Overwatch | src/com/tiketal/overwatch/util/DisplayBar.java | Java | gpl-3.0 | 1,427 |
package mapproject;
import static helpers.Artist.*;
import org.newdawn.slick.opengl.Texture;
/**
* Clase que representa una celda individual del mapa
*
* @author Alba Ríos
*/
public class Tile {
private float x, y, width, height;
private Texture texture;
/**
*
* @param x Coordenada x de... | demiurgosoft/star-droids | StarDroids/src/mapproject/Tile.java | Java | gpl-3.0 | 1,477 |
package com.abm.mainet.agency.dao;
import com.abm.mainet.agency.dto.TPAgencyReqDTO;
import com.abm.mainet.agency.dto.TPAgencyResDTO;
import com.abm.mainet.common.domain.Employee;
/**
* @author Arun.Chavda
*
*/
public interface AgencyRegistrationProcessDao {
Employee saveAgnEmployeeDetails(Employee... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceAgency/src/main/java/com/abm/mainet/agency/dao/AgencyRegistrationProcessDao.java | Java | gpl-3.0 | 464 |
package org.w3c.dom.svg;
public interface SVGUnitTypes {
// Unit Types
public static final short SVG_UNIT_TYPE_UNKNOWN = 0;
public static final short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
public static final short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
}
| srnsw/xena | plugins/image/ext/src/w3c-svg/src/org/w3c/dom/svg/SVGUnitTypes.java | Java | gpl-3.0 | 281 |
package org.se.lab;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Date;
import javax.servlet.ServletException;
import j... | teiniker/teiniker-lectures-securedesign | web-applications/access-control/session-management/Servlet-SessionManagement-ViewState/src/main/java/org/se/lab/ControllerServlet.java | Java | gpl-3.0 | 6,040 |
//
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.11
// Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source.
// Généré le : 2017.09... | newa0/boamp-api-quickStart | src/main/gen/fr/gouv/api/Boamp_v230/EnumAvisImplique.java | Java | gpl-3.0 | 3,154 |
package com.idega.block.trade.stockroom.business;
/**
* Title: IW Trade
* Description:
* Copyright: Copyright (c) 2001
* Company: idega.is
* @author 2000 - idega team - <br><a href="mailto:gummi@idega.is">Guðmundur Ágúst Sæmundsson</a><br><a href="mailto:gimmi@idega.is">Grímur Jónsson</a>
* @versi... | idega/platform2 | src/com/idega/block/trade/stockroom/business/ProductPriceException.java | Java | gpl-3.0 | 530 |
package org.istic.synthlab.core.modules.whitenoise;
import org.istic.synthlab.components.IComponent;
import org.istic.synthlab.core.modules.io.IOutput;
import org.istic.synthlab.core.services.Factory;
import org.istic.synthlab.core.services.Register;
public class WhiteNoise implements IWhiteNoise {
private com.js... | StephaneMangin/Synth | src/main/java/org/istic/synthlab/core/modules/whitenoise/WhiteNoise.java | Java | gpl-3.0 | 1,003 |
import java.io.IOException;
import java.net.Socket;
import java.util.Scanner;
public class networkRead implements Runnable
{
//Objects
Scanner read;
debugLogger myLogger;
sharedData myData;
arduinoWrite ardWriter;
Socket pipe;
//Variables
String data;
long startTime;
long endTime;
boolean dead = false;
... | kc8hfi/mygolfcart | dev/java/src/networkRead.java | Java | gpl-3.0 | 1,860 |
/*************************************************************************
* Copyright 2009-2014 Eucalyptus Systems, Inc.
*
* 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 3 of the ... | davenpcj5542009/eucalyptus | clc/modules/dns/src/main/java/com/eucalyptus/cloud/ws/ConnectionHandler.java | Java | gpl-3.0 | 17,449 |
package org.cache2k.core;
/*
* #%L
* cache2k core implementation
* %%
* Copyright (C) 2000 - 2021 headissue GmbH, Munich
* %%
* 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
*
* ... | headissue/cache2k | cache2k-core/src/main/java/org/cache2k/core/CommonMetricsFactory.java | Java | gpl-3.0 | 947 |
package com.fr.design.beans;
import com.fr.stable.StringUtils;
/**
*
* @author zhou
* @since 2012-5-30下午12:12:42
*/
public abstract class FurtherBasicBeanPane<T> extends BasicBeanPane<T> {
/**
* 是否是指定类型
* @param ob 对象
* @return 是否是指定类型
*/
public abstract boolean accept(Object ob);
/*... | fanruan/finereport-design | designer_base/src/com/fr/design/beans/FurtherBasicBeanPane.java | Java | gpl-3.0 | 656 |
/*
* Copyright (C) 2015 Marten Gajda <marten@dmfs.org>
*
* 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.
*
* Thi... | dmfs/jdav-client | src/org/dmfs/davclient/rfc7231/HttpOptions.java | Java | gpl-3.0 | 947 |
package edu.stanford.rsl.conrad.numerics;
import Jama.Matrix;
import Jama.util.*;
/** Singular Value Decomposition.
<P>
For an m-by-n matrix A, the singular value decomposition is
an m-by-(m or n) orthogonal matrix U, a (m or n)-by-n diagonal matrix S, and
an n-by-n orthogonal matrix V so that A = U*S*V'.... | YixingHuang/CONRAD | src/edu/stanford/rsl/conrad/numerics/DecompositionSVD.java | Java | gpl-3.0 | 14,143 |
package net.sourceforge.seqware.common.util.filetools.lock;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.nio.channels.FileLock;
import java.nio.charset.StandardCharsets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* ... | oicr-gsi/niassa | seqware-common/src/main/java/net/sourceforge/seqware/common/util/filetools/lock/LockingFileTools.java | Java | gpl-3.0 | 2,474 |
package eu.fbk.fcw.utils.corpus;
import java.io.Serializable;
/**
* Created by alessio on 12/11/15.
*/
public class Word implements Serializable {
private int id;
private String form;
private String lemma;
private String pos;
private int depParent;
private String depLabel;
private in... | fbk/fcw | fcw-utils/src/main/java/eu/fbk/fcw/utils/corpus/Word.java | Java | gpl-3.0 | 2,901 |
package com.github.epd.sprout.levels;
import com.github.epd.sprout.Assets;
import com.github.epd.sprout.messages.Messages;
import java.util.Arrays;
public class DeadEndLevel extends Level {
private static final int SIZE = 5;
{
color1 = 0x534f3e;
color2 = 0xb9d661;
}
@Override
public String tilesTex() {
... | G2159687/espd | app/src/main/java/com/github/epd/sprout/levels/DeadEndLevel.java | Java | gpl-3.0 | 1,393 |
package ch.cyberduck.core.cloudfront;
/*
* Copyright (c) 2002-2013 David Kocher. All rights reserved.
* http://cyberduck.ch/
*
* 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 versi... | iterate-ch/cyberduck | s3/src/main/java/ch/cyberduck/core/cloudfront/CloudFrontDistributionConfiguration.java | Java | gpl-3.0 | 37,094 |
package com.creativecub.iotarduino;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Switch;
import android.widget.TextView;
import java.util.List;
public cl... | nigelcog/mini-IoT | android/mini-IoT/app/src/main/java/com/creativecub/iotarduino/DataAdapter.java | Java | gpl-3.0 | 1,899 |
package com.supermap.desktop.framemenus;
import com.supermap.desktop.Application;
import com.supermap.desktop.Interface.IBaseItem;
import com.supermap.desktop.Interface.IForm;
import com.supermap.desktop.implement.CtrlAction;
import com.supermap.desktop.ui.controls.JDialogWorkspaceSaveAs;
import javax.swing.*;
publi... | SuperMap-iDesktop/SuperMap-iDesktop-Cross | DataView/src/main/java/com/supermap/desktop/framemenus/CtrlActionWorkspaceSaveAsOracle.java | Java | gpl-3.0 | 785 |
package com.ebrightmoon.doraemonkit.ui.widget.tableview.listener;
import java.util.ArrayList;
import java.util.List;
public abstract class Observable<T> {
public final ArrayList<T> observables = new ArrayList<>();
/**AttachObserver(通过实例注册观察者)
**/
public void register(T observer){
if(obser... | jinsedeyuzhou/NewsClient | doraemonkit/src/main/java/com/ebrightmoon/doraemonkit/ui/widget/tableview/listener/Observable.java | Java | gpl-3.0 | 1,237 |
package com.fr.plugin.chart.custom.component;
import com.fr.chart.chartattr.Plot;
import com.fr.chart.web.ChartHyperPoplink;
import com.fr.chart.web.ChartHyperRelateCellLink;
import com.fr.chart.web.ChartHyperRelateFloatLink;
import com.fr.design.ExtraDesignClassManager;
import com.fr.design.beans.BasicBeanPane;
impor... | fanruan/finereport-design | designer_chart/src/com/fr/plugin/chart/custom/component/VanChartHyperLinkPane.java | Java | gpl-3.0 | 11,772 |
package test.janus.data;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.apache.log4j.Logger;
import org.janus.data.DataContext;
import org.janus.data.DataContextImpl;
impo... | ThoNill/JanusData | JanusData/test/test/janus/data/DataDescriptionTest.java | Java | gpl-3.0 | 3,870 |
package com.minecolonies.coremod.client.gui;
import com.ldtteam.blockout.Pane;
import com.ldtteam.blockout.controls.Button;
import com.ldtteam.blockout.controls.ButtonHandler;
import com.ldtteam.blockout.controls.Text;
import com.ldtteam.blockout.views.ScrollingList;
import com.ldtteam.blockout.views.Window;
import co... | Minecolonies/minecolonies | src/main/java/com/minecolonies/coremod/client/gui/WindowAssignCitizen.java | Java | gpl-3.0 | 8,602 |
package eu.clarin.weblicht.bindings.cmd.ws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
/**
*
* @author akislev
*/
@XmlAccessorType(value = XmlAccessType.FIELD)
publ... | weblicht/oaipmh-cmdi-bindings | src/main/java/eu/clarin/weblicht/bindings/cmd/ws/OutputValues.java | Java | gpl-3.0 | 932 |
package l2s.gameserver.instancemanager;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import l2s.commons.util.Rnd;
import l2s.gameserver.model.Player;
import l2s.gameserver.model.quest.Quest;
import l2s.gameserver.model.quest.QuestState;
public class Dai... | pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/instancemanager/DailyQuestsManager.java | Java | gpl-3.0 | 1,579 |
package com.bioxx.tfc.Render.Blocks;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.bioxx.tfc.TileEntities.TELoom;
import com.bioxx.tfc.a... | raymondbh/TFCraft | src/Common/com/bioxx/tfc/Render/Blocks/RenderLoom.java | Java | gpl-3.0 | 7,580 |
package org.dongchao.model.entity;
import org.hibernate.validator.constraints.NotEmpty;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;
import java.util.Set;
/**
* Created by zhaodongchao on 2017/5/3.
*/
@Table(name = "dc_user")
@Entity
public class User im... | zhaodongchao/dcproj | dcproj-model/src/main/java/org/dongchao/model/entity/User.java | Java | gpl-3.0 | 3,180 |
package com.github.kuros.random.jpa.testUtil.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "employee_department")
public clas... | kuros/random-jpa | src/test/java/com/github/kuros/random/jpa/testUtil/entity/EmployeeDepartment.java | Java | gpl-3.0 | 1,656 |
/*
* 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.
*
* This program is distributed in the hope that it w... | Waikato/meka | src/test/java/meka/classifiers/multilabel/PMCCTest.java | Java | gpl-3.0 | 1,617 |
/*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2012 Maxence Bernard
*
* muCommander 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... | trol73/mucommander | src/main/com/mucommander/ui/main/DrivePopupButton.java | Java | gpl-3.0 | 26,393 |
package org.shikimori.library.adapters;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.nostra13.universalimageloader.core.ImageLoader;
import org.shikimori.library.R;
import org.shikimori.library.adapters.base.BaseListAdapter;
import org.shikimori.library.adapters... | LeshiyGS/shikimori | library/src/main/java/org/shikimori/library/adapters/CommentsAdapter.java | Java | gpl-3.0 | 3,387 |
package dualcraft.org.server.classic.cmd.impl;
/*License
====================
Copyright (c) 2010-2012 Daniel Vidmar
We use a modified GNU gpl v 3 license for this.
GNU gpl v 3 is included in License.txt
The modified part of the license is some additions which state the following:
"Redistributions of this project i... | MinedroidFTW/DualCraft | org/server/classic/cmd/impl/SummonCommand.java | Java | gpl-3.0 | 2,455 |
package com.mdsgpp.cidadedemocratica.requester;
import android.test.AndroidTestCase;
import com.mdsgpp.cidadedemocratica.model.Tag;
import org.json.JSONArray;
import org.json.JSONException;
import org.junit.Test;
import java.util.ArrayList;
/**
* Created by andreanmasiro on 04/11/16.
*/
public class TagRequestR... | fga-gpp-mds/2016.2-CidadeDemocratica | app/src/test/java/com/mdsgpp/cidadedemocratica/requester/TagRequestResponseHandlerTest.java | Java | gpl-3.0 | 1,856 |
/*
* AC - A source-code copy detector
*
* For more information please visit: http://github.com/manuel-freire/ac2
*
* ****************************************************************************
*
* This file is part of AC, version 2.x
*
* AC is free software: you can redistribute it and/or modify it under ... | manuel-freire/ac2 | clover/src/test/java/es/ucm/fdi/clover/model/SimpleRuleClustererTest.java | Java | gpl-3.0 | 13,328 |
/*
* Copyright (C) 2011 Carl Green
*
* 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.
*
* This program is... | carlgreen/Lexicon-MPX-G2-Editor | mpxg2-cli/src/test/java/info/carlwithak/mpxg2/printing/RoutingPrinterTest.java | Java | gpl-3.0 | 20,290 |
package com.oitsjustjose.vtweaks.common.config;
import net.minecraftforge.common.ForgeConfigSpec;
public class ItemTweakConfig {
private static final String CATEGORY_ITEM_TWEAKS = "item tweaks";
public static ForgeConfigSpec.BooleanValue ENABLE_EGG_HATCHING;
public static ForgeConfigSpec.IntValue EGG_HAT... | oitsjustjose/V-Tweaks | src/main/java/com/oitsjustjose/vtweaks/common/config/ItemTweakConfig.java | Java | gpl-3.0 | 2,337 |
package org.optimizationBenchmarking.evaluator.data.spec;
import java.lang.ref.SoftReference;
/**
* The storage type of
* {@link org.optimizationBenchmarking.evaluator.data.spec.Attribute
* attribute}. Attributes can be {@link #PERMANENTLY_STORED permanently}
* stored, {@link #TEMPORARILY_STORED temporari... | optimizationBenchmarking/evaluator-base | src/main/java/org/optimizationBenchmarking/evaluator/data/spec/EAttributeType.java | Java | gpl-3.0 | 2,775 |
package model.beans;
import java.util.Date;
/**
*
* @author Gepardas
*/
public class Invoice {
private String buyerName;
private String buyerCode;
private String buyerAdress;
private String buyerCity;
private String buyerCountry;
private String buyerPhone;
private... | GiGsolutions/Invoice_generator | src/model/beans/Invoice.java | Java | gpl-3.0 | 655 |
package org.voyanttools.trombone.tool.build;
import static org.junit.Assert.*;
import java.io.IOException;
import org.junit.Test;
import org.voyanttools.trombone.model.Corpus;
import org.voyanttools.trombone.storage.Storage;
import org.voyanttools.trombone.tool.build.RealCorpusCreator;
import org.voyanttools.trombon... | sgsinclair/trombone | src/test/java/org/voyanttools/trombone/tool/build/CorpusCreatorTest.java | Java | gpl-3.0 | 3,901 |
package org.usfirst.frc.team5940.states;
import edu.wpi.first.wpilibj.RobotBase;
public abstract class State implements Runnable {
@SuppressWarnings("unused")
protected RobotBase robot;
//Update recall delay
private int delay = 25;
/**
* Constructor
* @param robot Saved in this class, allows st... | BREAD5940/FRC-2016-BREAD-Codebase | FRC-2016-BREAD-Codebase/src/org/usfirst/frc/team5940/states/State.java | Java | gpl-3.0 | 1,232 |
package com.pms.bean;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
//合约实体类
public class Contract implements Serializable{
private int contractId;//合约ID
private String contractNo;//合约编号
private String contractPicture;//合约图片地址
private int contractType;//是否解约状态
private int contractDire... | yeSlin1/CBdParking | src/com/pms/bean/Contract.java | Java | gpl-3.0 | 2,916 |
/*
* Copyright (c) 2017, Miguel Gamboa
*
* 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.
*
* This program is dis... | isel-leic-mpd/mpd-2017-i41d | aula13-json/src/test/java/WeatherDomainTest.java | Java | gpl-3.0 | 3,152 |
/*
* #%L
* episodesmanager-services
*
* $Id$
* $HeadURL$
* %%
* Copyright (C) 2009 - 2010 Jean Couteau
* %%
* 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
... | kootox/episodes-manager | episodesmanager-services/src/main/java/org/kootox/episodesmanager/services/importExport/XMLWriter.java | Java | gpl-3.0 | 7,089 |
/*
* 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 basicintast.util;
import org.antlr.v4.runtime.BaseErrorListener;
import org.antlr.v4.runtime.RecognitionException;
import org.... | wellingtondellamura/compilers-codes-samples | parsers/antlr/BasicIntAST/src/basicintast/util/ThrowingErrorListener.java | Java | gpl-3.0 | 1,023 |
package net.diecode.killermoney.events;
import net.diecode.killermoney.objects.CCommand;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class KMCCommandExecutionEvent extends Event ... | diecode/KillerMoney | src/net/diecode/killermoney/events/KMCCommandExecutionEvent.java | Java | gpl-3.0 | 1,271 |
/*
* SPDX-License-Identifier: GPL-3.0
*
*
* (J)ava (M)iscellaneous (U)tilities (L)ibrary
*
* JMUL is a central repository for utilities which are used in my
* other public and private repositories.
*
* Copyright (C) 2013 Kristian Kutin
*
* This program is free software: you can redistribute it and/or modify... | gammalgris/jmul | Utilities/Persistence-Tests/src/test/jmul/persistence/FileManagerSmallDatapoolTest.java | Java | gpl-3.0 | 3,258 |
/**
Copyright:
2015/2016 Benjamin Aigner
developer.google.com
This file is part of AustrianPublicStream.
AustrianPublicStream 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 Licens... | benjaminaigner/AustrianPublicStream | app/src/main/java/systems/byteswap/publicstream/AppCompatPreferenceActivity.java | Java | gpl-3.0 | 3,612 |
/*
* lemonjuice - Java Template Engine.
* Copyright (C) 2009-2012 Manuel Tomis manuel@codegremlins.com
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the... | mtomis/lemonjuice | src/com/codegremlins/lemonjuice/engine/EqualElement.java | Java | gpl-3.0 | 1,485 |
package br.net.ubre.lang.keyword.binary.relational;
import br.net.ubre.data.container.DataContainer;
import br.net.ubre.lang.data.literal.FalseStatement;
import br.net.ubre.lang.data.literal.TrueStatement;
import br.net.ubre.lang.statement.Statement;
/**
* COmpara se os valores das partes (esquerda e direita) são ig... | siviotti/ubre | ubre-core/src/main/java/br/net/ubre/lang/keyword/binary/relational/EqualsOperator.java | Java | gpl-3.0 | 895 |
//: move/Nap.java
package pokepon.move;
import pokepon.enums.*;
import pokepon.pony.Pony;
import pokepon.battle.*;
/**
* Heal 50% of user's HP.
*
* @author silverweed
*/
public class Nap extends Move {
public Nap() {
super("Nap");
type = Type.NIGHT;
moveType = Move.MoveType.STATUS;
maxpp = pp = 10... | silverweed/pokepon | move/Nap.java | Java | gpl-3.0 | 1,192 |
package l2s.gameserver.ai;
import l2s.gameserver.model.Creature;
import l2s.gameserver.model.instances.NpcInstance;
import l2s.gameserver.model.instances.MonsterInstance;
/**
* @author Bonux
**/
public class SpecialTautiMonsters extends Fighter
{
public SpecialTautiMonsters(NpcInstance actor)
{
super(actor);
}
... | pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/ai/SpecialTautiMonsters.java | Java | gpl-3.0 | 1,320 |
package com.healthcare.db.client;
import com.healthcare.db.model.Itemmapping;
import com.healthcare.db.model.ItemmappingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface ItemmappingMapper {
/**
* This method was generated by MyBatis Generator. This method corre... | punyararj/his-interface-core | HISIF_CORE/src/com/healthcare/db/client/ItemmappingMapper.java | Java | gpl-3.0 | 1,934 |
/*******************************************************************************
* Copyright (c) 2013 Christian Wiwie.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* ... | deric/clusteval-parent | clusteval-backend/src/main/java/de/clusteval/data/goldstandard/format/GoldStandardFormat.java | Java | gpl-3.0 | 821 |
package easyrec.poc.client.entity;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="success")
@XmlAccessorType(XmlAccessType.FIELD)
public class Respon... | customertimes/easyrec-PoC | easyrec-client/src/main/java/easyrec/poc/client/entity/ResponseCode.java | Java | gpl-3.0 | 536 |
package com.integreight.onesheeld.shields.controller;
import android.app.Activity;
import com.integreight.firmatabluetooth.ShieldFrame;
import com.integreight.onesheeld.enums.UIShield;
import com.integreight.onesheeld.shields.ControllerParent;
import com.integreight.onesheeld.utils.Log;
public class LcdShield extend... | donaldhwong/1Sheeld | oneSheeld/src/main/java/com/integreight/onesheeld/shields/controller/LcdShield.java | Java | gpl-3.0 | 9,331 |
package com.touchableheroes.drafts.app.sensors;
/**
* Created by asiebert on 06.12.14.
*/
public class ISensorListener {
}
| drdrej/android-drafts-app | app/src/main/java/com/touchableheroes/drafts/app/sensors/ISensorListener.java | Java | gpl-3.0 | 127 |
package com.gracehoppers.jlovas.bookwrm;
import android.app.Activity;
import android.content.Intent;
import android.test.ActivityInstrumentationTestCase2;
import android.widget.Button;
import android.widget.TextView;
import junit.framework.TestCase;
import java.util.ArrayList;
/**
* Created by ljuarezr on 11/24/15... | CMPUT301F15T06/GraceHoppers | app/src/androidTest/java/com/gracehoppers/jlovas/bookwrm/ViewTradeActivityTest.java | Java | gpl-3.0 | 2,048 |
package company;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
public class StringChains {
private int longestChain(String[] words) {
if (words == null || words.length == 0)
return 0;
int chainLength = 0;
Arrays.sort(wor... | Sriee/epi | Interview/src/company/StringChains.java | Java | gpl-3.0 | 1,592 |
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.rec.view.struts;
import javax.se... | avdata99/SIAT | siat-1.0-SOURCE/src/view/src/WEB-INF/src/ar/gov/rosario/siat/rec/view/struts/AdministrarNovedadRSDAction.java | Java | gpl-3.0 | 9,557 |
/**
* Tests of our statistical diagram computing attributes.
*/
package test.junit.org.optimizationBenchmarking.evaluator.attributes.functions.aggregation2D; | optimizationBenchmarking/evaluator-attributes | src/test/java/test/junit/org/optimizationBenchmarking/evaluator/attributes/functions/aggregation2D/package-info.java | Java | gpl-3.0 | 162 |
/**
* MegaMek - Copyright (C) 2004,2005 Ben Mazur (bmazur@sev.org)
*
* 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 ve... | chvink/kilomek | megamek/src/megamek/common/weapons/WeaponHandler.java | Java | gpl-3.0 | 56,885 |