code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package com.codedemigod.aids.services;
import java.util.ArrayList;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.PackageInfo;... | alaasalman/aids | src/com/codedemigod/aids/services/AIDSService.java | Java | gpl-3.0 | 3,907 |
package org.cgutman.usbip.server.protocol.dev;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import org.cgutman.usbip.utils.StreamUtils;
public class UsbIpSubmitUrb extends UsbIpDevicePacket {
public int transferFlags;
public int transferBufferLengt... | cgutman/USBIPServerForAndroid | src/org/cgutman/usbip/server/protocol/dev/UsbIpSubmitUrb.java | Java | gpl-3.0 | 2,083 |
/*
* This file is part of SparkTrail 3.
*
* SparkTrail 3 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.
*
* SparkTrail 3 is di... | DSH105/SparkTrail | src/main/java/com/dsh105/sparktrail/trail/type/Splash.java | Java | gpl-3.0 | 1,261 |
package sc.ndt.editor.fast.ui.wizard;
import java.io.File;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.osgi.util.TextProcessor;
import org.eclipse.ui.INewWizard;
import or... | cooked/NDT | sc.ndt.editor.fast.fst.ui/src/sc/ndt/editor/fast/ui/wizard/FASTNewProjectWizard.java | Java | gpl-3.0 | 2,821 |
package elaborate.editor.model;
/*
* #%L
* elab4-backend
* =======
* Copyright (C) 2011 - 2019 Huygens ING
* =======
* 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 ... | HuygensING/elaborate4-backend | elab4-backend/src/main/java/elaborate/editor/model/KeyValuePair.java | Java | gpl-3.0 | 1,078 |
package com.burgames.finder.presentationLayer.layoutModel;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.burgames.finder.R;
public class FinderActiv... | SteveMcGregor/SoulMeet | soulmeetAndroidClient/app/src/main/java/com/burgames/finder/presentationLayer/layoutModel/FinderActivity_Tab1.java | Java | gpl-3.0 | 569 |
/*
* 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... | mdsimmo/cake-dungeon | java/com/github/mdsimmo/pixeldungeon/scenes/InterlevelScene.java | Java | gpl-3.0 | 9,040 |
package webboards.client.display.svg;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.vectomatic.dom.svg.OMElement;
import org.vectomatic.dom.svg.OMNode;
import org.vectomatic.dom.svg.OMSVGImageElement;
import org.vectomatic.dom.svg.OMSVGPathSeg... | rzymek/obsolete-web-boards-gwt | engine/src/main/java/webboards/client/display/svg/SVGDisplay.java | Java | gpl-3.0 | 19,761 |
/**
* ====================================================================
* UPA (Unstructured Persistence API)
* Yet another ORM Framework
* ++++++++++++++++++++++++++++++++++
* Unstructured Persistence API, referred to as UPA, is a genuine effort
* to raise programming language frameworks managing relational da... | thevpc/upa | upa-api/src/main/java/net/thevpc/upa/config/Singleton.java | Java | gpl-3.0 | 2,392 |
package com.tinyivc.jdk.lang.thread;
import java.util.Random;
import org.junit.Test;
/**
* Created by tinyivc on 16/12/18.
*/
public class TestThreadGroup {
/**
* main方法的线程组名是main,从main线程中开个线程,这个线程和main线程的线程组是同一个
*/
@Test
public void subThread() {
System.out.println("main method thread group name ... | tinyivc/java-demo | src/test/java/com/tinyivc/jdk/lang/thread/TestThreadGroup.java | Java | gpl-3.0 | 2,162 |
package com.fuav.android.core.drone.variables.calibration;
import com.MAVLink.Messages.MAVLinkMessage;
import com.MAVLink.ardupilotmega.msg_mag_cal_progress;
import com.MAVLink.ardupilotmega.msg_mag_cal_report;
import com.fuav.android.core.MAVLink.MavLinkCalibration;
import com.fuav.android.core.drone.DroneInterfaces... | forgodsake/TowerPlus | Android/src/com/fuav/android/core/drone/variables/calibration/MagnetometerCalibrationImpl.java | Java | gpl-3.0 | 4,042 |
/*************************************************************************
* *
* This file is part of the 20n/act project. *
* 20n/act enables DNA prediction for synthetic biology/bioengineering. *
* Copyright (C) 201... | 20n/act | reachables/src/main/java/com/act/biointerpretation/l2expansion/PredictionSeed.java | Java | gpl-3.0 | 2,685 |
/*
RDF-Object Mapping Library is a Java library
for mapping SPARQL results to Java object(JavaBean, POJO etc.).
Copyright (C) 2015 KyeongWon Seo(kwSeo), JuHyeon Moon(jhMoon)
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 F... | kwSeo/RDF-Object-Mapper | src/java/team/afgm/rdfom/mapper/MapperConfigImpl.java | Java | gpl-3.0 | 2,199 |
/**
* Classes that represent entries in an MPM style definition.
* @author Axel Berndt
*/
package meico.mpm.elements.styles.defs; | cemfi/meico | src/meico/mpm/elements/styles/defs/package-info.java | Java | gpl-3.0 | 132 |
/*
* Copyright (C) 2016 MCME
*
* 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 i... | MCME/MCME-Architect | src/main/java/com/mcmiddleearth/architect/Modules.java | Java | gpl-3.0 | 5,038 |
/*
* This file is part of Gradoop.
*
* Gradoop 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.
*
* Gradoop is distributed in th... | Venom590/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/tostring/functions/GraphHeadToEmptyString.java | Java | gpl-3.0 | 1,227 |
package edu.colostate.vchill.file;
import edu.colostate.vchill.ChillDefines;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
/**
* Reads SKU Header of CHILL file
*
* @author Justin Carlson
* @author Brian Eriksson
* @author Jochen Deyke
* @version 2006-03-31
* @created June 17... | CSU-RADAR-GROUP/VCHILL | src/edu/colostate/vchill/file/FileSKUHeader.java | Java | gpl-3.0 | 2,655 |
/*
*************************************************************************************************
* OrganicSmartHome [Version 2.0] is a framework for energy management in intelligent buildings
* Copyright (C) 2014 Florian Allerding (florian.allerding@kit.edu) and Kaibin Bao and
* Ingo Mause... | organicsmarthome/OSHv2 | osh_busdriver_mielegateway/generated_src/edu/kit/aifb/osh/XsdCtProgram.java | Java | gpl-3.0 | 6,607 |
package com.nomoretools.application;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
import org.springframework.web.filter.C... | ZsZs/nomoretools | nomoretools-smart-document/src/main/java/com/nomoretools/application/DocumentConfig.java | Java | gpl-3.0 | 955 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclectic.idc.core;
import org.eclectic.idc.qool.RequiredQueue;
import org.eclectic.idc.qool.Queue;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Imported Model</b></em>'.
* <!-- e... | jesusc/eclectic | plugins/org.eclectic.idc/src-gen/org/eclectic/idc/core/ImportedModel.java | Java | gpl-3.0 | 1,565 |
package org.thoughtcrime.securesms.preferences.widgets;
import androidx.annotation.NonNull;
public class NotificationPrivacyPreference {
private final String preference;
public NotificationPrivacyPreference(String preference) {
this.preference = preference;
}
public boolean isDisplayContact() {
ret... | stinsonga/Signal-Android | app/src/main/java/org/thoughtcrime/securesms/preferences/widgets/NotificationPrivacyPreference.java | Java | gpl-3.0 | 546 |
/*
* Copyright (C) 2010- Peer internet solutions
*
* This file is part of be.artoria.belfortapp.mixare.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licen... | oSoc14/Artoria | app/src/main/java/be/artoria/belfortapp/mixare/lib/reality/PhysicalPlace.java | Java | gpl-3.0 | 5,060 |
package edu.uminho.biosynth.core.data.integration.neo4j;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.neo4j.cypher.javacompat.ExecutionEngine;
import org.neo4j.cypher.javacompat.ExecutionResult;
import or... | Fxe/biosynth-integration | src/main/java/edu/uminho/biosynth/core/data/integration/neo4j/Neo4jMetaboliteIntegration.java | Java | gpl-3.0 | 3,428 |
package org.jbm.element;
import org.jbm.util.ASMUtil;
import org.objectweb.asm.tree.FieldNode;
import java.lang.reflect.Modifier;
/**
* @author : const_
*/
public class FieldElement {
private ClassElement parent;
private FieldNode node;
public FieldElement(ClassElement parent, FieldNode node) {
... | constt/jbm | src/main/java/org/jbm/element/FieldElement.java | Java | gpl-3.0 | 991 |
package org.d2j.game.game.fights.buffs;
import org.d2j.common.client.protocol.enums.SpellEffectsEnum;
import org.d2j.game.game.fights.AppendableFightHandlerAction;
import org.d2j.game.game.fights.FightException;
import org.d2j.game.game.fights.IFighter;
import org.d2j.game.game.spells.effects.Effect;
import org.d2j.ga... | Emudofus/d2j | src/org/d2j/game/game/fights/buffs/EffectContainerBuff.java | Java | gpl-3.0 | 1,698 |
/**
* 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... | vertigo17/Cerberus | source/src/main/java/org/cerberus/engine/execution/IRobotServerService.java | Java | gpl-3.0 | 1,714 |
package cc.blynk.server.core.model.widgets.controls;
import cc.blynk.server.core.model.Pin;
import cc.blynk.server.core.model.widgets.HardwareSyncWidget;
import cc.blynk.server.core.model.widgets.MultiPinWidget;
import cc.blynk.utils.StringUtils;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerC... | Gspin96/blynk-server | server/core/src/main/java/cc/blynk/server/core/model/widgets/controls/RGB.java | Java | gpl-3.0 | 3,110 |
/*
* This file is part of RskJ
* Copyright (C) 2017 RSK Labs Ltd.
* (derived from ethereumJ library, Copyright (c) 2016 <ether.camp>)
*
* 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 Software Foundati... | libdeos/deos-rsksmart | lib/rskj/rskj-core/src/main/java/org/ethereum/config/BlockchainConfig.java | Java | gpl-3.0 | 1,364 |
import java.io.*;
import java.util.*;
/**
* Lecteur de cartes au format spécifié dans le sujet.
* @author Enseignants Ensimag
* @date -
*/
public class LecteurDonnees {
private DonneesSimulation simulation;
private String fichierDonnees;
private Scanner scanner;
/**
* Constructeur du lec... | robinmoussu/ensimag-firemen | src/LecteurDonnees.java | Java | gpl-3.0 | 9,127 |
/*
* This file is part of Cubeshaft
* Copyright Naronco 2013
* Sharing and using is only allowed with written permission of Naronco
*/
package com.naronco.cubeshaft.level;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import com.naronco.cubeshaft.Cubeshaft;
import com.naronco.cubesh... | Melanistic/CubeShaft | src/com/naronco/cubeshaft/level/Level.java | Java | gpl-3.0 | 8,411 |
package Aula_1.HelloWorld;
/**
* Created by Miguel Silva on 16/02/2017.
*/
public class Ponto2D {
//Criação de Variáveis X e Y
protected int x; //Protected faz com que as subclasses possam aceder e modificar estas variáveis
protected int y;
//Criação de Construtor
Ponto2D() {
... | mini890/2D-Computer-Graphics | src/Aula_1/HelloWorld/Ponto2D.java | Java | gpl-3.0 | 759 |
/**
* 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/client/ui/navigationDrawer/DvrActionRow.java | Java | gpl-3.0 | 1,572 |
package org.obiba.opal.web.gwt.app.client.ui.celltable;
import com.google.gwt.user.cellview.client.Column;
public class ActionsColumn<T> extends Column<T, T> implements HasActionHandler<T> {
public static final String REMOVE_ACTION = "Remove";
public static final String EDIT_ACTION = "Edit";
public ActionsCo... | apruden/opal | opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/ui/celltable/ActionsColumn.java | Java | gpl-3.0 | 934 |
/*******************************************************************************
* Copyright (c) 2013 Jens Kristian Villadsen.
* 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 availabl... | jkiddo/jolivia | jolivia.protocol/src/main/java/org/dyndns/jkiddo/dmp/chunks/media/RemotePersistentID.java | Java | gpl-3.0 | 992 |
package com.jesseboyd.warGame;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class WarApp {
private List<WarPlayer> playerList;
public static void main(String[] args) {
WarApp w = new WarApp();
Scanner scan = new Scanner(System.in);
System.out.println("Enter number of ... | jessewriter/Java-Card-Game-War | JavaWarCardGame/src/com/jesseboyd/warGame/WarApp.java | Java | gpl-3.0 | 1,471 |
package net.sf.dz3.device.actuator.servomaster;
/**
* Limit calibration object for {@link ServoDamper}.
*
* @author Copyright © <a href="mailto:vt@homeclimatecontrol.com">Vadim Tkachenko</a> 2001-2009
*/
public class LimitCalibration extends Calibration<Double> {
public LimitCalibration(double min, ... | home-climate-control/dz | dz3-servomaster/src/main/java/net/sf/dz3/device/actuator/servomaster/LimitCalibration.java | Java | gpl-3.0 | 367 |
package org.activityinfo.legacy.shared.impl.pivot.calc;
import org.activityinfo.legacy.shared.model.SiteDTO;
import org.activityinfo.legacy.shared.reports.content.DimensionCategory;
import org.activityinfo.legacy.shared.reports.content.EntityCategory;
import org.activityinfo.legacy.shared.reports.model.Dimension;
pub... | LeoTremblay/activityinfo | server/src/main/java/org/activityinfo/legacy/shared/impl/pivot/calc/PartnerAccessor.java | Java | gpl-3.0 | 757 |
package utilitario;
/**
* Classe responsável pela implementação de um controle de mensagens de erro
* @author Rodrigo Guimarães
* @version 1.0
* @since 01/12/2016
*/
public abstract class Erro{
/**
* Mensagem de erro na tentativa de executar um comando de terminal, via aplicação
* @param comando Comando de o... | rodrigofegui/UnB | 2016.2/Sistemas de Informação/Trabalho 3/Codificação/src/utilitario/Erro.java | Java | gpl-3.0 | 8,027 |
/*
* Copyright (C) 2014 Center of Excellence in Information Assurance
*
* 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 ve... | CoEIA/DEM | src/edu/coeia/tasks/CaseDuplicationTask.java | Java | gpl-3.0 | 4,241 |
package com.addondowner;
import javax.swing.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
/**
* Created by johlar on 12/03/15.
*
*/
public class DelayedDataSaverWorker extends SwingWorker<String, Addon> {
private static final int delay = 100... | johlra/AddonDowner | src/com/addondowner/DelayedDataSaverWorker.java | Java | gpl-3.0 | 1,230 |
package mypackage;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.component.RichTextField;
import net.rim.device.api.ui.container.MainScreen;
import net.ri... | shinroo/BackUP | src/mypackage/HomeScreen.java | Java | gpl-3.0 | 2,396 |
package lu.kremi151.minamod.client.render.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.util.math.MathHelper;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;... | kremi151/MinaMod | src/main/java/lu/kremi151/minamod/client/render/model/ModelWookie.java | Java | gpl-3.0 | 6,441 |
package br.org.otus;
import br.org.otus.security.AuthorizationHeaderReader;
import br.org.otus.security.context.SecurityContext;
import javax.inject.Inject;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.core.HttpHeaders;
public abstract class AuthenticationResource {
@Inject
protected Securit... | ccem-dev/otus-api | source/otus-rest/src/main/java/br/org/otus/AuthenticationResource.java | Java | gpl-3.0 | 700 |
package com.moez.QKSMS.data;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
public class SidebandDBSource {
public static final String MESSAGE_SENT = "1";
public stati... | uw-ictd/dfs-phishing-sms-client | QKSMS/src/main/java/com/moez/QKSMS/data/SidebandDBSource.java | Java | gpl-3.0 | 12,622 |
/*
* Copyright (C) 2014-2016 Jean-Christophe Malapert
*
* 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... | malapert/JWcs | src/test/java/io/github/malapert/jwcs/crs/SuperGalacticToEclipticJ2000Test.java | Java | gpl-3.0 | 1,425 |
package xorg.webservice.app.models.dao.services.databse.daoimpl.user;
import org.sql2o.Connection;
import org.sql2o.Sql2oException;
import xorg.webservice.app.models.dao.factory.AbstractDaoFactory;
import xorg.webservice.app.models.dao.repository.user.OmnieCardRepository;
import xorg.webservice.app.models.dao.services... | balyszyn/WebServise | src/main/java/xorg/webservice/app/models/dao/services/databse/daoimpl/user/OmnieCardDaoService.java | Java | gpl-3.0 | 3,969 |
package net.minecraft.network;
import com.google.common.collect.Lists;
import com.google.common.primitives.Doubles;
import com.google.common.primitives.Floats;
import com.google.common.util.concurrent.Futures;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;
import java.io... | Severed-Infinity/technium | build/tmp/recompileMc/sources/net/minecraft/network/NetHandlerPlayServer.java | Java | gpl-3.0 | 80,654 |
package de.uni_potsdam.hpi.asg.delaymatch.profile;
import java.util.HashSet;
import java.util.Set;
/*
* Copyright (C) 2016 Norman Kluge
*
* This file is part of ASGdelaymatch.
*
* ASGdelaymatch is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | nkluge/asgdelaymatch | src/main/java/de/uni_potsdam/hpi/asg/delaymatch/profile/Port.java | Java | gpl-3.0 | 3,747 |
/*
* 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... | highsad/iDesktop-Cross | Controls/src/net/infonode/gui/icon/button/WindowIcon.java | Java | gpl-3.0 | 1,710 |
/**
* Copyright 2012-2016 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/test/java/com/jitlogic/zorka/core/test/spy/support/cbor/TestSTraceHandler.java | Java | gpl-3.0 | 1,433 |
/*
* AvaTax Brazil
* The Avatax-Brazil API exposes the most commonly services available for interacting with the AvaTax-Brazil services, allowing calculation of taxes, issuing electronic invoice documents and modifying existing transactions when allowed by tax authorities. This API is exclusively for use by business... | Avalara/avataxbr-clients | java-client/src/main/java/io/swagger/client/model/LocationSecondaryStateTaxId.java | Java | gpl-3.0 | 2,942 |
/*
Copyright (C) 2018 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 the hop... | bengtmartensson/IrpTransmogrifier | src/main/java/org/harctoolbox/ircore/ProntoParser.java | Java | gpl-3.0 | 2,769 |
package hu.elte.assignment.config;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.sp... | AlexAegis/elte-appdev | src/main/java/hu/elte/assignment/config/ResourceServerConfig.java | Java | gpl-3.0 | 1,625 |
package visGrid.diagram.edit.commands;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResult;
import org.eclipse.gmf.runtim... | mikesligo/visGrid | ie.tcd.gmf.visGrid.diagram/src/visGrid/diagram/edit/commands/CapbankCreateCommand.java | Java | gpl-3.0 | 2,489 |
// Fig. 21.1: LoadImageAndScale.java
// Load an image and display it in its original size and twice its
// original size. Load and display the same image as an ImageIcon.
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JApplet;
public class LoadImageAndScale extends J... | meisamhe/GPLshared | Programming/JavaHTP6e_examples/ch21/fig21_01/LoadImageAndScale.java | Java | gpl-3.0 | 2,155 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | s20121035/rk3288_android5.1_repo | external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/FramesTest.java | Java | gpl-3.0 | 19,749 |
/**
* Copyright 2016-present Telldus Technologies AB.
*
* This file is part of the Telldus Live! app.
*
* Telldus Live! app is free : 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
*... | telldus/telldus-live-mobile-v3 | android/app/src/main/java/com/telldus/live/mobile/API/DevicesAPI.java | Java | gpl-3.0 | 19,074 |
/**
Copyright (C) 2016 Florian Waltenberger
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... | Walti91/stab | src/main/java/dao/dummy/EnrollmentDAO.java | Java | gpl-3.0 | 1,262 |
package com.xda.one.util;
import com.xda.one.R;
import com.xda.one.api.model.interfaces.Forum;
import com.xda.one.api.model.response.container.ResponsePostContainer;
import com.xda.one.model.augmented.AugmentedUnifiedThread;
import com.xda.one.ui.ForumFragment;
import com.xda.one.ui.PostPagerFragment;
import com.xda.o... | tasrs/XDA-One-master | android/src/main/java/com/xda/one/util/FragmentUtils.java | Java | gpl-3.0 | 4,228 |
package com.lousylynx.otfl.library.register.object;
import com.lousylynx.otfl.api.register.ObjectType;
import com.lousylynx.otfl.api.register.RegistryObject;
import com.lousylynx.otfl.library.OtflLibrary;
import lombok.Getter;
import lombok.Setter;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLoca... | LousyLynx/On-The-Fly | src/main/java/com/lousylynx/otfl/library/register/object/ItemObject.java | Java | gpl-3.0 | 1,199 |
package com.client.therevgo.services.customviews;
import android.content.Context;
import android.graphics.Typeface;
import android.support.v7.widget.AppCompatButton;
import android.util.AttributeSet;
import com.client.therevgo.services.constants.Config;
/**
* Created by shubham on 23/6/16.
*/
public class CustomBu... | bshubham80/ThereVGo | app/src/main/java/com/client/therevgo/services/customviews/CustomButton.java | Java | gpl-3.0 | 910 |
package com.bukkit.gemo.FalseBook.IC.ICs.worldedit;
import com.bukkit.gemo.FalseBook.IC.ICs.BaseChip;
import com.bukkit.gemo.FalseBook.IC.ICs.BaseIC;
import com.bukkit.gemo.FalseBook.IC.ICs.ICGroup;
import com.bukkit.gemo.FalseBook.IC.ICs.InputState;
import com.bukkit.gemo.utils.ICUtils;
import com.bukkit.gemo.utils.S... | Escapecraft/FalseBook | src/main/java/com/bukkit/gemo/FalseBook/IC/ICs/worldedit/MC1240.java | Java | gpl-3.0 | 4,497 |
package org.cache2k.test.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/test/java/org/cache2k/test/core/BasicCacheTest.java | Java | gpl-3.0 | 21,491 |
/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is availabl... | Bunsan/ForestryMC | src/main/java/forestry/factory/recipes/SqueezerRecipeManager.java | Java | gpl-3.0 | 4,273 |
/*
* Copyright (C) 2019-2020 Alexandre Carbenay
*
* This file is part of Cena Project.
*
* Cena Project 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) ... | adhuc-projects/cena | src/test/java/org/adhuc/cena/menu/recipes/QueryRecipesShould.java | Java | gpl-3.0 | 3,592 |
package edu.usfca;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.util.Iterator;
import javax.swing.JPanel;
/**
* The individual player view displayed on the right. It automatically adjust the
* size. The pixels have one-to-one ... | theintencity/sunspot-racing | Project4BaseStation/src/edu/usfca/PlayerView.java | Java | gpl-3.0 | 10,781 |
/*
* 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 horserace.models;
import jdk.nashorn.internal.ir.Symbol;
/**
*
* @author JerryJerr
*/
public class Card {
private... | Jurricane/HorseRace | NetBeansProjects/HorseRace/src/horserace/models/Card.java | Java | gpl-3.0 | 735 |
package me.lancer.airfree.activity;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import android.app.ProgressDialog;
import android.content.ContentResolver;
import android.content.Intent;
import android.content.Shared... | 1anc3r/AirFree-Client | app/src/main/java/me/lancer/airfree/activity/ImageActivity.java | Java | gpl-3.0 | 7,394 |
/*
* Twittnuker - Twitter client for Android
*
* Copyright (C) 2013-2015 vanita5 <mail@vanita5.de>
*
* This program incorporates a modified version of Twidere.
* Copyright (C) 2012-2015 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under t... | MaxSmile/twittnuker | twittnuker.component.common/src/main/java/de/vanita5/twittnuker/api/twitter/model/GeoLocation.java | Java | gpl-3.0 | 3,899 |
/**
* Natural Interactivity Tools Engineering
* Copyright (c) 2003, Jean Carletta, Jonathan Kilgour, Judy Robertson
* See the README file in this distribution for licence.
*/
package net.sourceforge.nite.meta;
/**
* Information about an Ontology. An example is an ontology of gesture
* types. Only one element n... | boompieman/iim_project | nxt_1.4.4/src/net/sourceforge/nite/meta/NOntology.java | Java | gpl-3.0 | 801 |
/*
* Copyright (C) 2016 vw.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distr... | wellboyvg/workgear | client/src/docholder/IMGroupDesc.java | Java | gpl-3.0 | 1,154 |
public class Solution {
public int countNumbersWithUniqueDigits(int n) {
if(n == 0) return 1;
if(n == 1) return 10;
int tmp = n-1;
int count = 9;
int down = 9;
while(tmp-- > 0){
count *= down--;
}
return count+ countNumbersWithUniqueDigits... | zhaoch93/leetcode | 357. Count Numbers with Unique Digits.java | Java | gpl-3.0 | 335 |
/**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the Laser Logic Simulator
*
* Laser Logic Simulator 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... | BenLand100/Lasers | src/lasers/MethodAction.java | Java | gpl-3.0 | 2,378 |
/*
* Copyright (c) 2002 and later by MH Software-Entwicklung. All Rights Reserved.
*
* JTattoo is multiple licensed. If your are an open source developer you can use
* it under the terms and conditions of the GNU General Public License version 2.0
* or later as published by the Free Software Foundation.
*
* see: gp... | S1Products/S1WifiServer | Servers/S1WifiServer/JTattoo/com/jtattoo/plaf/texture/TextureMenuUI.java | Java | gpl-3.0 | 3,863 |
/*******************************************************************************
* This file is part of sqUIrt
*
* Copyright (C) 2009 Ori Rawlings
*
* sqUIrt is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* ... | nuigroup/hci-for-java | src/nui/squirt/component/PhysicsCircle.java | Java | gpl-3.0 | 3,044 |
package com.supermap.desktop.WorkflowView.meta.metaProcessImplements.typeConversion;
import com.supermap.data.*;
import com.supermap.desktop.Application;
import com.supermap.desktop.WorkflowView.ProcessOutputResultProperties;
import com.supermap.desktop.WorkflowView.meta.MetaKeys;
import com.supermap.desktop.process.P... | SuperMap-iDesktop/SuperMap-iDesktop-Cross | WorkflowView/src/main/java/com/supermap/desktop/WorkflowView/meta/metaProcessImplements/typeConversion/MetaProcessEPSToSimple.java | Java | gpl-3.0 | 8,090 |
package com.archeinteractive.dev.commonutils;
import com.archeinteractive.dev.commonutils.network.packets.PacketListener;
import org.bukkit.plugin.java.JavaPlugin;
import com.archeinteractive.dev.commonutils.ui.MenuAPI;
public class CommonUtils extends JavaPlugin {
private static CommonUtils plugin;
privat... | ewized/CommonUtils | src/main/java/com/archeinteractive/dev/commonutils/CommonUtils.java | Java | gpl-3.0 | 1,190 |
/* This file is part of Gralog, Copyright (c) 2016-2018 LaS group, TU Berlin.
* License: https://www.gnu.org/licenses/gpl.html GPL version 3 or later. */
package gralog.gralogfx;
import java.io.File;
import java.lang.reflect.Field;
import java.sql.SQLOutput;
import java.util.ArrayList;
import com.rits.cloning.Clone... | gralog/gralog | gralog-fx/src/main/java/gralog/gralogfx/StructurePane.java | Java | gpl-3.0 | 50,760 |
/*
* SQLSyntaxDocument.java
*
* Copyright (C) 2002-2013 Takis Diakoumis
*
* 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 any later version.
*
* T... | Black-millenium/rdb-executequery | java/src/org/executequery/gui/text/syntax/SQLSyntaxDocument.java | Java | gpl-3.0 | 27,467 |
package org.activityinfo.server.report.generator;
/*
* #%L
* ActivityInfo Server
* %%
* Copyright (C) 2009 - 2013 UNICEF
* %%
* 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... | LeoTremblay/activityinfo | server/src/main/java/org/activityinfo/server/report/generator/ListGenerator.java | Java | gpl-3.0 | 1,432 |
package com.baeldung.stringisnumeric;
import static org.assertj.core.api.Assertions.assertThat;
import org.apache.commons.lang3.math.NumberUtils;
import org.junit.Test;
public class NumberUtilsIsCreatableUnitTest {
@Test
public void givenApacheCommons_whenUsingIsParsable_thenTrue() {
// Valid Numbers... | Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/java-strings/src/test/java/com/baeldung/stringisnumeric/NumberUtilsIsCreatableUnitTest.java | Java | gpl-3.0 | 1,169 |
/*******************************************************************************
* Copyright (c) 2006-2011 Gluster, Inc. <http://www.gluster.com>
* This file is part of Gluster Management Console.
*
* Gluster Management Console is free software; you can redistribute
* it and/or modify it under the terms of the GNU... | gluster/gmc | src/org.gluster.storage.management.core/src/org/gluster/storage/management/core/model/ClusterListener.java | Java | gpl-3.0 | 1,966 |
/*
* DefaultDatabaseConnection.java
*
* Copyright (C) 2002-2017 Takis Diakoumis
*
* 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 any later version.... | redsoftbiz/executequery | src/org/executequery/databasemediators/spi/DefaultDatabaseConnection.java | Java | gpl-3.0 | 17,748 |
package com.thoughtworks.gauge.markdownPreview;
import com.intellij.ide.browsers.OpenInBrowserRequest;
import com.intellij.ide.browsers.WebBrowserUrlProvider;
import com.intellij.notification.Notification;
import com.intellij.notification.NotificationType;
import com.intellij.notification.Notifications;
import com.int... | getgauge/Intellij-Plugin | src/com/thoughtworks/gauge/markdownPreview/GaugeWebBrowserPreview.java | Java | gpl-3.0 | 3,716 |
package com.jyavu.jytsu.core.client.inject;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Created by christopher on 4/14/14.
*/
@Target({ElementType.TYPE})
public @interface ImplementedBy {
Class<?> value();
}
| jyavu/jytsu | jytsu/src/main/java/com/jyavu/jytsu/core/client/inject/ImplementedBy.java | Java | gpl-3.0 | 255 |
/*
* Copyright (C) 2010 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... | hessan/artenus | src/main/java/com/annahid/libs/artenus/security/Obfuscator.java | Java | gpl-3.0 | 2,023 |
/*
* 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/classifiers/META/ClassificationViaRegression.java | Java | gpl-3.0 | 5,398 |
/*
* This file is part of EchoPet.
*
* EchoPet is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EchoPet is distributed in th... | lol768/EchoPet | modules/v1_7_R2/src/main/java/com/dsh105/echopet/compat/nms/v1_7_R2/entity/type/EntityVillagerPet.java | Java | gpl-3.0 | 2,603 |
package itaf.WsProductService;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>removeProductsFromShelfResponse complex typeµÄ Java Àà¡£
*
* <p>ÒÔÏÂģʽƬ¶ÎÖ¸¶¨°üº¬ÔÚ´... | zpxocivuby/freetong_mobile_server | itaf-aggregator/itaf-ws-simulator/src/test/java/itaf/WsProductService/RemoveProductsFromShelfResponse.java | Java | gpl-3.0 | 1,438 |
package net.antineutrino.android.criminalintent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.wi... | theJollySin/CriminalIntent | app/src/main/java/net/antineutrino/android/criminalintent/CrimeFragment.java | Java | gpl-3.0 | 2,868 |
package com.buschmais.jqassistant.core.plugin.impl;
import com.buschmais.jqassistant.core.analysis.spi.AnalyzerPluginRepository;
import com.buschmais.jqassistant.core.plugin.api.PluginConfigurationReader;
import com.buschmais.jqassistant.core.plugin.api.PluginRepository;
import com.buschmais.jqassistant.core.rule.spi.... | buschmais/jqa-core-framework | plugin/src/main/java/com/buschmais/jqassistant/core/plugin/impl/PluginRepositoryImpl.java | Java | gpl-3.0 | 2,848 |
/**
*
*/
package algorithms.centralityAlgorithms.betweenness.brandes;
import javolution.util.FastList;
import javolution.util.Index;
import server.execution.AbstractExecution;
import topology.BasicVertexInfo;
import topology.GraphInterface;
import algorithms.centralityAlgorithms.tm.AbsTrafficMatrix;
impo... | puzis/kpp | src/algorithms/centralityAlgorithms/betweenness/brandes/WeightedUlrikNG.java | Java | gpl-3.0 | 4,032 |
/*
* 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) 2017 Kristian Kutin
*
* This program is free software: you can redistribute it and/or modi... | gammalgris/jmul | Utilities/Metainfo/src/jmul/metainfo/annotations/Modified.java | Java | gpl-3.0 | 1,494 |
package com.yc.common;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class MyProperties extends Properties {
private static MyProperties myProperties;
private MyProperties() throws IOException {
InputStream iss = MyProperties.class.getClassLoader().getResou... | wzabc/DroolsTest | IntegralProject/src/main/java/com/yc/common/MyProperties.java | Java | gpl-3.0 | 544 |
/*
* DynamicComboBoxModel.java
*
* Copyright (C) 2002-2017 Takis Diakoumis
*
* 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 any later version.
*
... | redsoftbiz/executequery | src/org/underworldlabs/swing/DynamicComboBoxModel.java | Java | gpl-3.0 | 2,564 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package lites.dcd;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Toolkit;
import java.io.IOException;
import java.net.DatagramPac... | D-Wave/dcd | LitES_dcd/src/lites/dcd/Dcd.java | Java | gpl-3.0 | 8,950 |
package com.shadorc.shadbot.api.json.dbl;
import com.fasterxml.jackson.annotation.JsonProperty;
public record TopGgWebhookResponse(@JsonProperty("user") String userId) {
}
| Shadorc/Shadbot | src/main/java/com/shadorc/shadbot/api/json/dbl/TopGgWebhookResponse.java | Java | gpl-3.0 | 175 |
/*******************************************************************************
*Copyright (c) 2009 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, only ver... | sosilent/euca | clc/modules/wsstack/src/main/java/com/eucalyptus/ws/handlers/WalrusRESTLoggerInbound.java | Java | gpl-3.0 | 5,741 |
package net.foxopen.fox.cache;
import net.foxopen.fox.ex.ExCache;
/**
* Implementation of a Least Recently Used cache. LRU caches evict entries which were used least recently when
* the cache's capacity is reached. <br/><br/>
*
* This implementation currently uses Google Guava, and as such is subject to the beha... | Fivium/FOXopen | src/main/java/net/foxopen/fox/cache/FoxLRUCache.java | Java | gpl-3.0 | 1,720 |
/*
* $Id: LoginLookup.java,v 1.2 2005/06/03 15:47:44 gimmi Exp $
* Created on 3.6.2005
*
* Copyright (C) 2005 Idega Software hf. All Rights Reserved.
*
* This software is the proprietary information of Idega hf.
* Use is subject to license terms.
*/
package is.idega.idegaweb.golf.block.login.presentation;
impo... | idega/platform2 | src/is/idega/idegaweb/golf/block/login/presentation/LoginLookup.java | Java | gpl-3.0 | 4,557 |