repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
egovernments/eGov-Search | src/test/java/org/egov/search/service/SimpleFieldsResourceGeneratorTest.java | 3937 | /*
* eGov suite of products aim to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) <2015> eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* is availa... | gpl-3.0 |
modemm3/fic | fic-inventory/fic-inventory-business/src/main/java/com/mx/fic/inventory/business/builder/UserDetailBuilder.java | 1223 | package com.mx.fic.inventory.business.builder;
import com.mx.fic.inventory.business.builder.config.AbstractDTOBuilder;
import com.mx.fic.inventory.business.builder.config.BuilderConfiguration;
import com.mx.fic.inventory.dto.BaseDTO;
import com.mx.fic.inventory.dto.UserDetailDTO;
import com.mx.fic.inventory.persistent... | gpl-3.0 |
inazense/java-generate-bills | src/main/java/com/programandoapasitos/facturador/gui/MenuPrincipal.java | 3783 | package com.programandoapasitos.facturador.gui;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JLabel;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import com.progra... | gpl-3.0 |
drbizzaro/diggime | base/main/src/com/diggime/modules/email/model/impl/PostmarkEMail.java | 5687 | package com.diggime.modules.email.model.impl;
import com.diggime.modules.email.model.EMail;
import com.diggime.modules.email.model.MailContact;
import org.json.JSONObject;
import java.time.LocalDateTime;
import java.util.List;
import static org.foilage.utils.checkers.NullChecker.notNull;
public class PostmarkEMail ... | gpl-3.0 |
blackleg/libdam | src/main/java/es/blackleg/libdam/geometry/Circulo.java | 2177 | /*
* Copyright (C) 2014 Hector Espert Pardo
*
* 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 i... | gpl-3.0 |
cerberustesting/cerberus-source | source/src/main/java/org/cerberus/service/groovy/impl/GroovyService.java | 3363 | /**
* Cerberus Copyright (C) 2013 - 2017 cerberustesting
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This file is part of Cerberus.
*
* Cerberus 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 Softw... | gpl-3.0 |
BrickCat/symphony | src/main/java/org/b3log/symphony/processor/IndexProcessor.java | 21728 | /*
* 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 |
telinc1/Telicraft | telicraft_common/telinc/telicraft/util/PetrifyDamageSource.java | 1253 | package telinc.telicraft.util;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.util.ChatMessageComponent;
import net.minecraft.util.StatCollector;
public class PetrifyDamageSource extends TelicraftDamageSource {
protected EntityLivingBase entity;
protect... | gpl-3.0 |
dozzatq/Phoenix | mylibrary/src/main/java/com/github/dozzatq/phoenix/advertising/Reflector.java | 173 | package com.github.dozzatq.phoenix.advertising;
/**
* Created by Rodion Bartoshik on 04.07.2017.
*/
interface Reflector {
FactoryAd reflection();
int state();
}
| gpl-3.0 |
aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/web/commands/CommandException.java | 1750 | /*
* 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... | gpl-3.0 |
RaviVengatesh/Guvi_codes | Pali.java | 449 | import java.util.*;
public class Pali {
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
String str=sc.next();
StringBuffer buff=new StringBuffer(str).reverse();
String str1=buff.toString();
if(str.isequals(str1))
{
System.out.p... | gpl-3.0 |
ferenc-jdev/no-babylon | src/main/java/org/laatusys/nobabylon/support/ExcludeRegexpFilter.java | 1328 | /*
No-Babylon a job search engine with filtering ability
Copyright (C) 2012-2014 ferenc.jdev@gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the Lic... | gpl-3.0 |
wizjany/craftbook | src/main/java/com/sk89q/craftbook/cart/CartDeposit.java | 7011 | package com.sk89q.craftbook.cart;
import java.util.ArrayList;
import java.util.Arrays;
import org.bukkit.block.Chest;
import org.bukkit.block.Sign;
import org.bukkit.entity.Minecart;
import org.bukkit.entity.StorageMinecart;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
im... | gpl-3.0 |
crisis-economics/CRISIS | CRISIS/src/eu/crisis_economics/abm/markets/nonclearing/InterbankNetwork.java | 4215 | /*
* This file is part of CRISIS, an economics simulator.
*
* Copyright (C) 2015 Victor Spirin
*
* CRISIS 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 |
pdewan/Comp401LocalChecks | src/gradingTools/comp401f16/assignment11/testcases/package-info.java | 95 | /**
*
*/
/**
* @author dewan
*
*/
package gradingTools.comp401f16.assignment11.testcases; | gpl-3.0 |
AnubisSet/LetsModReboot | src/main/java/mcid/anubisset/letsmodreboot/block/BlockFlag.java | 327 | package mcid.anubisset.letsmodreboot.block;
import mcid.anubisset.letsmodreboot.creativetab.CreativeTabLMRB;
/**
* Created by Luke on 30/08/2014.
*/
public class BlockFlag extends BlockLMRB
{
public BlockFlag()
{
super();
this.setBlockName("flag");
this.setBlockTextureName("flag");
... | gpl-3.0 |
ckaestne/CIDE | CIDE_Language_XML_concrete/src/tmp/generated_people/Element_ol.java | 404 | package tmp.generated_people;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public abstract class Element_ol extends GenASTNode {
protected Element_ol(Property[] p, Token firstToken, Token lastToken) { super(p, firstToken, lastToken); }
protected Element_ol(Propert... | gpl-3.0 |
artclarke/xuggle-utils | src/main/java/com/xuggle/utils/event/handler/package-info.java | 1917 | /*******************************************************************************
* Copyright (c) 2008, 2010 Xuggle Inc. All rights reserved.
*
* This file is part of Xuggle-Utils.
*
* Xuggle-Utils is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Lice... | gpl-3.0 |
IntellectualCrafters/PlotSquared | Core/src/main/java/com/plotsquared/core/command/SubCommand.java | 2321 | /*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | gpl-3.0 |
Mapleroid/cm-server | server-5.11.0.src/com/cloudera/cmf/service/yarn/RmFormatStateStoreCmdWork.java | 1852 | package com.cloudera.cmf.service.yarn;
import com.cloudera.cmf.command.flow.CmdWorkCtx;
import com.cloudera.cmf.command.flow.WorkOutput;
import com.cloudera.cmf.command.flow.work.OneOffRoleProcCmdWork;
import com.cloudera.cmf.model.DbProcess;
import com.cloudera.cmf.model.DbRole;
import com.cloudera.cmf.model.R... | gpl-3.0 |
sandokandias/spring-boot-ddd | src/main/java/com/github/sandokandias/payments/interfaces/rest/model/ErrorResponse.java | 262 | package com.github.sandokandias.payments.interfaces.rest.model;
import com.github.sandokandias.payments.infrastructure.util.i18n.I18nMessage;
import lombok.Data;
import java.util.Set;
@Data
public class ErrorResponse {
private Set<I18nMessage> errors;
}
| gpl-3.0 |
Fxe/biosynth-framework | biosynth-integration/src/main/java/pt/uminho/sysbio/biosynthframework/integration/model/IntegrationEngine.java | 299 | package pt.uminho.sysbio.biosynthframework.integration.model;
import pt.uminho.sysbio.biosynth.integration.io.dao.neo4j.MetaboliteMajorLabel;
public interface IntegrationEngine {
public IntegrationMap<String, MetaboliteMajorLabel> integrate(IntegrationMap<String, MetaboliteMajorLabel> imap);
}
| gpl-3.0 |
cbuehler/freewrl | src/java/vrml/external/field/EventInSFImage.java | 2162 | package vrml.external.field;
import vrml.external.field.FieldTypes;
import vrml.external.Browser;
import java.awt.*;
import java.math.BigInteger;
public class EventInSFImage extends EventIn {
public EventInSFImage() { EventType = FieldTypes.SFIMAGE; }
public void setValue(int width, int height, int comp... | gpl-3.0 |
srnsw/xena | plugins/audio/ext/src/tritonus/src/classes/org/tritonus/debug/AJDebug.java | 6383 | /*
* AJDebug.java
*
* This file is part of Tritonus: http://www.tritonus.org/
*/
/*
* Copyright (c) 1999 - 2002 by Matthias Pfisterer
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Softwa... | gpl-3.0 |
pressgang-ccms/PressGangCCMSRESTv1Common | src/main/java/org/jboss/pressgang/ccms/rest/v1/query/RESTPropertyCategoryQueryBuilderV1.java | 3394 | /*
Copyright 2011-2014 Red Hat, Inc
This file is part of PressGang CCMS.
PressGang CCMS 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 License, or
(at your option) any... | gpl-3.0 |
iCarto/siga | libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java | 77323 | /* gvSIG. Sistema de Información Geográfica de la Generalitat Valenciana
*
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
*
* 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; eith... | gpl-3.0 |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/items/weapon/missiles/darts/AdrenalineDart.java | 1505 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* 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 vers... | gpl-3.0 |
lindareijnhoudt/neo4j-ehri-plugin | ehri-frames/src/main/java/eu/ehri/project/models/base/Actioner.java | 1321 | package eu.ehri.project.models.base;
import com.tinkerpop.blueprints.Vertex;
import com.tinkerpop.frames.modules.javahandler.JavaHandler;
import com.tinkerpop.frames.modules.javahandler.JavaHandlerContext;
import eu.ehri.project.definitions.Ontology;
import eu.ehri.project.models.events.SystemEvent;
import eu.ehri.pro... | gpl-3.0 |
herpingdo/Hakkit | net/minecraft/src/BlockJukeBox.java | 4434 | package net.minecraft.src;
public class BlockJukeBox extends BlockContainer
{
protected BlockJukeBox(int par1)
{
super(par1, Material.wood);
this.setCreativeTab(CreativeTabs.tabDecorations);
}
/**
* Called upon block activation (right click on the block.)
*/
public boolea... | gpl-3.0 |
Tiofx/semester_6 | CG/src/LinesDemo.java | 6151 | import com.jogamp.opengl.*;
import com.jogamp.opengl.awt.GLJPanel;
import com.jogamp.opengl.fixedfunc.GLMatrixFunc;
import com.jogamp.opengl.glu.GLU;
import javax.swing.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import static com.jogamp.opengl.GL.GL_COLOR_BUFFER_BIT;
import static com.jogam... | gpl-3.0 |
MithunThadi/OFTE | SourceCode/new ofte with del monitor/servlet/ScheduledTransferRemoteasDestination.java | 5035 |
import java.io.IOException;
import java.io.PrintWriter;
import java.util.HashMap;
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 com.ofte.serv... | gpl-3.0 |
lincore81/mcscript | ScriptMod/src/xde/lincore/mcscript/math/RoundingMethod.java | 741 | package xde.lincore.mcscript.math;
public enum RoundingMethod {
Round, Floor, Ceil, CastInt;
public int round(final double value) {
switch (this) {
case Round:
return (int) Math.round(value);
case Floor:
return (int) Math.floor(value);
case Ceil:
return (int) Math.ceil(value);
case CastIn... | gpl-3.0 |
umlet/umlet | umlet-gwt/src/main/java/com/baselet/gwt/client/view/DrawCanvas.java | 5538 | package com.baselet.gwt.client.view;
import java.util.List;
import com.baselet.control.basics.geom.Rectangle;
import com.baselet.control.config.SharedConfig;
import com.baselet.control.enums.ElementId;
import com.baselet.element.Selector;
import com.baselet.element.interfaces.GridElement;
import com.baselet.gwt.clien... | gpl-3.0 |
UnlimitedFreedom/UF-WorldEdit | worldedit-core/src/main/java/com/sk89q/worldedit/internal/registry/AbstractFactory.java | 2120 | /*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team and contributors
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Sof... | gpl-3.0 |
DERP-Group/LiveFinder | service/src/main/java/com/derpgroup/livefinder/manager/TwitchFollowedStreamsResponse.java | 563 | package com.derpgroup.livefinder.manager;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class TwitchFollowedStreamsResponse {
private TwitchStream[] streams;
public TwitchStream[] getStreams() {
return streams.clone... | gpl-3.0 |
Tititesouris/OsberBot | src/osberbot/bo/ViewerBO.java | 900 | package osberbot.bo;
/**
* TODO: Description
*
* @author Tititesouris
* @since 2016/03/20
*/
public class ViewerBO {
private Integer id;
private String name;
private Boolean moderator;
private RankBO rank;
public ViewerBO(Integer id, String name, RankBO rank) {
this.id = id;
... | gpl-3.0 |
cs6096/contest-library | src/miscellaneous/Gen.java | 1729 | package miscellaneous;
import java.util.Arrays;
public class Gen {
private static int greyCode(int n1){
return n1 ^ (n1 >> 1);
}
/*
* Advances l1 to next lexicographical higher combination.
* cap is the largest value allowed for one index.
* return false
*/
public static boolean nex... | gpl-3.0 |
georgematos/ocaert | src/com/xcode/bean/UserAuth.java | 838 | package com.xcode.bean;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.Securit... | gpl-3.0 |
Yogibear617/Futuristic_Craft | fc_common/Yogibear617/mods/FuturisticCraft/CreativeTabs/FCSBModCreativeTab.java | 455 | package Yogibear617.mods.FuturisticCraft.CreativeTabs;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
public class FCSBModCreativeTab extends CreativeTabs {
public FCSBModCreativeTab(int par1, String par2... | gpl-3.0 |
TecMunky/xDrip | app/src/main/java/com/eveningoutpost/dexdrip/Models/DateUtil.java | 3340 | package com.eveningoutpost.dexdrip.Models;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
// from package info.nightscout.client.utils;
/**
* Created by mike on 30.12.2015.
*/
/**
* The Class DateUtil. A simple wrapper ar... | gpl-3.0 |
GedMarc/JWebSwing | src/main/java/com/jwebmp/core/htmlbuilder/css/displays/Displays.java | 3363 | /*
* Copyright (C) 2017 GedMarc
*
* 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 distribute... | gpl-3.0 |
TechStack/TechStack-s-HeavyMachineryMod | src/main/java/com/projectreddog/machinemod/container/ContainerTurboFurnace.java | 3980 | package com.projectreddog.machinemod.container;
import com.projectreddog.machinemod.inventory.SlotBlazePowder;
import com.projectreddog.machinemod.inventory.SlotNotBlazePowder;
import com.projectreddog.machinemod.inventory.SlotOutputOnlyTurobFurnace;
import com.projectreddog.machinemod.tileentities.TileEntityTurboFurn... | gpl-3.0 |
highsad/iDesktop-Cross | Controls/src/com/supermap/desktop/ui/docking/info/Info.java | 1846 | /*
* Copyright (C) 2004 NNL Technology AB
* Visit www.infonode.net for information about InfoNode(R)
* products and how to contact NNL Technology AB.
*
* 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 Softwar... | gpl-3.0 |
cberes/game | engine/src/main/java/net/seabears/game/entities/normalmap/NormalMappingShader.java | 4691 | package net.seabears.game.entities.normalmap;
import static java.util.stream.IntStream.range;
import java.io.IOException;
import java.util.List;
import org.joml.Matrix4f;
import org.joml.Vector3f;
import org.joml.Vector4f;
import net.seabears.game.entities.Entity;
import net.seabears.game.entities.Light;
import net... | gpl-3.0 |
jindrapetrik/jpexs-decompiler | src/com/jpexs/decompiler/flash/gui/timeline/TimelineBodyPanel.java | 15335 | /*
* Copyright (C) 2010-2021 JPEXS
*
* 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... | gpl-3.0 |
mstritt/image-provider-omero | src/main/java/com/actelion/research/orbit/imageprovider/tree/TreeNodeProject.java | 3070 | /*
* Orbit, a versatile image analysis software for biological image-based quantification.
* Copyright (C) 2009 - 2017 Idorsia Pharmaceuticals Ltd., Hegenheimermattweg 91, CH-4123 Allschwil, Switzerland.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | gpl-3.0 |
poisdeux/catchdastars | core/src/com/strategames/engine/gameobject/types/Door.java | 4823 | /**
*
* Copyright 2014 Martijn Brekhof
*
* This file is part of Catch Da Stars.
*
* Catch Da Stars 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 optio... | gpl-3.0 |
SPACEDAC7/TrabajoFinalGrado | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/com/buzzfeed/android/vcr/util/VCRBitrateLimitingReceiver.java | 1401 | /*
* Decompiled with CFR 0_115.
*
* Could not load the following classes:
* android.content.BroadcastReceiver
* android.content.Context
* android.content.Intent
* android.content.IntentFilter
*/
package com.buzzfeed.android.vcr.util;
import android.content.BroadcastReceiver;
import android.content.Context... | gpl-3.0 |
igm-team/meaRtools | Java_IGMDash-master/src/CheckField.java | 29621 | /*
* 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.
*/
/**
*
* @author dh2744
*/
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.... | gpl-3.0 |
bonisamber/bookreader | Application/src/main/java/org/emdev/ui/uimanager/UIManager3x.java | 8692 | package org.emdev.ui.uimanager;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningServiceInfo;
import android.content.ComponentName;
import android.content.Context;
import android.view.View;
import android.view.Window;
impor... | gpl-3.0 |
shadowmage45/AncientWarfare | AncientWarfare/src/shadowmage/ancient_warfare/common/vehicles/types/VehicleTypeBoatBallista.java | 6768 | /**
Copyright 2012 John Cummens (aka Shadowmage, Shadowmage4513)
This software is distributed under the terms of the GNU General Public License.
Please see COPYING for precise license information.
This file is part of Ancient Warfare.
Ancient Warfare is free software: you can redistribute it and... | gpl-3.0 |
andyadc/java-study | concurrency-study/src/main/java/com/andyadc/concurrency/latch/LatchDemo_1.java | 1769 | package com.andyadc.concurrency.latch;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.*;
/**
* @author andaicheng
* @version 2017/3/10
*/
public class LatchDemo_1 {
public static void main(String[] args) throws Exception {
int num = ... | gpl-3.0 |
InfamousProductions/Infamous_Performance | src/com/infamous/performance/activities/checkSU.java | 3396 | package com.infamous.performance.activities;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.SystemClock;
import android.preference.PreferenceManager;
import android.view.View;
import android.... | gpl-3.0 |
ghostgzt/STX | src/MJDecompiler/as.java | 839 |
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
package MJDecompiler;
import java.io.IOException;
// Referenced classes of package MJDecompiler:
// bm, bf, bh, bj,
// bc
final class as extends CpField
{
as(ClazzInputStream bc, ClassFile bj1)
... | gpl-3.0 |
Zalthrion/Zyl-Roth | src/main/java/com/zalthrion/zylroth/handler/KeyHandler.java | 533 | package com.zalthrion.zylroth.handler;
import net.minecraft.client.settings.KeyBinding;
import org.lwjgl.input.Keyboard;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class KeyHandler {
@SideOnly(Side.CLIENT) public static K... | gpl-3.0 |
chiknrice/jen8583 | src/main/java/org/chiknrice/iso/codec/Codec.java | 2477 | /*
* Copyright (c) 2014 Ian Bondoc
*
* This file is part of Jen8583
*
* Jen8583 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 versio... | gpl-3.0 |
trol73/avr-bootloader | software/java/src/ru/trolsoft/utils/files/IntelHexWriter.java | 3697 | package ru.trolsoft.utils.files;
import ru.trolsoft.utils.StrUtils;
import java.io.*;
import java.util.Random;
/**
* Created on 07/02/17.
*/
public class IntelHexWriter {
private final Writer writer;
/**
*
*/
private int segmentAddress = 0;
public IntelHexWriter(Writer writer) {
... | gpl-3.0 |
nansencenter/GreenSeasADC-portlet | docroot/WEB-INF/src/uk/ac/rdg/resc/edal/coverage/domain/Domain.java | 3145 | /*
* Copyright (c) 2010 The University of Reading
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this li... | gpl-3.0 |
CCAFS/MARLO | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/manager/impl/ReportSynthesisGovernanceManagerImpl.java | 2612 | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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... | gpl-3.0 |
entrepidea/projects | java/java.core/src/main/java/com/entrepidea/jvm/RuntimeConstantPoolOOM.java | 551 | package com.entrepidea.jvm;
import java.util.ArrayList;
import java.util.List;
/**
* @Desc:
* @Source: 深入理解Java虚拟机:JVM高级特性与最佳实践(第2版)
* Created by jonat on 10/18/2019.
* TODO need revisit - the code seem just running - supposedly it should end soon with exceptions.
*/
public class RuntimeConstantPoolOOM {
... | gpl-3.0 |
kimkha/Finanvita | Finanvita/src/main/java/com/kimkha/finanvita/ui/ItemListFragment.java | 11290 | package com.kimkha.finanvita.ui;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
import android.util.SparseBooleanArray;
import an... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | frameworks/base/core/java/android/content/ContextWrapper.java | 20584 | /*
* Copyright (C) 2006 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-3.0 |
checkstyle-addons/checkstyle-addons | src/main/java/com/thomasjensen/checkstyle/addons/checks/BinaryName.java | 4699 | package com.thomasjensen.checkstyle.addons.checks;
/*
* Checkstyle-Addons - Additional Checkstyle checks
* Copyright (c) 2015-2020, the Checkstyle Addons contributors
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License, version 3, as publi... | gpl-3.0 |
idega/com.idega.core | src/java/com/idega/data/query/LeftJoin.java | 1467 | /*
* $Id: LeftJoin.java,v 1.2 2006/04/09 12:13:12 laddi Exp $
* Created on 5.10.2004
*
* Copyright (C) 2004 Idega Software hf. All Rights Reserved.
*
* This software is the proprietary information of Idega hf.
* Use is subject to license terms.
*/
package com.idega.data.query;
import java.util.HashSet;
import ... | gpl-3.0 |
EmaroLab/owloop | src/main/java/it/emarolab/owloop/descriptor/utility/classDescriptor/InstanceClassDesc.java | 4115 | package it.emarolab.owloop.descriptor.utility.classDescriptor;
import it.emarolab.amor.owlInterface.OWLReferences;
import it.emarolab.owloop.descriptor.construction.descriptorEntitySet.Individuals;
import it.emarolab.owloop.descriptor.construction.descriptorExpression.ClassExpression;
import it.emarolab.owloop.descrip... | gpl-3.0 |
CMPUT301F17T29/HabitUp | app/src/main/java/com/example/habitup/View/HabitListAdapter.java | 2677 | package com.example.habitup.View;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Color;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wi... | gpl-3.0 |
edudev/internet_programming | Homework2/workspace/DateFormatterClient/src/org/elsys/InternetProgramming/ServerHandler.java | 1328 | package org.elsys.InternetProgramming;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.Socket;
public class ServerHandler {
private Socket socket;
public ServerHandler(... | gpl-3.0 |
aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/virtualization/FloatSerializer.java | 1687 | /*
* 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... | gpl-3.0 |
tassadar2002/ouser | src/com/ouser/module/Photo.java | 3179 | package com.ouser.module;
import java.util.HashMap;
import java.util.Map;
import com.ouser.util.StringUtil;
import android.os.Bundle;
/**
* 照片
* @author hanlixin
*
*/
public class Photo {
public enum Size {
Small(80, 0), /** 小列表,菜单 */
Normal(100, 1), /** profile */
Large(134, 2), /**... | gpl-3.0 |
hkmoon/bigdataviewer-server | src/main/java/bdv/server/UserPageHandler.java | 13172 | package bdv.server;
import bdv.db.UserController;
import bdv.model.DataSet;
import bdv.util.Render;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.ContextHandlerCollection;
import org.eclipse.jetty.util.l... | gpl-3.0 |
rekhyt75/BrewPlus-IFDB | brewplus/brewplus-ifdb/src/main/java/jmash/YeastType.java | 4355 | /*
* Copyright 2006, 2007 Alessandro Chiari.
*
* This file is part of BrewPlus.
*
* BrewPlus 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)... | gpl-3.0 |
Andy-Peng/phrasal | src/edu/stanford/nlp/mt/lm/KenLanguageModel.java | 6706 | package edu.stanford.nlp.mt.lm;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.locks.ReentrantLock;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import edu.stanford.nlp.mt.util.IString;
import edu.stanford.nlp.mt.util.Sequence;
import edu.stanfo... | gpl-3.0 |
Team-RTG/Appalachia | src/main/java/appalachia/rtg/world/biome/realistic/appalachia/adirondack/RealisticBiomeAPLAdirondackBeach.java | 4464 | package appalachia.rtg.world.biome.realistic.appalachia.adirondack;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.chunk.ChunkPrimer;
import appalachia.api.Ap... | gpl-3.0 |
physalix-enrollment/physalix | UserGui/src/main/java/hsa/awp/usergui/EventDetailPanel.java | 6335 | /*
* Copyright (c) 2010-2012 Matthias Klass, Johannes Leimer,
* Rico Lieback, Sebastian Gabriel, Lothar Gesslein,
* Alexander Rampp, Kai Weidner
*
* This file is part of the Physalix Enrollment System
*
* Foobar is free software: you can redistribute it and/or modify
* it under the t... | gpl-3.0 |
s20121035/rk3288_android5.1_repo | packages/apps/Dialer/src/com/android/dialer/calllog/CallLogListItemHelper.java | 10890 | /*
* Copyright (C) 2011 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-3.0 |
ubleipzig/iiif-producer | templates/src/main/java/de/ubleipzig/iiifproducer/template/TemplateService.java | 1444 | /*
* IIIFProducer
* Copyright (C) 2017 Leipzig University Library <info@ub.uni-leipzig.de>
*
* 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... | gpl-3.0 |
tuxskar/pixmind | pixmind/src/com/pix/mind/controllers/KeyboardController.java | 1788 | package com.pix.mind.controllers;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.pix.mind.PixMindGame;
import com.pix.mind.box2d.bodies.Pix... | gpl-3.0 |
WongSir/JustGo | src/main/java/com/wongsir/newsgathering/model/commons/Webpage.java | 8742 | package com.wongsir.newsgathering.model.commons;
import com.google.common.base.MoreObjects;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.util.Date;
import java.util.List;
import j... | gpl-3.0 |
mdecorde/BABYNAME | app/src/main/java/fr/hnit/babyname/MainActivity.java | 12172 | package fr.hnit.babyname;
/*
The babyname app 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.
The babyname app is distributed in the hope th... | gpl-3.0 |
VoidDragonOfMars/pixelware | instantweatherapplication/src/main/java/com/weatherapp/model/entities/Location.java | 552 | package com.weatherapp.model.entities;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Location implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private Stri... | gpl-3.0 |
MesutKoc/uni-haw | 2. Semester/PR2/Aufgabe_2a_Igor/src/units/interfaces/Value.java | 686 | package units.interfaces;
public abstract interface Value<T> extends MyComparable<T> {
// OPERATIONS
default boolean invariant() {
return true;
}
default void checkInvariant() {
if(!invariant()) {
System.exit(-1);
}
}
public abstract T... | gpl-3.0 |
callaa/JGCGen | src/org/luolamies/jgcgen/text/Fonts.java | 2230 | /*
* This file is part of JGCGen.
*
* JGCGen 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.
*
* JGCGen is distributed in the h... | gpl-3.0 |
bartburg/backbaseweatherapp | app/src/main/java/bartburg/nl/backbaseweather/provision/remote/controller/BaseApiController.java | 3934 | package bartburg.nl.backbaseweather.provision.remote.controller;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.annotation.Annotation;
import java.net.HttpURLConnection... | gpl-3.0 |
CCAFS/ccafs-ap | impactPathways/src/main/java/org/cgiar/ccafs/ap/data/dao/mysql/MySQLProjectOtherContributionDAO.java | 6952 | /*****************************************************************
* This file is part of CCAFS Planning and Reporting Platform.
* CCAFS P&R 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... | gpl-3.0 |
benyaminl/OCAMS | src/com/ocams/andre/MasterJurnal.java | 15559 | package com.ocams.andre;
import javax.swing.table.DefaultTableModel;
public class MasterJurnal extends javax.swing.JFrame {
public MasterJurnal() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The co... | gpl-3.0 |
jesusc/eclectic | plugins/org.eclectic.frontend.syntax/src-gen/org/eclectic/frontend/parser/antlr/TaoParser.java | 1041 | /*
* generated by Xtext
*/
package org.eclectic.frontend.parser.antlr;
import com.google.inject.Inject;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclectic.frontend.services.TaoGrammarAccess;
public class TaoParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
@Inject
priva... | gpl-3.0 |
mdsimmo/cake-dungeon | java/com/github/mdsimmo/pixeldungeon/levels/painters/TreasuryPainter.java | 2296 | /*
* 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 |
TrentHouliston/JsonFL | src/main/java/au/com/houliston/jsonfl/InvalidJsonFLException.java | 1371 | /**
* This file is part of JsonFL.
*
* JsonFL is free software: you can redistribute it and/or modify it under the
* terms of the Lesser GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* JsonFL is distributed ... | gpl-3.0 |
Bundeswahlrechner/Bundeswahlrechner | mandatsverteilung/src/main/java/edu/kit/iti/formal/mandatsverteilung/generierer/SitzzahlEinschraenkung.java | 934 | package edu.kit.iti.formal.mandatsverteilung.generierer;
import edu.kit.iti.formal.mandatsverteilung.datenhaltung.Bundestagswahl;
/**
* Modelliert eine Einschränkung an das Ergebnis des Generierers, dass der
* Bundestag eine bestimmte Größe haben soll.
*
* @author Jan
*
*/
public class SitzzahlEinschraenkung ... | gpl-3.0 |
yparsak/JWC | src/main/java/name/parsak/controller/WebController.java | 10545 | package name.parsak.controller;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springfram... | gpl-3.0 |
Shurgent/TFCTech | src/main/java/ua/pp/shurgent/tfctech/integration/bc/blocks/pipes/transport/PipeItemsSterlingSilver.java | 1104 | package ua.pp.shurgent.tfctech.integration.bc.blocks.pipes.transport;
import net.minecraft.item.Item;
import net.minecraftforge.common.util.ForgeDirection;
import ua.pp.shurgent.tfctech.integration.bc.BCStuff;
import ua.pp.shurgent.tfctech.integration.bc.ModPipeIconProvider;
import ua.pp.shurgent.tfctech.integration.b... | gpl-3.0 |
footoflove/android | crazy_android/04/4.1/StartActivity/src/org/crazyit/activity/StartActivity.java | 1081 | package org.crazyit.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
/**
* Description:
* <br/>site: <a href="http://www.crazyit.org">crazyit.org</a>
* <br/>Copyright (C... | gpl-3.0 |
active-citizen/android.java | app/src/main/java/ru/mos/polls/ourapps/ui/adapter/OurAppsAdapter.java | 625 | package ru.mos.polls.ourapps.ui.adapter;
import java.util.ArrayList;
import java.util.List;
import ru.mos.polls.base.BaseRecyclerAdapter;
import ru.mos.polls.base.RecyclerBaseViewModel;
import ru.mos.polls.ourapps.model.OurApplication;
import ru.mos.polls.ourapps.vm.item.OurApplicationVM;
public class OurAppsAdapte... | gpl-3.0 |
gammalgris/jmul | Utilities/Transformation-XML/src/jmul/transformation/xml/rules/xml2object/Xml2ClassRule.java | 5570 | /*
* 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... | gpl-3.0 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/spring-5-reactive-security/src/main/java/com/baeldung/webflux/EmployeeWebSocketHandler.java | 1272 | package com.baeldung.webflux;
import static java.time.LocalDateTime.now;
import static java.util.UUID.randomUUID;
import java.time.Duration;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.socket.WebSocketHandler;
import org.springframework.web.reactive.socket.WebSocketSessio... | gpl-3.0 |
241180/Oryx | v-guice-example-master/src/main/java/org/vaadin/addons/guice/server/ExampleGuiceServletModule.java | 383 | package org.vaadin.addons.guice.server;
import org.vaadin.addons.guice.servlet.VGuiceApplicationServlet;
import com.google.inject.servlet.ServletModule;
/**
*
* @author Will Temperley
*
*/
public class ExampleGuiceServletModule extends ServletModule {
@Override
protected void configureServlets() {
... | gpl-3.0 |
mariotaku/twidere.j2me | src/org/mariotaku/twidere/util/http/UnsafeSSLConnection.java | 2116 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.mariotaku.twidere.util.http;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.microedition.io... | gpl-3.0 |
SCI2SUGR/KEEL | src/keel/Algorithms/RE_SL_Methods/LEL_TSK/Simplif.java | 10008 | /***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. A... | gpl-3.0 |
Orcinuss/ReinforcedTools | src/main/java/com/orcinuss/reinforcedtools/item/tools/ItemRTMHarvester.java | 803 | package com.orcinuss.reinforcedtools.item.tools;
import com.google.common.collect.Sets;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemTool;
import java.util.Se... | gpl-3.0 |
ricecakesoftware/CommunityMedicalLink | ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/AgeDetectedIssueCode.java | 913 |
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>AgeDetectedIssueCodeのJavaクラス。
*
* <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。
* <p>
* <pre>
* <simpleType name="AgeDetectedIssueCode">
* <restriction base="{urn:hl7-org:v... | gpl-3.0 |