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 |
|---|---|---|---|---|---|
/*
* Copyright 2012 Matt Corallo.
*
* 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 applicable law or agreed to... | kryptohash/kryptohash-android | app/src/main/java/com/github/kryptohash/kryptohashj/store/H2FullPrunedBlockStore.java | Java | gpl-3.0 | 31,804 |
package com.nianticproject.ingress.common.scanner.visuals.b;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.utils.Disposable;
abstract interface b extends Disposable
{
public abstract void a(Vector3 paramVector3);
public abstract boolean a(float paramFloat);
public abstract c b();
}
/* Locatio... | isnuryusuf/ingress-indonesia-dev | apk/classes-ekstartk/com/nianticproject/ingress/common/scanner/visuals/b/b.java | Java | gpl-3.0 | 462 |
/*
* Copyright 2012-2020 Rafal Lewczuk <rafal.lewczuk@jitlogic.com>
* <p/>
* This 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.... | jitlogic/zorka | zorka-core/src/main/java/com/jitlogic/zorka/core/spy/SpyProbe.java | Java | gpl-3.0 | 4,502 |
/*
* 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... | OpenBD/openbd-core | src/com/naryx/tagfusion/cfm/mail/cfMAIL.java | Java | gpl-3.0 | 26,031 |
package net.alureon.ircbutt.command;
import net.alureon.ircbutt.IRCbuttTest;
import net.alureon.ircbutt.command.commands.Rot13Command;
import net.alureon.ircbutt.response.BotIntention;
import net.alureon.ircbutt.response.BotResponse;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.Mockito;
import or... | proxa/IRCbutt | src/test/java/net/alureon/ircbutt/command/Rot13CommandTest.java | Java | gpl-3.0 | 2,132 |
package com.worldofazos.machinefactory.blocks.FusionChamber;
import com.worldofazos.machinefactory.Infos;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.translation.I18n;
import net.minecraftforge.fml.client.config.GuiUtils;
import ja... | zkiller/MachineFactory | src/main/java/com/worldofazos/machinefactory/blocks/FusionChamber/FusionChamberGUI.java | Java | gpl-3.0 | 2,330 |
/*
* Copyright (C) 2014-2020 Arpit Khurana <arpitkh96@gmail.com>, Vishal Nehra <vishalmeham2@gmail.com>,
* Emmanuel Messulam<emmanuelbendavid@gmail.com>, Raymond Lai <airwave209gt at gmail.com> and Contributors.
*
* This file is part of Amaze File Manager.
*
* Amaze File Manager is free software: you can redistri... | arpitkh96/AmazeFileManager | app/src/main/java/com/amaze/filemanager/database/daos/BookmarkEntryDao.java | Java | gpl-3.0 | 2,390 |
package io.github.ridiekel.jeletask.client.builder.message.messages.impl;
import io.github.ridiekel.jeletask.client.builder.message.messages.MessageSupport;
import io.github.ridiekel.jeletask.model.spec.CentralUnit;
import io.github.ridiekel.jeletask.model.spec.Command;
public class KeepAliveMessage extends MessageSu... | ridiekel/Teletask-api | client/src/main/java/io/github/ridiekel/jeletask/client/builder/message/messages/impl/KeepAliveMessage.java | Java | gpl-3.0 | 700 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2016 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 ver... | TypedScroll/LCPD | core/src/main/java/com/shatteredpixel/lovecraftpixeldungeon/actors/mobs/npcs/RatKing.java | Java | gpl-3.0 | 2,059 |
/**
* RitualCondition.java -
*
* Copyright (C) 2006 GAIPS/INESC-ID
*
* 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) ... | nurv/lirec | AgentMind/tags/Rituals as Goals/FAtiMA.culture/src/FAtiMA/culture/RitualCondition.java | Java | gpl-3.0 | 7,444 |
/*
* Copyright (C) 2020 a.schild
*
* 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 distribut... | a-schild/nextcloud-java-api | src/main/java/org/aarboard/nextcloud/api/webdav/ResourceProperties.java | Java | gpl-3.0 | 7,021 |
package com.ias.chick.level.tile;
import com.ias.chick.graphics.Screen;
import com.ias.chick.graphics.Sprite;
public class GrassTile extends Tile
{
public GrassTile(Sprite s, int id)
{
super(s, id);
}
public void render (int x, int y, Screen screen)
{
screen.renderTile(x<<4, y<<4, this);
}
}
| sxaktosxafo/Pio- | src/com/ias/chick/level/tile/GrassTile.java | Java | gpl-3.0 | 307 |
package com.yc.sy.web.servlet;
import java.io.IOException;
import java.util.List;
import java.util.Random;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespon... | Shylock08/studygit | src/main/java/com/yc/sy/web/servlet/GuestServlet.java | Java | gpl-3.0 | 5,986 |
package com.mapzen.open.core;
import com.mapzen.open.R;
import com.mapzen.open.activity.BaseActivity;
import com.mapzen.open.support.MapzenTestRunner;
import com.mapzen.open.support.TestHelper;
import com.mapzen.open.widget.EditIntPreference;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.Run... | mapzen/open | src/test/java/com/mapzen/open/core/SettingsFragmentTest.java | Java | gpl-3.0 | 12,146 |
/*******************************************************************************
* Copyright (C) 2010 Lucas Madar and Peter Brewer
*
* 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 ... | petebrew/tellervo | src/main/java/org/tellervo/desktop/util/openrecent/SeriesDescriptor.java | Java | gpl-3.0 | 6,070 |
// **********************************************************************
//
// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | pavelvpster/ExplorerBotIce | src/rpc/explorer/ExplorerBotMotionHolder.java | Java | gpl-3.0 | 775 |
/*******************************************************************************
* Copyright (c) 2012 Chris Barthauer.
* 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
* ... | cbarthauer/chordcommand | src/music/chord/base/Duration.java | Java | gpl-3.0 | 1,084 |
/**
* This file is part of com.ivarprudnikov.sensors package.
*
* com.ivarprudnikov.sensors 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 late... | ivarprudnikov/android_sensors | app/src/main/java/com/ivarprudnikov/sensors/storage/SensorDataDbService.java | Java | gpl-3.0 | 22,843 |
package com.github.bordertech.wcomponents.render.webxml;
import com.github.bordertech.wcomponents.WCancelButton;
import java.io.IOException;
import junit.framework.Assert;
import org.custommonkey.xmlunit.exceptions.XpathException;
import org.junit.Test;
import org.xml.sax.SAXException;
/**
* Junit test case for {@li... | marksreeves/wcomponents | wcomponents-core/src/test/java/com/github/bordertech/wcomponents/render/webxml/WCancelButtonRenderer_Test.java | Java | gpl-3.0 | 1,621 |
/* VisNow
Copyright (C) 2006-2013 University of Warsaw, ICM
This file is part of GNU Classpath.
GNU Classpath 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 option)
any later ve... | IcmVis/VisNow-Pro | src/pl/edu/icm/visnow/lib/basic/viewers/FieldViewer3D/Geometry/ReadPAC/ReadPACGUI.java | Java | gpl-3.0 | 9,436 |
/*
* 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/main/java/adams/gui/event/RemoteScriptingEngineUpdateEvent.java | Java | gpl-3.0 | 1,404 |
package dgounaris.dev.sch;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import dgounaris.dev.sch.layout.login_fragment;
import dgounaris.dev.sch.layout.register_fragment;
public class LoginActivity extends AppCompatActivity {
... | dgounaris/Crowdhackathon | SCH/app/src/main/java/dgounaris/dev/sch/LoginActivity.java | Java | gpl-3.0 | 1,215 |
/***********************************************************************
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... | SCI2SUGR/KEEL | src/keel/Algorithms/Fuzzy_Rule_Learning/Genetic/ClassifierFuzzyAdaBoost/ClassifierFuzzyAdaBoost.java | Java | gpl-3.0 | 8,355 |
package hashTableMatriz;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
/**
* Created by 20142bsi0186 on 16/02/2017.
*/
public class HashTablesMatrizMain {
private static String resourcePathBdMatrizes = "bd-matrizes" + File.separator;
public static void main(String[] ... | DaniloSI/Tecnicas-de-Programacao-Avancada | Exercicios/src/hashTableMatriz/HashTablesMatrizMain.java | Java | gpl-3.0 | 2,304 |
package se.oru.coordination.coordination_oru.tests;
import java.util.Comparator;
import org.metacsp.multi.spatioTemporal.paths.PoseSteering;
import com.vividsolutions.jts.geom.Coordinate;
import se.oru.coordination.coordination_oru.ConstantAccelerationForwardModel;
import se.oru.coordination.coordination_oru.Critic... | FedericoPecora/coordination_oru | src/main/java/se/oru/coordination/coordination_oru/tests/TestTrajectoryEnvelopeCoordinatorWithMotionPlanner18.java | Java | gpl-3.0 | 4,885 |
package net.p455w0rd.wirelesscraftingterminal.common.container.slot;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
public class SlotOutput extends AppEngSlot
{
public SlotOutput( final IInventory a, final int b, final int c, final int d, final int i )
{
super( a, b, c, d );
t... | DrummerMC/WirelessCraftingTerminal | src/java/net/p455w0rd/wirelesscraftingterminal/common/container/slot/SlotOutput.java | Java | gpl-3.0 | 427 |
package magic.test;
import magic.model.MagicDuel;
import magic.model.MagicGame;
import magic.model.MagicPlayer;
import magic.model.phase.MagicMainPhase;
class TestKikiRestoration extends TestGameBuilder {
@Override
public MagicGame getGame() {
final MagicDuel duel=createDuel();
final MagicGame... | magarena/magarena | src/magic/test/TestKikiRestoration.java | Java | gpl-3.0 | 919 |
/**
* This file is part of MythTV Android Frontend
*
* MythTV Android Frontend 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.
*... | MythTV-Clients/MythTV-Android-Frontend | src/org/mythtv/db/dvr/model/Programs.java | Java | gpl-3.0 | 5,002 |
package net.zetaeta.tools.java.compiler.ast;
import java.util.Collections;
import java.util.List;
import com.google.common.base.Joiner;
public class TypeName extends TreeNode {
private String name;
private List<GenericObjectParameter> params;
public TypeName(String name) {
this.name = n... | Zetaeta/JavaCompiler | src/main/java/net/zetaeta/tools/java/compiler/ast/TypeName.java | Java | gpl-3.0 | 1,609 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package BusinessLogicLayer.BOManager;
import BusinessLogicLayer.BOManager.Util.BOManagerUtil;
import BusinessLogicLayer.BusinessObjects.AdjectiveAccompanierBO;
import BusinessLogicLayer.Util.BLUtil;
import BusinessLogic... | oghalawinji/InteractiveArabicDictionary | IAD/src/java/BusinessLogicLayer/BOManager/NounAdjectiveAccompanierManager.java | Java | gpl-3.0 | 5,153 |
package com.github.arucard21.msr.checker;
import com.github.arucard21.msr.Project;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import java.io.*;
import java.text.DateFormat;
import java.text.SimpleDateForm... | arucard21/msr-improved-revfinder | src/main/java/com/github/arucard21/msr/checker/AvailabilityChecker.java | Java | gpl-3.0 | 6,717 |
package org.dicadeveloper.weplantaforest.planting;
import java.util.HashMap;
import org.dicadeveloper.weplantaforest.common.support.PriceHelper;
import org.dicadeveloper.weplantaforest.planting.PlantPageData.ProjectData;
import org.dicadeveloper.weplantaforest.planting.PlantPageData.ProjectData.PlantItem;
impo... | Gab0rB/weplantaforest | user/src/main/java/org/dicadeveloper/weplantaforest/planting/PlantPageDataHelper.java | Java | gpl-3.0 | 7,874 |
/*
* 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... | appnativa/rare | source/rare/android/com/appnativa/rare/widget/RadioButtonWidget.java | Java | gpl-3.0 | 2,315 |
package cz.jaro.alarmmorning.shadows;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.RealObject;
import cz.jaro.alarmmorning.GlobalManager;
import cz.jaro.alarmmorning.clock.Clock;
import cz.jaro.alarmmorning.clock.SystemClock;
@Imple... | jmalenko/alarm-morning | app/src/test/java/cz/jaro/alarmmorning/shadows/ShadowGlobalManager.java | Java | gpl-3.0 | 656 |
/*
This file is part of JFLICKS.
JFLICKS 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.
JFLICKS is distrib... | djb61230/jflicks | src/org/jflicks/ui/view/vm/VideoManagerView.java | Java | gpl-3.0 | 14,143 |
package com.axlecho.jtsviewer.untils;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.PixelFormat;
import android.graphics.drawable.Drawable;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.drawable.GlideDra... | axlecho/JtsViewer | app/src/main/java/com/axlecho/jtsviewer/untils/JtsImageGetter.java | Java | gpl-3.0 | 4,814 |
/**
*/
package br.edu.ufpe.ines.decode.taskDescription.provider;
import br.edu.ufpe.ines.decode.taskDescription.TaskDescriptionPackage;
import br.edu.ufpe.ines.decode.taskDescription.TimeRestriction;
import java.math.BigInteger;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.not... | netuh/DecodePlatformPlugin | br.edu.ufpe.ines.decode.model.edit/src/br/edu/ufpe/ines/decode/taskDescription/provider/TimeRestrictionItemProvider.java | Java | gpl-3.0 | 4,883 |
/**
* 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 will be us... | krichter722/reflection-form-builder | src/main/java/de/richtercloud/reflection/form/builder/ResetException.java | Java | gpl-3.0 | 1,085 |
package org.sputnik.model.config;
import lombok.Data;
import org.sputnik.model.Identifiable;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;
@Data
public class DataProfile implements Identifiable {
String id;
String name;
List<Graph> graphs = new ArrayList<... | agliznetsov/sputnik | sputnik-server/src/main/java/org/sputnik/model/config/DataProfile.java | Java | gpl-3.0 | 398 |
/*
* DRACOON API
* REST Web Services for DRACOON<br><br>This page provides an overview of all available and documented DRACOON APIs, which are grouped by tags.<br>Each tag provides a collection of APIs that are intended for a specific area of the DRACOON.<br><br><a title='Developer Information' href='https://develope... | iterate-ch/cyberduck | dracoon/src/main/java/ch/cyberduck/core/sds/io/swagger/client/model/EncryptionPasswordPolicies.java | Java | gpl-3.0 | 6,955 |
package net.shadowmage.ancientwarfare.core.network;
import io.netty.buffer.ByteBuf;
import net.minecraft.item.ItemStack;
import net.shadowmage.ancientwarfare.core.interfaces.IItemClickable;
import net.shadowmage.ancientwarfare.core.interfaces.IItemKeyInterface;
import net.shadowmage.ancientwarfare.core.interface... | Mazdallier/AncientWarfare2 | src/main/java/net/shadowmage/ancientwarfare/core/network/PacketItemInteraction.java | Java | gpl-3.0 | 1,921 |
package com.baselet.control;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.baselet.control.basics.geom.Rectangle;
import com.baselet.co... | umlet/umlet | umlet-elements/src/main/java/com/baselet/control/SharedUtils.java | Java | gpl-3.0 | 5,614 |
/*
* Copyright (C) 2007-2019 Crafter Software Corporation. All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... | avasquez614/search | crafter-search-solr-server/src/main/java/org/craftercms/search/utils/spring/HttpSolrClientFactoryBean.java | Java | gpl-3.0 | 3,645 |
package io.element.room;
public interface Dispatcher<M,T> {
/**
* object 1 send msg to object 2
*/
public boolean DispatchTask(T task);
/**
* object 1 send msg to object 2
*/
public boolean DispatchDelayedTask(T task, long delayedTime);
/**
* object 1 send msg to object 2
*/
public void OnTick(l... | wangxiaogangan/EC_Game | Server/elementproject/gmserver/src/main/java/io/element/room/Dispatcher.java | Java | gpl-3.0 | 415 |
package frame;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
/**
* Do NOT change anything in this class!
*
* This class contains a method for reading the input files into a Vector
* structure.
... | Ablesius/java-exercises | src/frame/LibraryFileReader.java | Java | gpl-3.0 | 1,712 |
package com.bounfoodcoop.core.domain;
import com.bounfoodcoop.core.documents.DocumentObject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import java.util.Date;
import java.util.UUID;
public abstract class BaseDomainObject<TDocument extends DocumentObject> {
@Id
... | skynyrd/BOUN_SWE_573 | BounFoodCoop/app/src/main/java/com/bounfoodcoop/core/domain/BaseDomainObject.java | Java | gpl-3.0 | 497 |
package edu.cornell.med.icb.net;
import org.apache.commons.io.IOUtils;
import org.apache.log4j.Logger;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Class copied and adapted from http://stackoverflow.com/questions/4157303/how-to-execute-cmd-commands-via-java
*
* @author Fabien Campagne
* ... | CampagneLaboratory/icb-utils | src/edu/cornell/med/icb/net/SyncPipe.java | Java | gpl-3.0 | 1,382 |
/*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | sheldonkhall/grakn | grakn-engine/src/main/java/ai/grakn/engine/tasks/manager/TaskSubmitter.java | Java | gpl-3.0 | 1,366 |
package tmp.generated_xhtml;
import cide.gast.*;
import cide.gparser.*;
import cide.greferences.*;
import java.util.*;
public class ETag_style extends GenASTNode {
public ETag_style(Token firstToken, Token lastToken) {
super(new Property[] {
}, firstToken, lastToken);
}
public ETag_style(Proper... | ckaestne/CIDE | CIDE_Language_XML_concrete/src/tmp/generated_xhtml/ETag_style.java | Java | gpl-3.0 | 534 |
package it.polito.dp2.WF.sol1.lib;
import it.polito.dp2.WF.ProcessActionReader;
import it.polito.dp2.WF.WorkflowReader;
public class ProcessActionReaderImp extends ActionReaderImp implements ProcessActionReader {
private WorkflowReader workflow;
public ProcessActionReaderImp(String name, WorkflowReader enc... | nik7007/AssignmentDP2 | src/it/polito/dp2/WF/sol1/lib/ProcessActionReaderImp.java | Java | gpl-3.0 | 620 |
package com.github.epd.sprout.items.consumables;
import com.github.epd.sprout.items.Item;
import com.github.epd.sprout.messages.Messages;
import com.github.epd.sprout.sprites.ItemSpriteSheet;
public class AdamantArmor extends Item {
{
name = Messages.get(this, "name");
image = ItemSpriteSheet.ARMOR_ADAMANT;
... | G2159687/espd | app/src/main/java/com/github/epd/sprout/items/consumables/AdamantArmor.java | Java | gpl-3.0 | 547 |
package tw.supra.suclear;
import android.webkit.WebView;
/**
* Created by supra on 17-7-23.
*/
public abstract class HostInvoker<ReturnT, ArgT> {
static MainWebViewHost getHost(WebView view) {
if (view instanceof MainWebView) {
return ((MainWebView) view).getHost();
}
return... | Supra-Garage/suclear | app/src/main/java/tw/supra/suclear/HostInvoker.java | Java | gpl-3.0 | 706 |
/**
* SMART - State Machine ARchiTecture
*
* Copyright (C) 2012 Individual contributors as indicated by
* the @authors tag
*
* This file is a part of SMART.
*
* SMART is a free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Sof... | rajsanka/a-smart | sm.d2cache/src/main/java/org/anon/smart/d2cache/segment/SegmentReader.java | Java | gpl-3.0 | 1,814 |
package bacnet;
public enum CovType {
NONE, UNCONFIRMED, CONFIRMED
}
| IOT-DSA/dslink-java-bacnet | src/main/java/bacnet/CovType.java | Java | gpl-3.0 | 71 |
package fr.laple.controller.viewProfile;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.time.Instant;
import javax.swing.JLabel;
import f... | ReyAnthony/LAPLE | LAPLE/src/main/java/fr/laple/controller/viewProfile/ControllerStatistics.java | Java | gpl-3.0 | 635 |
package ee;
import java.util.*;
import ee.events.EEEnums.EEAction;
import ee.events.EEEnums.EEAction2;
import ee.events.EEEventManager;
import ee.events.rm.EERMSpadeEvent;
import net.minecraft.server.*;
public class ItemRedSpade extends ItemRedTool
{
public ItemRedSpade(int var1) {
super(var1, 3, 5, blocksEffec... | EterniaLogic/TekkitRestrict | EEPatch_TR/src/ee/ItemRedSpade.java | Java | gpl-3.0 | 9,570 |
package es.uam.eps.ir.ranksys.nn.user.neighborhood;
import es.uam.eps.ir.ranksys.fast.index.FastUserIndex;
import es.uam.eps.ir.ranksys.nn.neighborhood.CachedNeighborhood;
import es.uam.eps.ir.ranksys.nn.neighborhood.ThresholdNeighborhood;
import es.uam.eps.ir.ranksys.nn.neighborhood.TopKNeighborhood;
import es.uam.ep... | jacekwasilewski/RankSys | RankSys-nn/src/main/java/es/uam/eps/ir/ranksys/nn/user/neighborhood/UserNeighborhoods.java | Java | gpl-3.0 | 1,534 |
/**
* Copyright (C) 2016 the Knime4NGS contributors.
* Website: http://ibisngs.github.io/knime4ngs
*
* This file is part of the KNIME4NGS KNIME extension.
*
* The KNIME4NGS extension is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | ibisngs/knime4ngs-src | de.helmholtz_muenchen.ibis.knimenodes/src/de/helmholtz_muenchen/ibis/ngs/vepsummary/VEPSummaryNodeModel.java | Java | gpl-3.0 | 22,478 |
package it.unimi.di.big.mg4j.query.nodes;
/*
* MG4J: Managing Gigabytes for Java (big)
*
* Copyright (C) 2006-2015 Sebastiano Vigna
*
* 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 Fo... | JC-R/mg4j | src/it/unimi/di/big/mg4j/query/nodes/Consecutive.java | Java | gpl-3.0 | 2,531 |
/*
* Created on 2006-1-19
*
* Rcpa development code
*
* Author Sheng QuanHu(qhsheng@sibs.ac.cn / shengqh@gmail.com)
* This code is developed by RCPA Bioinformatic Platform
* http://www.proteomics.ac.cn/
*
*/
package cn.ac.rcpa.bio.tools.go;
import cn.ac.rcpa.Constants;
import c... | shengqh/RcpaBioSolution | src/cn/ac/rcpa/bio/tools/go/UnigeneGoAnnotationBuilderUI.java | Java | gpl-3.0 | 1,575 |
/** -----------------------------------------------------------------
* Sammelbox: Collection Manager - A free and open-source collection manager for Windows & Linux
* Copyright (C) 2011 Jerome Wagener & Paul Bicheler
*
* This program is free software: you can redistribute it and/or modify
* it under t... | jeromewagener/Sammelbox | Sammelbox-Desktop/src/org/sammelbox/view/composites/ToolbarComposite.java | Java | gpl-3.0 | 10,140 |
package l2s.gameserver.network.l2.s2c;
import l2s.gameserver.model.entity.events.impl.FortressSiegeEvent;
import l2s.gameserver.model.entity.residence.Fortress;
/**
* @author VISTALL
*/
public class ExShowFortressMapInfo extends L2GameServerPacket
{
private int _fortressId;
private boolean _fortressStatus;
priva... | pantelis60/L2Scripts_Underground | gameserver/src/main/java/l2s/gameserver/network/l2/s2c/ExShowFortressMapInfo.java | Java | gpl-3.0 | 783 |
package org.se.lab;
import org.apache.commons.codec.binary.Hex;
import org.apache.log4j.Logger;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet... | teiniker/teiniker-lectures-securedesign | web-applications/secure-communication/http/Servlet-Cookies/src/main/java/org/se/lab/CookieServlet.java | Java | gpl-3.0 | 2,053 |
package com.jeep.lolesports.dao;
import com.jeep.lolesports.model.User;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Rep... | JamesJose7/lol-data-analyzer | src/main/java/com/jeep/lolesports/dao/UserDaoImpl.java | Java | gpl-3.0 | 1,594 |
package kirjanpito.util;
import java.text.DateFormatSymbols;
import java.util.Calendar;
import java.util.Date;
public class EntryTemplateHelper {
private DateFormatSymbols symbols;
private Date date;
public EntryTemplateHelper(Date date) {
this.symbols = new DateFormatSymbols();
this.date = date;
}
publi... | thelineva/tilitin | src/kirjanpito/util/EntryTemplateHelper.java | Java | gpl-3.0 | 1,874 |
/*
* Copyright (c) 2011 Marcel Lauhoff.
*
* This file is part of jlowfuse.
*
* jlowfuse 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 late... | irq0/jlowfuse | java/objectfs/async/tasks/Rmdir.java | Java | gpl-3.0 | 1,409 |
package charakteren;
public class Hexe extends Spieler implements Runnable
{
private boolean guterTrankVerfuegbar = true;
private boolean schlechterTrankVerfuegbar = true;
public void run()
{
while(super.isAlive = true)
{
//Warten auf input von Server
//input verarbeiten
switch(input)
{
/*-----... | heunfa/Duesterwald | Duesterwald/src/charakteren/Hexe.java | Java | gpl-3.0 | 1,930 |
package com.afg.MngProductDatabase.Model;
import java.util.ArrayList;
import java.util.List;
/**
* Created by joselu on 11/01/17.
*/
public class Invoice {
int id;
int idPharmacy;
String date;
int status;
List<InvoiceLine> lines;
public Invoice(int id, int idPharmacy, String date, int sta... | AmadorFernandez/ManageProduct_DataBase | app/src/main/java/com/afg/MngProductDatabase/Model/Invoice.java | Java | gpl-3.0 | 1,177 |
package org.disgea.charactergenerator.questions;
public class Option<T> {
private String OptionText;
private T value;
/**
* @param optionText
* @param value
*/
public Option(String optionText, T value) {
super();
OptionText = optionText;
this.value = value;
}
public String getOptionT... | Chase22/Disgaea-Multiverse | Disgaea-Multiverse/src/main/java/org/disgea/charactergenerator/questions/Option.java | Java | gpl-3.0 | 551 |
/*
* Copyright (c) 2019 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | obiba/magma | magma-datasource-csv/src/main/java/org/obiba/magma/datasource/csv/CsvValueTableWriter.java | Java | gpl-3.0 | 7,558 |
package org.skyllias.alomatia.source;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.FlavorEvent;
import java.awt.datatransfer.FlavorListener;
import java.awt.datatransfer.StringSelection;
/** Source that e... | skyllias/alomatia | src/main/java/org/skyllias/alomatia/source/ClipboardSource.java | Java | gpl-3.0 | 4,624 |
/**
* Konsep Bank
* --
* Setiap bank pasti memiliki nama
*/
public class Bank {
private String nama;
/**
* Class constructor, memaksa objek yang
* dikonstruksi agar memiliki nama
*
* @param nama Nama bank
*/
public Bank(String nama) {
this.nama = nama;
}
/**
* Mendapatkan nama bank dari obje... | nfrozi/oop-demonstration | java/relationship/Bank.java | Java | gpl-3.0 | 395 |
package com.strive.labs.extjs.practicum.controller;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springfra... | jmiremba/extjs6-practicum-webapp | src/main/java/com/strive/labs/extjs/practicum/controller/UserController.java | Java | gpl-3.0 | 2,705 |
/*
* This file is part of JuniperBot.
*
* JuniperBot 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.
* JuniperBot is distribute... | GoldRenard/JuniperBotJ | jb-api/src/main/java/ru/juniperbot/api/common/aspect/GuildIdAspect.java | Java | gpl-3.0 | 3,084 |
package com.taitsmith.swolemate.ui;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.widget.RemoteViews;
import com.taitsmith.swol... | taitsmith/Swolemate | app/src/main/java/com/taitsmith/swolemate/ui/LastWorkoutWidget.java | Java | gpl-3.0 | 2,286 |
/*
* 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... | Cerement/pixel-dungeon-legends | java/com/voicecrystal/pixeldungeonlegends/items/rings/RingOfElements.java | Java | gpl-3.0 | 2,356 |
/**
* Copyright (c) 2002-2012 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Foundati... | dksaputra/community | kernel/src/test/java/org/neo4j/kernel/impl/transaction/FakeXAResource.java | Java | gpl-3.0 | 4,054 |
/*
* Project: Buddata ebXML RegRep
* Class: CommonFunctions.java
* Copyright (C) 2008 Yaman Ustuntas
*
* 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... | IntecsSPA/buddata-ebxml-registry | ErgoRR/ErgoRR-commons/src/main/java/be/kzen/ergorr/commons/CommonFunctions.java | Java | gpl-3.0 | 3,091 |
package com.project.shared.utils;
import com.google.gwt.dom.client.Style.Unit;
import com.project.shared.data.Point2D;
import com.project.shared.data.Rectangle;
public class RectangleUtils
{
public final static Rectangle Build(Point2D corner1, Point2D corner2)
{
Rectangle rectangle = new Rectangle();
... | popsimple/popsimple | shared/src/com/project/shared/utils/RectangleUtils.java | Java | gpl-3.0 | 1,157 |
/*
* This file is part of RadPlanBio
*
* Copyright (C) 2013-2015 Tomas Skripcak
*
* 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) a... | ddRPB/rpb | radplanbio-core/src/main/java/de/dktk/dd/rpb/core/repository/admin/AuditLogRepositoryImpl.java | Java | gpl-3.0 | 2,655 |
package com.disappointedpig.midi.utility;
import java.math.BigInteger;
public class DataBufferReader {
public int read16(final DataBuffer rawInput) {
final int firstByte = (0x000000FF & ((int) rawInput.getBytes()[rawInput.getAndIncreaseStreamPositionByOne()]));
final int secondByte = (0x000000FF... | DisappointedPig/DPMIDI | midi/src/main/java/com/disappointedpig/midi/utility/DataBufferReader.java | Java | gpl-3.0 | 4,010 |
package net.dungeonrealms.game.world.entity.type.pet;
/**
* Created by Kieran on 10/15/2015.
*/
public enum EnumPets {
//Snowman - Christmas
//Killer Rabbit - Easter
//Green Baby Sheep - St.Patrick's
//Primed Creeper - 4th of July
//Cave Spider - Halloween
//Blue Baby Sheep - St.Andrew's
... | TheSecretLife/DR-API | game/src/main/java/net/dungeonrealms/game/world/entity/type/pet/EnumPets.java | Java | gpl-3.0 | 2,254 |
/**
* This class is used for displaying a number used for game score
*
* @author Krassy Boykinov
* @version 1.4
* @since 1.0
*/
import greenfoot.*;
public class Counter extends Actor {
public void setScore(int score) {
setImage(new GreenfootImage("Counter_" + score + ".png"));
}
}
| SnikSnak/Pong_Greenfoot | Counter.java | Java | gpl-3.0 | 318 |
package com.dragonballzrpg.enums;
/**
* Created by Carl on 13/04/2017.
*/
public enum ScreenName
{
MAIN_MENU_SCREEN, PLAY_SCREEN, CONTROLS_SCREEN
}
| RustedBot/DragonballZRPG | core/src/com/dragonballzrpg/enums/ScreenName.java | Java | gpl-3.0 | 155 |
/*
* Copyright (C) 2007-2013 Crafter Software Corporation.
*
* 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.
*
*... | cortiz/search | crafter-search-itest/src/test/java/org/craftercms/search/impl/SearchServiceIT.java | Java | gpl-3.0 | 12,333 |
/*
* This file is generated by jOOQ.
*/
package com.sms.sis.db.tables;
import com.sms.sis.db.Keys;
import com.sms.sis.db.Sugarcrm_4_12;
import com.sms.sis.db.tables.records.EmailTemplatesRecord;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import or... | SmartMedicalServices/SpringJOOQ | src/main/java/com/sms/sis/db/tables/EmailTemplates.java | Java | gpl-3.0 | 6,205 |
/*
* JasperReports/iReport WMS Component
*
* Copyright (C) 2013 Sourcepole AG
*
* JasperReports/iReport WMS Component 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
* ... | sourcepole/jasperreports-wms-component | jasperreports-wms-component/src/main/java/com/sourcepole/jasperreports/wmsmap/WmsMapElementImageProvider.java | Java | gpl-3.0 | 6,980 |
/*
* Created on 13 Apr 2017 ( Time 19:28:02 )
* Generated by Telosys Tools Generator ( version 2.1.1 )
*/
// This Bean has a basic Primary Key (not composite)
package com.abm.mainet.property.domain;
import java.io.Serializable;
//import javax.validation.constraints.* ;
//import org.hibernate.validator... | abmindiarepomanager/ABMOpenMainet | Mainet1.1/MainetServiceParent/MainetServiceProperty/src/main/java/com/abm/mainet/property/domain/SelfAssesmentMastEntity.java | Java | gpl-3.0 | 19,902 |
package com.sdesimeur.android.gpsfiction.activities;
import android.app.Activity;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.Path;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import androi... | sdesimeur/GpsFictionProjects | gpsFiction/src/main/java/com/sdesimeur/android/gpsfiction/activities/MapFragment.java | Java | gpl-3.0 | 21,056 |
package org.berry.support.asyncdrawable;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import org... | saispas/Berry | src/org/berry/support/asyncdrawable/TimeLineBitmapDownloader.java | Java | gpl-3.0 | 12,636 |
/*
* 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 com.lafargeholcim.planb.model;
/**
*
* @author Jordone3
*/
public class Task {
//aps Class Variables
... | The1stAlfa/PlanB_Beta | PlanB_Beta/src/main/java/com/lafargeholcim/planb/model/Task.java | Java | gpl-3.0 | 476 |
/*
* Copyright (c) 2017 "Neo4j, Inc." <http://neo4j.com>
*
* This file is part of Neo4j Graph Algorithms <http://github.com/neo4j-contrib/neo4j-graph-algorithms>.
*
* Neo4j Graph Algorithms is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... | neo4j-contrib/neo4j-graph-algorithms | tests/src/test/java/org/neo4j/graphalgo/impl/AllShortestPathsTest.java | Java | gpl-3.0 | 4,218 |
/* © Callum Lowcay 2015, 2016
This file is part of iso-game-engine.
iso-game-engine 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.
iso-ga... | CLowcay/iso-game-engine | src/main/java/isogame/editor/ElevationTool.java | Java | gpl-3.0 | 1,653 |
/*
* 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 main;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.xml.... | hedgehog01/PhoneXMLParser | src/main/ReadXML.java | Java | gpl-3.0 | 9,460 |
import java.util.ArrayList;
public class Solution {
public int minNumberInRotateArray(int [] array) {
if (array == null || array.length == 0) {
return 0;
}
if (array[0] < array[array.length - 1]) {
return array[0];
}
// 懒得想二分查找...
for (int i = ... | hustr/OnlineJudge | nowcoder/Arrow2Offer/offer06.java | Java | gpl-3.0 | 519 |
package fr.hnit.riverferry;
/*
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 ... | mdecorde/BAC76 | app/src/main/java/fr/hnit/riverferry/SettingsFragment.java | Java | gpl-3.0 | 1,073 |
/*
* Vector (http://code.google.com/p/java-vector/)
* Copyright (C) 2012, John Pritchard, Syntelos
*
* 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... | syntelos/java-vector | src/vector/geom/Ellipse.java | Java | gpl-3.0 | 849 |
/*
* Copyright (C) 2017 Jonas Zeiger <jonas.zeiger@talpidae.net>
*
* 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... | lyind/base | src/main/java/net/talpidae/base/server/WebSocketEndpoint.java | Java | gpl-3.0 | 1,287 |
package com.dabomstew.pkrandom.romhandlers;
/*----------------------------------------------------------------------------*/
/*-- AbstractDSRomHandler.java - a base class for DS rom handlers --*/
/*-- which standardises common DS functions. --*/
/*-- --*/
/*-- Part o... | samfin/evil-randomizer | src/com/dabomstew/pkrandom/romhandlers/AbstractDSRomHandler.java | Java | gpl-3.0 | 16,207 |
/*
* This is public domain software - that is, you can do whatever you want
* with it, and include it software that is licensed under the GNU or the
* BSD license, or whatever other licence you choose, including proprietary
* closed source licenses. I do ask that you leave this header in tact.
*
* If you make mo... | aripollak/PictureMap | libs/src/com/drewChanged/metadata/jpeg/test/JpegDirectoryTest.java | Java | gpl-3.0 | 3,096 |