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 |
|---|---|---|---|---|---|
/*
* 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 entidades;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column... | msgoon/SACSA | src/java/entidades/Paralelo.java | Java | gpl-3.0 | 3,573 |
/*
* Copyright (c) 2016, Sergey Penkovsky <sergey.penkovsky@gmail.com>
*
* This file is part of Erlymon Monitor.
*
* Erlymon Monitor 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 t... | erlymon/erlymon-monitor-android | erlymon-monitor-app/src/main/java/org/erlymon/monitor/mvp/presenter/UpdateServerPresenter.java | Java | gpl-3.0 | 2,030 |
package org.baeldung.examples.olingo2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@SpringBoot... | Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/apache-olingo/olingo2/src/main/java/org/baeldung/examples/olingo2/Olingo2SampleApplication.java | Java | gpl-3.0 | 534 |
// $Id$
package com.jclark.xsl.expr;
import com.jclark.xsl.om.*;
import java.net.URL;
import java.util.Hashtable;
/**
* packages up the context available to the XSLT engine
* when evaluating XPath expressions
*/
public interface ExprContext
{
/**
*
*/
int getPosition() throws XSLException;
... | srnsw/xena | plugins/office/ext/src/xt-20051206/src/xt/java/com/jclark/xsl/expr/ExprContext.java | Java | gpl-3.0 | 1,516 |
package blue.made.angleserver.network.packet;
import blue.made.angleserver.network.Client;
import blue.made.angleserver.network.NetServerHandler;
import blue.made.angleserver.network.packet.in.IPacket;
import blue.made.angleserver.network.packet.out.OPacket;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Chan... | MadeFromTheBlue/angle | server/src/main/java/blue/made/angleserver/network/packet/PacketManager.java | Java | gpl-3.0 | 2,723 |
// $Id: TestNotationSettings.java 43 2010-04-03 20:28:12Z marcusvnac $
/// Copyright (c) 2008 Tom Morris and other contributors. 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, provided ... | ckaestne/LEADT | workspace/argouml_critics/argouml-app/tests/org/argouml/notation/TestNotationSettings.java | Java | gpl-3.0 | 7,889 |
/*
* 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... | s20121035/rk3288_android5.1_repo | packages/apps/Settings/src/com/android/settings/wifi/WifiDialog.java | Java | gpl-3.0 | 3,397 |
/*
* SQLTextPane.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.
*
* This pr... | Black-millenium/rdb-executequery | java/src/org/executequery/gui/text/SQLTextPane.java | Java | gpl-3.0 | 5,489 |
package nysap.screen.boxes;
import java.util.HashMap;
import java.util.Map;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.chart.AreaChart;
import javaf... | Pilldom/NYSAP | NYSAP/src/nysap/screen/boxes/CorrectionsScreen.java | Java | gpl-3.0 | 15,315 |
/**
*
* Copyright (c) 2014, Openflexo
*
* This file is part of Pamela-core, a component of the software infrastructure
* developed at Openflexo.
*
*
* Openflexo is dual-licensed under the European Union Public License (EUPL, either
* version 1.1 of the License, or any later version ), which is available ... | openflexo-team/pamela | pamela-core/src/main/java/org/openflexo/pamela/converter/LevelConverter.java | Java | gpl-3.0 | 2,560 |
/*
###############################
# Copyright (C) 2012 Jon Schang
#
# This file is part of jSchangLib, released under the LGPLv3
#
# jSchangLib 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 ... | jschang/jSchangLib | parallel/src/main/java/com/jonschang/cluster/SpringCommandExecutor.java | Java | gpl-3.0 | 1,616 |
/*
* SLD Editor - The Open Source Java SLD Editor
*
* Copyright (C) 2016, SCISYS UK Limited
*
* 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 yo... | robward-scisys/sldeditor | modules/application/src/test/java/com/sldeditor/test/unit/datasource/extension/filesystem/node/geoserver/GeoServerNodeTest.java | Java | gpl-3.0 | 2,364 |
package zzz.study.patterns.singleton;
import java.lang.reflect.Constructor;
public class ReflectionRuinSingleton {
public static void main(String[] args) {
try {
Singleton s = Singleton.INSTANCE;
Constructor sc = Singleton.class.getDeclaredConstructor();
sc.setAccessi... | shuqin/ALLIN | src/main/java/zzz/study/patterns/singleton/ReflectionRuinSingleton.java | Java | gpl-3.0 | 680 |
/*
* This file is part of mobuk.
*
* Plan 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.
* Plan is distributed in the hope tha... | alejostenuki/mobuk | src/com/tenuki/mobuk/ext/uk/vodafone/particulares/UKVodafone18months41.java | Java | gpl-3.0 | 3,101 |
package by.pvt.kish.aircompany.command.user;
import by.pvt.kish.aircompany.command.ActionCommand;
import by.pvt.kish.aircompany.constants.Attribute;
import by.pvt.kish.aircompany.constants.Message;
import by.pvt.kish.aircompany.constants.Page;
import by.pvt.kish.aircompany.pojos.User;
import by.pvt.kish.aircompany.enu... | alexeykish/aircompany-hibernate | web/src/main/java/by/pvt/kish/aircompany/command/user/LogoutUserCommand.java | Java | gpl-3.0 | 1,726 |
/**
* Este programa é licenciado de acordo com a LGPL (Lesser General Public License), <br>
* versão 2.1, Fevereiro de 1999 <br>
* A LGPL deve acompanhar todas PUBLICAÇÕES, DISTRIBUIÇÕES e REPRODUÇÕES deste Programa. <br>
* Caso uma cópia da LGPL não esteja disponível junto com este Programa, você pode contatar <... | cams7/erp | freedom-ecf/src/main/java/org/freedom/tef/driver/text/TextTefProperties.java | Java | gpl-3.0 | 8,462 |
/*
* Copyright (C) 2014 TekNux.org
*
* This file is part of the dropbitz Community GPL Source Code.
*
* dropbitz Community Source Code 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 th... | teknux-org/dropbitz | dropbitz/src/main/java/org/teknux/dropbitz/freemarker/helper/UrlHelper.java | Java | gpl-3.0 | 1,789 |
/*
* Constants.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.
*
* This prog... | toxeh/ExecuteQuery | java/src/org/underworldlabs/Constants.java | Java | gpl-3.0 | 1,775 |
/*
* LicenseManager.java
*
* Created on 10. Mai 2005, 10:55
*/
/*
* Copyright 2005 Schlichtherle IT Services
*
* 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.apac... | idanghao/wlsagent | de/schlichtherle/license/ftp/LicenseManager.java | Java | gpl-3.0 | 7,743 |
package edu.princeton.cs.algs4.strings;
import edu.princeton.cs.algs4.io.*;
/***************************************************************
* Compilation: javac BoyerMoore.java
* Execution: java BoyerMoore pattern text
*
* Reads in two strings, the pattern and the input text, and
* searches for the patte... | bramfoo/algorithms | src/main/java/edu/princeton/cs/algs4/strings/BoyerMoore.java | Java | gpl-3.0 | 5,485 |
package com.healthcare.data.server.protobuf.rpc;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import javax.net.ssl.SSLServerSocket;
import javax.net.ssl.SSLServerSocketFactory;
import javax.net.ssl.SSLSocket;
import com.healthcare.data.server.SessionManager;
import com.h... | punyararj/his-interface-core | Server/src/com/healthcare/data/server/protobuf/rpc/RPCSSLService.java | Java | gpl-3.0 | 1,997 |
/*
* Copyright appNativa Inc. All Rights Reserved.
*
* This file is part of the Real-time Application Rendering Engine (RARE).
*
* RARE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 o... | appnativa/rare | source/rare/swingx/com/appnativa/rare/ui/effects/PerspectiveFilter.java | Java | gpl-3.0 | 5,396 |
package com.nixmash.blog.jpa.dto;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import static com.nixmash.blog.jpa.model.User.MIN_LENGTH_PASSWORD;
/**
* Created by daveburke on 8/5/16.
*/
public class UserPasswordDTO implements Serializable{
private static final long serialV... | mintster/nixmash-blog | jpa/src/main/java/com/nixmash/blog/jpa/dto/UserPasswordDTO.java | Java | gpl-3.0 | 1,844 |
package soc.device.client;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by liyan on 16-10-30.
*/
public class DeviceClient {
private static final Logger LOGGER = LoggerFactory.getLogger(DeviceClient.class);
public static void main(String[] args) {
}
}
| 1111220110/SmartHome | pi/DeviceClient/src/main/java/soc/device/client/DeviceClient.java | Java | gpl-3.0 | 305 |
package heartblades.actors;
public enum ActorTeam {
PLAYER,
KRAKIS,
GNOLL,
MANEATER,
CRITTER,
NATURAL_BEAST,
PLANT;
}
| lries/Heartblade | src/heartblades/actors/ActorTeam.java | Java | gpl-3.0 | 137 |
/*
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... | srnsw/xena | plugins/image/ext/src/batik-1.7/sources/org/apache/batik/apps/svgbrowser/PreferenceDialog.java | Java | gpl-3.0 | 51,042 |
package co.fxl.gui.table.scroll.api;
public interface INavigationList<T> {
int size();
T get(int i);
}
| Letractively/fxlgui | co.fxl.gui.table/src/main/java/co/fxl/gui/table/scroll/api/INavigationList.java | Java | gpl-3.0 | 118 |
/*******************************************************************************
* HellFirePvP / Astral Sorcery 2017
*
* This project is licensed under GNU GENERAL PUBLIC LICENSE Version 3.
* The source code is available on github: https://github.com/HellFirePvP/AstralSorcery
* For further details, see the License... | Saereth/AstralSorcery | src/main/java/hellfirepvp/astralsorcery/client/util/mappings/ClientJournalMapping.java | Java | gpl-3.0 | 3,835 |
package net.veminal.pdf.actions.toolbar.file;
import net.veminal.pdf.actions.IEvent;
import net.veminal.pdf.core.annotations.NotUsed;
import net.veminal.pdf.configuration.read.ReadConfig;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.resource.ImageDescriptor;
/**
* Action for button "Save".
*
* ... | Veminal/PDFConfigurator | src/main/java/net/veminal/pdf/actions/toolbar/file/SaveAction.java | Java | gpl-3.0 | 757 |
/*
* 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/attributeSelection/ChiSquaredAttributeEval.java | Java | gpl-3.0 | 11,876 |
package com.hartwig.hmftools.serve.extraction.codon;
import com.hartwig.hmftools.serve.extraction.range.RangeAnnotation;
import org.immutables.value.Value;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@Value.Immutable
@Value.Style(allParameters = true,
passAnnotat... | hartwigmedical/hmftools | serve/src/main/java/com/hartwig/hmftools/serve/extraction/codon/CodonAnnotation.java | Java | gpl-3.0 | 432 |
package info.ephyra.querygeneration.generators;
import info.ephyra.answerselection.filters.AnswerPatternFilter;
import info.ephyra.answerselection.filters.AnswerTypeFilter;
import info.ephyra.answerselection.filters.FactoidsFromPredicatesFilter;
import info.ephyra.querygeneration.Query;
import info.ephyra.questionanal... | csarron/PriaQA | src/info/ephyra/querygeneration/generators/QuestionInterpretationG.java | Java | gpl-3.0 | 3,345 |
package de.kueken.ethereum.party.voting;
/**
* The dataholder for the struct BallotVoter.
*
*/
public class BallotVoter{
private Integer weight;
private Boolean voted;
private org.adridadou.ethereum.propeller.values.EthAddress delegate;
private Integer vote;
public BallotVoter(Integer weight,Boolean voted,org... | KuekenPartei/party-contracts | src/main/java/de/kueken/ethereum/party/voting/BallotVoter.java | Java | gpl-3.0 | 2,215 |
/*
* This file is part of EverAPI.
*
* EverAPI 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.
*
* EverAPI is distribut... | EverCraft/EverAPI | src/main/java/fr/evercraft/everapi/services/TitleService.java | Java | gpl-3.0 | 1,292 |
package org.aslab.om.testbeds_knowledge;
import org.aslab.om.components_functions_metamodel.components.static_knowledge.Directionality;
import org.aslab.om.ecl.perception.Singularity;
import org.aslab.om.metacontrol.knowledge.components.ComponentStatus;
import org.aslab.om.metacontrol.knowledge.components.OMPortProfil... | aslab/rct | higgs/branches/ros-fuerte/OM/versions/NamePerception_OM/OM_Testbed2/src/org/aslab/om/testbeds_knowledge/Pioneer.java | Java | gpl-3.0 | 1,755 |
package net.cyclestreets;
import net.cyclestreets.fragments.R;
import java.util.Timer;
import java.util.TimerTask;
import net.cyclestreets.api.Blog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent... | MobileAppCodes/CycleStreets-Android-app- | libraries/cyclestreets-fragments/src/main/java/net/cyclestreets/RegularUpdates.java | Java | gpl-3.0 | 3,100 |
/**
* Copyright 2009 Red Hat, 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 version.
*
* This program is distrib... | rgorosito/penrose | original-pre-maven/ldap-backend/opends/src/org/safehaus/penrose/ldapbackend/opends/LDAPBackendPlugin.java | Java | gpl-3.0 | 15,400 |
package Client;
import javax.swing.JOptionPane;
/**
* NEEDS TO BE REPLACED BY ACTUAL ERROR LOGGING
*/
public class ErrorDisplay
{
public static void showError(Exception err) {
JOptionPane.showMessageDialog(null, err.getMessage()); }
}
| NatAug62/Java-Chat-Room | src/Client/ErrorDisplay.java | Java | gpl-3.0 | 254 |
/*******************************************************************************
* Copyright (c) 2011 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public Licen... | apruden/opal | opal-r/src/main/java/org/obiba/opal/web/r/OpalRSessionResourceImpl.java | Java | gpl-3.0 | 7,021 |
package com.fernando.acercade;
import android.annotation.TargetApi;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;
import android.view.MenuItem;
import... | ferquies/2dam | PMUL/AcercaDe/src/com/fernando/acercade/SettingsActivity.java | Java | gpl-3.0 | 1,872 |
//$$strtCprt
/**
* Simple Algebra
*
* Copyright (C) 2014 Thornton Green
*
* 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 ver... | viridian1138/SimpleAlgebra_V2 | src/test_simplealgebra/sort_test/SortPlaceholder.java | Java | gpl-3.0 | 2,035 |
package y2021;
import java.util.ArrayList;
import java.util.List;
}
| spartan2015/kata | kata/src/main/java/y2021/Test1.java | Java | gpl-3.0 | 71 |
/*
* Copyright (C) 2012-2022 Frank Baumann
*
* 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... | DRE2N/DungeonsXL | core/src/main/java/de/erethon/dungeonsxl/sign/passive/ScriptSign.java | Java | gpl-3.0 | 3,741 |
/*
* Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved.
* Use is subject to license terms.
*/
/*
* LogonMsgBuilder.java
*
* $Id: LogonMsgBuilder.java,v 1.5 2010-11-17 10:55:05 vrotaru Exp $
*/
package net.hades.fix.message.builder.impl;
import net.hades.fix.message.impl.v40.LogonMs... | marvisan/HadesFIX | Model/src/main/java/net/hades/fix/message/builder/impl/LogonMsgBuilder.java | Java | gpl-3.0 | 8,103 |
public class Solution {
public int[] singleNumber(int[] nums) {
int XOR = 0;
int[] uniqueElements = {0,0};
//gets the XOR of both unique elements
for(int i=0; i<nums.length; i++){
XOR^=nums[i];
}
// this will fetch the l... | shashankthakare/Competetive-Programming | LeetCode/260. Single Number III/Solution.java | Java | gpl-3.0 | 876 |
package net.sourceforge.mochadoom.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Array;
import java.net.MalformedURLException;
import java.net.URL;
import java.uti... | jendave/mochadoom | src/main/java/net/sourceforge/mochadoom/utils/C2JUtils.java | Java | gpl-3.0 | 22,824 |
/*
* Copyright (C) 2015 SDN-WISE
*
* 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 d... | sdnwiselab/sdn-wise-java | core/src/main/java/com/github/sdnwiselab/sdnwise/packet/ResponsePacket.java | Java | gpl-3.0 | 3,282 |
/*
This file is part of leafdigital leafChat.
leafChat 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.
leafChat is distributed in the hope ... | quen/leafchat | src/com/leafdigital/ircui/PrefsMiscPage.java | Java | gpl-3.0 | 2,795 |
package com.ontestautomation.workshops.wiremock;
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import com.github.tomakehurst.wiremock.stubbing.Scenario;
public class WireMockExercises4 {
public WireMockExercises4() {
}
public void setupStubExercise401() {
/*******************************... | basdijkstra/workshops | wiremock/src/test/java/com/ontestautomation/workshops/wiremock/WireMockExercises4.java | Java | gpl-3.0 | 1,005 |
/*
* Copyright (c) 2015 The Ontario Institute for Cancer Research. All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the... | icgc-dcc/dcc-release | dcc-release-job/dcc-release-job-summarize/src/main/java/org/icgc/dcc/release/job/summarize/task/ReleaseSummarizeTask.java | Java | gpl-3.0 | 8,492 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2016 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | MHTaleb/Encologim | lib/JasperReport/src/net/sf/jasperreports/components/barcode4j/package-info.java | Java | gpl-3.0 | 8,777 |
package com.invoicebinder.client.service.login;
import com.invoicebinder.client.ui.alert.Loading;
import com.invoicebinder.shared.enums.AutoLoginViews;
import com.invoicebinder.shared.model.AutoLoginProps;
/**
*
* @author mon2
*/
public interface LoginServiceClientInt {
void authenticateUser(String name, Strin... | mon2au/invoicebinder | invoicebinder/src/main/java/com/invoicebinder/client/service/login/LoginServiceClientInt.java | Java | gpl-3.0 | 511 |
/**
*
*/
package saci;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import ast.CompilationUnit;
import ast.Expr;
import ast.ExprGenericPrototypeInstantiation;
import ast.ExprIdentStar;
import ast.ExprLiteralString;
import ast.GenericParameter;
import ast.JVMPackage;
import ast.Metho... | joseoliv/Cyan | saci/CyanEnv.java | Java | gpl-3.0 | 16,613 |
package superhemi.SMOA.item;
import superhemi.SMOA.BaseForgeSMOA;
import superhemi.SMOA.lib.Reference;
import superhemi.SMOA.lib.Strings;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.ItemSword;
/**
* SMOA
*
* ItemOsmiumSword
*
... | superhemi/SMOA | SMOA_Common/superhemi/SMOA/item/ItemOsmiumSword.java | Java | gpl-3.0 | 1,022 |
/*
* 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 pruebaMVC;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import javax.swing.JFrame;
import javax.swing.*;
... | angelPellejero/AngelAitorDAW | src/pruebaMVC/VistaSwing.java | Java | gpl-3.0 | 3,625 |
/* @(#)$RCSfile$
* $Revision$ $Date$ $Author$
*
*/
package fr.inserm.umr915.knime4ngs.nodes.vcf.sum;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* This is the eclipse bundle activator.
* Note: KNIME node developers probably won't have to do anything in here,
* as this ... | lindenb/knime4bio | fr.inserm.umr915.knime4ngs.nodes/src/fr/inserm/umr915/knime4ngs/nodes/vcf/sum/SumNodePlugin.java | Java | gpl-3.0 | 1,606 |
package com.planepanic.game.model;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.List;
import java.util.Queue;
import java.util.Random;
import lombok.Getter;
import lombok.Setter;
import org.lwjgl.input.Mouse;
import com.planepanic.game.Config;
import com.planepanic.game.gfx.DrawThread;
... | SEPR13-SAW/Plane-Panic | src/main/java/com/planepanic/game/model/Plane.java | Java | gpl-3.0 | 6,694 |
/*******************************************************************************
* Copyright (c) 2015 Contributors.
* All rights reserved. This program and the accompanying materials are made available under
* the terms of the GNU Lesser General Public
* License v3.0 which accompanies this distribution, and is avai... | Caellian/CaellianCore | src/main/java/hr/caellian/core/lib/Reference.java | Java | gpl-3.0 | 1,148 |
/*
* Copyright (C) 2011 The Libphonenumber Authors
*
* 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 la... | s20121035/rk3288_android5.1_repo | external/libphonenumber/java/test/com/android/i18n/phonenumbers/PhoneNumberMatchTest.java | Java | gpl-3.0 | 2,394 |
package com.ax.extra.gen;
import com.ax.extra.gen.util.DatabaseUtil;
import org.apache.commons.io.FileUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.jdb... | kyyblabla/ee-platform | ee-platform-extra/src/test/java/com/ax/extra/gen/GeneratorTest.java | Java | gpl-3.0 | 1,378 |
/*
* eGov suite of products aim to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) <2015> eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* is... | egovernments/egov-playground | eGov/egov/egov-commons/src/main/java/org/egov/common/entity/UOM.java | Java | gpl-3.0 | 4,562 |
package com.avacado.rest;
import static org.junit.Assert.*;
import javax.ws.rs.core.Response;
import org.junit.Before;
import org.junit.Test;
public class DesignerServiceTest {
private DesignerService designerService;
@Before
public void setUp() throws Exception {
designerService = new DesignerService();
}
... | prasad-bodapati/avacado | src/test/java/com/avacado/rest/DesignerServiceTest.java | Java | gpl-3.0 | 460 |
package khr.easv.pokebotcontroller.app.gui.views;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.DrawableContainer... | khreenberg/android-segoway | ControllerApp/app/src/main/java/khr/easv/pokebotcontroller/app/gui/views/ImageButtonIgnoreTransparency.java | Java | gpl-3.0 | 4,319 |
package ua.sgkhmja.wboard.cucumber.stepdefs;
import cucumber.api.java.Before;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.test.web.servlet.MockMvc;
import org.sp... | SGKhmCs/wBoard | src/test/java/ua/sgkhmja/wboard/cucumber/stepdefs/UserStepDefs.java | Java | gpl-3.0 | 1,523 |
package icse.binomialheap.set4;
import icse.binomialheap.BinomialHeapNode;
public class BinomialHeapExtractMin5Bug12Dx15Dx20Ix23Dx24I {
/*@
@ invariant (\forall BinomialHeapNode n; \reach(Nodes, BinomialHeapNode, sibling + child).has(n); n.parent != null ==> n.key >= n.parent.key );
@ invariant (\foral... | zeminlu/comitaco | tests/icse/binomialheap/set4/BinomialHeapExtractMin5Bug12Dx15Dx20Ix23Dx24I.java | Java | gpl-3.0 | 15,322 |
/**
* Hub Miner: a hubness-aware machine learning experimentation library.
* Copyright (C) 2014 Nenad Tomasev. Email: nenad.tomasev at 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
* Foundatio... | datapoet/hubminer | src/main/java/learning/supervised/evaluation/ClassifierParametrization.java | Java | gpl-3.0 | 6,378 |
package com.fr.design.designer.properties;
import com.fr.design.gui.controlpane.NameableCreator;
import com.fr.design.gui.controlpane.UIListControlPane;
import com.fr.design.gui.frpane.ListenerUpdatePane;
import com.fr.design.javascript.EmailPane;
import com.fr.design.javascript.JavaScriptActionPane;
import com.fr.des... | fanruan/finereport-design | designer_form/src/com/fr/design/designer/properties/EventPropertyTable.java | Java | gpl-3.0 | 3,996 |
/*
* Copyright (C) 2010-2015 JPEXS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is d... | izstas/jpexs-decompiler | src/com/jpexs/decompiler/flash/gui/MainFrameRibbon.java | Java | gpl-3.0 | 6,141 |
package net.geforcemods.securitycraft.util;
import java.util.Arrays;
import com.mojang.blaze3d.systems.RenderSystem;
import com.mojang.blaze3d.vertex.BufferBuilder;
import com.mojang.blaze3d.vertex.BufferUploader;
import com.mojang.blaze3d.vertex.DefaultVertexFormat;
import com.mojang.blaze3d.vertex.PoseStack;
import... | Geforce132/SecurityCraft | src/main/java/net/geforcemods/securitycraft/util/ClientUtils.java | Java | gpl-3.0 | 4,834 |
package com.fastaccess.ui.modules.filter.issues.fragment;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.view.View;
import com.fastaccess.data.dao.model.Issue;
import com.fastaccess.provider.rest.RestProvider;
import com.fastaccess.ui.base.mvp.presenter.BasePresenter;
import ... | k0shk0sh/FastHub | app/src/main/java/com/fastaccess/ui/modules/filter/issues/fragment/FilterIssuePresenter.java | Java | gpl-3.0 | 2,335 |
package com.queencastle.dao.utils;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databi... | AminLiu/Test | queencastle-all/queencastle-dao/src/main/java/com/queencastle/dao/utils/SysDateSerializer.java | Java | gpl-3.0 | 1,043 |
package com.duyp.architecture.mvvm.ui.widgets;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.FontMetricsInt;
import android.graphics.RectF;
import android.support.annotation.NonNull;
import android.support.v4.text.TextUtilsCompat;
import and... | duyp/mvvm-template | app/src/main/java/com/duyp/architecture/mvvm/ui/widgets/LabelSpan.java | Java | gpl-3.0 | 5,930 |
package com.thebigbadwolf2.SicknessMod.reference;
public class Reference
{
public static final String MOD_ID = "SicknessMod";
public static final String MAIN_PACKAGE = "com.thebigbadwolf2." + MOD_ID;
public static final String CLIENT_PROXY_CLASS = MAIN_PACKAGE + ".proxy.ClientProxy";
public static final String SER... | TheBigBadWolf2/SicknessMod | src/main/java/com/thebigbadwolf2/SicknessMod/reference/Reference.java | Java | gpl-3.0 | 661 |
/*
* EuroCarbDB, a framework for carbohydrate bioinformatics
*
* Copyright (c) 2006-2009, Eurocarb project, or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.
*
* This copyrighted material is made available to anyone wishing t... | glycoinfo/eurocarbdb | application/GlycoPeakfinder/src/java/org/eurocarbdb/applications/ms/glycopeakfinder/io/PeakListLoaderExeption.java | Java | gpl-3.0 | 1,427 |
package cfw.redis.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.PARAMETER,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisEnd {}
| XXMY/RedisAspect | src/cfw/redis/annotation/RedisEnd.java | Java | gpl-3.0 | 310 |
/*
* @(#)AbstractPage.java
*
* Copyright 2002 - 2003 JIDE Software. All rights reserved.
*/
package com.jidesoft.dialog;
import javax.swing.*;
import java.awt.*;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* AbstractPage is an abstract base class that provides functionality to defer popu... | clementvillanueva/SimpleHDR | src/com/jidesoft/dialog/AbstractPage.java | Java | gpl-3.0 | 10,630 |
package com.czw.toolkit.netty.websocket.server;
import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;
/**
* @author ZeviChen , 2017/7/7 17:37
*/
public class Group {
public static final ChannelGroup recipients =
... | zevichen/base | src/main/java/com/czw/toolkit/netty/websocket/server/Group.java | Java | gpl-3.0 | 386 |
package net.minecraft.server;
// CraftBukkit start
import java.util.List;
import org.bukkit.craftbukkit.entity.CraftHumanEntity;
import org.bukkit.entity.HumanEntity;
import org.bukkit.event.inventory.InventoryType;
// CraftBukkit end
public class InventoryCrafting implements IInventory {
private ItemStack[] it... | Irokue/Craftbukkit-1.3 | src/main/java/net/minecraft/server/InventoryCrafting.java | Java | gpl-3.0 | 3,410 |
/*
* JTerm - a cross-platform terminal
* Copyright (C) 2017 Sergix, NCSGeek
*
* 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 ver... | Sergix/JTerm | src/main/java/jterm/command/Exec.java | Java | gpl-3.0 | 1,830 |
package fr.guiguilechat.jcelechat.model.sde.attributes;
import fr.guiguilechat.jcelechat.model.sde.IntAttribute;
/**
* Multiplied by Amarr Carrier skill level.
*/
public class ShipBonusSupercarrierA1
extends IntAttribute
{
public static final ShipBonusSupercarrierA1 INSTANCE = new ShipBonusSupercarrierA1()... | guiguilechat/EveOnline | model/sde/SDE-Types/src/generated/java/fr/guiguilechat/jcelechat/model/sde/attributes/ShipBonusSupercarrierA1.java | Java | gpl-3.0 | 871 |
package tomoBay.model.sql.schema.transactionsTable;
/** Copyright(C) 2015 Jan P.C. Hanson & Tomo Motor Parts Limited
*
* 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 th... | jpchanson/TomoBay | src/tomoBay/model/sql/schema/transactionsTable/Quantity.java | Java | gpl-3.0 | 1,543 |
//
// This file is part of the DeportesUGR App.
//
// Copyright (C) 2014 Luis Carlos Casanova Aranda, Juan J. Ramos-Munoz <jjramosapps@gmail.com>
//
// DeportesUGR 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... | jjramos-dev/DeportesUGRApp | src/es/ugr/deportesugrapp/AboutActivity.java | Java | gpl-3.0 | 7,600 |
package microtrafficsim.osm.parser.features.streets.info;
import microtrafficsim.osm.parser.ecs.components.traits.Reversible;
import microtrafficsim.osm.parser.features.streets.ReverseEquals;
import microtrafficsim.utils.hashing.FNVHashBuilder;
import microtrafficsim.utils.logging.EasyMarkableLogger;
import org.slf4j.... | sgs-us/microtrafficsim | microtrafficsim-core/src/main/java/microtrafficsim/osm/parser/features/streets/info/MaxspeedInfo.java | Java | gpl-3.0 | 10,018 |
package com.limelight.nvstream.input;
import static com.limelight.nvstream.ConnectionContext.SERVER_GENERATION_5;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import com.limelight.nvstream.ConnectionContext;
class MultiControllerPacket extends InputPacket {
private static final byte[] TAIL = { (byte) ... | trustin/gleamstream | src/main/java/com/limelight/nvstream/input/MultiControllerPacket.java | Java | gpl-3.0 | 4,058 |
package game.gfx;
import game.utils.Debug;
import game.utils.Type;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
/**
* Class that contains the information of a sprite sheet.
*
* @author AJ Walter
*/
public class Sprites {
/**
* Name of the class.
*/
public static f... | RedInquisitive/Project-Tanks | Project Shields/Client/game/gfx/Sprites.java | Java | gpl-3.0 | 1,610 |
package com.brassbeluga.sound.gson;
public class Configuration {
private String username;
private String downloadPath;
private String userIcon;
private int[] history;
public Configuration (String username, String downloadPath, int[] history) {
this.username = username;
this.downloadPath = downl... | Narbulus/SoundClone2 | src/main/java/com/brassbeluga/sound/gson/Configuration.java | Java | gpl-3.0 | 872 |
package api;
import org.restlet.Context;
import org.restlet.data.Request;
import org.restlet.data.Response;
import org.restlet.resource.Resource;
/**
* Base class to support common functions among the resources, e.g.,
* authentication and authenticated username.
*/
public class BaseResource extends Res... | theintencity/homefiles | src/api/BaseResource.java | Java | gpl-3.0 | 1,241 |
/**
* Copyright (C) 2011 The Serval Project
*
* This file is part of Serval Software (http://www.servalproject.org)
*
* Serval Software 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 o... | aiQon/crowdshare | src/org/servalproject/rhizome/FolderPicker.java | Java | gpl-3.0 | 10,215 |
/**
* This file is part of tera-api.
*
* tera-api 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.
* tera-api is distributed in ... | xGamers665/tera-emu | com.tera.common.network.nio/src/main/java/com/tera/common/network/nio/NioPacketReceiver.java | Java | gpl-3.0 | 1,281 |
package com.stt.java.base.collection;
import org.junit.Test;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.BlockingQueue... | shitongtong/libraryManage | java-base/src/main/java/com/stt/java/base/collection/TestMain.java | Java | gpl-3.0 | 2,965 |
package com.techbeat.qv.web.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.... | maxguenes/qv | qv-web/src/main/java/com/techbeat/qv/web/controller/StockController.java | Java | gpl-3.0 | 1,078 |
/**
* Copyright 2013-2014 The JMingo Team
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable... | jmingo-projects/jmingo | jmingo-core/src/main/java/org/jmingo/mongo/index/IndexDirection.java | Java | gpl-3.0 | 878 |
package Module_4.Offline_4.Task_1;
/**
* Created by sog on 12.09.2016.
*/
public abstract class View {
public abstract void show();
public abstract void hide();
}
| olegsmall/GoIT_JavaCore_Project | src/Module_4/Offline_4/Task_1/View.java | Java | gpl-3.0 | 174 |
package org.activityinfo.ui.client.page.common.columns;
/*
* #%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, eithe... | LeoTremblay/activityinfo | server/src/main/java/org/activityinfo/ui/client/page/common/columns/LocalDateColumn.java | Java | gpl-3.0 | 2,743 |
package fi.otavanopisto.pyramus.koski.model.lukio.ops2019;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import fi.otavanopisto.pyramus.koski.KoodistoViite;
import fi.otavanopisto.pyramus.koski.Kur... | otavanopisto/pyramus | framework/src/main/java/fi/otavanopisto/pyramus/koski/model/lukio/ops2019/LukionOpintojaksonSuoritus2019.java | Java | gpl-3.0 | 2,223 |
package nl.knaw.dans.rdfpreserve;
import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.routing.Router;
public class RDFVaultApplication extends Application {
/**
* Creates a root Restlet that will receive all incoming calls.
*/
@Override
public synchronized Restlet createInboundRoot(... | Dans-labs/RDFPreserve | src/nl/knaw/dans/rdfpreserve/RDFVaultApplication.java | Java | gpl-3.0 | 557 |
/*
* Copyright (C) 2013 Lukas Jelonek <ljelonek at cebitec.uni-bielefeld.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | rhilker/ReadXplorer | lib.parser.embl/src/main/java/de/cebitec/common/parser/embl/EmblWriter.java | Java | gpl-3.0 | 2,174 |
/*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2015 Wandora 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 ... | Anisorf/ENCODE | encode/src/org/wandora/utils/ScriptManager.java | Java | gpl-3.0 | 5,711 |
package chapter_2_listproblem_me;
/**
* Created by bigming on 16/8/21.
*
* 题目: 环形单链表的约瑟夫问题,分别用普通解法和导出公式入户递归的方法
* 思路: 对于公式法,可以根据删除前和删除后编号之间的关系为 old = (new + m -1) %i + 1
* 难度: ***
*
*/
public class Problem_06_JosephusProblem {
public static class Node {
public int value;
public Node next;
... | BigmingTalk/DailyCoding | src/chapter_2_listproblem_me/Problem_06_JosephusProblem.java | Java | gpl-3.0 | 2,796 |
package com.leetcode.submissions;
import com.leetcode.extend.TreeNode;
import java.util.ArrayList;
import java.util.List;
/**
* Create by ranzd on 2019-09-02 11:11
*
* @author cm.zdran@foxmail.com
*/
public class ValidateBST {
public static boolean isValidBST(TreeNode root) {
List<Long> minVal = new... | zdRan/leetcode | src/com/leetcode/submissions/ValidateBST.java | Java | gpl-3.0 | 1,383 |