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.github.easyadmin.gui; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import com.github.easyadmin.request.ClipboardSendRequest; import com.github.easyadmin.util.FlavorHandler; public class ClipboardReceiveListener implements ActionListener { private String hostName; public Cli...
X-rayLaser/EasyAdmin
com/github/easyadmin/gui/ClipboardReceiveListener.java
Java
gpl-3.0
623
package test; import static org.junit.Assert.*; import java.text.DateFormat; import java.util.Date; import org.junit.Test; public class A{ void say(){ System.out.println("A"); } }
spartan2015/kata
test/src/main/java/test/A.java
Java
gpl-3.0
196
/** * Copyright (c) 2010 France Telecom / Orange Labs * * This file is part of JLInX, Java Lib for Indivo X. * * JLInX 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, ...
fredorange/JLInX
src/jlinx-phaSample/java/com/orange/jlinx/sample/pha/package-info.java
Java
gpl-3.0
891
/* Copyright (c) 2016 David Wagg This program is released under the "GNU GPL v3" License Please see the file License in this distribution for license terms */ package basic; import java.util.ArrayList; import java.util.Random; import org.la4j.Vector; import org.la4j.matrix.sparse.CRSMatrix; import or...
onironaut/GeNN
GeNN/src/basic/Layer.java
Java
gpl-3.0
5,100
/* * 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 engine.detector; import engine.model.state.Keyword; import engine.utils.Response; import engine.functions.Function; ...
ersh112356/ConversationEngine
src/engine/detector/TopicDetector.java
Java
gpl-3.0
5,414
// // DO NOT MODIFY!!! This file was machine generated. DO NOT MODIFY!!! // // Copyright (c) 2014 Vincent W. Chen. // // This file is part of XJavaB. // // XJavaB 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 Softwar...
noodlewiz/xjavab
xjavab-ext/src/main/java/com/noodlewiz/xjavab/ext/dri2/internal/ReplyDispatcher.java
Java
gpl-3.0
2,264
package com.mao.widget; import android.R.integer; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.SweepGradient; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; /** * 颜色选...
dolpphins/EasyWord
EasyWord/src/com/mao/widget/ColorPickerView.java
Java
gpl-3.0
5,381
package nth.reflect.app.swdocgen.dom.page.web; import java.util.List; import org.jsoup.nodes.DataNode; import org.jsoup.nodes.Document; import org.jsoup.nodes.DocumentType; import org.jsoup.nodes.Element; import org.jsoup.nodes.Node; import org.jsoup.select.Elements; import nth.reflect.app.swdocgen.dom.do...
ntenhoeve/Introspect-Apps
SoftwareDocumentationGenerator/src/main/java/nth/reflect/app/swdocgen/dom/page/web/FancyWebPage.java
Java
gpl-3.0
6,217
package edu.berkeley.cs.nlp.ocular.data.textreader; import static edu.berkeley.cs.nlp.ocular.data.textreader.Charset.TILDE_COMBINING; import static edu.berkeley.cs.nlp.ocular.data.textreader.Charset.TILDE_ESCAPE; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org...
tberg12/ocular
src/test/java/edu/berkeley/cs/nlp/ocular/data/textreader/CharIndexerTests.java
Java
gpl-3.0
1,994
package com.creativemd.voicechat.client; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class PlayThread extends Thread{ public AudioConsumer consumer; public PlayThread(AudioConsumer consumer) { this.consumer = consumer; } ...
CreativeMD/VoiceChat
src/main/java/com/creativemd/voicechat/client/PlayThread.java
Java
gpl-3.0
376
package org.beynet.jnote.gui.dialogs; import javafx.scene.Group; import javafx.scene.Scene; import javafx.stage.Stage; import org.beynet.jnote.gui.Styles; /** * Created with IntelliJ IDEA. * User: beynet * Date: 12/10/13 * Time: 15:49 * To change this template use File | Settings | File Templates. */ public abs...
beynet/jnote
src/main/java/org/beynet/jnote/gui/dialogs/Dialog.java
Java
gpl-3.0
1,381
/* * ViewerJTable.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 * the Free S...
danielhuson/megan-ce
src/megan/viewer/gui/ViewerJTable.java
Java
gpl-3.0
13,815
package org.codehaus.jackson.map.ser; import org.codehaus.jackson.map.SerializerFactory.Config; import org.codehaus.jackson.map.Serializers; import org.codehaus.jackson.map.util.ArrayBuilders; public class BeanSerializerFactory$ConfigImpl extends SerializerFactory.Config { protected static final BeanSerializerModif...
isnuryusuf/ingress-indonesia-dev
apk/classes-ekstartk/org/codehaus/jackson/map/ser/BeanSerializerFactory$ConfigImpl.java
Java
gpl-3.0
2,927
/* * Copyright (C) 2012 Andrew Neal 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 writ...
micromacer/Player-by-TweekProject
src/com/andrew/apollo/widgets/SquareImageView.java
Java
gpl-3.0
1,573
package com.ab.webservices; public class HelloWorld { public String sayHelloWorld(String name) { return "Hello world from " + name; } }
abeym/incubator
Trials/webservices/SimpleSOAPExample/src/com/ab/webservices/HelloWorld.java
Java
gpl-3.0
141
/** * 演示了表达式中自动类型转换 * 从每个子表达式进行自动类型转换到整个表达式进行自动类型转换 */ class Promote{ public static void main(String[] args){ byte b = 42; char c = 'a'; short s = 1024; int i = 50000; float f = 5.67f; double d = .1234; double result = (f * b) + (i / c) - (d * s); System.out.println((f * b) + " + " + (i / c) + " - ...
NiuYongjie/coderepo
java8/Promote.java
Java
gpl-3.0
467
/** * Copyright (C) 2010-2016 Structr GmbH * * This file is part of Structr <http://structr.org>. * * Structr is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, o...
derkaiserreich/structr
structr-modules/structr-signed-jar-module/src/main/java/org/structr/jar/CreateJarFileFunction.java
Java
gpl-3.0
14,384
package com.baeldung; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class SpringContextIntegrationTest { @Test public void co...
Niky4000/UsefulUtils
projects/tutorials-master/tutorials-master/spring-boot-bootstrap/src/test/java/com/baeldung/SpringContextIntegrationTest.java
Java
gpl-3.0
343
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
natrolite/natrolite
natrolite-api/src/main/java/org/natrolite/text/Text.java
Java
gpl-3.0
30,695
/* * Copyright 2011-2021 Fraunhofer ISE * * This file is part of OpenMUC. * For more information visit http://www.openmuc.org * * OpenMUC 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 ...
isc-konstanz/OpenMUC
projects/lib/osgi/src/main/java/org/openmuc/framework/lib/osgi/deployment/ServiceAccess.java
Java
gpl-3.0
1,029
package net.malariagen.gatk.walker; import java.util.Collections; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.PriorityQueue; import org.broadinstitute.sting.gatk.contexts.ReferenceContext; import org.broadinstitute.sting.utils.GenomeLoc; publi...
vruano/maltools
src/java/main/net/malariagen/gatk/walker/MultiWindowSequenceComplexity.java
Java
gpl-3.0
4,383
package edu.cwru.sepia.agent.planner; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import edu.cwru.sepia.action.Action; import edu.cwru.sepia.action.ActionResult; import ed...
timernsberger/sepia
SepiaAgents/src/edu/cwru/sepia/agent/planner/CompoundActionPlanner.java
Java
gpl-3.0
3,185
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
potty-dzmeia/db4o
src/db4oj.tests/src/com/db4o/db4ounit/common/concurrency/IsStoredTestCase.java
Java
gpl-3.0
1,537
// Copyright 2012-2014 Matthew Karcz // // This file is part of The Rediscovered Mod. // // The Rediscovered Mod 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, ...
Stormister/Rediscovered-Mod-1.6.4
source/main/RediscoveredMod/EntityMountableBlock.java
Java
gpl-3.0
3,651
package nl.taico.tekkitrestrict; //import net.minecraft.server.TileEntity; //import net.minecraft.server.WorldServer; import nl.taico.tekkitrestrict.Log.Warning; import nl.taico.tekkitrestrict.TRConfigCache.Listeners; import nl.taico.tekkitrestrict.commands.TRCmdOpenAlc; import nl.taico.tekkitrestrict.commands.TRCmdO...
EterniaLogic/TekkitRestrict
TekkitRestrict/src/nl/taico/tekkitrestrict/TRListener.java
Java
gpl-3.0
5,529
/* * Copyright (C) 2013 by Array Systems Computing Inc. http://www.array.ca * * 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 lat...
lveci/nest
nest-op-sar-tools/src/main/java/org/esa/nest/gpf/ImportVectorOp.java
Java
gpl-3.0
16,863
package org.davidservin.restfulws.utm.config; import java.util.Properties; import java.util.concurrent.Executor; import java.util.concurrent.RejectedExecutionHandler; import java.util.concurrent.ThreadPoolExecutor; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springfr...
DavidServn/RESTfulWS
src/main/java/org/davidservin/restfulws/utm/config/RootContextConfig.java
Java
gpl-3.0
4,557
package br.com.macs.poc.registration.controller.dto; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.URL; public class AssetDto { private String id; @NotNull private String name; @NotNull @URL private String address; public String getId() { return id; } public...
lucasmauricio/service-discovery
src/main/java/br/com/macs/poc/registration/controller/dto/AssetDto.java
Java
gpl-3.0
722
/* * NMRFx Processor : A Program for Processing NMR Data * Copyright (C) 2004-2017 One Moon Scientific, Inc., Westfield, N.J., USA * * 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...
onemoonsci/nmrfxprocessor
src/main/java/org/nmrfx/processor/datasets/peaks/PeakNetworkMatch.java
Java
gpl-3.0
21,601
package com.samczsun.skype4j.internal; import com.samczsun.skype4j.chat.Chat; import com.samczsun.skype4j.chat.ChatMessage; import com.samczsun.skype4j.user.User; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyO...
vemacs/Skype4J
src/main/java/com/samczsun/skype4j/internal/UserImpl.java
Java
gpl-3.0
2,277
package org.classfoo.onyx.impl; import java.awt.Color; import java.util.HashMap; import java.util.Map; import java.util.Random; import java.util.UUID; import java.util.concurrent.ExecutorService; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurrent.Thr...
classfoo/onyx
org.classfoo.onyx/src/main/java/org/classfoo/onyx/impl/OnyxUtils.java
Java
gpl-3.0
7,803
/* * Copyright 2011-2013 the original author or 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 3 of the License, or * (at your option) any later version. * * T...
bichong/bichong
src/xi/zhao/wallet/ui/AddressBookActivity.java
Java
gpl-3.0
4,275
package eu.menzerath.webcrawler; import javax.net.ssl.*; import java.awt.*; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.List; public class Main { public static final String APPLI...
MarvinMenzerath/WebCrawler
src/main/java/eu/menzerath/webcrawler/Main.java
Java
gpl-3.0
4,087
package error; public class ErrorInMetaobjectException extends RuntimeException { public ErrorInMetaobjectException(String message) { this.message = message; } @Override public String getMessage() { return message; } /** * */ private static final long serialVersionUID = 1L; private String message; ...
joseoliv/Cyan
error/ErrorInMetaobjectException.java
Java
gpl-3.0
322
/* * Copyright (c) 2011 Marcel Lauhoff. * * This file is part of jext2. * * jext2 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 vers...
irq0/jext2
src/fusejext2/Util.java
Java
gpl-3.0
2,118
package me.desht.pneumaticcraft.client.render.pneumatic_armor.upgrade_handler; import me.desht.pneumaticcraft.api.client.IGuiAnimatedStat; import me.desht.pneumaticcraft.api.client.pneumaticHelmet.IOptionPage; import me.desht.pneumaticcraft.api.client.pneumaticHelmet.IUpgradeRenderHandler; import me.desht.pneumaticcra...
desht/pnc-repressurized
src/main/java/me/desht/pneumaticcraft/client/render/pneumatic_armor/upgrade_handler/JetBootsUpgradeHandler.java
Java
gpl-3.0
5,483
package org.djr.securus.camera.rest; import junit.framework.TestCase; import org.apache.commons.codec.binary.Base64; import org.djr.securus.cdi.logs.LoggerProducer; import org.jglue.cdiunit.AdditionalClasses; import org.jglue.cdiunit.CdiRunner; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito...
djr4488/camera-notifier
src/test/java/org/djr/securus/camera/rest/CameraAuthorizationFilterTest.java
Java
gpl-3.0
4,659
//C- ------------------------------------------------------------------- //C- Java DjVu (r) (v. 0.8) //C- Copyright (c) 2004-2005 LizardTech, Inc. All Rights Reserved. //C- Java DjVu is protected by U.S. Pat. No.C- 6,058,214 and patents //C- pending. //C- //C- This software is subject to, and may be distributed under,...
DJVUpp/Desktop
djuvpp-djvureader-_linux-f9cd57d25c2f/DjVuReader++/src/com/lizardtech/djview/Applet.java
Java
gpl-3.0
25,745
/******************************************************************************* * * Copyright (c) 2016 Fujitsu Services Ltd. * * Author: Nick Battle * * This file is part of VDMJ. * * VDMJ is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License a...
nickbattle/vdmj
vdmj/src/main/java/com/fujitsu/vdmj/in/statements/INNotYetSpecifiedStatement.java
Java
gpl-3.0
3,734
/* * Copyright (C) 2016 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...
wiki2014/Learning-Summary
alps/cts/hostsidetests/shortcuts/deviceside/backup/launcher3/src/android/content/pm/cts/shortcut/backup/launcher3/ShortcutManagerPreBackupTest.java
Java
gpl-3.0
1,813
public class Solution { private class Fraction { int a; int b; int sign; public Fraction(int a, int b, int sign) { this.a = a; this.b = b; this.sign = sign; } } private int gcd(int a, int b) { if (a < b) { return gcd(b, a); } if (b == 0) { return a; } return gcd(b, a % b); } pr...
acgtun/leetcode
algorithms/java/Fraction Addition and Subtraction.java
Java
gpl-3.0
2,031
package de.wwu.muggl.test.real.java8; import de.wwu.muggl.NotYetSupported; import de.wwu.muggl.configuration.Globals; import de.wwu.muggl.test.TestSkeleton; import de.wwu.muggl.test.real.vm.TestVMNormalMethodRunnerHelper; import de.wwu.muggl.vm.classfile.ClassFileException; import de.wwu.muggl.vm.initialization.Initia...
wwu-pi/muggl
muggl-core/junit/de/wwu/muggl/test/real/java8/TestLambda.java
Java
gpl-3.0
1,678
package com.actelion.research.orbit.imageAnalysis.components.icons; import java.awt.*; import java.awt.geom.*; import java.awt.image.BufferedImage; import java.io.*; import java.lang.ref.WeakReference; import java.util.Base64; import java.util.Stack; import javax.imageio.ImageIO; import javax.swing.SwingUtilities; imp...
mstritt/orbit-image-analysis
src/main/java/com/actelion/research/orbit/imageAnalysis/components/icons/lmproulx_eraser.java
Java
gpl-3.0
16,104
package recsyslod.utils; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import recsyslod.RatingsReader; import recsyslod.data.Rate; /** * *...
swapUniba/lodrecsys_eswc2017tutorial
RecSysLodTutorial/src/main/java/recsyslod/utils/CutUserByRatings.java
Java
gpl-3.0
2,041
/* * XML Type: DesignInputType * Namespace: http://uncertws.aston.ac.uk/emulatorization * Java type: uk.ac.aston.uncertws.emulatorization.DesignInputType * * Automatically generated - do not modify. */ package uk.ac.aston.uncertws.emulatorization.impl; /** * An XML DesignInputType(@http://uncertws.aston.ac.uk/e...
itszootime/emulatorization-api
src/main/java/uk/ac/aston/uncertws/emulatorization/impl/DesignInputTypeImpl.java
Java
gpl-3.0
11,117
package com.ibm.cio.ws; import java.io.IOException; import javax.websocket.OnClose; import javax.websocket.OnMessage; import javax.websocket.OnOpen; import javax.websocket.Session; import javax.websocket.server.ServerEndpoint; import com.ibm.cio.model.Paint; import com.ibm.cio.ws.helper.JSONParser; /** * @Server...
emsedano/cio-figure
src/com/ibm/cio/ws/EchoServer.java
Java
gpl-3.0
2,316
package solo.sololand.command.defaults.world.args; import cn.nukkit.Player; import cn.nukkit.command.CommandSender; import cn.nukkit.command.data.CommandParameter; import solo.sololand.command.SubCommand; import solo.sololand.world.World; import solo.solobasepackage.util.Message; public class WorldMove exten...
solo5star/SOLOLand_Nukkit
src/main/java/solo/sololand/command/defaults/world/args/WorldMove.java
Java
gpl-3.0
1,197
package org.activityinfo.core.shared.importing.strategy; import org.activityinfo.core.shared.importing.source.SourceRow; public class MissingColumn implements ColumnAccessor { public final static MissingColumn INSTANCE = new MissingColumn(); private MissingColumn() { } @Override public String g...
LeoTremblay/activityinfo
server/src/main/java/org/activityinfo/core/shared/importing/strategy/MissingColumn.java
Java
gpl-3.0
537
package tcg.price.mkm; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; import java.math.BigDecimal; import java.util.List; import org.junit.Before; import org.junit.Test; import tcg.db.dbo.Card; import tcg.db.dbo.Card.Foil; import tcg.db.dbo.CardLayout; import tcg.d...
shionn/MtgDb
src/test/java/tcg/price/mkm/MkmCrawlerTest.java
Java
gpl-3.0
3,729
package utils.updates; import org.telegram.telegrambots.api.objects.*; import org.telegram.telegrambots.api.objects.stickers.Sticker; import org.telegram.telegrambots.exceptions.TelegramApiException; import utils.Crutches; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.List; public c...
LokkaCocca/NKVD-bot
src/utils/updates/UpdateResolver.java
Java
gpl-3.0
7,043
package MMC.neocraft.network.packet; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import net.minecraft.network.INetworkManager; import cpw.mods.fml.common.network.Player; import MMC.neocraft.network.PacketTypeHandler; public clas...
scott181182/NeoCraft
NeoCraft_common/MMC/neocraft/network/packet/NCpacket.java
Java
gpl-3.0
1,382
package com.imancus.pneumaticcraftunofficial.common.moditem; public class ItemMachineUpgrade{ }
TristenCocking/PneumaticCraft-Unofficial
src/main/java/com/imancus/pneumaticcraftunofficial/common/moditem/ItemMachineUpgrade.java
Java
gpl-3.0
98
package com.hundsun.wm.api.dao.support.t2.config; import com.hundsun.wm.api.dao.support.annotation.ExternalInterface; /** * Dao 配置类 * @author gavin * @create 13-7-26 * @since 1.0.0 */ public interface DaoConfig { Class<?> getDaoClass(); MapperConfig getMapperConfig(ExternalInterface inter); }
konamith/wm-bus-api
wm-bus-dao/wm-bus-dao-support/src/main/java/com/hundsun/wm/api/dao/support/t2/config/DaoConfig.java
Java
gpl-3.0
318
/* * Copyright (C) 2008 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...
wiki2014/Learning-Summary
alps/cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java
Java
gpl-3.0
43,956
package org.eadge.gxscript.test.validator; import org.eadge.gxscript.data.entity.classic.entity.displayer.PrintGXEntity; import org.eadge.gxscript.data.entity.classic.entity.imbrication.conditionals.IfGXEntity; import org.eadge.gxscript.data.entity.classic.entity.types.number.RealGXEntity; import org.eadge.gxscript.da...
eadgyo/GX-Script
src/main/java/org/eadge/gxscript/test/validator/TestValidateNoInterdependency.java
Java
gpl-3.0
4,551
package org.dllearner.cli; import org.apache.commons.lang.exception.ExceptionUtils; import org.dllearner.configuration.IConfiguration; import org.dllearner.configuration.spring.ApplicationContextBuilder; import org.dllearner.configuration.spring.DefaultApplicationContextBuilder; import org.dllearner.confparser.ConfPar...
AKSW/DL-Learner
interfaces/src/main/java/org/dllearner/cli/CLIBase2.java
Java
gpl-3.0
4,499
// UniformMutation.java // // Author: // Antonio J. Nebro <antonio@lcc.uma.es> // Juan J. Durillo <durillo@lcc.uma.es> // // Copyright (c) 2011 Antonio J. Nebro, Juan J. Durillo // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Pu...
yyxhdy/ManyEAs
src/jmetal/operators/mutation/UniformMutation.java
Java
gpl-3.0
3,874
package com.javarush.test.level06.lesson08.task01; /* Класс Cat и статическая переменная catCount Создать статическую переменную int catCount в классе Cat. Создай конструктор [public Cat()], в котором увеличивай данную переменную на 1. */ public class Cat { public static int catCount = 0; public Cat(){ ...
alex1788/javaRush
src/com/javarush/test/level06/lesson08/task01/Cat.java
Java
gpl-3.0
459
package game.model.movement; import game.model.direction.TileCompartmentDirection; import game.model.direction.TileEdgeDirection; import game.model.tile.TileCompartment; public class River { private TileCompartment destination; private TileCompartmentDirection compartmentDirection; public River(TileCompa...
OOP-Team-11/RoadsAndBoats
src/main/game/model/movement/River.java
Java
gpl-3.0
870
package com.supermap.desktop.process.parameters.ParameterPanels; import com.supermap.data.Dataset; import com.supermap.data.Datasource; import com.supermap.data.Datasources; import com.supermap.desktop.Application; import com.supermap.desktop.process.enums.ParameterType; import com.supermap.desktop.process.parameter.i...
SuperMap-iDesktop/SuperMap-iDesktop-Cross
Controls/src/main/java/com/supermap/desktop/process/parameters/ParameterPanels/ParameterDatasetChooserPanel.java
Java
gpl-3.0
5,467
/* * Envelope.java * Copyright (c) 2018 * Authors: Ionut Damian, Michael Dietz, Frank Gaibler, Daniel Langerenken, Simon Flutura, * Vitalijs Krumins, Antonio Grieco * ***************************************************** * This file is part of the Social Signal Interpretation for Java (SSJ) framework * developed...
hcmlab/ssj
libssj/src/main/java/hcm/ssj/signal/Envelope.java
Java
gpl-3.0
5,380
package com.greenaddress.greenbits.ui; import android.app.Dialog; import android.app.PendingIntent; import android.content.Intent; import android.content.IntentFilter; import android.graphics.drawable.BitmapDrawable; import android.nfc.NdefMessage; import android.nfc.NdefRecord; import android.nfc.NfcAdapter; import a...
greenaddress/GreenBits
app/src/main/java/com/greenaddress/greenbits/ui/SignUpActivity.java
Java
gpl-3.0
14,885
/* * Copyright (C) 2017 Aprel * * 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 ...
theAprel/Archive
src/aprel/optical/Isoifier.java
Java
gpl-3.0
17,106
/* ======================================================================== * JCommon : a free general purpose class library for the Java(tm) platform * ======================================================================== * * (C) Copyright 2000-2006, by Object Refinery Limited and Contributors. * * Project In...
akardapolov/ASH-Viewer
jfreechart-fse/src/main/java/org/jfree/chart/date/SpreadsheetDate.java
Java
gpl-3.0
15,332
/* * Copyright (C) 2007-2022 Crafter Software Corporation. 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 version 3 as published by * the Free Software Foundation. * * This program is distributed in the hope tha...
craftercms/studio
src/main/java/org/craftercms/studio/impl/v1/web/security/access/StudioWorkflowAPIAccessDecisionVoter.java
Java
gpl-3.0
8,147
/************************************************************************** chdkptpJ - Java CHDK PTP framework. Copyright (C) 2015 Aleś Bułojčyk (alex73mail@gmail.com) This file is part of chdkptpJ. chdkptpJ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
alex73/chdkptpJ
src/org/alex73/chdkptpj/lua/libs/ALuaBaseLib.java
Java
gpl-3.0
2,108
package net.belehradek.umleditor; import de.tesis.dynaware.grapheditor.utils.GeometryUtils; import javafx.geometry.Point2D; import javafx.scene.Group; import javafx.scene.Node; import javafx.scene.shape.ArcTo; import javafx.scene.shape.Line; /** * An arrow shape. * * <p> * This is a {@link Node} subclass and can ...
Standa631/fUmlStudio
src/main/java/net/belehradek/umleditor/Arrow.java
Java
gpl-3.0
3,923
/** * Copyright 2012-2015 Rafal Lewczuk <rafal.lewczuk@jitlogic.com> * <p/> * This 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...
rlewczuk/slac
slac-core/src/main/java/com/jitlogic/slac/data/slac/Transform.java
Java
gpl-3.0
1,848
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to 2013 PrismTech * Limited and its licensees. All rights reserved. See file: * * $OSPL_HOME/LICENSE * * for full copyright notice and license terms. * */ package DDS; public inter...
SanderMertens/opensplice
src/api/dcps/java/saj/code/DDS/LIVELINESS_QOS_POLICY_NAME.java
Java
gpl-3.0
407
/* * 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/json/JSONUtils.java
Java
gpl-3.0
6,234
/* * JGrass - Free Open Source Java GIS http://www.jgrass.org * (C) HydroloGIS - www.hydrologis.com * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Library General Public License as published by the Free * Software Foundation; either version 2 of the Lic...
silviafranceschi/jgrasstools
hortonmachine/src/main/java/org/jgrasstools/hortonmachine/modules/hydrogeomorphology/energyindexcalculator/OmsEnergyIndexCalculator.java
Java
gpl-3.0
36,022
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.2.11 // 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: [TEXT REMOVED by mav...
robward-scisys/sldeditor
modules/application/src/main/java/com/sldeditor/common/xml/ui/XMLTestSection.java
Java
gpl-3.0
3,487
package uk.geekhole.foundations.utils; import android.util.Log; import com.google.common.io.Files; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.UUID; import uk.geekhole....
Geekhole/Foundations
app/src/main/java/uk/geekhole/foundations/utils/Util.java
Java
gpl-3.0
1,620
/* * WMSX - Workload Management Extensions for gLite * * Copyright (C) 2007-2009 Max Berger * * 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 you...
maxberger/wmsx
wmsx-common/src/main/java/hu/kfki/grid/wmsx/job/JobWatcher.java
Java
gpl-3.0
10,796
/*- * #%L * TrakEM2 plugin for ImageJ. * %% * Copyright (C) 2005 - 2021 Albert Cardona, Stephan Saalfeld and others. * %% * 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...
trakem2/TrakEM2
src/main/java/ini/trakem2/display/Connector.java
Java
gpl-3.0
17,310
/* * Kontalk Java client * Copyright (C) 2016 Kontalk Devteam <devteam@kontalk.org> * * 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 ...
kontalk/desktopclient-java
src/main/java/org/kontalk/view/ContactDetails.java
Java
gpl-3.0
12,270
/* * Copyright 1997-2012 Fabien Michel, Olivier Gutknecht, Jacques Ferber * * This file is part of MaDKit_Demos. * * MaDKit_Demos 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 th...
fmichel/MaDKit-demos
MaDKit-ping-pong/src/madkit/pingpong/PingPong.java
Java
gpl-3.0
3,692
package com.jitlogic.zorka.common.test.http; import com.jitlogic.zorka.common.http.HttpConfig; import com.jitlogic.zorka.common.http.HttpMessage; import com.jitlogic.zorka.common.http.HttpMethod; import org.junit.Test; public class HttpRequestHandlerUnitTest { // private HttpConfig config = new HttpConfig(); // ...
jitlogic/zorka
zorka-common/src/test/java/com/jitlogic/zorka/common/test/http/HttpRequestHandlerUnitTest.java
Java
gpl-3.0
2,186
package com.samuel.lwjgl.physics; import static org.lwjgl.opengl.GL11.*; public class PhysicsObject { float x, y, width, height; int fps, ups; float forceTimer = 0f; float mass = 10; float vy=0; float vx=0; long lastUpdate; float timeModifier = 1; float ForceY = -9.8f*mass; float ForceX = 0; ...
taz40/LWJGLPhysics
src/com/samuel/lwjgl/physics/PhysicsObject.java
Java
gpl-3.0
1,822
package com.csy.news.domain.dto; import java.io.Serializable; public class NewsPageDto implements Serializable{ /** * */ private static final long serialVersionUID = 1L; // paginate related private String title; private Byte state; private Integer type; private int currentPage = 1; private int pageSize =...
csycurry/cloud.group
cloud.group.websys/src/main/java/com/csy/news/domain/dto/NewsPageDto.java
Java
gpl-3.0
1,195
/* * BBiCat is a toolbox that combines different Bi-Clustering and clustering techniques in it, which * can be applied on a given dataset. This software is the modified version of the original BiCat * Toolbox implemented ...
TaghiAliyev/BBiCat
src/MetaFramework/MatrixFunctions.java
Java
gpl-3.0
10,612
package org.neo4j.etl.cli.rdbms; import java.nio.file.Path; public interface ImportFromRdbmsEvents { ImportFromRdbmsEvents EMPTY = new ImportFromRdbmsEvents() { @Override public void onExportingToCsv( Path csvDirectory ) { // Do nothing } @Override ...
inserpio/neo4j-etl-components
neo4j-etl-cli/src/main/java/org/neo4j/etl/cli/rdbms/ImportFromRdbmsEvents.java
Java
gpl-3.0
681
package com.appspot.data_base_1298.database; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest...
HackeaMesta/Android-Google-Endpoint
app/src/androidTest/java/com/appspot/data_base_1298/database/ApplicationTest.java
Java
gpl-3.0
366
package com.baeldung.beanfactory; import org.junit.Test; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import static org.junit.Assert.assertFalse; imp...
Niky4000/UsefulUtils
projects/tutorials-master/tutorials-master/spring-core/src/test/java/com/baeldung/beanfactory/BeanFactoryWithClassPathResourceIntegrationTest.java
Java
gpl-3.0
947
/* * Copyright (c) 2016 Christian Micocci. This file is part of Concerto. * * Concerto 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 ver...
iksoiks/concerto-framework-core
src/com/n_micocci/concerto/filters/FilterVelocity.java
Java
gpl-3.0
1,590
package eu.siacs.conversations.ui; import android.app.AlertDialog.Builder; import android.app.PendingIntent; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.Menu; import android.view.Menu...
eriuzo/Conversations
src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
Java
gpl-3.0
23,901
package net.sourcewalker.svnnotify.data.xmldb; import java.util.Date; import net.sourcewalker.svnnotify.data.interfaces.IRevision; /** * Revision class to be used with the flat-file XML database implementation in * {@link XmlDatabase}. * * @author Xperimental */ public class XmlRevision implements IRevision { ...
xperimental/svn-notify
src/net/sourcewalker/svnnotify/data/xmldb/XmlRevision.java
Java
gpl-3.0
1,667
package org.dhydrated.kanbanana.server.controller; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.dhydrated.kanbanana.server.repository.BaseRepository; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.Reques...
dhydrated/kan-banana-server
src/main/java/org/dhydrated/kanbanana/server/controller/BaseService.java
Java
gpl-3.0
1,217
package com.captainbern.minecraft.game.nbt; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; public class NbtTagIntArray extends NbtTag<int[]> { public NbtTagIntArray() { this(new int[0]); } public NbtTagIntArray(int[] value) { super(value); } @Ov...
CaptainBern/MinecraftNetLib
src/main/java/com/captainbern/minecraft/game/nbt/NbtTagIntArray.java
Java
gpl-3.0
976
//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.emi.view.struts; import javax.se...
avdata99/SIAT
siat-1.0-SOURCE/src/view/src/WEB-INF/src/ar/gov/rosario/siat/emi/view/struts/AdministrarResLiqDeuDAction.java
Java
gpl-3.0
14,979
/* * 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...
jcgood/kpaamcam
AndroidApp/UBCollecting/libraries/drag-sort-listview/library/src/com/mobeta/android/dslv/ResourceDragSortCursorAdapter.java
Java
gpl-3.0
5,707
/* * Copyright or © or Copr. Amaury Carrade (2014 - 2016) * * http://amaury.carrade.eu * * This software is governed by the CeCILL-B license under French law and * abiding by the rules of distribution of free software. You can use, * modify and/ or redistribute the software under the terms of the CeCILL-B * l...
AmauryCarrade/UHPlugin
src/main/java/eu/carrade/amaury/UHCReloaded/commands/commands/categories/Category.java
Java
gpl-3.0
2,057
/** * GFW.Press * Copyright (C) 2016 chinashiyu ( chinashiyu@gfw.press ; http://gfw.press ) * <p/> * 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, o...
chinashiyu/gfw.press.android
src/main/java/press/gfw/android/CompatActivity.java
Java
gpl-3.0
3,771
/** * GRAVITY WORKFLOW AUTOMATION * (C) Copyright 2015 Orcon Limited * * This file is part of Gravity Workflow Automation. * * Gravity Workflow Automation 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...
cheetah100/gravity
src/main/java/nz/net/orcon/kanban/automation/plugin/FreemarkerPlugin.java
Java
gpl-3.0
2,280
package com.kiluet.jgringotts.dao.jpa; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceUnit; import javax.persistence.Query; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.kiluet.jgringot...
jdr0887/jgringotts
jgringotts-dao/jgringotts-dao-jpa/src/main/java/com/kiluet/jgringotts/dao/jpa/BaseDAOImpl.java
Java
gpl-3.0
2,776
package org.thoughtcrime.securesms.giph.mp4; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.util.AttributeSet; import android.view.TextureView; import android.view.View; import android.widget.FrameLayout; import androidx.annotation.NonNull; import androi...
AsamK/TextSecure
app/src/main/java/org/thoughtcrime/securesms/giph/mp4/GiphyMp4VideoPlayer.java
Java
gpl-3.0
3,611
package ch.cyberduck.binding.application; /* * Copyright (c) 2002-2009 David Kocher. All rights reserved. * * http://cyberduck.ch/ * * 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; eithe...
iterate-ch/cyberduck
binding/src/main/java/ch/cyberduck/binding/application/NSValidatedUserInterfaceItem.java
Java
gpl-3.0
1,346
/** * Copyright 2011-2016 Marc Comas - Santiago Thió * * This file is part of CoDaPack. * * CoDaPack 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 * (...
mcomas/codapack
src/main/java/coda/plot2/window/TernaryPlot2dDialogDataSet.java
Java
gpl-3.0
6,629
package bassebombecraft.operator.projectile; import static bassebombecraft.event.projectile.RegisteredEntityTypes.LIGHTNING_PROJECTILE; import bassebombecraft.entity.projectile.GenericCompositeProjectileEntity; import bassebombecraft.entity.projectile.LightningProjectileEntity; import bassebombecraft.operator.O...
athrane/bassebombecraft
src/main/java/bassebombecraft/operator/projectile/ShootLightningProjectile2.java
Java
gpl-3.0
1,070
/* * Carnegie Mellon University * Copyright (c) 2004, 2009 * All Rights Reserved. * * Any use of this software must follow the terms * outlined in the included LICENSE file. */ import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.net.URL; import java.util.ArrayList; import ...
kpu/MEMT
MEMT/Alignment/MMBRMatcherMEMT.java
Java
gpl-3.0
7,217