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 |
|---|---|---|---|---|---|
package com.hacklightly.TableTennisAndroid;
import android.content.Intent;
import android.graphics.Typeface;
import android.net.Uri;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.app.Activity;
import android.os.Bu... | HackLightly/TelePongAndroid | src/com/hacklightly/TableTennisAndroid/LaunchActivity.java | Java | gpl-2.0 | 3,806 |
package br.gov.lexml.util.hibernate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class SimpleHqlBuilder {
private final String selectClause;
private final List<String> whereOperators = new ArrayList<String>();
private final List<String> whereClauses = new ArrayList<String>... | lexml/lexml-toolkit | lexml-toolkit-common/src/main/java/br/gov/lexml/util/hibernate/SimpleHqlBuilder.java | Java | gpl-2.0 | 1,973 |
/*
* USE - UML based specification environment
* Copyright (C) 1999-2010 Mark Richters, University of Bremen
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* Li... | anonymous100001/maxuse | src/main/org/tzi/use/analysis/coverage/CoverageCalculationVisitor.java | Java | gpl-2.0 | 4,705 |
package it.unibas.icar.freesbee.controllo;
import it.unibas.icar.freesbee.modello.Azione;
import it.unibas.icar.freesbee.modello.PortaApplicativa;
import it.unibas.icar.freesbee.modello.Servizio;
import it.unibas.icar.freesbee.modello.ServizioApplicativo;
import it.unibas.icar.freesbee.modello.Utente;
import it.unibas... | donatellosantoro/freESBee | freesbeeWeb/src/it/unibas/icar/freesbee/controllo/ControlloGestionePorteApplicative.java | Java | gpl-2.0 | 16,806 |
/*
* Clase usada para las consultas SQL, para que su resultado sean devueltos
* en instancias de esta clase
*/
package util;
import java.util.List;
/**
*
* @author ealvarez
*/
public class ClaseGeneral implements java.io.Serializable {
private Object campo1;
private Object campo2;
private Object ca... | newdigicash/WSPosgrado | src/java/util/ClaseGeneral.java | Java | gpl-2.0 | 11,472 |
package org.safehaus.penrose.ldap;
/**
* @author Endi S. Dewata
*/
public class DeleteResponse extends Response {
}
| identityxx/penrose-server | common/src/java/org/safehaus/penrose/ldap/DeleteResponse.java | Java | gpl-2.0 | 126 |
package fr.inria.astor.core.solutionsearch;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import com.martiansoftware.jsap.JSAPException;
import fr.inria.astor.core.entities.ModificationPoint;
import fr.inria.astor.core.entities.OperatorInstance;
import fr.inria.as... | SpoonLabs/astor | src/main/java/fr/inria/astor/core/solutionsearch/ExhaustiveSearchEngine.java | Java | gpl-2.0 | 4,176 |
/*
* Copyright (c) 2007 Pentaho Corporation. All rights reserved.
* This software was developed by Pentaho Corporation and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in compliance with the license. If you need a copy of the license,
... | panbasten/imeta | imeta2.x/imeta-src/imeta/src/main/java/com/panet/imeta/core/config/KettleConfig.java | Java | gpl-2.0 | 5,837 |
/*
* Copyright (C) 2004-2010 Stephen Ostermiller
* http://ostermiller.org/contact.pl?regarding=Java+Utilities
*
* 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 Lice... | stephenostermiller/ostermillerutils | src/main/java/com/Ostermiller/util/ConcatInputStream.java | Java | gpl-2.0 | 13,411 |
/**
* 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/BenchmarkTest08873.java | Java | gpl-2.0 | 2,531 |
/*
* Copyright 2006-2020 The MZmine Development Team
*
* This file is part of MZmine.
*
* MZmine 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 ... | tomas-pluskal/mzmine3 | src/main/java/io/github/mzmine/parameters/parametertypes/StringParameter.java | Java | gpl-2.0 | 4,113 |
/**
* 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/BenchmarkTest16422.java | Java | gpl-2.0 | 2,687 |
/*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | admo/aria | arnetworking/ddd/javaExamples/customClientExample.java | Java | gpl-2.0 | 4,033 |
/*
* Copyright (c) 2013, 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 ... | BunnyWei/truffle-llvmir | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/LoadMethodNode.java | Java | gpl-2.0 | 4,666 |
package org.bouncycastle.jcajce.provider.symmetric.util;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.spec.AlgorithmParameterSpec;
import javax.crypto.MacSpi;
import javax.crypto.spec.IvParameterSpec;
import javax.cry... | rex-xxx/mt6572_x201 | external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/BaseMac.java | Java | gpl-2.0 | 10,635 |
package datamodel;
import io.github.mzmine.datamodel.RawDataFile;
import io.github.mzmine.datamodel.features.ModularFeature;
import io.github.mzmine.datamodel.features.ModularFeatureList;
import io.github.mzmine.datamodel.features.ModularFeatureListRow;
import io.github.mzmine.datamodel.features.types.abstr.StringType... | mzmine/mzmine3 | src/test/java/datamodel/IntentionalOvershootTypeTest.java | Java | gpl-2.0 | 1,731 |
package cmput301w16t01crimsonhorizons.parkinghelper;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import and... | CMPUT301W16T01/Crimson_Horizons | ParkingHelper/app/src/main/java/cmput301w16t01crimsonhorizons/parkinghelper/NotificationAdapter.java | Java | gpl-2.0 | 2,892 |
package ejemplos;
public class SaldoInsuficiente extends Exception {
}
| angelazarquiel/programacion | UT5Clases/src/ejemplos/SaldoInsuficiente.java | Java | gpl-2.0 | 78 |
package br.gov.lexml.madoc.server.execution.hosteditor;
import br.gov.lexml.madoc.server.schema.Constants;
import br.gov.lexml.madoc.server.util.MultipleStringReplacer;
public class HostEditorReplacer {
private final MultipleStringReplacer replacer;
public HostEditorReplacer(){
this(null);
}
public HostEd... | lexml/madoc | madoc-engine/src/main/java/br/gov/lexml/madoc/server/execution/hosteditor/HostEditorReplacer.java | Java | gpl-2.0 | 814 |
package com.yh.hr.res.pt.queryhelper;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.collections.CollectionUtils;
import com.yh.hr.res.pt.bo.PtReportFile;
import com.yh.platform.core.dao.DaoUtil;
import com.yh.platform.core.exception.ServiceException;
/**
* 文号信息查询工具类... | meijmOrg/Repo-test | freelance-hr-res/src/java/com/yh/hr/res/pt/queryhelper/PtReportFileQueryHelper.java | Java | gpl-2.0 | 986 |
package expert.designPattern.proxy.dynamicProxy.cglibProxy;
import org.testng.annotations.Test;
/**
* Created by IFT8
* on 2015/8/17.
*/
public class ProxyTest {
@Test
public void test() {
DaoProxy daoProxy = new DaoProxy(new Dao(), new Transaction());
//可以不用接口 返回的是子类
Dao dao = (Da... | IFT8/JavaSE | expert/designPattern/proxy/dynamicProxy/cglibProxy/ProxyTest.java | Java | gpl-2.0 | 459 |
package com.designpatterns.decorator.exercise2;
public abstract class Decorator implements Icecream {
protected Icecream decoratedIcecream;
public Decorator(Icecream decoratedIcecream) {
this.decoratedIcecream = decoratedIcecream;
}
@Override
public abstract double getCost();
@Override
public abstract Stri... | Piski/VariousSmallProjects | Exercises/Exercises/src/com/designpatterns/decorator/exercise2/Decorator.java | Java | gpl-2.0 | 343 |
package com.tutorialspoint.springframework.annotation.qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* @author daniel
* Daniel-Dos
* daniel.dias.analistati@gmail.com
*/
public class MainApp {
public static void main... | Daniel-Dos/SpringFrameworkTutorial | Spring-Annotation-Based Configuration/QualifierAnnotation/src/com/tutorialspoint/springframework/annotation/qualifier/MainApp.java | Java | gpl-2.0 | 527 |
package workingsaturdays.com.materialgram;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widge... | Nikesh-Masiwal/Materialgram | app/src/main/java/workingsaturdays/com/materialgram/MainActivity.java | Java | gpl-2.0 | 5,350 |
package tau.tac.adx.report.demand;
import java.text.ParseException;
import se.sics.isl.transport.TransportReader;
import se.sics.isl.transport.TransportWriter;
import se.sics.tasim.props.SimpleContent;
import tau.tac.adx.demand.Campaign;
import tau.tac.adx.demand.UserClassificationServiceAdNetData;
/**
*
* @autho... | Iolaum/MrSmith | AdX/src/main/java/tau/tac/adx/report/demand/AdNetworkDailyNotification.java | Java | gpl-2.0 | 3,521 |
package condicionales;
import java.util.Scanner;
public class Ejercicio7b {
public static void main(String[] args) {
int ordenador;
String juego_ordenador;
// ordenador elige su juego
ordenador = (int) (Math.random() * 3 + 1);
if (ordenador==1) juego_ordenador="piedra";
else if (or... | angelazarquiel/programacion | UT3ControFlujo/src/condicionales/Ejercicio7b.java | Java | gpl-2.0 | 1,601 |
package exp_select;
import static java.lang.System.out;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import basic.DataCreator;
import basic.DataUpdator;
public class prepare_files {
public static void main(String[] args) throws IOException {
String ... | naveenr58/write_optimization_column_store_on_mapreduce- | hdfs_tests/exp_select/prepare_files1.java | Java | gpl-2.0 | 1,213 |
package edu.stanford.nlp.trees;
import edu.stanford.nlp.process.TokenizerFactory;
import java.util.function.Function;
import java.util.function.Predicate;
import edu.stanford.nlp.international.morph.MorphoFeatureSpecification;
import edu.stanford.nlp.ling.HasWord;
import java.io.Serializable;
/**
* This interface ... | intfloat/CoreNLP | src/edu/stanford/nlp/trees/TreebankLanguagePack.java | Java | gpl-2.0 | 13,596 |
package com.codemitts.chapter8;
import com.codemitts.ArrayUtils;
import org.junit.Assert;
import org.junit.Test;
import java.util.Random;
/**
* Created by Sarika on 5/1/2015.
*
* 8-4 Water jugs
* Suppose that you are given n red and n blue water jugs, all of different shapes and
* sizes. All red jugs hold diffe... | sarikamm/codemitts | IdeaProjects/Cormen/src/com/codemitts/chapter8/WaterJugs.java | Java | gpl-2.0 | 8,053 |
/*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | TheTypoMaster/Scaper | openjdk/jdk/test/java/nio/channels/FileChannel/TryLock.java | Java | gpl-2.0 | 3,813 |
/**
* Copyright (C) 2012-2014 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with... | USGS-CIDA/SOS | core/api/src/main/java/org/n52/sos/coding/OperationKey.java | Java | gpl-2.0 | 3,445 |
/*
* ESTE COMPONENTE SE ENCUENTRA PROTEGIDO POR LAS LEYES DE DERECHOS DE AUTOR.
* @author Carlos Godoy
* 2016
*/
package sv.com.fm.web.ui.recursohumano;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commo... | jorgegalvez/funeralesmodernos | FunerariaEAR/FunerariaWAR/src/java/sv/com/fm/web/ui/recursohumano/PreparacionesEmpleadoMttoCtrl.java | Java | gpl-2.0 | 10,459 |
package com.govauction.entity;
/**
* Author: Georgy Gobozov
* Date: 21.04.13
*/
public class BaseEntity {
private Integer id;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
}
| lexaxa/Auction | src/main/java/com/govauction/entity/BaseEntity.java | Java | gpl-2.0 | 257 |
package br.com.blogdofornias.rest;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs... | vfmunhoz/MateriaRest | src/br/com/blogdofornias/rest/ListarProdutosREST.java | Java | gpl-2.0 | 1,357 |
package com.yh.hr.worktop.facade.impl;
import org.apache.commons.lang.StringUtils;
import com.yh.hr.component.task.service.TaskNextService;
import com.yh.hr.res.bt.dto.LinkDTO;
import com.yh.hr.worktop.factory.TaskRecheckFactory;
import com.yh.hr.worktop.util.TaskWorkTopConstants;
import com.yh.platform.core.exceptio... | meijmOrg/Repo-test | freelance-hr-worktop/src/java/com/yh/hr/worktop/facade/impl/TaskRecheckDisAgreeFlowFacade.java | Java | gpl-2.0 | 1,068 |
package com.port.dbagraph.model;
public class SQLResult {
private int moodleUsersCount;
private int eventCount;
public int getMoodleUsersCount() {
return moodleUsersCount;
}
public void setMoodleUsersCount(int moodleUsersCount) {
this.moodleUsersCount = moodleUsersCount;
}
public int get... | AdamHansrod/Graphr | DBAGraph/src/com/port/dbagraph/model/SQLResult.java | Java | gpl-2.0 | 452 |
package ca.theshrine.dmclient.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import ca.theshrine.dmclient.R;
public class WelcomeActivity extends Activity {
@Override
protected void onCreate(Bundle sav... | tsdotca/dmclient | android/app/src/main/java/ca/theshrine/dmclient/activity/WelcomeActivity.java | Java | gpl-2.0 | 875 |
/**
* Copyright (C) 2002-2022 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... | FreeCol/freecol | src/net/sf/freecol/common/networking/ScoutIndianSettlementMessage.java | Java | gpl-2.0 | 4,316 |
package com.harry9137.api.scenes.Objects.logic;
import org.newdawn.slick.TrueTypeFont;
import org.newdawn.slick.UnicodeFont;
public class TextObject extends GenericObject {
private UnicodeFont font;
String string;
String objName;
int x;
int y;
public TextObject(String string){
this.s... | SomeRandomPerson9/3DT | src/com/harry9137/api/scenes/Objects/logic/TextObject.java | Java | gpl-2.0 | 1,929 |
package com.cnicola.sample.ormlite;
public class Constants {
public static final String EMPTY_STRING = "";
}
| cnicola/android-ormlite-sample | app/src/main/java/com/cnicola/sample/ormlite/Constants.java | Java | gpl-2.0 | 117 |
/*
* Copyright (c) 2015, 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... | streamsupport/streamsupport | src/literal/java/java8/util/Maps2.java | Java | gpl-2.0 | 20,740 |
/* 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/opt/ngin3d/java/com/mediatek/ngin3d/animation/PropertyAnimation.java | Java | gpl-2.0 | 14,888 |
/*
* Copyright (c) 2012, 2014, 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/graal | graal/com.oracle.graal.word/src/com/oracle/graal/word/phases/WordTypeRewriterPhase.java | Java | gpl-2.0 | 20,461 |
package com.zdc.action;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.annotation.Resource;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDrive... | ZDChuang/Info_Release_System | src/com/zdc/action/NewsAction.java | Java | gpl-2.0 | 1,726 |
/*
*
*
* Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 only, as published by the Free ... | tommythorn/yari | shared/cacao-related/phoneme_feature/cldc/src/javaapi/cldc1.1/java/io/InputStream.java | Java | gpl-2.0 | 15,242 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | christianchristensen/resin | modules/resin/src/com/caucho/jsf/taglib/HtmlCommandButtonTag.java | Java | gpl-2.0 | 3,268 |
/**
* Copyright (C) 2010-2013 Eugen Feller, INRIA <eugen.feller@inria.fr>
*
* This file is part of Snooze, a scalable, autonomic, and
* energy-aware virtual machine (VM) management framework.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public L... | snoozesoftware/snoozecommon | src/main/java/org/inria/myriads/snoozecommon/communication/virtualcluster/monitoring/NetworkDemand.java | Java | gpl-2.0 | 2,309 |
package com.artech.base.metadata.expressions;
import java.math.BigDecimal;
import java.util.Date;
import java.util.UUID;
import com.artech.base.metadata.DataItem;
import com.artech.base.metadata.theme.ThemeClassDefinition;
import com.artech.base.model.Entity;
import com.artech.base.model.EntityList;
import ... | pablanco/taskManager | Android/FlexibleClient/src/com/artech/base/metadata/expressions/Expression.java | Java | gpl-2.0 | 4,540 |
package ru.alastar.game.systems.gui;
import com.badlogic.gdx.math.Vector2;
import com.esotericsoftware.kryonet.Connection;
import ru.alastar.game.Entity;
import ru.alastar.game.systems.gui.hadlers.TileButtonGUIHandler;
import ru.alastar.main.Main;
import ru.alastar.main.net.ConnectedClient;
import ru.alastar.main.net... | MosaicOwl/the-erder | The_Erder_Dedicated_New/src/ru/alastar/game/systems/gui/NetGUISystem.java | Java | gpl-2.0 | 3,579 |
/*
* java-gnome, a UI library for writing GTK and GNOME programs from Java!
*
* Copyright © 2007-2010 Operational Dynamics Consulting, Pty Ltd
*
* The code in this file, and the program it is a part of, is made available
* to you by its authors as open source software: you can redistribute it
* and/or modify it ... | cyberpython/java-gnome | src/bindings/org/gnome/gdk/InputSource.java | Java | gpl-2.0 | 2,485 |
//
// CannotProceed.java (exception)
//
// File generated: Wed Jun 23 11:46:46 CEST 2010
// by TIDorb idl2java 1.3.11
//
package es.tid.corba.TIDNamingAdmin.AgentPackage;
final public class CannotProceed
extends org.omg.CORBA.UserException {
public java.lang.String why;
public CannotProceed() {
super(C... | AlvaroVega/TIDNamingJ | idl/.java/es/tid/corba/TIDNamingAdmin/AgentPackage/CannotProceed.java | Java | gpl-2.0 | 603 |
package me.theremixpvp.hexkits.cmds;
import java.util.ArrayList;
import java.util.List;
import me.theremixpvp.hexkits.HexKits;
import me.theremixpvp.hexkits.utils.KitConfigHandler;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.Com... | TheRemixPvP/HexKits | src/me/theremixpvp/hexkits/cmds/HKCommand.java | Java | gpl-2.0 | 6,285 |
/**
* 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/BenchmarkTest17369.java | Java | gpl-2.0 | 2,407 |
// $HeadURL$
// $Id$
//
// Copyright © 2006, 2010, 2011, 2012 by the President and Fellows of Harvard College.
//
// Screensaver is an open-source project developed by the ICCB-L and NSRB labs
// at Harvard Medical School. This software is distributed under the terms of
// the GNU General Public License.
package edu.h... | hmsiccbl/screensaver | core/src/main/java/edu/harvard/med/screensaver/model/screenresults/AnnotationType.java | Java | gpl-2.0 | 11,199 |
/*
* Copyright (c) 2000, 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 ... | ohpauleez/soymacchiato | src/jdk/src/share/classes/java/lang/StringCoding.java | Java | gpl-2.0 | 15,819 |
/*
* Created on Apr 30, 2021
*
*/
package com.cwepg.build;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Writer;
import java.util.Date;
import org.cwepg.hr.Captur... | sengsational/cwhelper | CwHelperC/src/com/cwepg/build/BuildExeFromClassFiles.java | Java | gpl-2.0 | 8,315 |
package ru.ncedu.onlineshop.vaadin.componentlayouts.content.productlayouts;
import com.vaadin.ui.Button;
import com.vaadin.ui.Notification;
import ru.ncedu.onlineshop.entity.product.Parameter;
import ru.ncedu.onlineshop.entity.product.Product;
import ru.ncedu.onlineshop.vaadin.componentlayouts.common.DoubleButtonsDial... | camelCasee/OnlineShop | src/main/java/ru/ncedu/onlineshop/vaadin/componentlayouts/content/productlayouts/EditProductLayout.java | Java | gpl-2.0 | 7,437 |
package es.uniovi.asw.trivial.db.impl.local.persistencia.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import j... | Arquisoft/Trivial4b | game/src/main/java/es/uniovi/asw/trivial/db/impl/local/persistencia/model/Pregunta.java | Java | gpl-2.0 | 2,301 |
/*
* Copyright 2005 PB Consult Inc.
*
* 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 applicabl... | moeckel/silo | third-party/common-base/src/java/com/pb/common/matrix/ZipMatrixReader.java | Java | gpl-2.0 | 6,946 |
/*
* NBlocks, Copyright (C) 2011 Matías E. Vazquez (matiasevqz@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 opt... | mevqz/nblocks | src/com/gammery/nblocks/view/NextPiecesPanel.java | Java | gpl-2.0 | 4,728 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tharindum/opennms_dashboard | opennms-dao/src/main/java/org/opennms/netmgt/dao/db/columnchanges/AutoIntegerReplacement.java | Java | gpl-2.0 | 2,308 |
package com.youthclub.model.support;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonProperty;
import static org.codehaus.jackson.annotate.JsonAutoDetect.Visibility.NONE;
/**
* @author Frank <frank@baileyroberts.com.au>
*/
@JsonAutoDetect(creatorVisibility = NONE,
... | taopmindray/server | data/src/main/java/com/youthclub/model/support/RestfulEnum.java | Java | gpl-2.0 | 524 |
/*
* Copyright (c) 2014, 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 3 only, as
* published by the Free ... | graalvm/fastr | com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/AsCall.java | Java | gpl-2.0 | 4,370 |
/*
* 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.telegram.messenger;
import android.graphics.Bitmap;
import androi... | campanhacompleta/zap | TMessagesProj/src/main/java/org/telegram/messenger/Emoji.java | Java | gpl-2.0 | 18,521 |
package towergame.circuits;
public class OneTimeOnSingleCircuit extends Circuit{
private boolean solved;
public OneTimeOnSingleCircuit(int id) {
super(id, 1);
}
@Override
public void doLogic() {
if (inputList[0] == true){
this.power = true;
this.solved = true;
} else {
this.power = false;
}
... | CS447/TowerGame | src/towergame/circuits/OneTimeOnSingleCircuit.java | Java | gpl-2.0 | 380 |
package package_a.p1.p2.p3;
public class package_b {
public void m1() {
System.out.println("hello package b.");
}
public static void main(String[] args) {
}
}
| solvery/lang-features | java/package_a/p1/p2/p3/package_b.java | Java | gpl-2.0 | 177 |
package com.rpereira.mineteam.client.gui;
import com.rpereira.mineteam.common.packets.Packets;
import com.rpereira.mineteam.common.packets.client.PacketTeamInvitation;
import com.rpereira.mineteam.common.packets.server.PacketTeamAcceptInvitation;
import com.rpereira.mineteam.common.packets.server.PacketTeamRefuse... | rpereira-dev/MineMods_1_7_10 | MineTeam/src/main/java/com/rpereira/mineteam/client/gui/GuiInvitation.java | Java | gpl-3.0 | 2,029 |
/*
Solve4x - An algebra solver that shows its work
Copyright (C) 2015 Nathaniel Paulus
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... | Nateowami/Solve4x | src/com/github/nateowami/solve4x/algorithm/DivideBothSides.java | Java | gpl-3.0 | 4,124 |
/******************************************************************************
*
* Copyright Saab AB, 2011-2013 (http://safirsdkcore.com)
*
*******************************************************************************
*
* This file is part of Safir SDK Core.
*
* Safir SDK Core is free software: you can redistribute ... | SafirSDK/safir-sdk-core | examples/vehicleapp/src/java/com/saabgroup/safir/samples/vehicleappjava/MainLoop.java | Java | gpl-3.0 | 3,736 |
/*
* This file is part of *** M y C o R e ***
* See http://www.mycore.de/ for details.
*
* MyCoRe 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)... | MyCoRe-Org/mycore | mycore-indexing/src/main/java/org/mycore/frontend/indexbrowser/MCRGoogleSitemapServlet.java | Java | gpl-3.0 | 4,048 |
/* Copyright (c) 2010, Carl Burch. License information is located in the
* com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */
package com.cburch.logisim.std.memory;
import java.util.Arrays;
class MemContentsSub {
private static class ByteContents extends ContentsInterface {
private byte[] dat... | LogisimIt/Logisim | Logisim-Fork/src/main/java/com/cburch/logisim/std/memory/MemContentsSub.java | Java | gpl-3.0 | 4,569 |
package org.opengeoportal.harvester.api.client.geonetwork;
import org.apache.commons.httpclient.auth.AuthPolicy;
import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.cookie.CookiePolicy;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.me... | OpenGeoportal/ogpHarvester | harvester-api/src/main/java/org/opengeoportal/harvester/api/client/geonetwork/XmlRequest.java | Java | gpl-3.0 | 11,582 |
package demo.app.server.bean;
import java.util.ArrayList;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
*
*/
public class ProjectBean {
private int projectId;
private String projectName;
private String projectDesc;
priv... | applifireAlgo/HR | hrproject/src/main/java/demo/app/server/bean/ProjectBean.java | Java | gpl-3.0 | 2,817 |
package org.sol.core.ui;
import org.powerbot.script.rt6.Constants;
import org.sol.core.script.Contextable;
import org.sol.core.script.Methods;
import org.sol.util.Timer;
import java.awt.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Paint extends Contextable {
public final... | malsadig/rsbotscripts | src/org/sol/core/ui/Paint.java | Java | gpl-3.0 | 6,290 |
package com.aguillem.festival.manager.core.dto;
import org.scub.foundation.framework.core.interfaces.dto.IdLabelCriteriaDto;
/**
* Criteria for IdLabelDto linked to an other object.
* @author Anthony Guillemette (anthony.guillemette@gmail.com)
*/
public class IdLabelLinkedCriteriaDto extends IdLabelCriteriaDto {
... | aguillem/festival-manager | festival-manager-core/src/main/java/com/aguillem/festival/manager/core/dto/IdLabelLinkedCriteriaDto.java | Java | gpl-3.0 | 1,121 |
package nu.wasis.stunden.model;
import java.util.Collection;
import java.util.List;
import org.joda.time.DateTime;
import org.joda.time.Duration;
/**
* A day full of work.
*/
public class Day implements Comparable<Day> {
private final DateTime date;
private final List<Entry> entries;
/**
* Create a... | sne11ius/stunden | src/main/java/nu/wasis/stunden/model/Day.java | Java | gpl-3.0 | 3,616 |
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.rec.view.util;
public interface... | avdata99/SIAT | siat-1.0-SOURCE/src/view/src/WEB-INF/src/ar/gov/rosario/siat/rec/view/util/RecConstants.java | Java | gpl-3.0 | 7,860 |
/*
* Copyright 2021 Systems Research Group, University of St Andrews:
* <https://github.com/stacs-srg>
*
* This file is part of the module utilities.
*
* utilities is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License as published by the Free Software Foun... | stacs-srg/utilities | src/main/java/uk/ac/standrews/cs/utilities/crypto/Utils.java | Java | gpl-3.0 | 1,083 |
/*
* Copyright 2013 Google Inc.
*
* 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... | PhaniGaddipati/Stacks-Flashcards | src/main/java/com/google/android/apps/dashclock/ui/SwipeDismissGridViewTouchListener.java | Java | gpl-3.0 | 14,664 |
package org.jasonleaster.bookstore.util;
public class AttributesKey {
private AttributesKey(){}
public final static String SESSION_ATTRIBUTES_USER = "user";
public final static String SESSION_ATTRIBUTES_ADMIN = "admin";
public final static String SESSION_ATTRIBUTES_USER_QUERY_FORM = "userQue... | jasonleaster/TheWayToJava | SimpleWebApp/src/main/java/org/jasonleaster/bookstore/util/AttributesKey.java | Java | gpl-3.0 | 993 |
/*************************************************************************
Copyright (C) 2009 Grandite
This file is part of Open ModelSphere.
Open ModelSphere 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 Foundat... | DarioGT/OMS-PluginXML | org.modelsphere.jack/src/org/modelsphere/jack/baseDb/assistant/JHtmlBallonHelp.java | Java | gpl-3.0 | 31,986 |
/*
* 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 com.payfact.modelo.persistencia.entidades;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Basic;... | GoFact-AAL/PayFact | src/main/java/com/payfact/modelo/persistencia/entidades/Tipocobranza.java | Java | gpl-3.0 | 3,180 |
package com.neoteric.starter.request.sort;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class SortOperatorTest {
@Test
public void shouldCreateSortOperatorForProperName() {
SortOperator sortOperator = SortOperator.fromString("$order");
assertThat(So... | rychu777/neo-starters | request-parameters/src/test/java/com/neoteric/starter/request/sort/SortOperatorTest.java | Java | gpl-3.0 | 1,058 |
/*
* This file is part of the L2J Global project.
*
* 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 p... | rubenswagner/L2J-Global | java/com/l2jglobal/gameserver/model/actor/status/SiegeFlagStatus.java | Java | gpl-3.0 | 1,539 |
/*
* 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 drawing.persistency;
import drawing.domain.Drawing;
import java.io.File;
import java.io.FileInputStream;
import java... | Isylwin/JCCa | Opdracht1/src/drawing/persistency/SerializationMediator.java | Java | gpl-3.0 | 2,349 |
package org.rockhill.adoration.database.business.helper;
import java.util.List;
/**
* The Base class of Business classes those are handling database tables.
* Not a must use, but helps to provide common solution for parent classes.
*/
public class BusinessBase {
protected static final String EXPECTED_PARAMETER... | tkohegyi/adoration | adoration-application/modules/adoration-database/src/main/java/org/rockhill/adoration/database/business/helper/BusinessBase.java | Java | gpl-3.0 | 966 |
package org.jtb.gdstockcheck;
enum Device {
NEXUS_6_BLUE_32GB("https://play.google.com/store/devices/details/Nexus_6_32GB_Midnight_Blue?id=nexus_6_blue_32gb", R.drawable.nexus_6_blue, "Nexus 6, Blue, 32GB"),
NEXUS_6_BLUE_64GB("https://play.google.com/store/devices/details/Nexus_6_64GB_Midnight_Blue?id=nexus_6_blue... | farble1670/gdstockcheck | GoogleDeviceStockChecker/app/src/nexus6/java/org/jtb/gdstockcheck/Device.java | Java | gpl-3.0 | 952 |
package com.p3pp3rf1y.bigmachines.utility;
import net.minecraftforge.common.util.ForgeDirection;
public class DirectionHelper {
//TODO: figure out why there's a need for duplicate first two lines
public static final ForgeDirection neighborsBySide[][] = new ForgeDirection[][] {
{ForgeDirection.NOR... | P3pp3rF1y/BigMachines | src/main/java/com/p3pp3rf1y/bigmachines/utility/DirectionHelper.java | Java | gpl-3.0 | 885 |
package lib.exceptions;
public class MathInputException extends LibException
{
private static final long serialVersionUID = 1L;
public MathInputException()
{}
public MathInputException(String x)
{
super(x);
}
}
| princeeriktheblue/console | ELib/lib/exceptions/MathInputException.java | Java | gpl-3.0 | 238 |
/**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.view.... | xVir/tasks | src/main/java/com/todoroo/astrid/activity/TaskEditActivity.java | Java | gpl-3.0 | 2,124 |
/*
* Copyright (C) 2015 Federico Iosue (federico.iosue@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 3 of the License, or
* (at your option) any later version... | jfreax/Omni-Notes | omniNotes/src/main/java/it/feio/android/omninotes/ShortcutActivity.java | Java | gpl-3.0 | 1,592 |
/*
* 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 distributed in the hope that it w... | waikato-datamining/adams-base | adams-meta/src/main/java/adams/flow/sink/FlowDisplay.java | Java | gpl-3.0 | 8,225 |
/*
* Copyright (C) 2015 hu
*
* 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 ... | CrawlScript/WebCollector | src/main/java/cn/edu/hfut/dmic/webcollector/model/CrawlDatum.java | Java | gpl-3.0 | 8,405 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.03.30 at 03:35... | RandalfMx/RandalfProtocol | RandalfCatSan/src/main/java/it/mibac/san/eac_san/DescriptiveEntries.java | Java | gpl-3.0 | 2,328 |
package osh.mgmt.localcontroller.ipp;
import java.util.Arrays;
import java.util.UUID;
import osh.datatypes.ea.interfaces.ISolution;
/**
*
* @author Ingo Mauser
*
*/
public class GenericApplianceSolution implements ISolution {
public UUID acpUUID;
public long[] startingTimes;
public int profileId;
/**... | organicsmarthome/OSHv4 | source/osh_driver_appliance/src/osh/mgmt/localcontroller/ipp/GenericApplianceSolution.java | Java | gpl-3.0 | 2,241 |
// $Id: AssociationRoleNotationUml.java 127 2010-09-25 22:23:13Z marcusvnac $
// Copyright (c) 2006-2009 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is here... | ckaestne/LEADT | workspace/argouml_critics/argouml-app/src/org/argouml/notation/providers/uml/AssociationRoleNotationUml.java | Java | gpl-3.0 | 9,087 |
package org.kei.android.phone.cellhistory.towers;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/**
*******************************************************************************
* @file SignalStrengthReflect.java
* @author Keidan
* @date 04/12/2015
* @par Project CellHis... | Keidan/CellHistory | src/org/kei/android/phone/cellhistory/towers/SignalStrengthReflect.java | Java | gpl-3.0 | 2,796 |
package org.tellervo.desktop.odk.fields;
import org.tellervo.desktop.tridasv2.doc.Documentation;
import org.tridas.interfaces.ITridas;
import org.tridas.schema.TridasElement;
public class ODKTridasElementAuthenticity extends AbstractODKField {
private static final long serialVersionUID = 1L;
public ODKTridasElem... | petebrew/tellervo | src/main/java/org/tellervo/desktop/odk/fields/ODKTridasElementAuthenticity.java | Java | gpl-3.0 | 650 |
package br.com.marks.brinquedoteca.a.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import br.com.marks.brinquedoteca.R;
/**
* A simple {@link Fragment} subclass.
*/
public class TelaContatoFr... | marks5/Brinquedoteca | app/src/main/java/br/com/marks/brinquedoteca/a/fragment/TelaContatoFragment.java | Java | gpl-3.0 | 723 |
/*
* This file is part of the Trickl Open Source Libraries.
*
* Trickl Open Source Libraries - http://open.trickl.com/
*
* Copyright (C) 2011 Tim Gee.
*
* Trickl Open Source Libraries are free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | trickl/trickl-graph | src/main/java/com/trickl/graph/planar/xml/XmlDoublyConnectedEdgeListAdapter.java | Java | gpl-3.0 | 4,135 |