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 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jdk/test/java/lang/instrument/TransformMethodTest.java | Java | gpl-2.0 | 2,354 |
/*
* Copyright 1996-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jdk/src/share/classes/sun/security/ssl/HandshakeInStream.java | Java | gpl-2.0 | 6,296 |
package de.l3s.ppt.rcp;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.ui.console.IConsoleConstants;
public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
String editorA... | elitak/peertrust | src/de/l3s/ppt/rcp/Perspective.java | Java | gpl-2.0 | 554 |
/*
* Copyright 2006-2012 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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... | berlinguyinca/mzmine-fork | src/main/java/net/sf/mzmine/modules/peaklistmethods/alignment/ransac/AlignmentPreviewTooltipGenerator.java | Java | gpl-2.0 | 1,795 |
package org.regkas.service.api.bean;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import org.boatpos.common.service.api.bean.AbstractBean;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
imp... | andi-git/boatpos | regkas-server/regkas-server-service/regkas-server-service-api/src/main/java/org/regkas/service/api/bean/BillTaxSetElementBean.java | Java | gpl-2.0 | 2,443 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | christianchristensen/resin | modules/resin/src/com/caucho/jsp/java/JspDirectiveInclude.java | Java | gpl-2.0 | 3,858 |
/*
* 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 de.cynapsys.homeautomation.jaas;
import java.security.Principal;
/**
*
* @author mouadh
*/
public class RolePrincipal impl... | mamouuda/home | HomeAutomationHibernate/src/main/java/de/cynapsys/homeautomation/jaas/RolePrincipal.java | Java | gpl-2.0 | 573 |
/*
* (c) 2016 Abil'I.T. http://abilit.eu/
*
* 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... | SCADA-LTS/Scada-LTS | src/org/scada_lts/dao/migration/mysql/V1__BaseVersion.java | Java | gpl-2.0 | 31,552 |
package org.openweathermap.asynctask.base;
import android.app.Activity;
import android.app.Service;
import android.content.Context;
import android.os.AsyncTask;
/**
* Inherit this method to run and async tasks and return its result to
* the UI thread or service. An activity or service reference must be provided to... | retroinfosys/android-weather-demo-application | ink-weather/src/org/openweathermap/asynctask/base/BaseAsyncTask.java | Java | gpl-2.0 | 2,506 |
package com.projectzed.mod.container.slots;
import com.projectzed.mod.container.ITileContainer;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.inventory.SlotCrafting;
import net.minecraft.item.ItemStack;... | hockeyhurd/Project-Zed | com/projectzed/mod/container/slots/SlotAdvancedCrafting.java | Java | gpl-2.0 | 1,455 |
package com.irina.xcep.test;
public class ScanTest {
/*
*
* 1. testNewProductOk: Para esta proba comprobamos que o código é novo na base de datos do sistema, para elo introducimos como idbarcode 1234567890, como este código de barras non está engadido na base de datos, permítenos acceder o formulario de no... | peke87ou/XCep2 | XCePTest/src/com/irina/xcep/test/ScanTest.java | Java | gpl-2.0 | 1,063 |
/*
* Copyright (C) 2011-2015 Tri plus grupa d.o.o <info@3plus.hr>
* All rights reserved.
*/
package com.zipato.model.attribute;
import android.util.Log;
import com.zipato.model.SimpleRepository;
import com.zipato.v2.client.RestObjectException;
import org.springframework.http.HttpEntity;
import org.springframew... | 3plus/zipato-android-app | zipato-lib/src/main/java/com/zipato/model/attribute/AttributeValueRepository.java | Java | gpl-2.0 | 4,731 |
package me.tomkent.chemcraft.Blocks;
import me.tomkent.chemcraft.ChemCraft;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
public class oreSelenium extends Block{
private static String blockName = "Selenium Ore";
private static String ... | tommykent1210/ChemCraft | Development/src/main/java/me/tomkent/chemcraft/Blocks/oreSelenium.java | Java | gpl-2.0 | 663 |
package ie.lyit.adt.tests.datastructures;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import ie.lyit.adt.datastructures.Queue;
import java.util.NoSuchElementException;
import org.junit.Test;
/**
* Queue unit tests
*
* @autho... | markuskorbel/adt.reference | tests/ie/lyit/adt/tests/datastructures/QueueTests.java | Java | gpl-2.0 | 3,435 |
package info.fulloo.trygve.lntextpane;
/*
* Trygve IDE 2.0
* Copyright (c)2016 James O. Coplien, jcoplien@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 2... | egonelbre/trygve | src/main/java/info/fulloo/trygve/lntextpane/NumberedParagraphView.java | Java | gpl-2.0 | 2,637 |
import java.util.Scanner;
import graphics.Color;
import graphics.Ellipse;
import graphics.Line;
import graphics.Rectangle;
import graphics.Text;
public class Ej2 {
public static void main(String[] args) throws InterruptedException {
Rectangle tablero;
int tamaño,num_figuras;
int figura;
Colo... | angelazarquiel/programacion | Prueba131129/src/Ej2.java | Java | gpl-2.0 | 1,999 |
/*
* Digital Audio Access Protocol (DAAP)
* Copyright (C) 2004 Roger Kapsi, info at kapsi dot 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 2 of the License, or
* ... | knocte/getittogether | src/de/kapsi/net/daap/DaapStreamException.java | Java | gpl-2.0 | 1,289 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.04.... | beemsoft/techytax | techytax-xbrl/src/main/java/nl/nltaxonomie/nt13/bd/_20190220_b/dictionary/bd_tuples_ext1/DivideTestamentPresentation.java | Java | gpl-2.0 | 22,796 |
/* This file is part of the project "Hilbert II" - http://www.qedeq.org
*
* Copyright 2000-2014, Michael Meyling <mime@qedeq.org>.
*
* "Hilbert II" 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... | m-31/qedeq | QedeqKernelXml/src/org/qedeq/kernel/xml/handler/module/HypothesisHandler.java | Java | gpl-2.0 | 2,635 |
package pt.uminho.ceb.biosystems.merlin.utilities.containers.modelSeed;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import pt.uminho.ceb.biosystems.merlin.utilities.Utilities;
import pt.uminho.ceb.biosystems.merlin... | merlin-sysbio/merlin-utilities | src/main/java/pt/uminho/ceb/biosystems/merlin/utilities/containers/modelSeed/ModelSeedPathwaysDB.java | Java | gpl-2.0 | 5,175 |
/* This file is part of the project "Hilbert II" - http://www.qedeq.org
*
* Copyright 2000-2014, Michael Meyling <mime@qedeq.org>.
*
* "Hilbert II" 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... | m-31/qedeq | QedeqKernelSe/src/org/qedeq/kernel/se/dto/module/SubsectionVo.java | Java | gpl-2.0 | 3,823 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.Licencia;
import com.Negocio.Federado;
import com.Negocio.TipoBaja;
import com.dal.FederadoDAL;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Date;
import javax.servlet.ServletExce... | Esleelkartea/gestion-de-licencias | src/java/com/Licencia/licenBajaMIBServlet.java | Java | gpl-2.0 | 3,936 |
package org.arcanist.client;
import java.awt.Point;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.Socket;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.net.SocketException;
import j... | Vhati/ArcanistCCG | src/main/java/org/arcanist/client/ClientThread.java | Java | gpl-2.0 | 33,601 |
/**
This Þle: NodePairPlus.java
Programmer: Siddarth Ramadoss (sramados@andrew.cmu.edu)
Course/Section: 90-744::C
Assignment: Homework 7-1
Description: Holds a "clip point". A clip point is the place in a GPTree
where crossover will occur.
Last ModiÞed: 11/5/2013
*/
public class NodePairPlus {
/** The n... | siddarthr/Genetic-Program | src/NodePairPlus.java | Java | gpl-2.0 | 573 |
/*
* Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | consulo/mono-soft-debugging | src/main/java/mono/debugger/VirtualMachineManagerImpl.java | Java | gpl-2.0 | 3,726 |
package eu.codlab.amiiwrite;
import android.app.Activity;
import android.app.Application;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import com.afollestad.materialdialogs.DialogAction;
import com.afollestad.materialdialogs.MaterialDialog;
import com.crashlytics.android.Crashlytics... | codlab/amiibo | app/src/main/java/eu/codlab/amiiwrite/ApplicationController.java | Java | gpl-2.0 | 5,205 |
package tim.prune.gui.map;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt... | ta-apps/GpsPrune | src/tim/prune/gui/map/PruneMapCanvas.java | Java | gpl-2.0 | 21,141 |
package org.rezistenz.product.directory.service;
import java.util.Collection;
import org.rezistenz.product.directory.model.Category;
public interface CategoryService {
Collection<Category> findAll();
}
| rezistenz/product-directory | src/main/java/org/rezistenz/product/directory/service/CategoryService.java | Java | gpl-2.0 | 207 |
import java.util.Hashtable;
import java.util.Stack;
public class Cache {
public static boolean hasCache=false;
private String content;
private Hashtable<String, String> map;
private static Cache instance = null;
private Cache() { }
public static Cache getInstance() {
if (instance == ... | Bradfromthepiggery/feedulator | server/src/Cache.java | Java | gpl-2.0 | 3,052 |
/**
* Contains core files related to MCBridge.
*/
package mcbridge; | jython234/MCBridge | src/main/java/mcbridge/package-info.java | Java | gpl-2.0 | 69 |
package REST.JSON; /**
* Created by sgrushai on 07/07/2015.
*/
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public abstract class ServiceJson {
protected JSONObject service;
protected JSONArray dictionaries;
protected ServiceJson(String name, int quantity, Strin... | sgrushai/Java | http-post-get-REST-threads-printf-JSON/REST/JSON/ServiceJson.java | Java | gpl-2.0 | 1,233 |
import java.io.*;
public class Problem1193 implements Runnable {
private BufferedReader bufferedReader;
private StreamTokenizer in;
private PrintWriter out;
public Problem1193() {
this(System.in, System.out);
}
public Problem1193(InputStream inputStream, OutputStream outputStream) {
bufferedReader = new Bu... | FireFry/online-judge-solutions | acm.timus.ru/1193.java | Java | gpl-2.0 | 2,005 |
/*
SalMediaDescription.java
Copyright (C) 2010 Belledonne Communications, Grenoble, France
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)... | cybertk/blackberry-linphone | submodules/jliblinphone/src/org/linphone/sal/SalMediaDescription.java | Java | gpl-2.0 | 1,182 |
// OptionsTest.java
package net.sf.gogui.util;
import java.util.ArrayList;
public final class OptionsTest
extends junit.framework.TestCase
{
public static void main(String args[])
{
junit.textui.TestRunner.run(suite());
}
public static junit.framework.Test suite()
{
return ne... | noe/sgf.importer | test/junit/src/net/sf/gogui/util/OptionsTest.java | Java | gpl-2.0 | 2,743 |
package ttt.player;
import org.junit.Assert;
import org.junit.Test;
public class PlayerCreatorTest {
@Test
public void createsHumanPlayerAsPlayerOneIfUserEntersOne() {
PlayerCreator playerCreator = new PlayerCreator(null, "1");
Assert.assertTrue(playerCreator.createX() instanceof HumanPlayer)... | priya121/TicTacToe | src/test/java/ttt/player/PlayerCreatorTest.java | Java | gpl-2.0 | 1,018 |
public class HeapSort implements Sorter {
@Override
public void sort(int[] array) {
for (int i = array.length / 2 - 1; i >= 0; i--)
/* buildHeap */
percDown(array, i, array.length);
for (int i = array.length - 1; i > 0; i--) {
swapReferences(array, 0, i); /* deleteMax */
percDown(array, 0, i... | Evangileon/algo-assign-7 | src/HeapSort.java | Java | gpl-2.0 | 885 |
package net.minecraft.src;
class McoServerListEmptyAnon
{
}
| LolololTrololol/InsertNameHere | minecraft/net/minecraft/src/McoServerListEmptyAnon.java | Java | gpl-2.0 | 61 |
/**
* MicroJabber, jabber for light java devices. Copyright (C) 2004, Gregoire Athanase
* 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... | a-iv/jmc | src/util/Util.java | Java | gpl-2.0 | 6,623 |
/**
* Copyright (C) 2013
* by 52 North Initiative for Geospatial Open Source Software GmbH
*
* Contact: Andreas Wytzisk
* 52 North Initiative for Geospatial Open Source Software GmbH
* Martin-Luther-King-Weg 24
* 48155 Muenster, Germany
* info@52north.org
*
* This program is free software; you can redistribut... | geomatico/52n-sos-4.0 | spring/install-controller/src/main/java/org/n52/sos/web/install/InstallationRedirectError.java | Java | gpl-2.0 | 1,364 |
package Magnet.GameView.Graphics;
import java.awt.image.BufferedImage;
import Magnet.Magnet;
import Magnet.ApplicationLayer.Input;
public abstract class Button{
private BufferedImage[] images;
private float x, y;
private int width, height;
private float scale;
private int index = 0;
public... | leomoe98/Buried-MagnetEngine- | Buried MagnetEngine/src/Magnet/GameView/Graphics/Button.java | Java | gpl-2.0 | 1,215 |
// **********************************************************************
//
// Copyright (c) 2003-2013 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.
//
// ***************************************************... | sbesson/zeroc-ice | java/src/Ice/LoggerI.java | Java | gpl-2.0 | 3,533 |
package su.msu.cs.lvk.secbugs.junit;
import junit.framework.TestCase;
import su.msu.cs.lvk.secbugs.bta.TaintnessFrame;
import su.msu.cs.lvk.secbugs.bta.TaintnessValue;
/**
* @author Igor Konnov
*/
public class TestTaintnessFrame extends TestCase {
public void testToStringEmptyStackOneLocal() {
Taintness... | Zenika/findbugs-tainted-mode | tests/cases/src/junit/su/msu/cs/lvk/secbugs/junit/TestTaintnessFrame.java | Java | gpl-2.0 | 4,634 |
package ir.nikagram.ui;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.c... | amirlotfi/Nikagram | app/src/main/java/ir/nikagram/ui/MediaActivity.java | Java | gpl-2.0 | 86,705 |
/*
* Model.java
* Copyright (C) 2003
*/
/*
Copyright (C) 1997-2001 Id Software, 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; either version 2
of the License, or (at your option) any later ... | cmackie/Unsignedness-Study-jake2 | src/jake2/render/basic/Model.java | Java | gpl-2.0 | 29,434 |
package pt.uminho.ceb.biosystems.merlin.core.gui;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.sql.SQ... | merlin-sysbio/merlin-core | plugins_src/pt/uminho/ceb/biosystems/merlin/core/gui/FillGapReaction.java | Java | gpl-2.0 | 10,298 |
package games.strategy.sound;
import games.strategy.triplea.ResourceLoader;
import java.io.IOException;
import java.net.URL;
import java.util.Calendar;
import java.util.Map.Entry;
import java.util.Properties;
import java.util.Set;
/**
* sounds.properties file helper class
*
* @author veqryn
*
*/
public class ... | tea-dragon/triplea | src/main/java/games/strategy/sound/SoundProperties.java | Java | gpl-2.0 | 1,993 |
/*******************************************************************************
* Copyright (c) 2015 Balazs Felfoldi.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v2.0
* which accompanies this distribution, and is available at... | high344/wysinwyg | WYSINWYG/src/wysinwyg/fw/translator/TranslatorView.java | Java | gpl-2.0 | 1,838 |
/*
* Private Mini-Chat
*
* Created by Greg Byrne, June 2013
* Email: byrne.greg@gmail.com
* Copyright remains reserved
*
* Package Description:
* A client/server application that provides discrete communication between a client-server pair over TCP/IP.
* Discrete communication is provided by a text obfuscat... | byrne-greg/Private-Mini-Chat | ServerPMC.java | Java | gpl-2.0 | 9,566 |
package com.aklc.servlet;
import java.math.BigInteger;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.PKCS8EncodedKeySpec;
import ... | iashwinprasada/BBMP-Online-Voting-Portal | Voting Ballot/WEB-INF/classes/com/aklc/servlet/Test.java | Java | gpl-2.0 | 1,635 |
/*
* Copyright (c) 1998-2008 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | moriyoshi/quercus-gae | src/main/java/com/caucho/quercus/resources/StreamResource.java | Java | gpl-2.0 | 2,830 |
package com.sfsctech.core.auth.sso.client.matcher;
import com.sfsctech.support.common.util.AssertUtil;
import org.springframework.security.web.util.matcher.AntPathRequestMatcher;
import org.springframework.security.web.util.matcher.OrRequestMatcher;
import org.springframework.security.web.util.matcher.RequestMatcher;
... | tkdiooo/sfsctech | common-parent/common-core/common-core-auth/common-core-auth-sso/common-core-auth-sso-client/src/main/java/com/sfsctech/core/auth/sso/client/matcher/SkipPathRequestMatcher.java | Java | gpl-2.0 | 1,181 |
/*
* Project: ArrayListTest.java
* Description: Playing with ArrayLists
* Name: Aaron Snowberger
* Date: Oct 27, 2015
*/
import java.util.ArrayList;
public class ArrayListTest {
public static void printList( ArrayList a ) {
System.out.println( "The list size is now: " + a.size() + " elements long." );... | gpakorea/java-arraylists | ArrayListTest.java | Java | gpl-2.0 | 1,072 |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2014, Arnaud Roques
*
* Project Info: http://plantuml.sourceforge.net
*
* This file is... | jensnerche/plantuml | src/net/sourceforge/plantuml/sequencediagram/graphic/FreeYStrategy.java | Java | gpl-2.0 | 1,563 |
/*
* 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 requir... | zjj2008se/MAAutoer | MAautoer/src/base/Base64.java | Java | gpl-2.0 | 23,938 |
package test.jview.jtool;
import java.util.List;
import junit.framework.TestCase;
import org.junit.BeforeClass;
import org.junit.Test;
import org.jview.jtool.manager.TaskManager;
import org.jview.jtool.ta_tools.ITool;
import org.jview.jtool.tools.DBTool;
import org.jview.jtool.util.CommMethod;
public c... | jview/jtools | src/test/java/test/jview/jtool/testToolOper.java | Java | gpl-2.0 | 2,505 |
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | FauxFaux/jdk9-hotspot | test/gc/g1/humongousObjects/objectGraphTest/ObjectGraph.java | Java | gpl-2.0 | 5,531 |
package sy.service.base;
import java.util.List;
import sy.model.base.Syorganization;
import sy.service.BaseServiceI;
import sy.util.base.HqlFilter;
/**
* 机构业务
*
* @author 孙宇
*
*/
public interface SyorganizationServiceI extends BaseServiceI<Syorganization> {
/**
* 更新机构
*/
public void updateOrganization(... | lclsdu/CS | sshe/src/main/java/sy/service/base/SyorganizationServiceI.java | Java | gpl-2.0 | 841 |
package com.jjoseba.pecsmobile.util;
import android.view.animation.Interpolator;
//based on: http://stackoverflow.com/questions/4120824/android-reversing-an-animation
public class ReverseInterpolator implements Interpolator {
private final Interpolator mInterpolator;
public ReverseInterpolator(Interpolator ... | jjoseba/PECSMobile | app/src/main/java/com/jjoseba/pecsmobile/util/ReverseInterpolator.java | Java | gpl-2.0 | 509 |
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | dain/graal | graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/template/MethodSpec.java | Java | gpl-2.0 | 7,376 |
package baqsi.model;
import java.awt.Color;
import java.awt.Container;
import java.io.Serializable;
import java.util.ArrayList;
import javax.swing.InputMap;
import baqsi.model.Note;
// different norms?
public class Pattern implements Comparable<Pattern>,Serializable{
/**
*
*/
private static final long se... | MartinHN/Baqsy | Baqsy/src/baqsi/model/Pattern.java | Java | gpl-2.0 | 3,293 |
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* +++++++++++++++++++++++++++++++++++Written by: xxxx++++++++++++++++++++++++++++++++
* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* Author: anonymous
* JULY-2015
*
* +++++++++++... | anonymous100001/maxuse | src/uran/err/DuplicatedDeclaration.java | Java | gpl-2.0 | 813 |
package jp.primecloud.auto.api.response.component;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "CreateComponentResponse")
@XmlType(propOrder = {"success", "message", "componentNo"})
public class CreateC... | aigamo/primecloud-controller | auto-project/auto-api/src/main/java/jp/primecloud/auto/api/response/component/CreateComponentResponse.java | Java | gpl-2.0 | 1,827 |
/*
* *************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | mobile-event-processing/Asper | source/test/com/espertech/esper/multithread/TestMTStmtNamedWindowConsume.java | Java | gpl-2.0 | 4,740 |
package org.processmining.framework.util.search;
import java.util.Collection;
import org.processmining.framework.plugin.Progress;
/**
* This class is used by the MultiThreadedSearcher to handle callbacks. Each
* time the searcher considers a node, it asks the registered expander to expand
* the node. If ... | DIUNIPI-ISTI/ConvertCsvToXes | ProM/src-Framework/org/processmining/framework/util/search/NodeExpander.java | Java | gpl-2.0 | 3,546 |
package org.insightcentre.unlp.naisc.applejack.corpus;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.queryParser.QueryParser;
import org.apache.lucene.sear... | jmccrae/naisc | applejack/src/test/java/org/insightcentre/unlp/naisc/applejack/corpus/SearchTest.java | Java | gpl-2.0 | 4,231 |
/*
* Copyright 2009 TauNova (http://taunova.com). All rights reserved.
*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*/
package com.taunova.ui.laf;
/*
* This programs uses the information found in the UIManager
* to cr... | RenatGilmanov/tau-ui | src/java/com/taunova/ui/laf/UIManagerDefaults.java | Java | gpl-2.0 | 15,184 |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | delafer/j7project | commontools/thirddep-j7/src/main/java/org/eclipse/swt/SWTError.java | Java | gpl-2.0 | 4,667 |
/**
* Copyright (c) 2002-2005, Simone Bordet
* All rights reserved.
*
* This software is distributable under the BSD license.
* See the terms of the BSD license in the documentation provided with this software.
*/
package foxtrot.pumps;
import java.lang.reflect.Method;
import java.lang.reflect.InvocationHandler... | jonabbey/Ganymede | src/ganymede/foxtrot/pumps/ConditionalEventPump.java | Java | gpl-2.0 | 11,686 |
package goalp.evaluation.plans;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import javax.inject.Inject;
import javax.inject.Named;
import org.slf4j.Logger;
import com.panayotis.gnuplot.dataset.Point;
import com.panayotis.gnup... | lesunb/goalp | scalability-evaluation/src/main/java/goalp/evaluation/plans/ReportAllExperimentsResultsToOne3dEpsGraph.java | Java | gpl-2.0 | 3,603 |
// Copyright 2012,2013 Vaughn Vernon
//
// 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 l... | LeonardCohen/coding | IDDD_Samples-master/common/src/main/java/com/saasovation/common/notification/NotificationLogReader.java | Java | gpl-2.0 | 8,468 |
package cn.com.cms.common;
import java.util.HashMap;
import java.util.Map;
/***
* 接收前台dataTables列表请求参数
*
* @author shishb
* @version 1.0
*/
public class JsonPara {
public static final class DataTablesParaNames {
public static final String sEcho = "sEcho";
public static final String iDisplayStart = "iDispl... | shellposhy/dms | src/main/java/cn/com/cms/common/JsonPara.java | Java | gpl-2.0 | 1,188 |
/**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | williamgrosset/OSCAR-ConCert | src/main/java/org/oscarehr/ws/rest/to/model/OSPInfoTo1.java | Java | gpl-2.0 | 2,139 |
package cn.imust.domain;
import java.io.Serializable;
public class OrdersItem implements Serializable {
private String id;
private int num;
private float price;
private Book book;
private String bookid;
private String ordersid;
public String getOrdersid() {
return ordersid;
}
public void setOrdersid(St... | zhangjine/BookStore | bookStore/src/cn/imust/domain/OrdersItem.java | Java | gpl-2.0 | 880 |
/*
Copyright (c) 2011, 2012 Hewlett-Packard Development Company, L.P.
Created by Erik L. Eidt.
This file is part of QuickRDA.
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... | erikeidt/QuickRDA | src/com/hp/QuickRDA/L5/ExcelTool/Start.java | Java | gpl-2.0 | 7,503 |
/*******************************************************************************
* Copyright (c) 2000, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | delafer/j7project | commontools/thirddep-j7/src/main/java/org/eclipse/swt/internal/win32/REBARBANDINFO.java | Java | gpl-2.0 | 1,303 |
package org.wheatgenetics.coordinate.model;
/**
* Uses:
* androidx.annotation.IntRange
* androidx.annotation.NonNull
* androidx.annotation.Nullable
*
* org.junit.Assert
* org.junit.Test
*
* org.wheatgenetics.coordinate.model.CheckedIncludedEntryModel
* org.wheatgenetics.coordinate.model.CheckedIncludedEntryM... | trife/Coordinate | app/src/test/java/org/wheatgenetics/coordinate/model/CheckedIncludedEntryModelTest.java | Java | gpl-2.0 | 3,600 |
package com.aaomidi.dev.uuidapi.storage;
import com.aaomidi.dev.uuidapi.UUIDAPI;
import org.apache.commons.lang.StringUtils;
import org.bukkit.configuration.file.FileConfiguration;
import java.sql.*;
import java.util.logging.Level;
public class DatabaseConnector {
private final UUIDAPI _plugin;
... | aaomidi/UUID-API | src/main/java/com/aaomidi/dev/uuidapi/storage/DatabaseConnector.java | Java | gpl-2.0 | 7,124 |
package judgels.jophiel.mailer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;
@Value.Immutable
@JsonDeserialize(as = ImmutableMailerConfiguration.class)
public interface MailerConfiguration {
String getHost();
int getPort();
boolean getUseSsl();
S... | ia-toki/judgels | judgels-backends/jophiel/jophiel-app/src/main/java/judgels/jophiel/mailer/MailerConfiguration.java | Java | gpl-2.0 | 460 |
package jcurl.main.converter.syntaxtree.flags;
import jcurl.main.converter.syntaxtree.Flag;
import jcurl.main.converter.visitors.Visitor;
public class H extends Flag {
private String value;
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public H(Str... | Joebh/JCurlAndroid | JCurlAndroid/src/jcurl/main/converter/syntaxtree/flags/H.java | Java | gpl-2.0 | 566 |
package com.aptoide.amethyst.database.provider;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteQueryBuilder;
import android.net.Uri;
impo... | Aptoide/aptoide-client | amethystengine/src/main/java/com/aptoide/amethyst/database/provider/DatabaseProvider.java | Java | gpl-2.0 | 13,335 |
/*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | TheTypoMaster/Scaper | openjdk/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509KeyManager/SelectOneKeyOutOfMany.java | Java | gpl-2.0 | 7,375 |
package fries.com.googlemaps.fries.com.googlemaps.response;
import android.content.Context;
import fries.com.googlemaps.MediaManager;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by tmq on 11/05/15.
*/
public class ResponseSpeak extends ResponseService{
private String answer;
pri... | fries-uet/maps-android | GoogleMaps/app/src/main/java/fries/com/googlemaps/fries/com/googlemaps/response/ResponseSpeak.java | Java | gpl-2.0 | 1,220 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Pre_FRAMS.Recognition;
import business_logic.attendance;
import java.awt.*;
import javax.swing.*;
import java.awt.image.*;
import java.io.*;
import javax.imageio.*;
... | devang29/FACE-RECOGNITION-BASED-ATTENDANCE-MANAGEMENT-SYSTEM | Pre_FRAMS/src/Pre_FRAMS/Recognition/FaceCamRec.java | Java | gpl-2.0 | 19,088 |
package bkapt.su1312m.WorldCup2014;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentStatePagerAdapter;
import bkapt.su1312m.WorldCup2014.Fragment.AllMatchesFragment;
import bkapt.su1312m.WorldCup2014.Fragment.ToDayTVFragment;
public class TabsPagerAdapter extends FragmentStatePagerAdapte... | ribbon-xx/worldcup2014-su1312m | src/bkapt/su1312m/WorldCup2014/TabsPagerAdapter.java | Java | gpl-2.0 | 823 |
/*
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | smarr/Truffle | compiler/src/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/SnippetsTest.java | Java | gpl-2.0 | 2,397 |
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jaxws/drop_included/jaxws_src/src/com/sun/xml/internal/rngom/binary/ElementPattern.java | Java | gpl-2.0 | 3,833 |
package net.flexmojos.oss.plugin.air.packager;
import org.codehaus.plexus.component.annotations.Component;
import java.io.File;
/**
* Created by christoferdutz on 18.07.15.
*/
@Component( role = Packager.class, hint = "windows" )
public class WindowsPackager extends DesktopPackager {
@Override
protected F... | chrisdutz/flexmojos | flexmojos-maven-plugin/src/main/java/net/flexmojos/oss/plugin/air/packager/WindowsPackager.java | Java | gpl-2.0 | 805 |
package com.imlongluo.weather.apis;
public interface YahooWeatherExceptionListener {
public void onFailConnection(final Exception e);
public void onFailParsing(final Exception e);
public void onFailFindLocation(final Exception e);
}
| longluo/YahooWeather | src/com/imlongluo/weather/apis/YahooWeatherExceptionListener.java | Java | gpl-2.0 | 248 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | rex-xxx/mt6572_x201 | packages/apps/Gallery2/src/com/mediatek/gallery3d/pq/PictureQualityOptions.java | Java | gpl-2.0 | 3,540 |
/*
* 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 Listas;
/**
*
* @author freni_000
*/
public class Lista_Simple {
private Nodo_Lista_Simple inicio;
... | SuselRetana/Practica1s12017_201503422 | [EDD]Practica1_201503422/src/Listas/Lista_Simple.java | Java | gpl-2.0 | 4,142 |
/*
* This file is part of ChatEx
* Copyright (C) 2020 ChatEx Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later versi... | TheJeterLP/ChatEx | src/main/java/de/jeter/chatex/plugins/Vault.java | Java | gpl-2.0 | 3,286 |
package net.iharding.modules.etl.dao.impl;
import org.guess.core.orm.hibernate.HibernateDao;
import net.iharding.modules.etl.dao.EtlTaskParamDao;
import net.iharding.modules.etl.model.EtlTaskParam;
import org.springframework.stereotype.Repository;
/**
*
* @ClassName: EtlTaskParam
* @Description: EtlTaskParamdaoImpl
... | joezxh/DATAX-UI | eshbase-commons/src/main/java/net/iharding/modules/etl/dao/impl/EtlTaskParamDaoImpl.java | Java | gpl-2.0 | 490 |
package net.sf.memoranda.ui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Frame;
import java.awt.GridLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.text.DateFo... | cst316/spring16project-Fortran | src/net/sf/memoranda/ui/StickerDialog.java | Java | gpl-2.0 | 15,004 |
package com.example.movil;
public class Menu {
private int id;
private String nombre;
Menu(int id, String nombre){
this.id = id;
this.nombre = nombre;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getNombre() {
return nombre;
}
public void setNom... | deadcpp/Movil | App/src/com/example/movil/Menu.java | Java | gpl-2.0 | 376 |
package cliffracerx.mods.cliffieswars.src;
import cliffracerx.mods.cliffiestaints.src.NormalBlock;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class WallBlock extends NormalBlock
{
private String tex;
public WallBlock(int id, Material material, String texture)
... | CliffracerX/Cliffie-s-Wars-Mod | cliffracerx/mods/cliffieswars/src/WallBlock.java | Java | gpl-2.0 | 453 |
package tl.messages;
import tl.TL;
import java.nio.ByteBuffer;
public class DeleteHistory extends tl.TLFunction {
public tl.TInputPeer peer;
public int offset;
public DeleteHistory(ByteBuffer buffer) throws Exception {
peer = (tl.TInputPeer) TL.read(buffer);
offset = buffer.getInt();
}
public ... | deNULL/Wire-Desktop | src/tl/messages/DeleteHistory.java | Java | gpl-2.0 | 1,097 |
package raca.server;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import raca.client.RacaNetworkProxy;
/**
*
* @author A... | AntenaDigital/raca | src/raca/server/RacaMasterCommandProxy.java | Java | gpl-2.0 | 958 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mx.yellowme.conekta.util;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
*
* @author javier
*/
public class CCUtils {
public static final int INVALID = -1;
public static final ... | javikin/conekta-android | conekta/src/mx/yellowme/conekta/util/CCUtils.java | Java | gpl-2.0 | 4,472 |
/*******************************************************************************
* openthinclient.org ThinClient suite
*
* Copyright (C) 2004, 2007 levigo holding GmbH. All Rights Reserved.
*
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Publi... | sneJ-/networkboot | netbootd/src/main/java/org/openthinclient/tftp/tftpd/TFTPServer.java | Java | gpl-2.0 | 26,255 |
package com.jrle.fw.clock;
/**
* Cette classe décrit un objet devant exécuter un travail de manière régulière. Le travail est déclenché
* par sa méthode beat(int).
*
* Habituellement, un objet Beat est associété à un objet {@link Clock} qui déclenche le travail à une
* cadence donnée.
*
* @author Ba... | peebam/jrle | jrle/src/com/jrle/fw/clock/Beatable.java | Java | gpl-2.0 | 606 |