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 |
|---|---|---|---|---|---|
/**
* 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/BenchmarkTest01535.java | Java | gpl-2.0 | 4,138 |
package cn.lucifer.sdop.domain;
public class HeaderDetail {
public BpDetail bpDetail;
public EnergyDetail energyDetail;
public int gold;
public int ms;
public int msMax;
public int pilot;
public int pilotMax;
}
| hjp4lucifer/lucifer-sdop | android/sdop/src/cn/lucifer/sdop/domain/HeaderDetail.java | Java | gpl-2.0 | 240 |
package org.swati.problemSolving.permutations;
/* Write a function to compute the maximum length palindromic sub-sequence of an array.
A palindrome is a sequence which is equal to its reverse.
A sub-sequence of an array is a sequence which can be constructed by removing elements of the array.
Ex: Given [4,1,2,3,4,5,6,... | swatkatz/problem-solving | src/main/java/org/swati/problemSolving/permutations/PalindromSubSeq.java | Java | gpl-2.0 | 1,687 |
/*
* Copyright (C) 2016 SFINA Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distrib... | SFINA/SFINA | core/src/agents/communication/ProgressType.java | Java | gpl-2.0 | 1,010 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-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(... | OpenNMS/opennms-pmatrix | vaadin-pmatrix/src/test/java/org/opennms/features/vaadin/pmatrix/manual/CalculationDataMarshalTest.java | Java | gpl-2.0 | 7,300 |
package ntut.csie.ezScrum.web.control;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import junit.framework.TestCase;
import ntut.csie.ezScrum.iteration.core.ISprintPlanDesc;
import ntut.csie.ezScrum.test.CreateData.CopyProject;
import ntut.csie.ezScr... | ezScrum/ezScrum_1.7.2_export | test/ntut/csie/ezScrum/web/control/SprintPlanHelperTest.java | Java | gpl-2.0 | 24,045 |
/**
* QVGenerateHTMLServlet.java
*
* Created on 24/05/2007
*/
package edu.xtec.qv.servlet;
import javax.servlet.http.HttpServletResponse;
/**
* @author sarjona
* @version
*/
public class QVOpenHTMLServlet extends QVGenerateHTMLServlet {
protected void createResponse(HttpServletResponse response, Stri... | projectestac/qv | qv_viewer/src/viewer/edu/xtec/qv/servlet/QVOpenHTMLServlet.java | Java | gpl-2.0 | 688 |
package com.springmvc.example.controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.... | GeekBrains/springmvc-jpa | springmvc/springmvc-web/src/main/java/com/springmvc/example/controller/RegistrationController.java | Java | gpl-2.0 | 1,880 |
package gceschat;
import java.io.IOException;
import java.net.Socket;
public class GreetingClient
{
private String serverName;
private int port;
private Socket client;
private DataOutputStream Dout;
private DataInputStream Din;
public GreetingClient(String serverName, int port) throws IOE... | DBBA/gceschat | src/gceschat/GreetingClient.java | Java | gpl-2.0 | 1,130 |
package stoneserver;
public class StoneServer {
public static void main(String[] args){
MinecraftServer s = new MinecraftServer(25565, 2, "StoneServer, Testing!");
s.Start();
}
}
| jython234/StoneServer | src/stoneserver/StoneServer.java | Java | gpl-2.0 | 189 |
/*
* This is the source code of Telegram for Android v. 3.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-2016.
*/
package org.cafemember.ui.Components;
public class Rect {
public float x;... | Teleburna/teleburna-gram | TMessagesProj/src/main/java/org/cafemember/ui/Components/Rect.java | Java | gpl-2.0 | 588 |
package com.opentravelsoft.service.portal;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.opentravelsoft.entity.Branch;
import com.opentravelsoft.providers.BranchDao;
@Service("BranchService")
public class BranchService... | stevenzh/tourismwork | src/modules/service/src/main/java/com/opentravelsoft/service/portal/BranchServiceImpl.java | Java | gpl-2.0 | 563 |
package es.uniovi.asw.trivial.gui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swi... | Arquisoft/Trivial2b | extract/src/main/java/es/uniovi/asw/trivial/gui/PreguntaDialog.java | Java | gpl-2.0 | 13,763 |
package teammates.test.cases.datatransfer;
import static teammates.common.util.Const.EOL;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.testng.annotations.Test;
import teammates.common.datatransfer.DataBundle;
import teammates.common.datatransfer.FeedbackParticipantType;
impor... | GriffinHines/teammates | src/test/java/teammates/test/cases/datatransfer/FeedbackQuestionAttributesTest.java | Java | gpl-2.0 | 18,651 |
package org.janelia.render.client;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.ParametersDelegate;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import org.janelia.alignment.Ar... | saalfeldlab/render | render-ws-java-client/src/main/java/org/janelia/render/client/RenderSectionClient.java | Java | gpl-2.0 | 12,829 |
package jp.co.evangelion.nervhome.selector.gles;
import jp.co.evangelion.nervhome.gles.C143b;
import jp.co.evangelion.nervhome.gles.C145d;
public class C059h {
public static final String TAG = C059h.class.getSimpleName();
public static C143b MPa(float p1, float p2) {
return C145d.MPa(0.82F * (p1 / p2), ... | SquallATF/MAGIHome | src/jp/co/evangelion/nervhome/selector/gles/C059h.java | Java | gpl-2.0 | 336 |
/*
* Copyright 2005-2008 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... | gouessej/java3d-core | src/main/java/org/jogamp/java3d/ShaderErrorListener.java | Java | gpl-2.0 | 1,854 |
package br.com.sgo.managedbean.cadastro;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
... | rsnatividade/CNRSistemas | sgo/src/main/java/br/com/sgo/managedbean/cadastro/CadastroVeiculoMBean.java | Java | gpl-2.0 | 3,034 |
/**
* OWASP Benchmark Project v1.2beta
*
* 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 OWASP Benchmark is free software: you can redistribu... | andresriancho/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00095.java | Java | gpl-2.0 | 3,591 |
/*
* Yalp Store
* Copyright (C) 2018 Sergey Yeriomin <yeriomin@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any late... | yeriomin/YalpStore | app/src/main/java/com/github/yeriomin/yalpstore/task/playstore/BackgroundUpdatableAppsTask.java | Java | gpl-2.0 | 7,510 |
/*
* Created on 16/06/2005
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package net.indrix.arara.servlets.photo;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
i... | BackupTheBerlios/arara-svn | core/tags/arara-1.0/src/main/java/net/indrix/arara/servlets/photo/ShowOnePhotoServlet.java | Java | gpl-2.0 | 4,954 |
package net.lsrp.wolfie.graphics;
import net.lsrp.wolfie.Game;
public class Screen {
public int width, height;
public int[] pixels;
public Screen(int width, int height) {
this.width = width;
this.height = height;
pixels = new int[width*height];
for(int i = 0; i < pixels.length; i++) {
pixels[i] = ... | Sim00n/Wolfie | Wolfie/src/net/lsrp/wolfie/graphics/Screen.java | Java | gpl-2.0 | 2,587 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | risingsunm/Contacts_4.0 | src/com/android/contacts/list/ContactBrowseListFragment.java | Java | gpl-2.0 | 37,157 |
/*
* Copyright (C) 2012 ZXing 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 law or agr... | bonn036/Zoo | zxing/src/main/java/com/mmnn/zxing/camera/AutoFocusManager.java | Java | gpl-2.0 | 4,562 |
package module6.task2;
public class Rosebush {
private Rose[] roses;
}
| alenab/MyLabs | src/module6/task2/Rosebush.java | Java | gpl-2.0 | 76 |
package org.saiku.web.rest.resources;
import org.saiku.service.ISessionService;
import org.saiku.web.bean.DatabaseInfoBean;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import javax.ws.rs.FormParam;
import javax.ws.rs.G... | hzssean/soas | soas-core/soas-web/src/main/java/org/saiku/web/rest/resources/DatabaseConfigResource.java | Java | gpl-2.0 | 5,162 |
package HopfieldModel.HopfieldModel.v1_1_1.src;
import HopfieldModel.HopfieldNetwork.v1_1_1.src.*;
/*********************************/
/* */
/* Importing all Nsl classes */
/* */
/*********************************/
import nslj.src.system.*;
import nslj.s... | uscbp/scs | nsl_models/HopfieldModel/HopfieldModel/v1_1_1/src/HopfieldModel.java | Java | gpl-2.0 | 2,764 |
package com.peterson.programs.fortunestowergame;
import com.peterson.programs.fortunestower.Board;
import com.peterson.programs.fortunestower.Board2D;
import com.peterson.programs.fortunestower.Deck;
import com.peterson.programs.fortunestower.TestDeck;
import javax.swing.*;
import java.awt.*;
import java.awt.event.Ac... | sadjava/Fortunes-Tower | src/com/peterson/programs/fortunestowergame/GameFrame.java | Java | gpl-2.0 | 12,819 |
/*************************************************************************
* Clus - Software for Predictive Clustering *
* Copyright (C) 2010 *
* Katholieke Universiteit Leuven, Leuven, Belgium *
* Jozef Stefan I... | active-learning/active-learning-scala | src/main/java/clus/algo/rules/RuleNormalization.java | Java | gpl-2.0 | 3,176 |
/**
* 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/BenchmarkTest20262.java | Java | gpl-2.0 | 2,271 |
/*******************************************************************************
* Copyright (c) 2011 University of Bayreuth - BayCEER.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v2.0
* which accompanies this distribution, and is... | BayCEER/goat | src/main/java/de/unibayreuth/bayeos/goat/tree/JObjektTree.java | Java | gpl-2.0 | 3,637 |
import java.util.Iterator;
public class Stakk<E> implements StakkIterable<E>{
private Node forste;
public Stakk(){
forste = new Node(null);
}
public void push(E data){
Node ny = new Node(data);
ny.neste = forste.neste;
forste.neste = ny;
}
public E top(){
if(forste.neste == null){
return null;
... | gardir/INF1010-V16 | uke06/Stakk.java | Java | gpl-2.0 | 1,209 |
package org.usfirst.frc.team1758.robot.commands.groups;
import edu.wpi.first.wpilibj.command.CommandGroup;
import org.usfirst.frc.team1758.robot.commands.MoveBack;
import org.usfirst.frc.team1758.robot.commands.TurnOnLight;
import org.usfirst.frc.team1758.robot.commands.TurnRight;
public class HardAutoLeft extends C... | technomancers/2017SteamWorks | src/main/java/org/usfirst/frc/team1758/robot/commands/groups/HardAutoLeft.java | Java | gpl-2.0 | 521 |
package com.example.eli.loginapp;
/**
* Created by Eli on 1/18/2015.
*/
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
public class EntryDataBaseAdapter {
static final Stri... | Eli-SP/BetterThrowers | LoginApp/app/src/main/java/com/example/eli/loginapp/EntryDataBaseAdapter.java | Java | gpl-2.0 | 3,699 |
package com.kezhenxu.wechat6;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import com.kezhenxu.study.activity00.R;
public class Main extends Activity {
@Override
protected void onCreate ( Bundle savedInstanceState ) {
super.onCreate ( savedInstanc... | course-design/test | app/src/main/java/com/kezhenxu/wechat6/Main.java | Java | gpl-2.0 | 1,022 |
/*
* Copyright (c) 2013, 2017, 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 ... | teamfx/openjfx-8u-dev-rt | modules/web/src/main/native/Source/WebCore/bindings/java/dom3/java/com/sun/webkit/dom/HTMLBaseFontElementImpl.java | Java | gpl-2.0 | 2,404 |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* 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; version 2
* of the License only.
*
* This... | TheLQ/ps3mediaserver | src/main/java/net/pms/network/HTTPServer.java | Java | gpl-2.0 | 7,398 |
/*
* FreeGuide J2
*
* Copyright (c) 2001-2004 by Andy Balaam and the FreeGuide contributors
*
* freeguide-tv.sourceforge.net
*
* Released under the GNU General Public License
* with ABSOLUTELY NO WARRANTY.
*
* See the file COPYING for more information.
*/
package freeguide.plugins.program.freeguide.wiz... | andybalaam/freeguide | src/freeguide/plugins/program/freeguide/wizard/BooleanWizardPanel.java | Java | gpl-2.0 | 2,693 |
package sk.hackcraft.als.utils;
import java.util.NoSuchElementException;
import java.util.Set;
/**
* Interface representing configuration, divided by sections containing key
* value pairs.
*/
public interface Config {
/**
* Check section availability.
*
* @param section name of section
* @... | hackcraft-sk/swarm | utils/src/sk/hackcraft/als/utils/Config.java | Java | gpl-2.0 | 2,786 |
/*
* Copyright 1998-2008 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/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java | Java | gpl-2.0 | 20,539 |
package wusc.edu.pay.common.utils.export;
import java.util.List;
/**
* 描述: 数据导出,数据源
* @author Hill
*
*/
public interface ExportDataSource<T>{
<T> List<T> getData();
}
| piaolinzhi/fight | dubbo/pay/pay-common/src/main/java/wusc/edu/pay/common/utils/export/ExportDataSource.java | Java | gpl-2.0 | 208 |
package org.dcu.net;
/**
* Interface for http callback.
* @author Brendan Dodd
*/
public interface CallbackListener {
public void onComplete(String jsonResponse);
}
| ubjelly/DCU | src/org/dcu/net/CallbackListener.java | Java | gpl-2.0 | 174 |
/**
* this interface specifies the methods of a BindListener; it is only useful if you want
* to develop a bus monitor (Ivy Probe, spy, ivymon)
*
* @author Yannick Jestin
* @author <a href="http://www.tls.cena.fr/products/ivy/">http://www.tls.cena.fr/products/ivy/</a>
*
* Changelog:
* 1.2.8
* - removed the p... | prajdheeraj/CS557Project | Code/ivy/src/IvyBindListener.java | Java | gpl-2.0 | 883 |
/*
* Newsrc.java
* Copyright (C) 2002 The Free Software Foundation
*
* This file is part of GNU inetlib, a library.
*
* GNU inetlib 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... | SeekingFor/jfniki | alien/src/gnu/inet/nntp/Newsrc.java | Java | gpl-2.0 | 2,823 |
/*
* Copyright (c) 2003, 2010, 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 ... | w7cook/batch-javac | src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/LayoutParser.java | Java | gpl-2.0 | 4,026 |
package com.example.tests;
import java.util.regex.Pattern;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;... | czunker/check_selenium | src/com/example/tests/GoogleSeleniumWebdriverTestCase.java | Java | gpl-2.0 | 1,345 |
package org.jalgo.module.ebnf.controller.syndia;
import org.jalgo.module.ebnf.model.syndia.SyntaxDiagram;
import org.jalgo.module.ebnf.util.IAction;
/**
* Action that deletes a syntax diagram.
*
* @author Michael Thiele
*
*/
public class DeleteSyntaxDiagramAction implements IAction {
private SyntaxDiagram sy... | jurkov/j-algo-mod | src/org/jalgo/module/ebnf/controller/syndia/DeleteSyntaxDiagramAction.java | Java | gpl-2.0 | 772 |
package com.jackzilla.scrumpoker;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | mmartin101/ScrumPoker | app/src/androidTest/java/com/jackzilla/scrumpoker/ApplicationTest.java | Java | gpl-2.0 | 355 |
// Test for method java.io.IOError.getClass().isAssignableFrom(Class)
// Copyright (C) 2012 Pavel Tisnovsky <ptisnovs@redhat.com>
// This file is part of Mauve.
// Mauve is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Softwar... | niloc132/mauve-gwt | src/main/java/gnu/testlet/java/io/IOError/classInfo/isAssignableFrom.java | Java | gpl-2.0 | 1,557 |
package device.elements;
import java.util.concurrent.LinkedBlockingQueue;
import device.Device;
import protocols.layer2.DataProtocol;
import protocols.layer2.IPv4;
import protocols.layer2.MACGenerator;
import netdata.Frame;
import netdata.packet.IPv4Packet;
import netdata.packet.Packet;
public abstract c... | frawg/NetFramework | src/device/elements/Port.java | Java | gpl-2.0 | 4,782 |
/*
* Copyright (c) 2020, 2020, 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 | substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/graal/SubstrateCardTableBarrierSet.java | Java | gpl-2.0 | 2,302 |
package com.truckmuncher.app.vendor;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import com.truckmuncher.app.App;
import javax.inject.Inject;
public class VendorTrucksService extends IntentService {
@Inject
VendorTruckStateResolver vendorTruckStateResolv... | TruckMuncher/TruckMuncher-Android | mobile/src/main/java/com/truckmuncher/app/vendor/VendorTrucksService.java | Java | gpl-2.0 | 783 |
/*
FieldNode.java
field tree node for GASHSchema
Created: 14 August 1997
Module By: Jonathan Abbey, jonabbey@arlut.utexas.edu
-----------------------------------------------------------------------
Ganymede Directory Management System
Copyright (C) 1996-2010
The University... | jonabbey/Ganymede | src/ganymede/arlut/csd/ganymede/admin/FieldNode.java | Java | gpl-2.0 | 2,338 |
package teammates.common.util;
/**
* The type object that defines an email based on its purpose.
*/
public enum EmailType {
FEEDBACK_OPENING("TEAMMATES: Feedback session now open [Course: %s][Feedback Session: %s]"),
FEEDBACK_SESSION_REMINDER("TEAMMATES: Feedback session reminder [Course: %s][Feedback Sessi... | Neurrone/teammates | src/main/java/teammates/common/util/EmailType.java | Java | gpl-2.0 | 1,828 |
/*
* Copyright (C) 2020 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
package eu.webtoolkit.jwt;
import eu.webtoolkit.jwt.chart.*;
import eu.webtoolkit.jwt.servlet.*;
import eu.webtoolkit.jwt.utils.*;
import java.io.*;
import java.lang.ref.*;
import java.time.*;
import java.util.*;
impor... | kdeforche/jwt | src/eu/webtoolkit/jwt/JavaScriptObjectType.java | Java | gpl-2.0 | 727 |
package com.key.dwsurvey.service.impl;
import java.util.List;
import com.key.dwsurvey.dao.AnCompChenRadioDao;
import com.key.dwsurvey.entity.AnCompChenRadio;
import com.key.dwsurvey.service.AnCompChenRadioManager;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;
import o... | 11hks11/sy | src/main/java/com/key/dwsurvey/service/impl/AnCompChenRadioManagerImpl.java | Java | gpl-2.0 | 1,215 |
/*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | TheTypoMaster/Scaper | openjdk/jaxws/drop_included/jaxws_src/src/javax/xml/bind/TypeConstraintException.java | Java | gpl-2.0 | 6,104 |
package it.unisalento.wox;
public class WoXmanager {
private static WoXmanager instance;
private String app_id;
private String WoXserverIP = "193.204.76.186";
private String WoXserverPort = "8280";
//private String base_url="http://193.204.76.235:8080/capturingapp/rest/topicmanager/"; //193.204.76.235
private S... | robertovergallo/wox | WoX-api-java/src/it/unisalento/wox/WoXmanager.java | Java | gpl-2.0 | 861 |
/*
* JFwknop is developed primarily by the people listed in the file 'AUTHORS'.
* Copyright (C) 2016 JFwknop developers and contributors.
*
* 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;... | fjoncourt/jfwknop | src/main/java/com/cipherdyne/gui/components/JFwknopArgs.java | Java | gpl-2.0 | 1,888 |
package com.nvisium.androidnv.api;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
@RunWith(SpringJUnit4... | nVisium/MoneyX | src/test/java/com/nvisium/androidnv/api/AndroidNvApiApplicationTests.java | Java | gpl-2.0 | 521 |
package com.aether.dto.user;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotBlank;
public class UpdateUserDto {
private int id;
private String password;
@NotBlank(message = "用户Id不能为空")
public int getId() {
return id;
}
@NotNull(message = "... | dev-sanpang/sdk-platfom | sdk-management-platform/src/main/java/com/aether/dto/user/UpdateUserDto.java | Java | gpl-2.0 | 422 |
/*
* 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 eu.kardasz.java.sql.querybuilder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.ut... | kardasz/java.sql.querybuilder | src/eu/kardasz/java/sql/querybuilder/Insert.java | Java | gpl-2.0 | 2,951 |
package org.breakout.model.raw;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import org.andork.unit.Angle;
impo... | jedwards1211/breakout | breakout-main/src/test/java/org/breakout/model/raw/MetacaveImporterTests.java | Java | gpl-2.0 | 4,415 |
package edu.upc.eetac.dsa.alejandro;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
pub... | alejandrosanchezcabana/mysql | src/test/java/edu/upc/eetac/dsa/alejandro/AppTest.java | Java | gpl-2.0 | 655 |
/* 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/frameworks/common/src/com/mediatek/common/epo/MtkEpoFileInfo.java | Java | gpl-2.0 | 4,666 |
package com.wordpress.xmlrpc.post;
import java.util.Hashtable;
import java.util.Vector;
import com.wordpress.io.DraftDAO;
import com.wordpress.model.Blog;
import com.wordpress.model.Post;
import com.wordpress.utils.log.Log;
import com.wordpress.xmlrpc.BlogConn;
public class GetPostConn extends BlogConn {... | wordpress-mobile/WordPress-BlackBerry-Legacy | src/com/wordpress/xmlrpc/post/GetPostConn.java | Java | gpl-2.0 | 2,493 |
public class IndeedDefaultPackage {
}
| X3N0-Life-Form/TestLink-Selenium_RPCServer | TLS_Dir_Generator--test/IndeedDefaultPackage.java | Java | gpl-2.0 | 40 |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2000-2005 The Apache Software Foundation.
*
* 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... | zarue/jdk7u-hotspot | jaxp/src/com/sun/org/apache/xerces/internal/jaxp/SAXParserImpl.java | Java | gpl-2.0 | 31,363 |
package org.cad.interruptus.core.zookeeper;
import org.apache.curator.framework.CuratorFramework;
public interface ZookeeperLifecycleListener
{
public void onStart(CuratorFramework curator) throws Exception;
public void onStop(CuratorFramework curator) throws Exception;
} | interruptus/interruptus | src/main/java/org/cad/interruptus/core/zookeeper/ZookeeperLifecycleListener.java | Java | gpl-2.0 | 282 |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* 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; version 2
* of the License only.
*
* This... | Sami32/UniversalMediaServer | src/main/java/net/pms/encoders/MEncoderWebVideo.java | Java | gpl-2.0 | 4,257 |
package org.hl7.v3;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Jav... | flaviociaware/cwEnsaiosWeb | cwCADSUS/src/main/java/org/hl7/v3/MFMIMT700711UV01PriorRegisteredAct.java | Java | gpl-2.0 | 7,119 |
package com.numhero.client.widget.submenu;
public class EstimatesSubmenuEstimatesSubmenuUiBinderImplGenMessages_en implements com.numhero.client.widget.submenu.EstimatesSubmenuEstimatesSubmenuUiBinderImplGenMessages {
public java.lang.String message3() {
return "View Archived Estimates";
}
public java.lan... | midaboghetich/netnumero | gen/com/numhero/client/widget/submenu/EstimatesSubmenuEstimatesSubmenuUiBinderImplGenMessages_en.java | Java | gpl-2.0 | 555 |
/**
* Copyright (C) 2002-2015 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol 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 optio... | edijman/SOEN_6431_Colonization_Game | src/net/sf/freecol/server/model/LootSession.java | Java | gpl-2.0 | 1,599 |
/*
* Created on 16-May-2004
* Created by Paul Gardner
* Copyright (C) 2004, 2005, 2006 Aelitis, All Rights Reserved.
*
* 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
* ... | thangbn/Direct-File-Downloader | src/src/org/gudy/azureus2/pluginsimpl/local/update/UpdateInstallerImpl.java | Java | gpl-2.0 | 11,382 |
/* GeneratorListener: callbacks for GeneratorStream.
$Id: GeneratorListener.java,v 1.2 2003/07/20 04:26:13 rsdio Exp $
Copyright (C) 2003 Casey Marshall <rsdio@metastatic.org>
This file is a part of Jarsync.
Jarsync is free software; you can redistribute it and/or modify it
under the terms of the GNU... | Tongbupan/Jarsync | source/org/metastatic/rsync/GeneratorListener.java | Java | gpl-2.0 | 2,362 |
/*-
* APT - Analysis of Petri Nets and labeled Transition systems
* Copyright (C) 2015 vsp
*
* 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
* (a... | CvO-Theory/apt | src/module/uniol/apt/analysis/homogeneous/HomogeneousModule.java | Java | gpl-2.0 | 3,020 |
/*
* 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/test/java/net/nikr/eve/jeveasset/gui/tabs/routing/TestRouting.java | Java | gpl-2.0 | 4,482 |
package net.iharding.modules.meta.dao.impl;
import net.iharding.modules.meta.dao.OwnerDao;
import net.iharding.modules.meta.model.Owner;
import org.guess.core.orm.hibernate.HibernateDao;
import org.guess.sys.model.User;
import org.springframework.stereotype.Repository;
/**
*
* @ClassName: Owner
* @Description: Owne... | joezxh/DATAX-UI | eshbase-commons/src/main/java/net/iharding/modules/meta/dao/impl/OwnerDaoImpl.java | Java | gpl-2.0 | 867 |
package net.opendasharchive.openarchive.publish.sites;
import android.content.Context;
import android.util.Log;
import net.opendasharchive.openarchive.publish.PublishController;
import net.opendasharchive.openarchive.publish.model.Job;
import net.opendasharchive.openarchive.publish.model.JobTable;
import net.opendash... | scalio/openarchive | app/src/main/java/net/opendasharchive/openarchive/publish/sites/ArchivePublisher.java | Java | gpl-2.0 | 2,787 |
ckage net.sf.jabref.bibtex;
import java.io.IOException;
import java.io.StringWriter;
import net.sf.jabref.Globals;
import net.sf.jabref.JabRefPreferences;
import net.sf.jabref.logic.bibtex.BibEntryWriter;
import net.sf.jabref.logic.bibtex.LatexFieldFormatter;
import net.sf.jabref.model.database.BibDatabaseMode;
impo... | iksmada/DC-UFSCar-ES2-201601-GrupoDilema | src/test/java/net/sf/jabref/bibtex/ValidacaoAnoPrimeiroTeste.java | Java | gpl-2.0 | 4,937 |
package br.edu.utfpr.eventos.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import br.edu.utfpr.eventos.model.Cidade;
import br.edu.utfpr.eventos.model.Estado;
public interface CidadeRepository extends JpaRepository<Cidade, Long> {
List<Cidade> findByEstado(Estado ... | BoraTomaUma/Eventos | src/main/java/br/edu/utfpr/eventos/repository/CidadeRepository.java | Java | gpl-2.0 | 331 |
/*
* Copyright 2012 AndroidPlot.com
*
* 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 ... | miiicmueller/RedPitayaScope | AndroidPlot-Core/src/main/java/com/androidplot/util/ValPixConverter.java | Java | gpl-2.0 | 3,954 |
/*
* Copyright 1998-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/solaris/classes/sun/awt/X11InputMethodDescriptor.java | Java | gpl-2.0 | 3,480 |
import Controllers.GameController;
import Controllers.GraphicController;
/**
* @author zamil.majdy
* @version 1.10
*
* Main controller class
*/
public class Main {
public static void main(String[] args) {
new GameController();
new GraphicController();
}
}
| zmajdy/Gomoku-game | src/Main.java | Java | gpl-2.0 | 271 |
/*
* LOSLocationCluster
*
* Created on 2009
*
* Copyright (c) 2009 LinogistiX GmbH. All rights reserved.
*
* <a href="http://www.linogistix.com/">browse for licence information</a>
*
*/
package de.linogistix.los.location.entityservice;
import javax.ejb.Stateless;
import javax.persistence.NoResultException;
im... | Jacksson/mywms | server.app/los.location-ejb/src/de/linogistix/los/location/entityservice/LOSLocationClusterServiceBean.java | Java | gpl-2.0 | 1,609 |
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/src/com/iucn/whp/dbservice/model/impl/assessing_threats_potentialCacheModel.java | Java | gpl-2.0 | 3,291 |
package edu.stanford.nlp.hcoref;
import java.io.File;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Locale;
import java.util.Properties;
import java.util.Set;
import edu.stanford.nlp.hcoref.data.Dictionaries.MentionType;
import edu.stanford.nlp.hcoref.sieve.Sieve.ClassifierType;
import edu.stanf... | hbbpb/stanford-corenlp-gv | src/edu/stanford/nlp/hcoref/CorefProperties.java | Java | gpl-2.0 | 20,475 |
/*
* 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, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* ... | oonym/l2InterludeServer | L2J_Server/java/net/sf/l2j/gameserver/script/EngineInterface.java | Java | gpl-2.0 | 3,353 |
package com.wellheadstone.nemms.server.util;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf... | tomdeng/NEMMS | nemms-mina/src/main/java/com/wellheadstone/nemms/server/util/MessageUtils.java | Java | gpl-2.0 | 13,851 |
/*
* OCaml Support For IntelliJ Platform.
* Copyright (C) 2010 Maxim Manuylov
*
* 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 ... | consulo/consulo-ocaml | src/main/java/manuylov/maxim/ocaml/lang/parser/psi/element/OCamlInitializerClassFieldDefinition.java | Java | gpl-2.0 | 954 |
package experiment.Neo4j.algorithms;
import testgdbb.*;
public class graphsumm{
public static void main(String args[]){
Test t = new TestGraphSummarization();
t.testAlgorithm(Integer.parseInt( args[0]), 3);
}
}
| gpalma/gdbb | experiment/Neo4j/algorithms/graphsumm.java | Java | gpl-2.0 | 218 |
/*
* Open Source Software published under the GNU Licence, Version 2.0.
*/
package io.github.liquec.gui.controller;
import io.github.liquec.analysis.core.GuiTaskHandler;
import io.github.liquec.analysis.core.LiquEcException;
import io.github.liquec.analysis.session.EnrichedSessionState;
import io.github.liquec.anal... | LiquEc/LiquEc | gui/src/main/java/io/github/liquec/gui/controller/GuiFileHandler.java | Java | gpl-2.0 | 7,527 |
package org.neuclear.signers.standalone.identitylists;
import org.neuclear.commons.crypto.passphraseagents.icons.IconTools;
import javax.swing.*;
import javax.swing.tree.DefaultTreeCellRenderer;
import java.awt.*;
/*
* The NeuClear Project and it's libraries are
* (c) 2002-2004 Antilles Software Ventures SA
* ... | pelle/neuclear-signer | src/java/org/neuclear/signers/standalone/identitylists/IdentityTreeCellRenderer.java | Java | gpl-2.0 | 2,759 |
/*
* This file is part of CrappyDB-Server,
* developed by Luca Bonmassar <luca.bonmassar at gmail.com>
*
* CrappyDB-Server 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... | openmosix/crappydb | src/main/java/org/bonmassar/crappydb/server/storage/berkley/ItemEntity.java | Java | gpl-2.0 | 1,917 |
package de.vahrson.pt;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( S... | jrtex/primeTime | pt/src/test/java/de/vahrson/pt/AppTest.java | Java | gpl-2.0 | 641 |
/****************************************************************
* Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
* =============================================================
* License Information: http://lamsfoundation.org/licensing/lams/2.0/
*
* This program is free software; you can redistri... | lamsfoundation/lams | lams_tool_zoom/src/java/org/lamsfoundation/lams/tool/zoom/web/controller/MonitoringController.java | Java | gpl-2.0 | 4,587 |
package com.aw.builder;
import org.apache.commons.lang.StringUtils;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.*;
/**
* User: Kaiser
* Date: 31/03/2009
*/
public class RPRepository {
public st... | AlanGuerraQuispe/SisAtuxPerfumeria | hbm-tools/src/com/aw/builder/RPRepository.java | Java | gpl-2.0 | 9,798 |
package com.fred.patten.n_observerpattern;
public class ConcreteSubject extends Subject{
private String subjectStatus;
public String getSubjectStatus() {
return subjectStatus;
}
public void setSubjectStatus(String subjectStatus) {
this.subjectStatus = subjectStatus;
}
}
| fredxiangdong/try | another/src/com/fred/patten/n_observerpattern/ConcreteSubject.java | Java | gpl-2.0 | 287 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | nologic/nabs | client/trunk/shared/libraries/jfreechart-1.0.5/source/org/jfree/chart/encoders/KeypointPNGEncoderAdapter.java | Java | gpl-2.0 | 5,031 |
package org.misha.domain.algebra.lie.polynomial.monomial;
/**
* Author: mshevelin
* Date: 3/28/14
* Time: 3:21 PM
*/
abstract class MonomialVisitor {
void visit(final Monomial m) {
if (m.isLetter()) {
doSomethingWith(m);
return;
}
final Monomial left = m.left()... | shma2001gmailcom/lie-fe | src/main/java/org/misha/domain/algebra/lie/polynomial/monomial/MonomialVisitor.java | Java | gpl-2.0 | 536 |