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 |
|---|---|---|---|---|---|
/*
* Bank Driver for MIDIbox SID
* =====================================================================
* @author Thorsten Klose
* file: MIDIboxSIDSingleEditor.java
* date: 2003-01-07
* @version $Id$
*
* Copyright (C) 2003 Thorsten.Klose@gmx.de
* http://www.uCApps.de
*
* This ... | jpcaruana/jsynthlib | src/main/java/org/jsynthlib/drivers/midibox/sid/MIDIboxSIDBankDriver.java | Java | gpl-2.0 | 5,538 |
package brewcraft.brew;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
/**
* @author Andrew Potter (andr... | apottere/Brewcraft | src/brewcraft/brew/HobbyistWoodBreweryTileEntity.java | Java | gpl-2.0 | 4,246 |
/*
* IEjecutar.java
*
* Created on 9 de septiembre de 2004, 15:17
*/
package utilesGUIx.formsGenericos.boton;
import utilesGUIx.ActionEventCZ;
/**Interfaz para ejecutar la funcion asociada al boton*/
public interface IEjecutar {
/**
* Accion
* @param e evento
* @param plIndex indice de los datos
*... | Creativa3d/box3d | paquetes/src/utilesGUIx/formsGenericos/boton/IEjecutar.java | Java | gpl-2.0 | 431 |
/*
* Copyright (c) 2009, 2013, 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 ... | rjsingh/graal | graal/com.oracle.graal.sparc/src/com/oracle/graal/sparc/SPARC.java | Java | gpl-2.0 | 7,887 |
package utils;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.List;
public class SetUtils {
public static <T extends Comparable<? super T>> List<T> asSortedList(Collection<T> c) {
List<T> list = new ArrayList<T>(c);
java.util.Collections.sort(list);
r... | BagelOrb/FactionVillagers | src/utils/SetUtils.java | Java | gpl-2.0 | 535 |
package pt.it.esoares.adhocdroid.devices;
public interface Device {
/**
* Returns the wpa_supplicant location
*
* @return the location as a full qualified name
*/
String supplicantLocation();
/**
* The wpa_supplicant name, in some devices is different
*
* @return The wpa_supplicant name
*/
Stri... | eSoares/Android-Ad-hoc | app/src/main/java/pt/it/esoares/adhocdroid/devices/Device.java | Java | gpl-2.0 | 1,039 |
package org.telegram.ui;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Can... | alexsh/Telegram | TMessagesProj/src/main/java/org/telegram/ui/FilteredSearchView.java | Java | gpl-2.0 | 92,774 |
/**
* @author Daniele Grignani (dgr)
* @date Sep 17, 2015
*/
package com.dgr.rat.command.graph.executor.engine.ratvertexframes;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.Map;
import java.util.UUID;
import com.dgr.rat.commons.constants.RATConstants;
im... | ratplatform/RATPlatform | rat-storagemanager/src/main/java/com/dgr/rat/command/graph/executor/engine/ratvertexframes/InstructionWrapper.java | Java | gpl-2.0 | 8,844 |
package replicatorg.drivers.gen3;
/**
* An enumeration of the available command codes for the three-axis CNC
* stage.
*/
public enum MotherboardCommandCode {
VERSION(0),
INIT(1),
GET_BUFFER_SIZE(2),
CLEAR_BUFFER(3),
GET_POSITION(4),
GET_RANGE(5),
SET_RANGE(6),
ABORT(7),
PAUSE(8),
PROBE(9),
TOOL_QUERY(10)... | Pointedstick/ReplicatorG | src/replicatorg/drivers/gen3/MotherboardCommandCode.java | Java | gpl-2.0 | 1,092 |
/*
* 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 fbfm.stats.properties;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.SetMultimap;
... | yanivel/fb-data-extractor | test/fbfm/stats/properties/PropertyFriendLikedMyPostsTest.java | Java | gpl-2.0 | 2,013 |
package inf2011d.gibz_app;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
public class weekly_activi... | premar/GIBZ_App | app/src/main/java/inf2011d/gibz_app/weekly_activity.java | Java | gpl-2.0 | 1,814 |
package org.myorganization.template.core.helper;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;
public class FileHelper {
public static byte[] toCsvByteArray(List<?> objects) throws IllegalAccessException, IllegalArgumentException, InvocationTargetExcepti... | ijgomez/workspace-test | template-app/core/src/main/java/org/myorganization/template/core/helper/FileHelper.java | Java | gpl-2.0 | 1,230 |
package com.pku.judgeonline.admin.servlet;
import com.pku.judgeonline.admin.common.FormattedOut;
import com.pku.judgeonline.common.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class UploadServlet extends HttpServlet
{
/**
*
*/
private s... | power721/poj-power | src/com/pku/judgeonline/admin/servlet/UploadServlet.java | Java | gpl-2.0 | 6,550 |
/*
* Copyright (c) 1994, 2018, 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 ... | google/desugar_jdk_libs | jdk11/src/java.base/share/classes/java/io/File.java | Java | gpl-2.0 | 98,780 |
/*******************************************************************************
* Copyright (C) 2015 Valentin Pogrebinsky
*
* mail:pva@isd.com.ua
* https://github.com/bbones
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as p... | bbones/proto1 | generator/generated/PersonRepository.java | Java | gpl-2.0 | 1,032 |
package ro.springsoft.bean;
import ro.springsoft.guice.Log;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import org.slf4j.Logger;
/**
*
* @author John Yeary <jyeary@springsoft.com>
*/
@ManagedBean
@ViewScoped
public cla... | miromarko/java-experiments | web/guice-jsf2/src/main/java/ro/springsoft/bean/IndexBean.java | Java | gpl-2.0 | 1,062 |
/*
* 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 ... | hdadler/sensetrace-src | com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-arq/src/main/java/org/apache/jena/atlas/lib/cache/CacheLRU.java | Java | gpl-2.0 | 2,432 |
package Pixip;
import OpenRate.process.AbstractRegexMatch;
import OpenRate.record.ErrorType;
import OpenRate.record.IRecord;
import OpenRate.record.RecordError;
import java.util.ArrayList;
/**
* This module looks up the hierarchy of the price plan, and prepares a list of
* the price plans to evaluate. In general th... | isparkes/ORPixip | src/main/java/Pixip/PriceHierarchyLookup.java | Java | gpl-2.0 | 2,531 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Release Version 2.4
A project from the Physics Dept, The University of Oxford
Copyright (C) 2007-2010 The University of Oxford
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU... | ianopolous/JPC | src/org/jpc/emulator/pci/peripheral/DefaultVGACard.java | Java | gpl-2.0 | 3,746 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2018 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2018 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | jeffgdotorg/opennms | core/test-api/alarms/src/main/java/org/opennms/core/test/alarms/driver/AlarmdDriver.java | Java | gpl-2.0 | 10,454 |
package finalsoft.push;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.method.ScrollingMovementMethod;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import com.... | shazangroup/Mobograph | TMessagesProj/src/main/java/finalsoft/push/PopDialog.java | Java | gpl-2.0 | 2,661 |
package example.java8.stream;
import com.alibaba.fastjson.JSON;
import com.google.common.collect.Lists;
import example.model.Person;
import org.junit.Test;
import java.util.*;
import java.util.stream.Collectors;
/**
* StreamTest
*
* @author :liuxing
* @since :2015-08-04 02:29
*/
public class StreamTest {
/... | liuxing87327/Java8Example | src/test/java/example/java8/stream/StreamTest.java | Java | gpl-2.0 | 4,894 |
package org.bitnp.netcheckin2.util;
/**
* Created by langley on 3/29/15.
*/
public class Global {
public final static double INF = 1e-4;
}
| LangleyChang/BIT_NetCheckin2 | app/src/main/java/org/bitnp/netcheckin2/util/Global.java | Java | gpl-2.0 | 148 |
package java.io;
public class InvalidObjectException extends ObjectStreamException {
public InvalidObjectException(String msg) { super(msg); }
}
| cscott/SDR | src/net/cscott/sdr/webapp/client/thunk/java/io/InvalidObjectException.java | Java | gpl-2.0 | 150 |
/*
* Copyright 2009-2020 Ping Identity Corporation
* All Rights Reserved.
*/
/*
* Copyright 2009-2020 Ping Identity Corporation
*
* 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
*
* ... | UnboundID/ldapsdk | tests/unit/src/com/unboundid/ldap/protocol/SearchResultDoneProtocolOpTestCase.java | Java | gpl-2.0 | 5,607 |
package org.totalboumboum.ai.v200708.ais.hancitoprak;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
*
* @author Aslıhan Hanci
* @author Emine Canan Toprak
*
*/
public class HanciToprakSortedList {
/** The list of elements */
@SuppressWarnings("rawtypes")
... | vlabatut/totalboumboum | resources/ai/org/totalboumboum/ai/v200708/ais/hancitoprak/HanciToprakSortedList.java | Java | gpl-2.0 | 1,488 |
package ro.swl.engine.generator.java.model;
import static org.apache.commons.lang3.StringUtils.isNotEmpty;
import java.util.HashSet;
import java.util.Set;
/**
* A Statement in Java language. In other words a simple line of code with no
* flow control.
*
* @author VictorBucutea
*
*/
public class Statement {
... | victorbucutea/swl | engine/parser/src/main/java/ro/swl/engine/generator/java/model/Statement.java | Java | gpl-2.0 | 1,245 |
/* ========================================================================
* 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/salt/element/ElementPyramid.java | Java | gpl-2.0 | 5,168 |
package suite.file;
import java.io.Closeable;
public interface PageAllocator extends Closeable {
public void create();
public int allocate();
public void deallocate(int pointer);
}
| stupidsing/suite | src/main/java/suite/file/PageAllocator.java | Java | gpl-2.0 | 190 |
package com.tajchert.hours.widgets;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import com.tajchert.hours.WidgetUpdateService;
public class WidgetProviderExtra... | eternalearth888/12HoursAndroid | app/src/main/java/com/tajchert/hours/widgets/WidgetProviderExtraSmall.java | Java | gpl-2.0 | 959 |
package speiger.src.api.common.utils.misc;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import net.minecraft.nbt.NBTTagCompound;
import speiger.sr... | TinyModularThings/TinyModularThings | src/speiger/src/api/common/utils/misc/SaveableMap.java | Java | gpl-2.0 | 2,425 |
/*
* USE - UML based specification environment
* Copyright (C) 1999-2004 Mark Richters, University of Bremen
*
* 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
* Li... | vnu-dse/rtl | src/gui/org/tzi/use/gui/views/BarChartView.java | Java | gpl-2.0 | 5,623 |
/* 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 | mediatek/packages/apps/EngineerMode/src/com/mediatek/engineermode/PrefsFragment.java | Java | gpl-2.0 | 12,191 |
/*
* Copyright (C) Klaus Hauschild - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Klaus Hauschild <klaus.hauschild.1984@gmail.com>, 2015
*/
package de.hauschild.ff7rl.debug;
import com.google.common.collect.Lists;
/**
... | klaushauschild1984/ff7rl | src/main/java/de/hauschild/ff7rl/debug/InputHistory.java | Java | gpl-2.0 | 1,296 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2008-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | vishwaAbhinav/OpenNMS | opennms-services/src/main/java/org/opennms/netmgt/eventd/JdbcEventdServiceManager.java | Java | gpl-2.0 | 4,913 |
package it.aco.mandragora.vo;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import j... | alessandrocolantoni/mandragora | src/test/java/it/aco/mandragora/vo/CopyNode21VO.java | Java | gpl-2.0 | 1,543 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest16756.java | Java | gpl-2.0 | 1,899 |
package ontologies;
import java.util.ArrayList;
import java.util.HashMap;
import com.hp.hpl.jena.rdf.model.RDFNode;
public interface InterfaceOntologyQuery {
public abstract String getQueryString(boolean argumentsSubstituted);
public abstract String [] getVariablesNames();
public abstract String [] getArg... | vpablos/FleSe | flese/src/ontologies/InterfaceOntologyQuery.java | Java | gpl-2.0 | 544 |
package test;
import gravity.MoveableMass;
import gravity.RenderUpdateThread;
import gravity.material.Material;
import gravity.material.PeriodMaterial;
import GLOOP.GLKugel;
import GLOOP.GLLicht;
import GLOOP.GLMaterial;
import GLOOP.GLSchwenkkamera;
import GLOOP.GLVektor;
public class Test
{
public s... | APN-Pucky/CoopProject | CoopProject/src/test/Test.java | Java | gpl-2.0 | 4,508 |
package com.breakfast.controllers;
import com.breakfast.constants.IConstants;
import com.breakfast.domain.tables.pojos.Information;
import com.breakfast.provider.FastJson;
import com.breakfast.service.InformationService;
import com.core.page.Page;
import com.core.utils.IMsgUtil;
import org.springframework.beans.factor... | breakfastTeam/breakfast | src/main/java/com/breakfast/controllers/InformationController.java | Java | gpl-2.0 | 1,618 |
package com.vanillaci.slave.job;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.io.Files;
import com.vanillaci.slave.TestFiles;
import com.vanillaci.slave.run.Run;
import com.vanillaci.slave.run.Status;
import com.vanillaci.slave.script.ScriptNam... | JoelJ/VanillaCI-old | SlaveMachine/src/test/java/com/vanillaci/slave/job/JobTest.java | Java | gpl-2.0 | 5,076 |
/*
* j-Algo - j-Algo is an algorithm visualization tool, especially useful for
* students and lecturers of computer science. It is written in Java and platform
* independent. j-Algo is developed with the help of Dresden University of
* Technology.
*
* Copyright (C) 2004-2010 j-Algo-Team, j-algo-development@lists... | jurkov/j-algo-mod | src/org/jalgo/module/am0c0/model/c0/trans/Trans.java | Java | gpl-2.0 | 2,025 |
package com.trafficlawlookup.controller;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import javax.jdo.Extent;
i... | jimmie4321/traffic-law-lookup-app | src/main/java/com/trafficlawlookup/controller/TrafficLawController.java | Java | gpl-2.0 | 7,625 |
/*
* Copyright 2006-2015 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 yo... | DrewG/mzmine2 | src/main/java/net/sf/mzmine/modules/peaklistmethods/identification/onlinedbsearch/PeakListIdentificationTask.java | Java | gpl-2.0 | 8,002 |
/*
* Copyright Actility, SA. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program 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 Foundation.
*
*... | actility/ong | gscl/util/src/main/java/com/actility/m2m/util/ByteArrayInputStream.java | Java | gpl-2.0 | 9,385 |
package uk.co.meadicus.npcbuilder.client.npc;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import uk.co.meadicus.npcbuilder.client.npc.Attributes.Attribute;
import uk.co.meadicus.npcbuilder.client.npc.FantasyCraftStatTables.NatAtkStats;
import uk.co.meadicus.npcbu... | meadicus/npc-builder | NPCBuilder/src/main/java/uk/co/meadicus/npcbuilder/client/npc/FantasyCraftConfig.java | Java | gpl-2.0 | 7,234 |
package nl.strohalm.cyclos.entities.converters;
import nl.strohalm.cyclos.entities.utils.TimePeriod;
import javax.persistence.Converter;
@Converter(autoApply = true)
public class TimePeriodFieldAttributeConverter extends IntValuedEnumAttributeConverter<TimePeriod.Field> {
}
| mateli/OpenCyclos | src/main/java/nl/strohalm/cyclos/entities/converters/TimePeriodFieldAttributeConverter.java | Java | gpl-2.0 | 278 |
package login;
import java.util.HashSet;
import java.util.Set;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import login.domain.Role;
import ... | mstoyanovca/Login | login-http-session/src/main/java/login/LoginApplication.java | Java | gpl-2.0 | 1,237 |
/*
* PerceptronDigitsAboutBox.java
*/
package perceptrondigits;
import org.jdesktop.application.Action;
public class PerceptronDigitsAboutBox extends javax.swing.JDialog {
public PerceptronDigitsAboutBox(java.awt.Frame parent) {
super(parent);
initComponents();
getRootPane().setDefault... | vira-lytvyn/labsAndOthersNiceThings | TheBasicsOfNeuralNetworks/PerceptronDigits/src/perceptrondigits/PerceptronDigitsAboutBox.java | Java | gpl-2.0 | 7,386 |
package java.nio.file.attribute;
import java.security.Principal;
public interface UserPrincipal extends Principal {
} | PrincetonUniversity/NVJVM | build/linux-amd64/langtools/build/genstubs/java/nio/file/attribute/UserPrincipal.java | Java | gpl-2.0 | 119 |
package com.electro.biology.handlers;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class RegisterHelper {
public static void registerBlock (Block Block)
{
GameRegistry.registerBlock(Block, Referenc... | Electrolysm/Electrolysm-Biology | java/com/electro/biology/handlers/RegisterHelper.java | Java | gpl-2.0 | 545 |
package org.lastbamboo.common.stun.stack.message.attributes.ice;
import org.lastbamboo.common.stun.stack.message.attributes.AbstractStunAttribute;
import org.lastbamboo.common.stun.stack.message.attributes.StunAttributeType;
import org.lastbamboo.common.stun.stack.message.attributes.StunAttributeVisitor;
/**
* The P... | adamfisk/littleshoot-client | common/stun/stack/src/main/java/org/lastbamboo/common/stun/stack/message/attributes/ice/IcePriorityAttribute.java | Java | gpl-2.0 | 1,320 |
/*
* Copyright (c) 2015, 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/compiler/cpuflags/predicate/AESSupportPredicate.java | Java | gpl-2.0 | 1,392 |
/*
* This is the source code of Telegram for Android v. 5.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2018.
*/
package org.telegram.messenger;
import android.annotation.SuppressLint;
impor... | Jamesits/Moegram | TMessagesProj/src/main/java/org/telegram/messenger/ApplicationLoader.java | Java | gpl-2.0 | 16,971 |
/**
*
*/
package UI.browser;
import globals.SetFrame;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
... | koapeadu/MySQL-Studio-J | src/UI/browser/ToolbarActions.java | Java | gpl-2.0 | 6,183 |
/**********************************************************************************
*
* S5TECH(c) NETWORK APPLICATION DOCUMENTATION AND LICENSE
* Version 1.6, September 2014
* http://www.s5tech.com/
*
* Permission to copy, modify, and distribute this softw... | hammertong/s5tech | jena2/src/com/s5tech/net/serial/SerialPortFacade.java | Java | gpl-2.0 | 13,242 |
package co.icesi.troca.services.impl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import javax.faces.model.SelectItem;
import org.springframework.stereotype.Service;
import co.icesi.troca.model.Departamento;
import co.icesi.troca.mode... | kaisenlean/troca.co | src/main/java/co/icesi/troca/services/impl/DepartamentoServiceImpl.java | Java | gpl-2.0 | 1,780 |
/*
* 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/env/CallbackFunction.java | Java | gpl-2.0 | 4,221 |
package com.globalreports.engine.objects.variable.barcode;
import java.util.Vector;
public class QRCode {
public static final int MODE_NUMBER = 1 << 0;
public static final int MODE_ALPHA_NUM = 1 << 1;
public static final int MODE_8BIT_BYTE = 1 << 2;
public static final int MODE_KANJI = 1 << 3;
public stati... | axelcode/globalreports | src/com/globalreports/engine/objects/variable/barcode/QRCode.java | Java | gpl-2.0 | 18,057 |
/*
* Copyright (c) 2011, 2013, 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 th... | maiklos-mirrors/jfx78 | modules/builders/src/main/java/javafx/scene/effect/BloomBuilder.java | Java | gpl-2.0 | 3,254 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | risingsunm/Contacts_4.0 | tests/src/com/android/contacts/calllog/CallLogQueryTestUtils.java | Java | gpl-2.0 | 1,645 |
package edu.ntnu.grouprec.dataccess.lastfm.Import;
import java.util.ArrayList;
import java.util.Collection;
import de.umass.lastfm.Artist;
import de.umass.lastfm.Event;
import de.umass.lastfm.Geo;
import edu.ntnu.grouprec.util.Key;
import de.umass.lastfm.PaginatedResult;
import de.umass.lastfm.User;
public class Las... | simensma/GroupRec | WebAppBackend/grec/src/main/java/edu/ntnu/grouprec/dataccess/lastfm/Import/LastFmImporter.java | Java | gpl-2.0 | 1,928 |
package com.school.www.office.dao;
import java.util.List;
import com.school.www.office.bo.Student;
public interface StudentDao {
public List<Student> getAllStudent();
public List<Student> getStudentByCondi(Student student);
public void insertSelective(Student student);
public void deleteByPrim... | lxqfirst/mySchool | src/main/java/com/school/www/office/dao/StudentDao.java | Java | gpl-2.0 | 478 |
package edu.stanford.nlp.util;
import java.io.*;
/**
* Stream Gobbler that read and write bytes
* (can be used to gobble byte based stdout from a process.exec into a file)
*
* @author Angel Chang
*/
public class ByteStreamGobbler extends Thread {
InputStream inStream;
OutputStream outStream;
i... | PeterisP/LVTagger | src/main/java/edu/stanford/nlp/util/ByteStreamGobbler.java | Java | gpl-2.0 | 1,718 |
package com.qwli7.blog.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.boot.context.properties.bind.DefaultValue;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
imp... | moutongxue/moutongxue.github.io | src/main/java/com/qwli7/blog/entity/Moment.java | Java | gpl-2.0 | 2,645 |
package pub.infoclass.myserver.protocol;
import pub.util.FormatTime;
public class deleteUserInfo_C {
private int p = protocolfromclient.deleteUserInfo_C;
private String UserID = "0"; // 用户ID
private String UploadTime = "0"; // 用户名称
public String getUserID() {
return UserID;
}
public void setUserID(String ... | 282857484/LocationBaseServiceSocialNetworking | src/pub/infoclass/myserver/protocol/deleteUserInfo_C.java | Java | gpl-2.0 | 678 |
/*************************************************************************
* Clus - Software for Predictive Clustering *
* Copyright (C) 2007 *
* Katholieke Universiteit Leuven, Leuven, Belgium *
* Jozef Stefan I... | active-learning/active-learning-scala | src/main/java/clus/algo/rules/ClusRulesFromTree.java | Java | gpl-2.0 | 6,795 |
package org.jmlspecs.openjml.eclipse;
import java.util.EnumSet;
import java.util.LinkedList;
import java.util.List;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jdt.ui.text.java.ContentAssistInvocationContext;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jfac... | shunghsiyu/OpenJML_XOR | OpenJMLUI/src/org/jmlspecs/openjml/eclipse/ProposalComputer.java | Java | gpl-2.0 | 3,036 |
// Copyright (C) 2015 Bo Zhou bzhou2@ualberta.ca
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// Thi... | bzhou26/ExpenseClaim | src/ca/ualberta/cs/expenseclaim/activity/MainActivity.java | Java | gpl-2.0 | 9,632 |
package nl.uurapp.uurapp;
import org.json.JSONException;
import org.json.JSONObject;
import nl.uurapp.uurapp.util.HttpPostTask;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.text.Html;
import android.tex... | uurapp/android-app | src/nl/uurapp/uurapp/ActivityRegister.java | Java | gpl-2.0 | 8,260 |
package de.DaWik.DaWik.Blocks;
import net.minecraft.block.Block;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
public class BlockContainerDA extends BlockDA implements ITileEntityProvider {
public BlockContainerDA() {
super();
isBlo... | mcNETDev/DaWik | src/main/java/de/DaWik/DaWik/Blocks/BlockContainerDA.java | Java | gpl-2.0 | 1,081 |
/*
* 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... | BIORIMP/biorimp | BIO-RIMP/test_data/code/antapache/src/main/org/apache/tools/ant/types/selectors/BaseSelectorContainer.java | Java | gpl-2.0 | 10,102 |
/*
* 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... | Firethunder/CodenameOne | vm/JavaAPI/src/java/util/Arrays.java | Java | gpl-2.0 | 140,469 |
/*
* Copyright 2009-2015 Contributors (see credits.txt)
*
* This file is part of jEveAssets.
*
* jEveAssets 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 you... | stiez/jeveassets | src/main/java/net/nikr/eve/jeveasset/i18n/GuiShared.java | Java | gpl-2.0 | 7,456 |
/*
* Copyright 2013 huangyuhui <huanghongxun2008@126.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 of the License, or
* (at your option) any later version.
*
... | angrilove/HMCL | HMCSM/src/main/java/org/jackhuang/hellominecraft/svrmgr/server/schedules/AutoSaveSchedule.java | Java | gpl-2.0 | 1,231 |
// $Id: ActionAddOperation.java 9364 2005-11-13 11:01:34Z linus $
// Copyright (c) 1996-2005 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, prov... | carvalhomb/tsmells | sample/argouml/argouml/org/argouml/ui/targetmanager/ActionAddOperation.java | Java | gpl-2.0 | 4,343 |
package com.collection.Vector;
import java.util.*;
public class BesicVector {
public static void main(String[] args) {
Vector<String> list=new Vector<String>();
String str[]={"JAVA","ORACLE","JSP","SERVLET","EJB","PHP","PERL"};
list.addAll(Arrays.asList(str));
System.out.println(list);
System.out.pr... | kirtiachilles/To-get-placed | src/com/collection/Vector/BesicVector.java | Java | gpl-2.0 | 1,305 |
package util;
import java.math.BigInteger;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.spec.InvalidKeySpecException;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
public class PasswordSecureHash {
public static final String PBK... | YihuaWanglv/itimes | module_util/src/main/java/util/PasswordSecureHash.java | Java | gpl-2.0 | 2,984 |
/**
* OWASP Benchmark Project v1.2
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>.
*
* The OWASP Benchmark is free software: you can redistribute it ... | h3xstream/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest02466.java | Java | gpl-2.0 | 3,493 |
package org.snowyegret.geom.solid;
import javax.vecmath.Point3d;
import org.apache.commons.lang3.Range;
import org.snowyegret.geom.PointSet;
import org.snowyegret.geom.Primitive;
public abstract class Solid extends Primitive {
protected Range<Double> rT, rU, rV;
public Solid(Point3d origin) {
... | SnowyEgret/voxel-geom | src/main/java/org/snowyegret/geom/solid/Solid.java | Java | gpl-2.0 | 1,047 |
/*
* Calculon - A Java chess-engine.
*
* Copyright (C) 2008-2017 Barry Smith
*
* 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
*
*... | BarrySW19/CalculonX | src/main/java/barrysw19/calculon/engine/PawnCaptureGenerator.java | Java | gpl-2.0 | 5,729 |
/*
* $Id: BrowseNetCDFFileAction.java,v 1.4 2005/02/15 18:31:08 oz Exp $
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* condi... | OceanAtlas/JOA | ndEdit/BrowseNetCDFFileAction.java | Java | gpl-2.0 | 2,393 |
/*
* Copyright (c) 2015, 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... | mohlerm/hotspot_cached_profiles | test/compiler/compilercontrol/commandfile/ExcludeTest.java | Java | gpl-2.0 | 1,956 |
//
// @(#)SupplyCenter.java 1.00 7/2002
//
// Copyright 2002 Zachary DelProposto. All rights reserved.
// Use is subject to license terms.
//
//
// 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 Foun... | takaki/jdip | src/main/java/dip/world/variant/data/SupplyCenter.java | Java | gpl-2.0 | 2,668 |
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import Pack_Bean.bean_trabajador;
import Pack_Dao.dao_trabajador;
import java.util.ArrayList;
public final class listartrabajador_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.... | jrmotta21/Laboratorio | build/generated/src/org/apache/jsp/listartrabajador_jsp.java | Java | gpl-2.0 | 4,736 |
/*
* Copyright (C) July 2014 Rafael Aznar
*
* 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 ... | Juanma-lach/baseexamen | src/main/java/net/daw/service/specific/implementation/ProductoServiceSpImpl.java | Java | gpl-2.0 | 10,624 |
package com.diygreen.android6new.newwidget3;
import android.os.Bundle;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.support.design.widget.TabLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutMan... | DIY-green/AndroidStudyDemo | Android6Study/src/main/java/com/diygreen/android6new/newwidget3/AppBarLayout2Activity.java | Java | gpl-2.0 | 2,228 |
/*
* Copyright 2007 Kazuyuki Shudo, and contributors.
*
* 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 applic... | ioniATX/DHT_oblivion | Blocs/IV_DHT_Block/Code/Overlay Weaver/overlayweaver/src/ow/tool/listnodes/Main.java | Java | gpl-2.0 | 4,718 |
package org.iatoki.judgels.sandalphon;
import akka.actor.ActorSystem;
import akka.actor.Scheduler;
import org.iatoki.judgels.api.jophiel.JophielClientAPI;
import org.iatoki.judgels.api.sealtiel.SealtielClientAPI;
import org.iatoki.judgels.sandalphon.problem.programming.grading.GradingResponsePoller;
import org.iatoki.... | judgels/sandalphon | app/org/iatoki/judgels/sandalphon/SandalphonThreadsScheduler.java | Java | gpl-2.0 | 1,460 |
package edu.stanford.nlp.classify;
import edu.stanford.nlp.math.ArrayMath;
import java.util.Arrays;
/**
* Adapt the mean of the Gaussian Prior by shifting the mean to the previously trained weights
* @author Pi-Chuan Chang
* @author Sarah Spikes (sdspikes@cs.stanford.edu) (Templatization)
*
* @param <L> The typ... | automenta/corenlp | src/edu/stanford/nlp/classify/AdaptedGaussianPriorObjectiveFunction.java | Java | gpl-2.0 | 3,118 |
//==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford, formerly University of Birmingham)
//
//------------------------------------------------------------------------------
//
// Th... | azlanismail/prismgames | src/parser/visitor/CheckValid.java | Java | gpl-2.0 | 5,167 |
package com.gdroid.pickalock.curve;
import com.gdroid.pickalock.core.positioning.Vector;
public class ErrorCurveDecorator extends CurveDecorator {
private float scaleFactor = 5f;
public ErrorCurveDecorator(MCurve curve) {
super(curve);
}
public ErrorCurveDecorator(MCurve curve, float factor) {
super(curv... | kboom/pickalock | src/com/gdroid/pickalock/curve/ErrorCurveDecorator.java | Java | gpl-2.0 | 1,122 |
package com.prodandromeda.newbucket.desktop;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.prodandromeda.newbucket.Drop;
public class DesktopLauncher {
public static void main(String[] args) {
LwjglApplicationConfigurat... | programacion2VideojuegosUM2015/practicos | emiliano_palleres/Juego balde/desktop/src/com/prodandromeda/newbucket/desktop/DesktopLauncher.java | Java | gpl-2.0 | 516 |
package com.tlf.HN.common;
import com.tlf.HN.commands.CommandName;
import com.tlf.HN.event.EventHandler;
import com.tlf.HN.network.packet.PacketHNChange;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.util.text.TextComponentString;
import net.mi... | skmedix/HideNames | src/main/java/com/tlf/HN/common/HideNames.java | Java | gpl-2.0 | 11,491 |
package org.iatoki.judgels.jerahmeel.grading.bundle;
import com.google.inject.ImplementedBy;
import org.iatoki.judgels.sandalphon.problem.bundle.grading.BaseBundleGradingDao;
@ImplementedBy(BundleGradingHibernateDao.class)
public interface BundleGradingDao extends BaseBundleGradingDao<BundleGradingModel> {
}
| judgels/jerahmeel | app/org/iatoki/judgels/jerahmeel/grading/bundle/BundleGradingDao.java | Java | gpl-2.0 | 313 |
package com.yh.hr.orghc.unit.worktop.service;
import java.util.List;
import net.sf.json.JSONObject;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.ObjectUtils;
import com.yh.component.dictionary.utils.DicHelper;
import com.yh.component.taglib.TableTagBean;
import com.yh.hr.com... | meijmOrg/Repo-test | freelance-hr-orghc/src/java/com/yh/hr/orghc/unit/worktop/service/UnitTaskItemServiceImpl.java | Java | gpl-2.0 | 2,806 |
/*
* _ __ _
* | |/ /__ __ __ _ _ __ | |_ _ _ _ __ ___
* | ' / \ \ / // _` || '_ \ | __|| | | || '_ ` _ \
* | . \ \ V /| (_| || | | || |_ | |_| || | | | | |
* |_|\_\ \_/ \__,_||_| |_| \__| \__,_||_| |_| |_|
*
* Copyright (C) 2019 Alexander Söderberg
*
* Licensed... | IntellectualSites/IntellectualServer | ServerAPI/src/main/java/xyz/kvantum/server/api/matching/package-info.java | Java | gpl-2.0 | 975 |
/*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos 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 th... | mateli/OpenCyclos | src/main/java/nl/strohalm/cyclos/entities/customization/files/File.java | Java | gpl-2.0 | 2,288 |
package com.asian.billmanager.ws.json;
import java.sql.Date;
/*
* Bill
*
* JSON object representing a Bill
*
* Created: 25-DEC-2015
* Author: Priyank Gosalia <priyankmg@gmail.com>
*/
public class Bill {
int id;
int masterId;
String company;
String location;
Double amount;
String user;
String frequenc... | priyankgosalia/billtracker | src/main/java/com/asian/billmanager/ws/json/Bill.java | Java | gpl-2.0 | 4,452 |
package org.freeplane.core.ui.menubuilders.menu;
import java.awt.Component;
import java.awt.Container;
import javax.swing.JToolBar;
import javax.swing.SwingUtilities;
import org.freeplane.core.ui.AFreeplaneAction;
import org.freeplane.core.ui.ActionEnabler;
import org.freeplane.core.ui.menubuilders.generic.Entry;
im... | systemovich/freeplane | freeplane/src/main/java/org/freeplane/core/ui/menubuilders/menu/JToolbarComponentBuilder.java | Java | gpl-2.0 | 1,523 |