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.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...
ganncamp/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00986.java
Java
gpl-2.0
4,100
package edu.stanford.nlp.pipeline; import edu.stanford.nlp.ie.NERClassifierCombiner; import edu.stanford.nlp.ie.regexp.NumberSequenceClassifier; import edu.stanford.nlp.io.RuntimeIOException; import edu.stanford.nlp.process.PTBTokenizer; import edu.stanford.nlp.process.WordToSentenceProcessor; import edu.stanford.nlp....
automenta/corenlp
src/edu/stanford/nlp/pipeline/AnnotatorFactories.java
Java
gpl-2.0
26,009
/** * ownCloud Android client application * * @author purigarcia * Copyright (C) 2015 ownCloud Inc. * * 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 ...
asifdahir/nscloud
automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/RunNoIgnoreTests.java
Java
gpl-2.0
1,633
package lbms.tools.flexyconf; public class Validator { int type; public boolean validate (String value) { return false; } public static Validator getValidator (String rule, int type) throws InvalidRuleException, InvalidTypeException { switch(type) { case Entry.TYPE_STRING: return RegexValidator.getVal...
dkarlinsky/azsmrc
shared/src/main/java/lbms/tools/flexyconf/Validator.java
Java
gpl-2.0
605
/** * This file is part of Project Control Center (PCC). * * PCC (Project Control Center) project is intellectual property of * Dmitri Anatol'evich Pisarenko. * * Copyright 2010, 2011 Dmitri Anatol'evich Pisarenko * All rights reserved * **/ package at.silverstrike.pcc.impl.gtaskrelevance; import org.apac...
dpisarenko/pcc-logic
src/main/java/at/silverstrike/pcc/impl/gtaskrelevance/DefaultIsGoogleTaskRelevantCalculator.java
Java
gpl-2.0
3,046
//============================================================================== // // Copyright (c) 2002- // Authors: // * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford, formerly University of Birmingham) // //------------------------------------------------------------------------------ // // Th...
bharathk005/prism-4.2.1-src-teaser-patch
src/parser/ast/ExpressionReward.java
Java
gpl-2.0
7,303
package com.tomtom.amelinium.confluence.logic; import java.util.ArrayList; import org.springframework.stereotype.Service; import com.tomtom.amelinium.backlogservice.builders.BacklogModelBuilder; import com.tomtom.amelinium.backlogservice.corrector.BacklogModelCorrector; import com.tomtom.amelinium.backlogservice.mod...
tomtom-lodz/amelinium
amelinium-confluence/src/main/java/com/tomtom/amelinium/confluence/logic/BacklogPageCorrector.java
Java
gpl-2.0
3,436
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
lucaswerkmeister/ceylon-compiler
src/com/redhat/ceylon/compiler/java/codegen/CallableBuilder.java
Java
gpl-2.0
66,817
package com.samwilskey.flightsimchecklist.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.samwilskey.flightsimchecklist.model.Checklist; import com.samwi...
swilskey/FlightSimChecklist
app/src/main/java/com/samwilskey/flightsimchecklist/adapters/ChecklistAdapter.java
Java
gpl-2.0
2,876
package com.envoy.game.greendao; import com.envoy.game.greendao.DaoSession; import de.greenrobot.dao.DaoException; // THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS // KEEP INCLUDES - put your custom includes here // KEEP INCLUDES END /** * Entity mapped to table "GAME". */ public class G...
dcf82/EnvoyGameRater
app/src/main/java/com/envoy/game/greendao/Game.java
Java
gpl-2.0
3,367
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
intelie/esper
esper/src/test/java/com/espertech/esper/regression/view/TestDistinct.java
Java
gpl-2.0
22,889
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.afi.maven.app001.managebean; import com.afi.maven.common.managebeans.MbSessionApp; import com.afi.maven.model.AfidsbscMstuser; import com.afi.maven.app001.service.App001ServiceInterface; import com....
achmad/Maven001
src/main/java/com/afi/maven/app001/managebean/MbApp001.java
Java
gpl-2.0
2,110
/* * Copyright (C) 2015 mafiagame.ir * * 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 distr...
mafiagameir/engine
src/main/java/co/mafiagame/engine/container/GameContainer.java
Java
gpl-2.0
2,351
package com.yh.platform.core.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.HttpURLConnection; import java.net.URL; import java.security.GeneralSecurityExcepti...
meijmOrg/Repo-test
freelance-core/src/java/com/yh/platform/core/util/HttpClientUtil.java
Java
gpl-2.0
5,375
/* * Copyright 2013 ArcBees 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 in ...
alfonsodou/javaleague-gwtp
src/main/java/org/javahispano/javaleague/client/application/rating/RatingDetailUiHandlers.java
Java
gpl-2.0
861
package monitorizacion; import controlVelocidad.Eje; public class Monitorizacion { private Deposito deposi; private Notificaciones notify; private Reseteo reset; private CalculadorVelMed velMed; private RelojM reloj; private Eje eje; public Monitorizacion(Eje eje) { this.eje = eje; reloj = new RelojM(this...
romanarranz/DS
P3/SCAV/src/monitorizacion/Monitorizacion.java
Java
gpl-2.0
2,380
package fi.helsinki.cs.titotrainer.app.admin.view; import static org.hamcrest.Matchers.*; import static org.junit.Assert.*; import java.util.Collection; import org.hibernate.Session; import org.junit.Before; import org.junit.Test; import fi.helsinki.cs.titotrainer.app.admin.request.TaskRequest; import fi.helsinki.c...
titokone/titotrainer
tests/src/fi/helsinki/cs/titotrainer/app/admin/view/TaskViewTest.java
Java
gpl-2.0
5,131
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2016 The IdeaVim authors * * 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 ...
stonexx/ideavim
src/com/maddyhome/idea/vim/action/motion/leftright/MotionRightAction.java
Java
gpl-2.0
1,806
/* * This file is part of GatorMail, a servlet based webmail. * Copyright (C) 2002, 2003 William A. McArthur, Jr. * Copyright (C) 2003 The Open Systems Group / University of Florida * * GatorMail is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publ...
springdeveloper/roflcopters
src/java/edu/ufl/osg/webmail/actions/DeleteAddressAction.java
Java
gpl-2.0
4,090
/* * -----LICENSE START----- * JGlideMon - A Java based remote monitor for MMO Glider * Copyright (C) 2007 Tim * * 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 o...
timglide/jglidemon
src/jgm/wow/Item.java
Java
gpl-2.0
13,979
/** * Copyright (C) 2012-${latestYearOfContribution} 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 publishedby the Free * Software Foundation. * ...
52North/SensorPlanningService
52n-sps-api/src/main/java/org/n52/sps/sensor/SensorTaskStatus.java
Java
gpl-2.0
2,319
/* * ************************************************************************* * SecondaryActivity.java * ************************************************************************** * Copyright © 2015 VLC authors and VideoLAN * Author: Geoffrey Métais * * This program is free software; you can redistribute it...
leonxun/vlc-android
vlc-android/src/org/videolan/vlc/gui/SecondaryActivity.java
Java
gpl-2.0
6,178
/* Calimero 2 - A library for KNX network access Copyright (c) 2019, 2021 B. Malinowsky 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...
calimero-project/calimero-device
src/test/java/tuwien/auto/calimero/device/ManagementServiceNotifierTest.java
Java
gpl-2.0
8,601
package io.swagger.client.model; import io.swagger.client.StringUtil; import io.swagger.annotations.*; import com.fasterxml.jackson.annotation.JsonProperty; @ApiModel(description = "") @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-12-07T10:37:32.809-05:00...
nanobox-apps/sample-java
swagger-java-client/src/main/java/io/swagger/client/model/Label.java
Java
gpl-2.0
1,113
/* 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/fild_Mw_mem.java
Java
gpl-2.0
1,871
/* * Copyright 2005-2013 AIGECHIBAOLE. All rights reserved. * Support: http://www.aigechibaole.com * License: http://www.aigechibaole.com/license */ package com.openteach.openshop.server.service.dao.impl; import javax.persistence.FlushModeType; import javax.persistence.NoResultException; import org.spri...
sihai/openshop
server/service/src/main/java/com/openteach/openshop/server/service/dao/impl/DeliveryCenterDAOImpl.java
Java
gpl-2.0
2,253
package com.comphenix.xp.parser; import java.util.ArrayList; import java.util.List; import org.bukkit.configuration.ConfigurationSection; /** * Converts a configuration object into a list of strings. * * @author Kristian */ public class StringListParser extends ConfigurationParser<List<String>> { ...
aadnk/ExperienceMod
ExperienceMod/src/main/java/com/comphenix/xp/parser/StringListParser.java
Java
gpl-2.0
1,262
package edu.sc.seis.fissuresUtil.cache; import java.util.Properties; import junit.framework.TestCase; import org.apache.log4j.BasicConfigurator; import org.omg.CosNaming.NamingContextPackage.CannotProceed; import org.omg.CosNaming.NamingContextPackage.InvalidName; import org.omg.CosNaming.NamingContextPackage.NotFou...
crotwell/fissuresUtil
src/test/java/edu/sc/seis/fissuresUtil/cache/NSSeismogramDCTest.java
Java
gpl-2.0
956
/******************************************************************************* * Copyright (c) 2000, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
AntoineDelacroix/NewSuperProject-
org.eclipse.jface/src/org/eclipse/jface/viewers/CustomHashtable.java
Java
gpl-2.0
13,027
package com.example.jens.myapplication.booking; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widge...
ProjectGroep1/Joetz-Android-V2
Joetz_Android_V2/app/src/main/java/com/example/jens/myapplication/booking/BookingParticipantsFragment.java
Java
gpl-2.0
12,921
package de.dml.application.kernel.persistenceUnitBootstrapFixtures.interfaces; import java.util.Date; import org.springframework.transaction.annotation.Transactional; import de.dml.application.persistence.core.entity.AuthUser; public interface FixtureLoader { public void initialize(final Date transactionD...
ssmits/DML
src/main/java/de/dml/application/kernel/persistenceUnitBootstrapFixtures/interfaces/FixtureLoader.java
Java
gpl-2.0
424
package de.superioz.moo.spigot.listeners; import de.superioz.moo.api.database.objects.Group; import de.superioz.moo.api.io.LanguageManager; import de.superioz.moo.network.queries.MooQueries; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit....
Superioz/MooProject
spigot/src/main/java/de/superioz/moo/spigot/listeners/ChatListener.java
Java
gpl-2.0
905
package com.youai.aistore.Home; import java.util.ArrayList; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import com....
andongniao/AiStore
src/com/youai/aistore/Home/SearchActivity.java
Java
gpl-2.0
1,846
package cn.springmvc.dao.security; import java.util.List; import cn.springmvc.model.security.Permission; /** * @author liyanlin E-mail: liyl@shishike.com * @version 创建时间:2015年4月19日 下午5:50:44 * 类说明 */ /** * @author liyanlin * */ public interface PermissionDao { /** * @author liyanlin E-mail: liyl@shis...
gliyanlin/Lyndon
src/main/java/cn/springmvc/dao/security/PermissionDao.java
Java
gpl-2.0
500
package br.ufrgs.engineering.caching.fmwk; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface Cac...
sidcley/caching
src/main/java/br/ufrgs/engineering/caching/fmwk/Cacheable.java
Java
gpl-2.0
478
package org.gnome.gio; import org.gnome.glib.GlibException; import org.gnome.glib.Object; public class DBusConnection extends Object { public DBusConnection(final AsyncResult pres) throws GlibException { super(org.gnome.gio.GDBusConnection.createDBusConnectionFinish(pres)); } // public DBusConne...
nhrdl/java_gnome
java-gnome-4.1.3-Webkitgtk2/src/bindings/org/gnome/gio/DBusConnection.java
Java
gpl-2.0
1,092
package com.reform.dbstorm.client; /** * 数据库未定义异常. * * @author huaiyu.du@opi-corp.com * 2012-2-8 下午5:08:58 */ public class DbNotDefinedException extends RuntimeException { private static final long serialVersionUID = 1L; public DbNotDefinedException(final String db) { super("config for [" + db + "] is no...
deyami/dbstorm
dbstorm-client/src/main/java/com/reform/dbstorm/client/DbNotDefinedException.java
Java
gpl-2.0
530
/* * RapidMiner * * Copyright (C) 2001-2008 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
ntj/ComplexRapidMiner
src/com/rapidminer/gui/operatortree/actions/AddAllBreakpointsAction.java
Java
gpl-2.0
2,285
/** * Synesketch * Copyright (C) 2008 Uros Krcadinac * * 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. * * Th...
davidfoerster/synesketch
src/synesketch/emotion/AffectWord.java
Java
gpl-2.0
12,393
package com.chromemote.crx.client.ui; import com.google.gwt.core.client.JavaScriptObject; public class RemoteButtonProperties extends JavaScriptObject { // (1) // Overlay types always have protected, zero argument constructors. protected RemoteButtonProperties() {} ...
RobertDaleSmith/chromemote1-chrome-extension
src/com/chromemote/crx/client/ui/RemoteButtonProperties.java
Java
gpl-2.0
1,167
package DarkS.TechXProject.packets; import DarkS.TechXProject.capability.PacketEnergyCapability; import DarkS.TechXProject.machines.energyMonitor.PacketUpdateMonitor; import DarkS.TechXProject.machines.itemInterface.PacketExtractFromNetwork; import DarkS.TechXProject.machines.itemInterface.PacketSendInventory; import ...
DarkShadow07/TechXProject
src/main/java/DarkS/TechXProject/packets/PacketHandler.java
Java
gpl-2.0
3,167
package info.fulloo.trygve.parser; /* * Trygve IDE 2.0 * Copyright (c)2016 James O. Coplien, jcoplien@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 ...
jcoplien/trygve
src/main/java/info/fulloo/trygve/parser/ParseRun.java
Java
gpl-2.0
13,804
package br.com.leonardoz.structures; import java.util.LinkedHashMap; import java.util.Map; public class If { private Map<Conditional, Task> conditionalFlow; private final Conditional noneMatch = () -> true; public If(Conditional condit, Task task) { conditionalFlow = new LinkedHashMap<>(); put(condit, task)...
LeonardoZ/jstructureless
jstructureless/src/main/java/br/com/leonardoz/structures/If.java
Java
gpl-2.0
774
package org.claros.commons.mail.models; import java.io.Serializable; import java.util.Date; import javax.mail.Address; /** * @author Umut Gokbayrak */ public class EmailHeader implements Serializable { private static final long serialVersionUID = 846372960987843509L; private Address[] bcc; private Address[] fro...
atealxt/crm
intouch2/src/claros-base-src/org/claros/commons/mail/models/EmailHeader.java
Java
gpl-2.0
5,347
package p_jie.library; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition...
p-jie/upLibs
library/src/test/java/p_jie/library/ExampleUnitTest.java
Java
gpl-2.0
391
/* * Copyright (C) 2015 Max Planck Institute for Psycholinguistics, Nijmegen * * 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) ...
MPI-ExperimentGroup/ExperimentTemplate
FieldKitRecorder/src/android/nl/mpi/tg/eg/frinex/CSVRow.java
Java
gpl-2.0
2,603
/* * Copyright (C) 2006 The Concord Consortium, Inc., * 25 Love Lane, Concord, MA 01742 * * 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 * ...
concord-consortium/mw
src/org/concord/modeler/TipBar.java
Java
gpl-2.0
4,548
/* notesTab.java This class manages the notes tab in the Ganymede client. Created: 21 June 2005 Module By: Jonathan Abbey ----------------------------------------------------------------------- Ganymede Directory Management System Copyright (C) 1996-2014 The University of Texas at Austin ...
jonabbey/Ganymede
src/ganymede/arlut/csd/ganymede/client/notesTab.java
Java
gpl-2.0
3,180
package com.toggle.notifica.database; public class PeriodTeacher extends Model { public long period; public long teacher; public PeriodTeacher() {} public PeriodTeacher(long period, long teacher) { this.period = period; this.teacher = teacher; } }
coders-circle/Notifica
android/app/src/main/java/com/toggle/notifica/database/PeriodTeacher.java
Java
gpl-2.0
287
/** * 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/BenchmarkTest15051.java
Java
gpl-2.0
2,548
package com.javarush.task.task14.task1421; /** * Created by Sergej Irupin on 11.09.17. */ public class Singleton { private static Singleton instance; private Singleton () { this.instance = this; } public static Singleton getInstance () { if (instance == null) new Singlet...
biblelamp/JavaExercises
JavaRushTasks/2.JavaCore/src/com/javarush/task/task14/task1421/Singleton.java
Java
gpl-2.0
358
/** * t * org.mysoftnet.t.controller * Created: 12/10/2013 */ package org.mysoftnet.t.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation...
sebacoria/mysoftnet
t/src/main/java/org/mysoftnet/t/controller/MapsController.java
Java
gpl-2.0
759
/* * Copyright (C) 2017 Glencoe Software, Inc. 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 of the License, or * (at your option) any later versi...
glencoesoftware/omero-ms-thumbnail
src/main/java/com/glencoesoftware/omero/ms/thumbnail/ThumbnailMicroserviceVerticle.java
Java
gpl-2.0
12,887
package de.metas.device.api; /* * #%L * de.metas.device.api * %% * 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 the * License,...
klst-com/metasfresh
de.metas.device.api/src/main/java/de/metas/device/api/ISingleValueResponse.java
Java
gpl-2.0
1,445
package com.qqj.utils; import java.util.ArrayList; import java.util.List; public class EntityUtils { public static <T> List<T> toWrappers(List entities, Class<T> wrapperClass) { try { List<T> list = new ArrayList<T>(); for (Object entity : entities) { list.add(wrapperClass.getConstructor(entity.getClass...
wangguodong577/qqj-backend
core/src/main/java/com/qqj/utils/EntityUtils.java
Java
gpl-2.0
436
package net.sf.memoranda.ui.htmleditor.filechooser; import javax.swing.filechooser.FileFilter; import java.io.File; public class ImageFilter extends FileFilter { // Accept all directories and all gif, jpg, or tiff files. public boolean accept(File f) { if (f.isDirectory()) { return true; ...
cst316/spring16project-Team-Laredo
src/net/sf/memoranda/ui/htmleditor/filechooser/ImageFilter.java
Java
gpl-2.0
781
/* * 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 br.pucminas.engs.poo.main; import java.awt.Image; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import...
brenoemelo/StudyWork
POO/Library/src/br/pucminas/engs/poo/main/BaseDialog.java
Java
gpl-2.0
2,731
package info.jbcs.minecraft.chisel.blocks; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.relauncher.Side; import info.jbcs.minecraft.chisel.Chisel; import info.jbcs.minecraft.chisel.render.BlockSpikesRenderer; import info.jbcs.minecraft.chisel.util.GeneralChiselClient; import info.jbcs.minecraft.uti...
delta534/Chisel
src/main/java/info/jbcs/minecraft/chisel/blocks/BlockSpikes.java
Java
gpl-2.0
2,242
package de.maltesermailo.OpMessage; import java.io.File; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org...
mailoplatform/ServerTools
src/de/maltesermailo/OpMessage/RespawnListener.java
Java
gpl-2.0
1,253
/* * Copyright (c) 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 Softwa...
smarr/Truffle
tools/src/com.oracle.truffle.tools.dap/src/com/oracle/truffle/tools/dap/types/ErrorResponse.java
Java
gpl-2.0
5,289
package org.iocaste.kernel.runtime.shell.sh; import java.util.List; import java.util.Map; import org.iocaste.documents.common.DocumentModelItem; import org.iocaste.documents.common.ExtendedObject; import org.iocaste.documents.common.Query; import org.iocaste.documents.common.ValueRange; import org.iocaste.documents.c...
fprates/iocaste
src/kernel/classes/org/iocaste/kernel/runtime/shell/sh/SearchHelpRenderer.java
Java
gpl-2.0
10,281
/* * #%L * VisBio application for visualization of multidimensional biological * image data. * %% * Copyright (C) 2002 - 2014 Board of Regents of the University of * Wisconsin-Madison. * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
uw-loci/visbio
src/main/java/loci/visbio/MacAdapter.java
Java
gpl-2.0
3,097
package factory; /** * This is the factory class which is abstract. Forces subclass factories (more specialised) to implment the <code> * createConnection </code> method * */ public abstract class ConnectionFactory { public ConnectionFactory() { } /** * Besides an empty constructor, the im...
oreillyross/java-design-patterns
design-patterns/src/factory/ConnectionFactory.java
Java
gpl-2.0
703
public class KiasuParameter implements Cryptable{ protected static byte[] EPSILON = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; byte[][] eachOne; int number; // kaç tane var int n; //bir tanesi kaç byte - random 128 bit, 16 byte public KiasuParameter(byte[] par) { n=16; number = par.length/n; eachOne = parcalama(p...
merlingo/AES
src/KiasuParameter.java
Java
gpl-2.0
2,139
package com.leetcode.oj.medium.jump_game; /** * Given an array of non-negative integers, you are initially positioned at the * first index of the array. * * Each element in the array represents your maximum jump length at that * position. * * Determine if you are able to reach the last index. * * For examp...
Telisa/Algorithm
src/com/leetcode/oj/medium/jump_game/Solution.java
Java
gpl-2.0
10,995
/* * To change this license header, choose License Headers in Project Parameters. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package xkonti.elebase; /** * Class representing single parameter of unknown type. * @author Xkonti */ public abstract class Param...
Xkonti/EleBase
OLD/src/xkonti/elebase/Parameter.java
Java
gpl-2.0
6,494
package snidgert.harrypottermod.tileentities; import net.minecraft.tileentity.*; public class TileEntityCrystalball extends TileEntity { }
FearlessTobi/HPUM-1.7
src/main/java/snidgert/harrypottermod/tileentities/TileEntityCrystalball.java
Java
gpl-2.0
141
package com.niklim.clicktrace.view; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import javax.swing.text.JTextComponent; /** * Provides support for undo/redo operation on {#link JTextComponent}. */ public class Tex...
mnikliborc/clicktrace
src/main/java/com/niklim/clicktrace/view/TextComponentHistory.java
Java
gpl-2.0
2,128
/* * JBoss, Home of Professional Open Source. * Copyright 2010, 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 * unde...
jcordes73/jboss-as-zookeeper
src/main/java/org/jboss/as/zookeeper/ZooKeeperSubsystemAdd.java
Java
gpl-2.0
2,307
/* * This file is part of JGrasstools (http://www.jgrasstools.org) * (C) HydroloGIS - www.hydrologis.com * * JGrasstools 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,...
formeppe/NewAge-JGrass
jgrassgears/src/main/java/org/jgrasstools/gears/modules/utils/coveragelist/OmsCoverageLister.java
Java
gpl-2.0
6,140
/* * 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/impl/OCamlTagSpecImpl.java
Java
gpl-2.0
2,153
package io.dnbg.newrelic.dropwizard.probes; import io.dnbg.newrelic.dropwizard.responses.HealthCheck; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import java...
dbaggott/newrelic-dropwizard
src/test/java/io/dnbg/newrelic/dropwizard/probes/AbstractDropwizardProbeTest.java
Java
gpl-2.0
2,739
package ru.orangesoftware.financisto.bus; import org.androidannotations.annotations.EBean; import org.greenrobot.eventbus.EventBus; @EBean(scope = EBean.Scope.Singleton) public class GreenRobotBus { public final EventBus bus = new EventBus(); public void post(Object event) { bus.post(event); } ...
tiberiusteng/financisto1-holo
app/src/main/java/ru/orangesoftware/financisto/bus/GreenRobotBus.java
Java
gpl-2.0
749
package com.rocui.mvc.mapping; import com.rocui.mvc.filter.ActionFilter; import com.rocui.mvc.annotation.Filter; import com.rocui.util.base.PackageBrowser; import com.rocui.util.base.reflect.ObjectSnooper; import java.util.HashMap; import java.util.List; import java.util.Map.Entry; import org.apache.log4j.Log...
hou80houzhu/rocserver
src/main/java/com/rocui/mvc/mapping/FilterContainer.java
Java
gpl-2.0
2,862
package com.itachi1706.Bukkit.Banception; import java.util.concurrent.TimeUnit; /** * Created by Kenneth on 17/7/2015. * for Banception in com.itachi1706.Bukkit.Banception */ public class TimeCalc { public static int initCalc(String timeToBan){ int strLength = timeToBan.length(); //Length of string ...
itachi1706/Bukkit
Banception/src/com/itachi1706/Bukkit/Banception/TimeCalc.java
Java
gpl-2.0
3,120
package xyz.patrickdorn.coordinatorplayground; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; public class PullToActionActivity extends AppCompatActivity { @Override protected void o...
patrickdorn/CoordinatorPlayground
app/src/main/java/xyz/patrickdorn/coordinatorplayground/PullToActionActivity.java
Java
gpl-2.0
675
/** * */ package escola.musica.bean; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import javax.faces...
tccads/proposta_de_ambiente_virtual_de_ensino_de_musica_popular
escola-musica/src/escola/musica/bean/CursoBean.java
Java
gpl-2.0
4,387
package de.tivsource.page.admin.actions.others.contententry; import java.util.Date; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.struts2.ServletActionContext; import org.apache.struts2.convention.annotation.Action; import org.apache.strut...
tiv-source/tiv-page
web-administrator/src/main/java/de/tivsource/page/admin/actions/others/contententry/EditAction.java
Java
gpl-2.0
6,005
package org.javaturk.dp.ch06.command.ac; public class HeatCommand implements Command { private AirConditioner ac; public HeatCommand(AirConditioner ac) { this.ac = ac; } public void execute(Temperature temperature) { ac.turnOnHeater(temperature); } @Override public void undo() { // TOD...
javaturk/DesignPatterns
src/java/org/javaturk/dp/ch06/command/ac/HeatCommand.java
Java
gpl-2.0
444
/* Copyright (C) 2003-2009 by Peter Eastman 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 distri...
ar-/art-of-illusion
ArtOfIllusion/src/artofillusion/animation/FilterParameterTrack.java
Java
gpl-2.0
12,722
/** * 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/BenchmarkTest08188.java
Java
gpl-2.0
2,005
/* * Discord4J - Unofficial wrapper for Discord API * Copyright (c) 2015 * * 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...
iMarluxia/DiscordBot
src/main/java/sx/blah/discord/util/Requests.java
Java
gpl-2.0
4,445
/* * Created on Jan 5, 2011 * Created by Paul Gardner * * Copyright (C) Azureus Software, Inc, 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 * ...
BiglySoftware/BiglyBT
core/src/com/biglybt/core/xml/util/XMLEscapeWriter.java
Java
gpl-2.0
1,278
package view.tablemodel; import java.util.ArrayList; import java.util.List; import javax.swing.table.AbstractTableModel; import modelo.Categoria; import modelo.Usuario; public class TmUsuarios extends TablaModelo { private String []columnNames={"Usuario","Nombre","Tipo Usuario"}; private List<Usuario> usuarios = ...
gihon19/posWendy
posWendy/src/view/tablemodel/TmUsuarios.java
Java
gpl-2.0
2,055
package com.timeTool.actions; import com.timeTool.TimeTool; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.JFrame; public class AboutAction extends AbstractAction { public static final String aboutAction = "about"; private final TimeTool controller; priva...
parismend/timetool2
src/com/timeTool/actions/AboutAction.java
Java
gpl-2.0
579
/* * Copyright (c) 1998-2008 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
moriyoshi/quercus-gae
src/main/java/com/caucho/util/WeakLruCache.java
Java
gpl-2.0
10,281
/* * SONAR -- Simple Object Notification And Replication * Copyright (C) 2006-2018 Minnesota Department of Transportation * * 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 ...
CA-IRIS/mn-sonar
src/us/mn/state/dot/sonar/server/ConnectionImpl.java
Java
gpl-2.0
18,623
/* * Copyright 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 Foundati...
TheTypoMaster/Scaper
openjdk/langtools/test/tools/javap/T4876942.java
Java
gpl-2.0
2,279
/* * ============================================================================ * GNU Lesser General Public License * ============================================================================ * * JasperReports - Free Java report-generating library. * Copyright (C) 2001-2009 JasperSoft Corporation http://www....
delafer/j7project
jasper352/csb-jasperreport-dep/src/net/sf/jasperreports/engine/export/xmlss/XmlssTableBuilder.java
Java
gpl-2.0
4,081
package com.github.leomagis.magis.item; import com.github.leomagis.magis.Magis; import com.github.leomagis.magis.enums.EnumCompoundType; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraf...
leoMagis/Magis
src/main/java/com/github/leomagis/magis/item/ItemElementalCompound.java
Java
gpl-2.0
1,069
package org.nextprot.api.core.service.export.io; import org.codehaus.plexus.util.StringOutputStream; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import org.nextprot.api.core.service.OverviewService; import org.nextprot.api.core.test.base.CoreUnitBaseTest; import org.springframework.beans.f...
calipho-sib/nextprot-api
core/src/test/java/org/nextprot/api/core/service/export/io/EntryProteinExistenceReportTSVWriterTest.java
Java
gpl-2.0
1,289
import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; /** * ButtonListener.java * * Used when the button in the GUI is clicked. * The resulting operation of the button is determined by the current state of the program. * * @author Shuhan Liu (sl1041) 154007082 * ...
nsheim/RUBTClient
ButtonListener.java
Java
gpl-2.0
1,613
package tim.prune.gui.colour; import java.awt.Color; import tim.prune.data.TrackInfo; /** * Abstract class to do the colouring of points, * that is holding a colour for each track point * in the current track */ public abstract class PointColourer { /** default colour */ private Color _defaultColour = Color.BL...
activityworkshop/GpsPrune
src/tim/prune/gui/colour/PointColourer.java
Java
gpl-2.0
2,999
package Raytracing.Light; /** * SpotLight represents class for creating SpotLight objects in a Raytracer */ import MathFunc.Point3; import MathFunc.Vector3; import Raytracing.Color; import Raytracing.Hit; import Raytracing.Ray; import Raytracing.World; public class SpotLight extends Light { /** * Point3 u...
DarkMio/KappaTrace
src/Raytracing/Light/SpotLight.java
Java
gpl-2.0
2,159
package EjemploClaseDoblemente; /** * Esta clase contiene los métodos que actuan sobre la lista doble * @author Bertulfo A. Prado Urrego * @version 1.0 * @since 18Sep2015 */ public class ListaDoble { private Nodo cabeza; private int numeroElementos; /** * Constructor de la lista */ ...
cristian0193/EstructuraDatos
EstructuraDatos1/src/EjemploClaseDoblemente/ListaDoble.java
Java
gpl-2.0
4,801
import info.gridworld.actor.*; import info.gridworld.grid.Location; /** * This class runs a world with additional grid choices. */ public class SparseGridRunner { /*The World has a public addGridClass method. Since the ActorWorld is a World, you can call this method in a runner. Here is the code to add a new...
WarpPrism/MyGridWorld
projects/src/Stage2/Part5/Part5.1/SparseGridRunner.java
Java
gpl-2.0
774
package org.paradise.etrc.filter; import static org.paradise.etrc.ETRC.__; import java.io.File; import javax.swing.filechooser.FileFilter; public class GIFFilter extends FileFilter { @Override public boolean accept(File pathname) { if (pathname.getName().endsWith("gif") || pathname.isDirectory()) ...
zearon/train-graph
ETRC/src/org/paradise/etrc/filter/GIFFilter.java
Java
gpl-2.0
459
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.rocui.jmsger.base.mapping; import com.rocui.jmsger.annotation.SocketService; import com.rocui.jmsger.service.BaseSocketService; import com.rocui.util.base.PackageBrowser; import java.util.HashMap; ...
hou80houzhu/rocserver
src/main/java/com/rocui/jmsger/base/mapping/SocketServiceMapping.java
Java
gpl-2.0
2,175
/** * Copyright (c) 2012 Inside Secure, All Rights Reserved. * * 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 a...
rex-xxx/mt6572_x201
external/libnfc-opennfc/java/src/com/opennfc/extension/OpenNFCExtManager.java
Java
gpl-2.0
12,352
/* * Copyright 2002-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 Fou...
TheTypoMaster/Scaper
openjdk/jdk/test/sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java
Java
gpl-2.0
3,556