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 |
|---|---|---|---|---|---|
/**
* This file is part of the Goobi viewer - a content presentation and management application for digitized objects.
*
* Visit these websites for more information.
* - http://www.intranda.com
* - http://digiverso.com
*
* This program is free software; you can redistribute it and/or modify it ... | intranda/goobi-viewer-core | goobi-viewer-core/src/test/java/io/goobi/viewer/model/cms/CMSStaticPageTest.java | Java | gpl-2.0 | 1,546 |
/*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/kernel/modules/context/audioobject/AudioObjectBasicInfoContent.java | Java | gpl-2.0 | 5,655 |
/*
* aTunes
* Copyright (C) Alex Aranda, Sylvain Gaudard and contributors
*
* See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors
*
* http://www.atunes.org
* http://sourceforge.net/projects/atunes
*
* This program is free software; you can redistribute it and/or
* mo... | PDavid/aTunes | aTunes/src/main/java/net/sourceforge/atunes/gui/views/dialogs/ExtendedToolTip.java | Java | gpl-2.0 | 4,283 |
/*
* 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... | CleverCloud/Quercus | quercus/src/main/java/com/caucho/quercus/env/JavaCalendarValue.java | Java | gpl-2.0 | 1,904 |
package in.shabhushan.cp_trials.bits;
/**
* Leetcode solution for
* https://leetcode.com/problems/counting-bits/submissions/
*/
class CountBits {
public static int[] countBits(int num) {
int[] n = new int[num + 1];
for (int i = 1; i < num + 1; i++) {
if (i % 2 == 0) {
n[i] = n[i / 2];
... | Shashi-Bhushan/General | cp-trials/src/main/java/in/shabhushan/cp_trials/bits/CountBits.java | Java | gpl-2.0 | 392 |
/*FreeMind - A Program for creating and viewing Mindmaps
*Copyright (C) 2000-2011 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others.
*
*See COPYING for Details
*
*This program is free software; you can redistribute it and/or
*modify it under the terms of the GNU General Public License
... | derekprovance/Freemind | plugins/map/JCursorMapViewer.java | Java | gpl-2.0 | 9,023 |
package io.github.dousha.randomCraft.randomcraft;
import java.util.HashMap;
// WHY DOESN'T JAVA HAVE A STRUCT
public class ItemDescription implements Cloneable{
public boolean type; // false = in, true = out, I would use #define in c/c++!
public String itemname;
@Deprecated
public int itemid;
public boolean isM... | dousha/MySpigotPlugins | RandomCraft/src/main/java/io/github/dousha/randomCraft/randomcraft/ItemDescription.java | Java | gpl-2.0 | 815 |
package fr.lelouet.rpg.model;
import fr.lelouet.rpg.model.character.CharStats;
public class Character extends CharStats {
public Character(RPGGame system) {
super(system);
}
/**
*
* @return true if this character is an avatar
*/
public boolean isPlayer() {
return true;
}
public int lvl;
}
| glelouet/RPG | Model/src/main/java/fr/lelouet/rpg/model/Character.java | Java | gpl-2.0 | 312 |
package com.eng.univates.bd;
import java.util.List;
import javax.ejb.Remote;
import com.eng.univates.pojo.Filter;
import com.eng.univates.pojo.Ocorrencia;
import com.eng.univates.pojo.Usuario;
import com.vividsolutions.jts.geom.Point;
@Remote
public interface OcorrenciaBD extends CrudBD<Ocorrencia, Integer> {
publ... | rdanieli/heatmapGPS | hmGPS/ejb/src/main/java/com/eng/univates/bd/OcorrenciaBD.java | Java | gpl-2.0 | 598 |
/*
* Copyright 2013, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | itsazzad/zanata-server | zanata-war/src/main/java/org/zanata/file/FileSystemPersistService.java | Java | gpl-2.0 | 5,646 |
package info.thecodinglive.service;
import info.thecodinglive.model.Team;
import info.thecodinglive.repository.TeamDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;... | thecodinglive/hanbit-gradle-book-example | ch06/src/main/java/info/thecodinglive/service/TeamServiceImpl.java | Java | gpl-2.0 | 902 |
package org.lastbamboo.common.sip.stack.message.header;
import java.io.IOException;
import java.net.InetAddress;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.id.uuid.UUID;
import org.apac... | adamfisk/littleshoot-client | common/sip/stack/src/main/java/org/lastbamboo/common/sip/stack/message/header/SipHeaderFactoryImpl.java | Java | gpl-2.0 | 7,606 |
package testing;
/**
* Copyright (C) 2015 Matthew Mussomele
*
* This file is part of ChoiceOptimizationAlgorithm
*
* ChoiceOptimizationAlgorithm 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, e... | Unit4TechProjects/ChoiceOptimization | testing/TestSchedule.java | Java | gpl-2.0 | 3,494 |
/**
*
*/
package co.innovate.rentavoz.services.ciudad;
import java.util.List;
import co.innovate.rentavoz.model.Ciudad;
import co.innovate.rentavoz.model.Departamento;
import co.innovate.rentavoz.services.GenericService;
/**
* @author <a href="mailto:elmerdiazlazo@gmail.com">Elmer Jose Diaz Lazo</a>
* @project ... | kaisenlean/rentavoz3 | src/main/java/co/innovate/rentavoz/services/ciudad/CiudadService.java | Java | gpl-2.0 | 887 |
package de.konqi.fitapi.common.importer;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by konqi on 08.05.2016.
*/
public interface Importer {
void importFromStream(String userEmail, InputStream is) throws IOException;
}
| konqi/fit-precinct | src/main/java/de/konqi/fitapi/common/importer/Importer.java | Java | gpl-2.0 | 252 |
/*
* Copyright 2005 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/javax/management/modelmbean/UnserializableTargetObjectTest.java | Java | gpl-2.0 | 7,371 |
package nl.HAN.ASD.APP.dataStructures;
import com.google.gag.annotation.disclaimer.WrittenWhile;
import java.util.*;
/**
* Created by Pim van Gurp, 9/9/2015.
*/
@SuppressWarnings({"NullableProblems", "ConstantConditions"})
public class MyArrayList<T> implements List<T>, Iterable<T> {
/**
* Amount of eleme... | PimvanGurp/advanced-java | src/nl/HAN/ASD/APP/dataStructures/MyArrayList.java | Java | gpl-2.0 | 6,537 |
/**
* Copyright 2007 Wei-ju Wu
*
* This file is part of TinyUML.
*
* TinyUML 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.
*... | proyectos-fiuba-romera/nilledom | src/test/java/test/mdauml/umldraw/shared/NoteElementTest.java | Java | gpl-2.0 | 2,826 |
/*
* This file is part of MetaTheme.
* Copyright (c) 2004 Martin Dvorak <jezek2@advel.cz>
*
* MetaTheme 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 opt... | Icenowy/metatheme | toolkits/java/metatheme/MetaThemeMenuItemUI.java | Java | gpl-2.0 | 6,011 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/fsub_ST5_ST1.java | Java | gpl-2.0 | 2,064 |
package com.survivorserver.Dasfaust.WebMarket.mojang.http;
public class HttpBody {
private String bodyString;
public HttpBody(String bodyString) {
this.bodyString = bodyString;
}
public byte[] getBytes() {
return bodyString != null ? bodyString.getBytes() : new byte[0];
}
}
| Dasfaust/WebMarket | src/main/java/com/survivorserver/Dasfaust/WebMarket/mojang/http/HttpBody.java | Java | gpl-2.0 | 316 |
package org.contourdynamics.cms.repository;
import javax.enterprise.context.ApplicationScoped;
import org.apache.deltaspike.data.api.EntityManagerConfig;
import org.apache.deltaspike.data.api.EntityRepository;
import org.apache.deltaspike.data.api.Repository;
import org.apache.deltaspike.data.api.AbstractEntityReposi... | Contourdynamics/smartcommunication | src/org/contourdynamics/cms/repository/StatusCodeRepos.java | Java | gpl-2.0 | 792 |
/* Copyright (C) 2022, Specify Collections Consortium
*
* Specify Collections Consortium, Biodiversity Institute, University of Kansas,
* 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org
*
* This program is free software; you can redistribute it and/or
* modify it under the term... | specify/specify6 | src/edu/ku/brc/specify/tools/schemalocale/SchemaLocalizerDlg.java | Java | gpl-2.0 | 43,764 |
/*
* 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 grupp07.model;
import java.util.ArrayList;
import javafx.scene.paint.Color;
import javafx.util.Pair;
/**
*
* @... | henwist/OOM_lab2 | src/grupp07/model/Player.java | Java | gpl-2.0 | 1,814 |
package org.wordpress.android.ui.notifications;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.NotificationManagerCompat;
import org.wordpress.android.push.GCMMessageService;
/*
* Clears the notification map when a user dismisse... | mzorz/WordPress-Android | WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationDismissBroadcastReceiver.java | Java | gpl-2.0 | 1,155 |
package com.nowgroup.scspro.service.cat;
import com.nowgroup.scspro.dto.cat.Storage;
import com.nowgroup.scspro.dto.geo.State;
import com.nowgroup.scspro.service.BaseService;
public interface StorageService extends BaseService<Storage> {
State getStateInStorage(int id);
}
| inspiraCode/scspro | scspro-parent/scspro_service/src/main/java/com/nowgroup/scspro/service/cat/StorageService.java | Java | gpl-2.0 | 279 |
/**
* 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/BenchmarkTest11613.java | Java | gpl-2.0 | 2,984 |
package server.thread.systemSettingsThread;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.Socket;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.HashMap;
import server.serverMain.serverMain;
i... | wangchangshuai/fei_Q | server/src/server/thread/systemSettingsThread/setting_dealingThread.java | Java | gpl-2.0 | 1,584 |
/*
* Copyright (c) 2009, 2011, 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.nodes/src/com/oracle/graal/nodes/java/StoreIndexedNode.java | Java | gpl-2.0 | 3,269 |
package net.demo.model;
import javax.persistence.*;
/**
* Created by toannh on 10/9/14.
*/
@Entity
@Table(name = "USER_ROLE")
public class UserRole {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
private String username;
private String role;
@OneToOne(cascade = CascadeType.ALL... | toannh/demo | src/main/java/net/demo/model/UserRole.java | Java | gpl-2.0 | 836 |
package gof.behaviour.mediator;
public class Colleague1 extends Colleague {
public Colleague1(Mediator m){
super(m);
}
@Override
public void action() {
System.out.println("Colleague1");
}
}
| expleeve/GoF23 | src/gof/behaviour/mediator/Colleague1.java | Java | gpl-2.0 | 218 |
package org.globalgamejam.maze.tweens;
import aurelienribon.tweenengine.TweenAccessor;
import com.badlogic.gdx.graphics.g2d.Sprite;
public class SpriteTween implements TweenAccessor<Sprite> {
public static final int BOUNCE = 1;
public static final int ALPHA = 2;
public static final int ROTATION = 3;
@Override
... | MyRealityCoding/maze | maze/src/org/globalgamejam/maze/tweens/SpriteTween.java | Java | gpl-2.0 | 1,020 |
package sellpotato.sellpotato.Model;
/**
* @author Freddy
* @version 1.0
* @created 08-ene-2015 19:29:24
*/
public class IGoogleApiMaps {
public IGoogleApiMaps(){
}
public void finalize() throws Throwable {
}
public void DibujarRuta(){
}
public double CombertirDireccionPunto(){
return 0;
}
}//end I... | pollorijas/SellPotato | SellPotato/app/src/main/java/sellpotato/sellpotato/Model/IGoogleApiMaps.java | Java | gpl-2.0 | 333 |
/* Copyright 2015 Roychoudhury, Abhishek */
package org.abhishek.fileanalytics.lifecycle;
public interface Destroyable {
void destroy();
boolean destroyed();
}
| aroychoudhury/fileanalytics | src/main/java/org/abhishek/fileanalytics/lifecycle/Destroyable.java | Java | gpl-2.0 | 165 |
package com.test.JUnit;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
public class CalculatorTest {
private static Calculator calculator = new Calculator();
@Before
public void setUp() throws Exception {
calculator.clear();
... | fyffyt/LearnJava | src/com/test/JUnit/CalculatorTest.java | Java | gpl-2.0 | 882 |
package com.github.ivanmarban.movies;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
public class MovieRestController {
@Autowired
private MovieRepository repo;
@RequestMapping(value = ... | ivanmarban/spring-boot-movies-restful | src/main/java/com/github/ivanmarban/movies/MovieRestController.java | Java | gpl-2.0 | 1,466 |
package net.butfly.bus.invoker;
import net.butfly.albacore.service.Service;
import net.butfly.albacore.utils.async.Options;
import net.butfly.bus.Request;
import net.butfly.bus.Response;
import net.butfly.bus.config.bean.InvokerConfig;
import net.butfly.bus.context.Token;
import net.butfly.bus.policy.Routeable;
publi... | zbutfly/albus | core/src/main/java/net/butfly/bus/invoker/Invoker.java | Java | gpl-2.0 | 729 |
package spring.aop;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Main {
public static void main(String[] args) {
// ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring/aop/aop-proxy.xml");
// ClassPathXmlApplicationContext ctx = new Clas... | FallenGiter/killjava | src/spring/aop/Main.java | Java | gpl-2.0 | 736 |
package org.mo.logic.process;
import org.mo.com.xml.IXmlObject;
import org.mo.eng.store.IXmlConfigConsole;
public interface ILogicProcessConsole
extends
IXmlConfigConsole<IXmlObject>
{
}
| favedit/MoPlatform | mo-3-logic/src/logic-java/org/mo/logic/process/ILogicProcessConsole.java | Java | gpl-2.0 | 204 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/shrd_Ed_Gd_Ib_mem.java | Java | gpl-2.0 | 2,407 |
package dbfit.environment;
import dbfit.annotations.DatabaseEnvironment;
import dbfit.api.AbstractDbEnvironment;
import dbfit.util.DbParameterAccessor;
import dbfit.util.DbParameterAccessorsMapBuilder;
import dbfit.util.Direction;
import static dbfit.util.Direction.*;
import static dbfit.util.LangUtils.enquoteAndJoin;... | dbfit/dbfit | dbfit-java/sqlserver/src/main/java/dbfit/environment/SqlServerEnvironment.java | Java | gpl-2.0 | 10,073 |
/*
* Copyright (c) 2000, 2019, 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 ... | md-5/jdk10 | src/java.base/share/classes/sun/security/tools/keytool/Resources_ja.java | Java | gpl-2.0 | 45,912 |
package com.charlesdream.office.word.enums;
import com.charlesdream.office.BaseEnum;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* Specifies how text is laid out in the layout mode for the current document.
* <p>
*
* @author Charles Cui on 3/4/16.
* @since 1.0
*/
public enum W... | Lotusun/OfficeHelper | src/main/java/com/charlesdream/office/word/enums/WdLayoutMode.java | Java | gpl-2.0 | 2,574 |
package com.netease.xmpp.websocket.handler;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.jboss.netty.channel.ChannelFuture;
import org.jboss.netty.channel.ChannelFutureListener;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.... | onlychoice/ws-xmpp-proxy | src/java/com/netease/xmpp/websocket/handler/NettyWebSocketChannelHandler.java | Java | gpl-2.0 | 12,857 |
package com.dynamo2.myerp.crm.dao.entities;
// Generated Mar 20, 2012 11:10:03 AM by Hibernate Tools 3.4.0.CR1
import static javax.persistence.GenerationType.IDENTITY;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persi... | dynamo2/tianma | mycrm/src/main/java/com/dynamo2/myerp/crm/dao/entities/Person.java | Java | gpl-2.0 | 4,328 |
/*
* Created on Dec 7, 2004
*
* This is the object given to the web-form.
* It's a mapping between the report as seen from the JSP-code to the
* way it's used in the service and domain layers.
*/
package no.abmu.abmstatistikk.annualstatistic.service;
import java.beans.XMLEncoder;
import java.io.OutputStream;
... | NationalLibraryOfNorway/Bibliotekstatistikk | old-and-depricated/annualstatistic/src/main/java/no/abmu/abmstatistikk/annualstatistic/service/SchemaReport.java | Java | gpl-2.0 | 10,238 |
// Copyright 2013 Shaun Simpson shauns2029@gmail.com
package uk.co.immutablefix.wifireset;
import java.net.InetAddress;
import java.net.UnknownHostException;
import android.os.AsyncTask;
public class NetTask extends AsyncTask<String, Integer, String>
{
@Override
protected String doInBackground(String... par... | shaun2029/Wifi-Reset | src/uk/co/immutablefix/wifireset/NetTask.java | Java | gpl-2.0 | 628 |
package com.cheng.zenofdesignpatterns.patterns.state.liftstate;
/**
* 在电梯门开启的状态下能做什么事情
*/
public class OpenningState extends LiftState {
// 开启当然可以关闭了,我就想测试一下电梯门开关功能
@Override
public void close() {
// 状态修改
super.context.setLiftState(LiftContext.closeingState);
// 动作委托为CloseState来执行
super.context.getLiftSt... | DIY-green/AndroidStudyDemo | DesignPatternStudy/src/main/java/com/cheng/zenofdesignpatterns/patterns/state/liftstate/OpenningState.java | Java | gpl-2.0 | 725 |
/*
* Copyright (c) 2014, 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 ... | mohlerm/hotspot_cached_profiles | test/gc/TestVerifySilently.java | Java | gpl-2.0 | 2,959 |
package de.metas.inoutcandidate.modelvalidator;
/*
* #%L
* de.metas.swat.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 ... | klst-com/metasfresh | de.metas.swat/de.metas.swat.base/src/main/java/de/metas/inoutcandidate/modelvalidator/M_InOutLine_Shipment.java | Java | gpl-2.0 | 1,640 |
/*
* The Fascinator - Portal
* Copyright (C) 2008-2011 University of Southern Queensland
*
* 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... | the-fascinator/fascinator-portal | src/main/java/com/googlecode/fascinator/portal/services/PortalManager.java | Java | gpl-2.0 | 1,896 |
/**
*
*/
package ca.lc.stimesheet.web.login.userdetails;
import java.util.ArrayList;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import ca.lc.stimesheet.model.User;
/**
* @author Marc-Andre Lacroix
*
*/
public class TimesheetUserDetails extends org.springframework.security.cor... | malacroix/stimesheet | src/main/java/ca/lc/stimesheet/web/login/userdetails/TimesheetUserDetails.java | Java | gpl-2.0 | 883 |
package edu.asu.spring.quadriga.dao.profile.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... | diging/quadriga | Quadriga/src/main/java/edu/asu/spring/quadriga/dao/profile/impl/ProfileManagerDAO.java | Java | gpl-2.0 | 6,447 |
/**
* 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/BenchmarkTest08472.java | Java | gpl-2.0 | 2,918 |
/*
* Copyright (c) 2006 - 2010 LinogistiX GmbH
*
* www.linogistix.com
*
* Project myWMS-LOS
*/
package de.linogistix.los.inventory.query.dto;
import java.util.Date;
import de.linogistix.los.inventory.model.LOSOrderRequestState;
import de.linogistix.los.inventory.model.OrderReceipt;
import de.linogistix.los... | Jacksson/mywms | server.app/los.inventory-ejb/src/de/linogistix/los/inventory/query/dto/OrderReceiptTO.java | Java | gpl-2.0 | 1,492 |
/*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2009-2015 Minnesota Department of Transportation
* Copyright (C) 2012 Iteris Inc.
* Copyright (C) 2014 AHMCT, University of California
* Copyright (C) 2015 SRF Consulting Group
*
* This program is free software; you can redistribute it and/o... | SRF-Consulting/NDOR-IRIS | src/us/mn/state/dot/tms/SystemAttrEnum.java | Java | gpl-2.0 | 14,208 |
package codejam2016_1st;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Scanner;
import java.util.Stack;
class Pair {
int _node;
int _dist;
Pair(int node, int dist) {
_... | apostlez/algorithm-Exams | src/codejam2016_1st/Problem_4.java | Java | gpl-2.0 | 4,964 |
package com.usp.icmc.labes.fsm;
public class FsmTransition extends FsmElement{
private FsmState from;
private String input;
private String output;
private FsmState to;
public FsmTransition(){
super();
}
public FsmTransition(FsmState f, String in, String out, FsmState t) {
this();
from = f;
to = ... | sidgleyandrade/fsmTestCompleteness | fsmTestCompleteness/src/com/usp/icmc/labes/fsm/FsmTransition.java | Java | gpl-2.0 | 2,070 |
package com.drogon.test;
import java.io.IOException;
import java.util.Iterator;
import com.drogon.core.Drogon;
/**
Contributors: Nachi
*/
public class TestParser {
public static void main(String[] args) {
String str = "Mozilla/5.0 (Linux; Android 4.4.2; SGH-T399N Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gec... | nachivpn/drogon | src/com/drogon/test/TestParser.java | Java | gpl-2.0 | 786 |
/*
* 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 Transform;
import Objects.TagList;
import java.util.ArrayList;
import java.util.Collections;
/**
*
* @author... | epigenome/iTagPlot | src/Transform/QuantileTransform.java | Java | gpl-2.0 | 1,436 |
package com.kartoflane.superluminal2.components.interfaces;
import org.eclipse.swt.events.PaintEvent;
import org.eclipse.swt.events.PaintListener;
public interface Redrawable extends PaintListener
{
/**
* Calls paintControl if the object is visible.
*/
public void redraw( PaintEvent e );
}
| kartoFlane/superluminal2 | src/java/com/kartoflane/superluminal2/components/interfaces/Redrawable.java | Java | gpl-2.0 | 300 |
package com.yh.admin.roles.service;
/**
*
* @author zhangqp
* @version 1.0, 16/08/23
*/
public class RoleFuncService {
}
| meijmOrg/Repo-test | freelance-admin/src/java/com/yh/admin/roles/service/RoleFuncService.java | Java | gpl-2.0 | 129 |
/*
* Copyright 1996-2003 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/io/ByteToCharISO8859_7.java | Java | gpl-2.0 | 1,672 |
/*
* Copyright 2011 David Jurgens
*
* This file is part of the S-Space package and is covered under the terms and
* conditions therein.
*
* The S-Space package is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as published
* by the Free Soft... | fozziethebeat/S-Space | src/main/java/edu/ucla/sspace/graph/LabeledGraph.java | Java | gpl-2.0 | 4,550 |
/*
* 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 it will be use... | cobexer/fullsync | fullsync-ui/src/main/java/net/sourceforge/fullsync/ui/SystemStatusPage.java | Java | gpl-2.0 | 5,577 |
/*
* Copyright (c) 2010, 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 ... | shelan/jdk9-mirror | nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java | Java | gpl-2.0 | 32,007 |
package com.kellydavid.dfs.config;
import java.io.*;
import java.util.HashMap;
/**
* Created by david on 31/01/2016.
*/
public class Configurator {
private String filename;
private HashMap<String, String> configuration;
public Configurator(String filename){
this.filename = filename;
co... | kellydavid/DistributedFileSystem | dfs-config/src/main/java/com/kellydavid/dfs/config/Configurator.java | Java | gpl-2.0 | 1,740 |
/*
* MessengerProtocol.java
*
* Herald, An Instant Messenging Application
*
* Copyright © 2000 Chad Gibbons
*
* 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 ... | dcgibbons/herald | src/net/sourceforge/herald/MessengerProtocol.java | Java | gpl-2.0 | 5,265 |
import java.awt.Graphics;
/**
* Interface to used to communicate between a model
* and its display
*
* Copyright Georgia Institute of Technology 2004
* @author Barb Ericson ericson@cc.gatech.edu
*/
public interface ModelDisplay
{
/** method to notify the thing that displays that
* the model has changed */
... | zulfikar2/CSPortfolio | JAVA/SAD_Search/ModelDisplay.java | Java | gpl-2.0 | 1,120 |
package com.meadowhawk.cah.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.transaction.annotation.Transactional;
public abstract class AbstractJpaDAO<T> {
public enum DBSortOrder{
DESC, ASC
}
protected Class<T> clazz;... | leeclarke/CAHServer | src/main/java/com/meadowhawk/cah/dao/AbstractJpaDAO.java | Java | gpl-2.0 | 1,157 |
package io.github.phantamanta44.pwarfare.gui;
import io.github.phantamanta44.pwarfare.Game;
import io.github.phantamanta44.pwarfare.data.GameMap;
import io.github.phantamanta44.pwarfare.data.GameMap.GameMode;
import io.github.phantamanta44.pwarfare.data.GamePlayer;
import io.github.phantamanta44.pwarfare.data.GamePlay... | phantamanta44/PWarfare | src/main/java/io/github/phantamanta44/pwarfare/gui/RespawnGui.java | Java | gpl-2.0 | 6,436 |
/*
* Copyright (C) 2016-2022 ActionTech.
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
*/
package com.actiontech.dble.route.factory;
import com.actiontech.dble.route.RouteStrategy;
import com.actiontech.dble.route.impl.DefaultRouteStrategy;
/**
* RouteStrategyFactory
*
* @author wang... | actiontech/dble | src/main/java/com/actiontech/dble/route/factory/RouteStrategyFactory.java | Java | gpl-2.0 | 589 |
package de.metas.edi.esb.pojo.invoice.cctop;
/*
* #%L
* de.metas.edi.esb
* %%
* Copyright (C) 2015 metas GmbH
* %%
* 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 th... | klst-com/metasfresh | de.metas.edi.esb.camel/src/main/java/de/metas/edi/esb/pojo/invoice/cctop/Cctop111V.java | Java | gpl-2.0 | 4,293 |
package org.iatoki.judgels.uriel.contest.manager;
import org.iatoki.judgels.play.model.AbstractModel_;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor... | judgels/uriel | app/org/iatoki/judgels/uriel/contest/manager/ContestManagerModel_.java | Java | gpl-2.0 | 678 |
package com.myselia.stem.communication.seekers;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import com.myselia.stem.communication.CommunicationDock;
public class LocalHostSeek implements Seek {
private volatile static LocalHostSeek unique... | Myselia/MyseliaStem | src/main/java/com/myselia/stem/communication/seekers/LocalHostSeek.java | Java | gpl-2.0 | 1,391 |
package kata;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
public class MyCollections {
public static String join(Collection collection) {
return join(collection, "");
}
public static String join(Collection collection, String separator... | graeme-lockley/string-calculator-java6-pbt | src/test/java/kata/MyCollections.java | Java | gpl-2.0 | 1,712 |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Eclipse Public License, Version 1.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.eclipse.org/org/documents/epl-v10.php
*
* Unless r... | rex-xxx/mt6572_x201 | sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/NewXmlFileCreationPage.java | Java | gpl-2.0 | 49,017 |
/**
* Copyright (C) 2011, 2012 Commission Junction Inc.
*
* This file is part of httpobjects.
*
* httpobjects is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any... | cjdev/httpobjects | core/src/main/java/org/httpobjects/ConnectionInfo.java | Java | gpl-2.0 | 2,931 |
// Copyright (C) 2005 - 2007 Steve Taylor.
// Distributed under the Toot Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.toot.org.uk/LICENSE_1_0.txt)
package uk.org.toot.midi.misc;
import uk.org.toot.music.tonality.Pitch;
/** Support for General MIDI Instrum... | petersalomonsen/frinika | src/uk/org/toot/midi/misc/GM.java | Java | gpl-2.0 | 20,219 |
/*****************************************************************************
* Web3d.org Copyright (c) 2001
* Java Source
*
* This source is licensed under the GNU LGPL v2.1
* Please read http://www.gnu.org/copyleft/lgpl.html for more information
*
* This so... | Norkart/NK-VirtualGlobe | Xj3D/src/java/org/web3d/vrml/renderer/common/nodes/surface/BaseImage2D.java | Java | gpl-2.0 | 22,301 |
/*
* Copyright (c) 2013, 2021, 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.phases.common/src/org/graalvm/compiler/phases/common/inlining/info/ExactInlineInfo.java | Java | gpl-2.0 | 3,520 |
package cs499.examples.semesterproject;
import javax.servlet.*;
import javax.servlet.http.*;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Resul... | hs94/FoodFinderApp | src/cs499/examples/semesterproject/AndroidFoodBankOwnerServlet.java | Java | gpl-2.0 | 18,694 |
package com.ks.net;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import com.ks.activitys.IndexActivity.IndexHandler;
import com.ks.net.enums.MessageEnums;
public class UDPSc... | MichaelChansn/RemoteControlSystem2.0_AndroidClient | src/com/ks/net/UDPScanThread.java | Java | gpl-2.0 | 2,601 |
package hmod.domain.mkp.scripts;
import flexbuilders.core.BuildException;
import flexbuilders.core.Buildable;
import flexbuilders.scripting.BuildScript;
import flexbuilders.tree.BranchBuilder;
import flexbuilders.tree.TreeHandler;
import static hmod.parser.builders.AlgorithmBuilders.*;
/**
*
* @author Enrique Urra... | eurra/hmod-domain-mkp | src/hmod/domain/mkp/scripts/RemoveAndGreedyFillScript.java | Java | gpl-2.0 | 1,721 |
package trasm;
/**
* Таблица идентификаторов
*/
class IdTable extends AbstractTable {
/**
* Типы идентификаторов
*/
static enum IdType {
DB(1), DW(2), DD(4), LABEL(0);
private int size;
private IdType(int i) {
size = i;
}
... | mchug/trasm | src/trasm/IdTable.java | Java | gpl-2.0 | 4,205 |
/**
Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved.
Contact:
SYSTAP, LLC
2501 Calvert ST NW #106
Washington, DC 20008
licenses@systap.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 S... | rac021/blazegraph_1_5_3_cluster_2_nodes | bigdata-rdf/src/test/com/bigdata/rdf/sparql/ast/optimizers/TestASTFilterNormalizationOptimizer.java | Java | gpl-2.0 | 79,136 |
/**
* 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/BenchmarkTest18518.java | Java | gpl-2.0 | 2,872 |
package net.iharding.core.timer;
import java.text.ParseException;
import net.iharding.modules.task.model.TimeTask;
import net.iharding.modules.task.service.TimeTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.CronTriggerFactoryBean;
/**
* spri... | joezxh/DATAX-UI | eshbase-console/src/main/java/net/iharding/core/timer/DataBaseCronTriggerBean.java | Java | gpl-2.0 | 1,042 |
/**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | sungsoo/esper | esper/src/main/java/com/espertech/esper/epl/agg/access/AggregationStateSortedImpl.java | Java | gpl-2.0 | 5,476 |
/*
Copyright 2015 Michelle Mabuyo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | mabuyo/ready-set-press | app/src/main/java/com/cmput301/mmabuyo/readysetpress/GameshowResults.java | Java | gpl-2.0 | 2,703 |
package org.ab.akademikbilisim;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextVi... | akademikbilisim/ab2015-android-a | ab2015-3/app/src/main/java/org/ab/akademikbilisim/Detay.java | Java | gpl-2.0 | 2,025 |
/**
* 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/BenchmarkTest08513.java | Java | gpl-2.0 | 2,265 |
package controllers;
import play.mvc.*;
public class PublicMementoControl extends Controller {
public static Result getRandomMemento(String lang) {
/** @TODO */
return TODO;
}
public static Result getMemento(Long mid) {
/** @TODO */
return TODO;
}
public static Result getMementoList(Long decad... | cdparra/reminiscens-lifeapi | app/controllers/PublicMementoControl.java | Java | gpl-2.0 | 429 |
package dk.dmaa0214.controllerLayer;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.bind.DatatypeConverter;
import com.gargoylesoftware.htmlunit.DefaultCredentialsProvider;
impo... | CodingDK/eCampus-Dmaa0214 | eCampus-Dmaa0214/src/dk/dmaa0214/controllerLayer/SPNewsScraper.java | Java | gpl-2.0 | 5,592 |
/*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... | smarr/Truffle | truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/TruffleExceptionTest.java | Java | gpl-2.0 | 31,384 |
/*
* Copyright (c) 1997, 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 ... | google/desugar_jdk_libs | jdk11/src/libcore/ojluni/src/main/java/java/security/KeyStore.java | Java | gpl-2.0 | 77,059 |
/*
* Copyright 2005 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/java/lang/management/ThreadMXBean/SynchronizerDeadlock.java | Java | gpl-2.0 | 5,419 |
/*
* 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/jdk/src/share/classes/sun/swing/table/DefaultTableCellHeaderRenderer.java | Java | gpl-2.0 | 7,302 |
/*
* This file is modified by Ivan Maidanski <ivmai@ivmaisoft.com>
* Project name: JCGO-SUNAWT (http://www.ivmaisoft.com/jcgo/)
*/
/*
* @(#)BasicSpinnerUI.java 1.18 06/08/17
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
... | ivmai/JCGO | sunawt/fix/javax/swing/plaf/basic/BasicSpinnerUI.java | Java | gpl-2.0 | 33,804 |
/**************************************************************************************************
Filename: SensorTagMovementProfile.java
Copyright (c) 2013 - 2015 Texas Instruments Incorporated
All rights reserved not granted herein.
Limited License.
Texas Instruments Incorporated grants a world-wide, ... | vanjo9800/SensortagSAPCloud | src/main/java/com/example/ti/ble/sensortag/SensorTagMovementProfile.java | Java | gpl-2.0 | 9,813 |