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
/* * Copyright (c) 2010, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * n...
CaptFrank/Contiki-Sensor-Node
Contiki/contiki/tools/collect-view/src/se/sics/contiki/collect/StdinConnection.java
Java
gpl-2.0
4,018
package de.hsbremen.kss.chart; import org.jfree.data.xy.XYSeries; import org.jfree.data.xy.XYSeriesCollection; import com.google.common.eventbus.EventBus; import com.google.common.eventbus.Subscribe; import de.hsbremen.kss.genetic.events.NewPopulationEvent; public class DelayTimeDataset extends XYSeriesCollection {...
hvoss/logistik
src/main/java/de/hsbremen/kss/chart/DelayTimeDataset.java
Java
gpl-2.0
1,104
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package fi.darkwood.level.five.monsters; import fi.darkwood.Creature; import fi.darkwood.Monster; /** * * @author Ville */ public class IceQueen extends Monster { public IceQueen() { super("Esmeralda", ...
vlehtola/darkwood
fi/darkwood/level/five/monsters/IceQueen.java
Java
gpl-2.0
432
/* * File : BasicResourceBridge.java * Created : 20-feb-2004 16:08 * By : fbusquets * * JClic - Authoring and playing system for educational activities * * Copyright (C) 2000 - 2018 Francesc Busquets & Departament * d'Educacio de la Generalitat de Catalunya * * This program is free software; you can r...
projectestac/jclic
src/core/edu/xtec/util/BasicResourceBridge.java
Java
gpl-2.0
1,744
/***************************************************************************** * MediaDatabase.java ***************************************************************************** * Copyright © 2011-2014 VLC authors and VideoLAN * * This program is free software; you can redistribute it and/or modify * it under the...
Apolunor/vlc-android-sdk
vlc-android/src/org/videolan/vlc/media/MediaDatabase.java
Java
gpl-2.0
53,677
/* * Copyright (c) 2020, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software;Designed and Developed mainly by many Chinese * opensource volunteers. you can redistribute it and/or modify it under the * terms ...
MyCATApache/Mycat-Server
src/main/java/io/mycat/config/Alarms.java
Java
gpl-2.0
1,763
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
rex-xxx/mt6572_x201
packages/providers/ContactsProvider/src/com/android/providers/contacts/SearchIndexManager.java
Java
gpl-2.0
20,636
/** * 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/BenchmarkTest02484.java
Java
gpl-2.0
2,387
/* * 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 SERVICIO; /** * * @author gube */ public class PuertaInvalidaException extends Exception { public PuertaInvalidaExcept...
Christqnd/Parqueadero
ParqueaderoFuncional/src/SERVICIO/PuertaInvalidaException.java
Java
gpl-2.0
341
/* CatchBlock Copyright (C) 1998-2002 Jochen Hoenicke. * * This program 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, or (at your option) * any later version. * * This program...
vitstradal/jozin
jode/flow/CatchBlock.java
Java
gpl-2.0
7,280
package com.oddlabs.tt.player; import java.io.Serializable; import java.util.HashSet; import java.util.Set; public final strictfp class PlayerInfo implements Serializable { private final static long serialVersionUID = 3; public final static int TEAM_NEUTRAL = -1; private final int race; private final String nam...
sunenielsen/tribaltrouble
tt/classes/com/oddlabs/tt/player/PlayerInfo.java
Java
gpl-2.0
869
package com.sublime.annotation; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.validation.Constraint; import javax.validation.Payload; @Target({ FIELD }) @Retent...
iqbalsublime/Blog-Aggregator
src/main/java/com/sublime/annotation/UniqueUsername.java
Java
gpl-2.0
537
/* * Copyright 2006-2021 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 ...
mzmine/mzmine3
src/main/java/io/github/mzmine/parameters/parametertypes/ionidentity/IonModificationParameter.java
Java
gpl-2.0
11,635
/***************************************************************************** * Yumetech, Inc Copyright (c) 2004 - 2006 * Java Source * * This source is licensed under the GNU LGPL v2.1 * Please read http://www.gnu.org/copyleft/lgpl.html for more information * *...
Norkart/NK-VirtualGlobe
aviatrix3d/src/java/org/j3d/aviatrix3d/rendering/SceneCullable.java
Java
gpl-2.0
2,890
package com.aifeng.mgr.admin.dao; import com.aifeng.core.dao.IBaseDao; import com.aifeng.mgr.admin.model.Role; public interface IRoleDao extends IBaseDao<Role> { }
dunyuling/cxh
src/main/java/com/aifeng/mgr/admin/dao/IRoleDao.java
Java
gpl-2.0
175
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
md-5/jdk10
test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacHelper.java
Java
gpl-2.0
7,522
/** * Copyright (c) 2009--2010 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
colloquium/spacewalk
java/code/src/com/redhat/rhn/frontend/action/configuration/sdc/RankChannelsAction.java
Java
gpl-2.0
6,195
package org.gimnechiske.jRM.skills; import org.gimnechiske.jRM.*; import org.gimnechiske.jRM.core.SkillCategory; import org.gimnechiske.jRM.lib.Maneuvers; import org.gimnechiske.jRM.table.*; public class PoweredArmor implements Skill { private SkillCategory myCat; private int myRanks; private int itemBon...
Skippern/jRM
src/org/gimnechiske/jRM/skills/PoweredArmor.java
Java
gpl-2.0
2,723
package com.github.tempest200903.example103; class ProductA implements AbstractA { public int add(int v) { return getAbstractB().add(v); } AbstractB createAbstractB() { return new ProductB(); } public AbstractB getAbstractB() { AbstractB b = createAbstractB(); return b; } }
tempest200903/20141015-GuiceExperimental
src/main/java/com/github/tempest200903/example103/ProductA.java
Java
gpl-2.0
294
/** * 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/BenchmarkTest08919.java
Java
gpl-2.0
2,381
package com.girnar.online_digital_diary.ui; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; i...
girnarsoft/DigitalDiary
src/com/girnar/online_digital_diary/ui/BookmarkShowActivity.java
Java
gpl-2.0
2,612
/** * 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/BenchmarkTest00369.java
Java
gpl-2.0
3,175
/* 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
aria/java/SWIGTYPE_p_unsigned_char.java
Java
gpl-2.0
2,171
/* * Copyright (c) 2014, 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 ...
akunft/fastr
com.oracle.truffle.r.ffi.impl/src/com/oracle/truffle/r/ffi/impl/common/JavaUpCallsRFFIImpl.java
Java
gpl-2.0
61,929
/** * Copyright 2013 Dolphin Emulator Project * Licensed under GPLv2 * Refer to the license.txt file included. */ package org.dolphinemu.dolphinemu; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Environment; import android.util.Log; import org.dolphinemu.d...
magcius/dolphin
Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java
Java
gpl-2.0
3,038
package hexgrinder.search; import java.util.ArrayList; import java.util.Iterator; /** * @author hexgrinder */ public class QuadTreeNodeCollection implements Iterable<QuadTreeNode> { private static final int QT_MAX_DEFAULT_NODE_CAPACITY = 1; private int _maxNodeCapacity = QT_MAX_DEFAULT_NODE_CAPACI...
hexgrinder/kinect-contours
java/src/search/QuadTreeNodeCollection.java
Java
gpl-2.0
8,796
package de.tarent.invio.linuxtag2014.task; import android.util.Log; import de.tarent.invio.linuxtag2014.map.InvioIndoorMap; import de.tarent.nic.android.base.task.DownloadListener; import de.tarent.nic.android.base.task.DownloadTask; import de.tarent.nic.mapserver.exception.NicException; import org.apache.commons.io.F...
tarent/invio
invio/invio/src/main/java/de/tarent/invio/linuxtag2014/task/ZipMapResourceTask.java
Java
gpl-2.0
4,919
/* * The MIT License (MIT) * * Copyright (c) 2015 Cleidimar Viana * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
cleidimarviana/gcm-custom
app/src/main/java/com/seamusdawkins/gcmcustom/gcm/RegistrationIntentService.java
Java
gpl-2.0
4,914
/* * This Java file has been generated by smidump 0.4.5. Do not edit! * It is intended to be used within a Java AgentX sub-agent environment. * * $Id: ProtocolDistStatsTable.java 4432 2006-05-29 16:21:11Z strauss $ */ /** This class represents a Java AgentX (JAX) implementation of the table protocolDistSt...
vertexclique/travertine
libsmi/test/dumps/jax/ProtocolDistStatsTable.java
Java
gpl-2.0
2,164
package com.rocui.jmsger.service.imp; import com.rocui.jmsger.base.mapping.SocketControllerMapping; import com.rocui.jmsger.base.result.ResultSet; import com.rocui.jmsger.router.BaseSocketRouter; import com.rocui.jmsger.service.BaseSocketService; import com.rocui.jmsger.service.ClientServiceType; import com.roc...
hou80houzhu/rocserver
src/main/java/com/rocui/jmsger/service/imp/RPCService.java
Java
gpl-2.0
1,557
/** * * Copyright (c) 2005-2012. Centre for Research on Inner City Health, St. Michael's Hospital, Toronto. All Rights Reserved. * This software is published under the GPL GNU General Public License. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publ...
vvanherk/oscar_emr
src/main/java/org/caisi/dao/TicklerDAO.java
Java
gpl-2.0
11,172
package austinmckinley.pitboss.status.configuration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jndi.JndiTemplate; @Configuration public class JndiConfiguration { @Bean JndiTemplate jndiTemplate() { return...
austinmckinley/civ5-pitboss-status
src/austinmckinley/pitboss/status/configuration/JndiConfiguration.java
Java
gpl-2.0
349
/* * This source file is part of CaesarJ * For the latest info, see http://caesarj.org/ * * Copyright © 2003-2005 * Darmstadt University of Technology, Software Technology Group * Also see acknowledgements in readme.txt * * This program is free software; you can redistribute it and/or modify * it under the...
tud-stg-lang/caesar-compiler
src/org/caesarj/compiler/ast/phylum/statement/JBlock.java
Java
gpl-2.0
4,632
package com.maxleap.pandora.config.mgo; import com.maxleap.pandora.config.ClusterVisitor; import com.maxleap.pandora.config.DataSourceStatus; import com.maxleap.pandora.config.Funcs; import javax.inject.Inject; import javax.inject.Singleton; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import...
MaxLeap/MyBaaS
maxleap-baas-impl/src/main/java/com/maxleap/pandora/config/mgo/MgoClusterVisitor.java
Java
gpl-2.0
1,137
package cl.pcollaog.service.rubygems.suite; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; import cl.pcollaog.service.rubygems.RubygemAPIQueryParameterTest; import cl.pcollaog.service.rubygems.RubygemsAPISimpleGetTest; /** * @author pcollaog * */ @Ru...
pcollaog/rest-in-peace
src/test/java/cl/pcollaog/service/rubygems/suite/RubygemsAPITestSuite.java
Java
gpl-2.0
466
/* Copyright (C) 2004 R. Nagel All programs in this directory and subdirectories are published under the GNU General Public License as described below. 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...
robymus/jabref
src/main/java/net/sf/jabref/wizard/auximport/AuxSubGenerator.java
Java
gpl-2.0
12,482
package org.codehaus.mojo.fitnesse; /* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WAR...
clakech/fitnesse-maven-plugin
src/test/java/org/codehaus/mojo/fitnesse/FitnesseRunnerMojoTest.java
Java
gpl-2.0
23,375
package com.ndhunju.dailyjournal; import android.util.SparseArray; /** * Created by ndhunju on 9/3/17. * Convenient class to listen for changes in a value. This way views can update * its state as soon as the value changes. */ public class ObservableField<T> { public interface Observer { void onChan...
ndhunju/dailyJournal
app/src/main/java/com/ndhunju/dailyjournal/ObservableField.java
Java
gpl-2.0
963
public class Gestore{ public Gestore filtroautore(String autore){ for(Opera o: opere){ if(o.getAutore().equals(autore)) ADD } } public Gestore filtroautore(String autore){ for(Opera o: opere){ if(o instanceof Libro) Libro l=(L...
OrangeDugongo/UNI-Java
src/Noemi/Gestore.java
Java
gpl-2.0
448
package com.synch4j.callback; import com.synch4j.Synch2Context; import com.synch4j.exception.CallbackException; import com.synch4j.po.SynchPO; import com.synch4j.synchenum.ImportMode; /** * * @author XieGuanNan * @date 2015-9-1-上午10:22:46 * 该接口回调于数据库导入器中。导入数据库时,几个时间点分别回调 * 1.业务数据导入之前; * 2.业务数据导入完成,clob,blob大文本...
YeLuoSC/synch4j
src/main/java/com/synch4j/callback/ImportDbProcessor.java
Java
gpl-2.0
932
/** * * Support classes useful for encoding and processing X.509 certificates. */ package org.bouncycastle.asn1.x509; /** * class for breaking up an X500 Name into it's component tokens, ala * java.util.StringTokenizer. We need this class as some of the * lightweight Java environment don't support ...
martijn00/Zipato
lib/impl/stubs/org/bouncycastle/asn1/x509/X509NameTokenizer.java
Java
gpl-2.0
584
package net.minecraft.src; import org.lwjgl.opengl.GL11; public class RenderSlime extends RenderLiving { private static final ResourceLocation slimeTextures = new ResourceLocation("textures/entity/slime/slime.png"); private ModelBase scaleAmount; public RenderSlime(ModelBase par1ModelBase, ModelBase par2...
LolololTrololol/InsertNameHere
minecraft/net/minecraft/src/RenderSlime.java
Java
gpl-2.0
2,711
package suite.object; import static primal.statics.Rethrow.ex; import java.util.HashMap; import primal.MoreVerbs.Read; import primal.adt.IdentityKey; /** * An object having the following methods: * * - a static Xxx.of(a, b, c) constructor * * - a static apply(Fun<A, B, C, T> fun) mapper * * @author ywsing...
stupidsing/suite
src/main/java/suite/object/MapObject.java
Java
gpl-2.0
1,124
/* * Copyright (C) 2016 Leonardosc * * 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 d...
BktLib/BktLib
src/main/java/io/github/bktlib/event/DynamicEvents.java
Java
gpl-2.0
10,557
package powerup.systers.com.powerup.test; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.mockito.Mock; import java.util.ArrayList; import powerup.systers.com.memory_match_game.MemoryMatchGameActivity; import static junit.framework.Assert.as...
systers/powerup-android
PowerUp/app/src/test/java/powerup/systers/com/powerup/test/MemoryMatchGameTest.java
Java
gpl-2.0
3,324
package SparseMatrixMultiplication; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; /** * Created by Alan on 12/6/2015. */ public class Solution { // public int[][] multiply(int[][] A, int[][] B) { // int height = A.length; // int width = B[0].length; // int[]...
hyattgra/leetcode
SparseMatrixMultiplication/Solution.java
Java
gpl-2.0
1,894
/** * Vosao CMS. Simple CMS for Google App Engine. * Copyright (C) 2009 Vosao development 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...
icblenke/blenke-vosao
api/src/main/java/org/vosao/global/SystemService.java
Java
gpl-2.0
1,960
package com.karniyarik.web.citydeals; import java.util.Date; import org.joda.time.Interval; import org.tuckey.web.filters.urlrewrite.utils.StringUtils; import com.karniyarik.citydeal.CityDeal; import com.karniyarik.common.util.StringUtil; import com.karniyarik.web.category.BaseCategoryUtil; import com.karn...
Karniyarik/karniyarik
karniyarik-web/src/main/java/com/karniyarik/web/citydeals/CityDealResult.java
Java
gpl-2.0
9,162
/* * #%L * Fork of JAI Image I/O Tools. * %% * Copyright (C) 2008 - 2013 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms, with or without * modification, ...
berl/v3draw-bioformats
components/forks/jai/src/com/sun/media/imageioimpl/common/PackageUtil.java
Java
gpl-2.0
5,295
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
hdadler/sensetrace-src
com.ipv.sensetrace.RDFDatamanager/jena-2.11.0/jena-core/src/test/java/com/hp/hpl/jena/reasoner/rulesys/test/TestOWLMisc.java
Java
gpl-2.0
10,945
/* * Copyright (c) 2016, 2018, 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.test/src/com/oracle/truffle/r/test/builtins/TestBuiltin_matchfun.java
Java
gpl-2.0
5,564
// Decompiled by Jad v1.5.8c. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: packimports(3) package org.alicebot.server.core.targeting; import org.alicebot.server.core.util.StringTriple; public class Category { private static final String EMPTY...
thammegowda/charliebot
src/main/java/org/alicebot/server/core/targeting/Category.java
Java
gpl-2.0
1,197
package eu.ttbox.geoping.ui.core.validator.validate; import android.content.Context; import android.widget.TextView; import eu.ttbox.geoping.ui.core.validator.ValidateField; import eu.ttbox.geoping.ui.core.validator.Validator; import eu.ttbox.geoping.ui.core.validator.validator.NotEmptyValidator; /** * Va...
gabuzomeu/geoPingProject
geoPing/src/main/java/eu/ttbox/geoping/ui/core/validator/validate/GroupFieldsRequiredValidate.java
Java
gpl-2.0
2,357
package esecuzioneRemota; import java.rmi.*; import java.net.*; public class Server { public static void main(String[] argv) { String key = "pippo"; if(argv.length>0) { key = argv[0]; } try { RemExec re = new RemExecImpl(); Naming.bind(key, re); } catch(RemoteException | AlreadyBoundExcep...
mmiglia/IS2014
esecuzioneRemota/Server.java
Java
gpl-2.0
391
package com.luckenbill; import java.security.Principal; import java.util.HashMap; import java.util.Map; import java.util.UUID; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.SecurityProperti...
mluckenbill/spring-security-and-angular-js
src/main/java/com/luckenbill/SpringSecurityAndAngularJsApplication.java
Java
gpl-2.0
2,257
/** * 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/BenchmarkTest18550.java
Java
gpl-2.0
2,570
package net.demilich.metastone.game.spells; import net.demilich.metastone.game.GameContext; import net.demilich.metastone.game.Player; import net.demilich.metastone.game.entities.Entity; import net.demilich.metastone.game.spells.desc.SpellArg; import net.demilich.metastone.game.spells.desc.SpellDesc; import net.demili...
21011996/metastone
game/src/main/java/net/demilich/metastone/game/spells/MetaSpell.java
Java
gpl-2.0
1,110
package ee.esutoniagodesu.domain.jmen.pk; import javax.persistence.Column; import javax.persistence.Id; import java.io.Serializable; public final class EN_GrpPK implements Serializable { private static final long serialVersionUID = 937308102072673652L; private int entr; private int kw; @Column(name ...
esutoniagodesu/egd-web
src/main/java/ee/esutoniagodesu/domain/jmen/pk/EN_GrpPK.java
Java
gpl-2.0
1,137
/* * 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 model; import java.io.Serializable; import java.util.Date; import javax.persistence.Basic; import javax.persistence.Column; im...
scroniser/cis-498
PFUCourseSchedulerV2/src/java/model/Eventlog.java
Java
gpl-2.0
3,096
package util; import java.util.Collections; import java.util.List; public class Statistics { public static double avgDouble(List<Double> vals){ double sum = 0; for(double d : vals) sum += d; return sum / vals.size(); } public static double avgInteger(List<Integer> vals){ double sum = 0; ...
njustesen/hero-aicademy
src/util/Statistics.java
Java
gpl-2.0
1,032
package kieranvs.avatar.util; import net.minecraft.entity.EntityLivingBase; import kieranvs.avatar.bending.Ability; import kieranvs.avatar.bukkit.Location; import kieranvs.avatar.bukkit.Vector; public class GenericProgressor extends Ability { private int interval = 20; private Location origin; priva...
kieranvs/Blockbender
Blockbender/src/kieranvs/avatar/util/GenericProgressor.java
Java
gpl-2.0
1,230
package com.aw.core.distributed; import java.lang.reflect.InvocationTargetException; /** * @author jcmacavilca * Feb 5, 2008 */ public interface IInvoker { /** * Crea remotamente un objeto * * @param factoryClass * @param factoryMethod * @param params * @return Handler usa...
AlanGuerraQuispe/SisAtuxPerfumeria
atux-base/src/main/java/com/aw/core/distributed/IInvoker.java
Java
gpl-2.0
1,185
package cs342.rummy.gui.custom; import java.awt.Color; import java.awt.Font; import javax.swing.JLabel; public class CstmLabel extends JLabel{ private Font LABEL_TEXT_FONT = new Font("Calibri", Font.BOLD, 16); private Color FOREGROUND = new Color(255, 69, 0); private Color BACKGROUND = new Color(0, 0, 0); pu...
TomasJuocepis/CS342NetworkRummy
src/cs342/rummy/gui/custom/CstmLabel.java
Java
gpl-2.0
532
package directBFRErrors; /*Given 4 points on the bridge, determine the origin of the bridge. Further given any region of interest * by the inspector, return all the nodes within the bounding box/region of interest*/ import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import direc...
athuls/umich-panther
senstore/contextInterpretation/codes_MCMC/FieldData/src/directBFRErrors/BFRErrorAnalysis.java
Java
gpl-2.0
4,198
/** * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * $Id$ IServicioCarritoMockRemote.java * Universidad de los Andes (Bogotá - Colombia) * Departamento de Ingeniería de Sistemas y Computación * Licenciado bajo el esquema Academic Free License version 3.0 * * Ejercicio: Muebles de los Alpes...
diego41dc/laboratorio3
Lab3-MueblesDeLosAlpes-ejb/src/java/com/losalpes/servicios/IServicioCarritoMockRemote.java
Java
gpl-2.0
2,226
package com.demacia.app.calculator; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends ActionBarActivity { pri...
A203/HuZedong
Calculator2/app/src/main/java/com/demacia/app/calculator/MainActivity.java
Java
gpl-2.0
14,350
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ch.fhnw.bscwi.gpm.loanapproval.domain; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id;...
bscwigpm/Showcase
LoanApproval/src/main/java/ch/fhnw/bscwi/gpm/loanapproval/domain/Address.java
Java
gpl-2.0
2,488
/* * Copyright (c) 2004 by Cosylab * * The full license specifying the redistribution, modification, usage and other * rights and obligations is included with the distribution of this project in * the file "LICENSE-CAJ". If the license is not included visit Cosylab web site, * <http://www.cosylab.com>. * * THIS...
epicsdeb/caj
test/com/cosylab/epics/caj/test/FlowControlTest.java
Java
gpl-2.0
5,854
/** * SqlJetSerialType.java * Copyright (C) 2009-2013 TMate Software Ltd * * 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. * * This program is distributed in t...
printingin3d/sqljet
src/main/java/org/tmatesoft/sqljet/core/internal/vdbe/SqlJetVdbeSerialType.java
Java
gpl-3.0
1,279
/* * HawkEye Redux * Copyright (C) 2012-2013 Cubeville <http://www.cubeville.org> 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, either version 3 of the License, or * ...
Cubeville/HawkEye-Redux
api/src/main/java/org/cubeville/util/StringUtil.java
Java
gpl-3.0
2,820
/* * 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.edu.ufsj.sms.control; import br.edu.ufsj.sms.GUI.MainWindow; import java.util.TimerTask; /** * * @author flavio */ publ...
flschiavoni/shareMySheet
src/br/edu/ufsj/sms/control/AlarmClock.java
Java
gpl-3.0
594
/* * 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.spleefleague.parkour.game.classic; import com.spleefleague.entitybuilder.EntityBuilder; import com.spleefleague.gameapi.ev...
SpleefLeague/SuperJump
src/main/java/com/spleefleague/parkour/game/classic/ClassicParkourArena.java
Java
gpl-3.0
2,759
/******************************************************************************* * Signavio Core Components * Copyright (C) 2012 Signavio 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 Found...
KarnYong/BPaaS-modeling
platform/src/com/signavio/explorer/handler/ExplorerHandler.java
Java
gpl-3.0
2,480
/** * Copyright (c) ZL123 2013 * * GlowTools is made available under the terms of the Lesser GNU Public License v3. * (http://www.gnu.org/licenses/lgpl.html) * * @author ZL123 */ package glowTools.tileentity; import glowTools.GlowTools; import glowTools.blocks.BlockGlowstoneInfuser; import glowTools.items.Cr...
ZL123/GlowTools
glowTools_common/glowTools/tileentity/TileEntityGsInfuser.java
Java
gpl-3.0
13,108
package put.unit.writes.buffers; import java.rmi.RemoteException; import org.junit.Assert; import org.junit.Test; import put.atomicrmi.optsva.Transaction; import put.atomicrmi.optsva.sync.Heartbeat; import put.atomicrmi.optsva.sync.TaskController; import put.atomicrmi.optsva.sync.TransactionFailureMonitorImpl; impor...
kondziu/AtomicRMI
test/put/unit/writes/buffers/WriteFirstReadFromBufferAbort.java
Java
gpl-3.0
2,690
/* * SAME - Sistema de Gestion de Turnos por Internet * SAME is a fork of SAE - Sistema de Agenda Electronica * * Copyright (C) 2009 IMM - Intendencia Municipal de Montevideo * Copyright (C) 2013, 2014 SAGANT - Codestra S.R.L. * Copyright (C) 2013, 2014 Alvaro Rettich <alvaro@sagant.com> * Copyright (C) 20...
jacksonyanno/same
sae/sae-ejb/src/main/java/uy/gub/imm/sae/business/api/AutocompletadosLocal.java
Java
gpl-3.0
1,269
package IkMen.exceptions; /** * * Gui Hibák kezelése * * Internet Kávézó Menedzser - Internet kávézó gépbérlés nyílván tartása * Copyright (C) 2016 Schronk Tamás * * 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 * t...
Sch-Tomi/internet_kavezo
src/IkMen/exceptions/GuiException.java
Java
gpl-3.0
1,706
/** * OsmBinV10NodeEntityManager.java * created: 28.03.2009 07:21:07 * (c) 2009 by <a href="http://Wolschon.biz">Wolschon Softwaredesign und Beratung</a> * This file is part of libosm by Marcus Wolschon <a href="mailto:Marcus@Wolscon.biz">Marcus@Wolscon.biz</a>. * You can purchase support for a sensible hourly rat...
xafero/travelingsales
libosm/src/main/java/org/openstreetmap/osm/data/osmbin/v1_0/DatasetRelationEntityManager.java
Java
gpl-3.0
5,017
package com.aryamod.aseman.dialogs; import android.app.Dialog; import android.app.DialogFragment; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.graphics.Palette; import android.text.Html; import...
kmokhtar79/Aseman
app/src/main/java/com/aryamod/aseman/dialogs/IconDetailsDialog.java
Java
gpl-3.0
3,288
/* * This file is part of QQDroid. * QQDroid 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. * QQDroid is distributed in the ho...
scleriot/qqdroid
src/com/pixellostudio/qqdroid/BaseActivity.java
Java
gpl-3.0
3,309
package hash; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.opencv.core.Mat; import org.opencv.core.Scalar; import org.opencv.imgproc.Imgproc; import recognition.EuclidianDistance; public class SimilarCharacterGroup implements Comparable<SimilarChar...
LibertyPaul/FuzzyImageSignature
src/hash/SimilarCharacterGroup.java
Java
gpl-3.0
2,619
package ch.judos.generic.network.udp; import java.io.IOException; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.List; import ch.judos.generic.math.ConvertNumber; import ch.judos.generic.network.udp.interfaces.Layer0Listener; import ch.judos.generic.network.udp.interfaces.Layer1Listen...
WaDosCh/WaDosUtil
src/ch/judos/generic/network/udp/Udp1.java
Java
gpl-3.0
2,564
/******************************************************************************* * HellFirePvP / Modular Machinery 2019 * * This project is licensed under GNU GENERAL PUBLIC LICENSE Version 3. * The source code is available on github: https://github.com/HellFirePvP/ModularMachinery * For further details, see the L...
HellFirePvP/ModularMachinery
src/main/java/hellfirepvp/modularmachinery/common/util/IEnergyHandler.java
Java
gpl-3.0
938
/* * 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-imaging/src/main/java/adams/data/conversion/QuadrilateralLocationToString.java
Java
gpl-3.0
4,036
package org.codebrothers.jpio.clock; import static org.codebrothers.jpio.JPIO.CLOCK; import static org.codebrothers.jpio.util.BitUtils.isBitSet; import static org.codebrothers.jpio.util.BitUtils.setMaskedValue; import java.nio.IntBuffer; import java.text.MessageFormat; /** * Allows you to control the General Purpos...
codebrothers/jpio
jpio-core/src/main/java/org/codebrothers/jpio/clock/Clock.java
Java
gpl-3.0
5,870
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode fieldsfirst package net.minecraft.src; import java.util.*; // Referenced classes of package net.minecraft.src: // World, SaveHandlerMP, Worl...
sethten/MoDesserts
mcp50/temp/src/minecraft/net/minecraft/src/WorldClient.java
Java
gpl-3.0
7,702
package ca.pfv.spmf.input.sequence_database_array_integers; /* Copyright (c) 2008-2013 Philippe Fournier-Viger * * This file is part of the SPMF DATA MINING SOFTWARE * (http://www.philippe-fournier-viger.com/spmf). * * SPMF is free software: you can redistribute it and/or modify it under the * terms of the GNU...
pommedeterresautee/spmf
ca/pfv/spmf/input/sequence_database_array_integers/SequenceDatabase.java
Java
gpl-3.0
16,687
/** * Copyright (C) 2010 STMicroelectronics * * This file is part of "Mind Compiler" 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 3 of the * License, or (at your option) any l...
MIND-Tools/mind-compiler
plugin-loader/src/test/java/org/ow2/mind/plugin/BasicTest.java
Java
gpl-3.0
3,373
package com.sailmi.sailplat.uc.api; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayOutputStream; import java.io.CharArrayWriter; import java.io.File; import java.io.FileInputStream; import java.io...
yzhui/YufanPIM
src/main/java/com/sailmi/sailplat/uc/api/Base64.java
Java
gpl-3.0
5,365
package com.kncept.mirage.interfacestest; import java.util.concurrent.Callable; import java.util.concurrent.Future; public interface RunnableCallableInterface extends Runnable, Callable<Future> { }
nkrul/mirage
src/test/java/com/kncept/mirage/interfacestest/RunnableCallableInterface.java
Java
gpl-3.0
200
/* * Copyright (C) 2017 Josua Frank * * 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...
Sharknoon/dfMASTER
dfMASTER/src/main/java/dfmaster/xml/validation/types/characters/QName.java
Java
gpl-3.0
1,349
package com.deccom.config; import org.springframework.context.annotation.Configuration; import org.springframework.format.FormatterRegistry; import org.springframework.format.datetime.standard.DateTimeFormatterRegistrar; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; @Configuration ...
AlbertFX91/Deccom
src/main/java/com/deccom/config/DateTimeFormatConfiguration.java
Java
gpl-3.0
648
package org.duniter.core.util; /* * #%L * Duniter4j :: Core API * %% * Copyright (C) 2014 - 2015 EIS * %% * 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 * Lic...
duniter/duniter4j
duniter4j-core-shared/src/main/java/org/duniter/core/util/ObjectUtils.java
Java
gpl-3.0
1,660
package name.abhijitsarkar.javaee.auth.service; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.MissingNode; import com.fasterxml.jackson.databind.type.MapType; import org.springframework.beans.factory.annotation.Autowired; ...
asarkar/spring
daily-update-microservices/auth-service/src/main/java/name/abhijitsarkar/javaee/auth/service/FileSystemUserDetailsService.java
Java
gpl-3.0
3,854
package com.projectreddog.deathcube.init; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import net.minecraft.server.MinecraftServer; import net.min...
trayer3/DeathCube
src/main/java/com/projectreddog/deathcube/init/ModConfig.java
Java
gpl-3.0
5,200
package com.winthier.chat.channel; import com.winthier.chat.Chatter; import com.winthier.chat.Message; import java.util.List; import java.util.UUID; import net.kyori.adventure.text.Component; import org.bukkit.entity.Player; public interface Channel extends CommandResponder { String getTitle(); String getKey(...
StarTux/Chat
src/main/java/com/winthier/chat/channel/Channel.java
Java
gpl-3.0
1,123
/* * Copyright 2017 rootkiwi * * AN2Linux-client is licensed under GNU General Public License 3. * * See LICENSE for more details. */ package kiwi.root.an2linuxclient.views; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view...
rootkiwi/an2linuxclient
app/src/main/java/kiwi/root/an2linuxclient/views/MobileDialog.java
Java
gpl-3.0
5,812
package cz.clovekvtisni.coordinator.android.event; import android.content.Context; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.view.View; import cz.clovekvtisni.coordinator.android.event.map.view.OsmMapView; public class CustomViewPager extends ViewPager { public Custom...
Tomucha/coordinator
coordinator-android/src/cz/clovekvtisni/coordinator/android/event/CustomViewPager.java
Java
gpl-3.0
586
/* * SyncArchiveAndDataTable.java Copyright (C) 2021. Daniel H. Huson * * (Some files contain contributions from other authors, who are then mentioned separately.) * * 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 * ...
danielhuson/megan-ce
src/megan/core/SyncArchiveAndDataTable.java
Java
gpl-3.0
7,676
// Part of AtomViewer: AtomViewer is a tool to display and analyse // atomistic simulations // // Copyright (C) 2015 ICAMS, Ruhr-Universität Bochum // // AtomViewer 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 Found...
CBegau/AtomViewer
src/processingModules/atomicModules/CommonNeighborsAnalysisModule.java
Java
gpl-3.0
8,207