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 net.blaklizt.streets.android.location.navigation; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; /** * User: tkaviya * Date: 7/1/14 * Time: 7:49 PM */ public class Legs { private ArrayList<Steps> steps; private String totalDistan...
tkaviya/streets
src/main/java/net/blaklizt/streets/android/location/navigation/Legs.java
Java
gpl-2.0
1,464
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
mobile-event-processing/Asper
source/test/com/espertech/esper/support/xml/SupportXPathFunctionResolver.java
Java
gpl-2.0
1,106
package com.kartoflane.ftl.errorchecker.core; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.util.Properties; import java.util.concurrent.TimeUnit; import javax.swing.UIManager; @SuppressWarnings("serial")...
kartoFlane/FTL-ErrorChecker
src/com/kartoflane/ftl/errorchecker/core/CheckerConfig.java
Java
gpl-2.0
7,408
package utils; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import Constants.DataBaseConstants; public class projectNameEncoder { public Connection createConnection() throws SQLException { Connection conn = null; ...
hkaj/CoFITS
server/src/utils/projectNameEncoder.java
Java
gpl-2.0
1,231
package com.imrang.detector.domain; import com.imrang.detector.convert.ActivityLogConverter; import com.imrang.detector.convert.Converter; import nl.jqno.equalsverifier.EqualsVerifier; import nl.jqno.equalsverifier.Warning; import org.junit.Test; public class ActivityLogTest { private static Converter<ActivityLo...
gulimran/hackerdetector
detector/src/test/java/com/imrang/detector/domain/ActivityLogTest.java
Java
gpl-2.0
1,077
package freenet.node.updater; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; impor...
saces/fred
src/freenet/node/updater/UpdateDeployContext.java
Java
gpl-2.0
11,514
package AST; public abstract class Blockstatements implements SyntaxNode { private SyntaxNode parent; public Blockstatements getBlockstatements() { throw new ClassCastException("tried to call abstract method"); } public void setBlockstatements(Blockstatements blockstatements) { th...
waqasraz/Compiler-J--
jmm/src/AST/Blockstatements.java
Java
gpl-2.0
1,140
package com.austinv11.collectiveframework.utils; /** * Simple class for figuring out how long things take to be done */ public class TimeProfiler { private long startTime; /** * Starts a profiler at the current instant */ public TimeProfiler() { startTime = System.currentTimeMillis(); } /** * Gets...
austinv11/CollectiveFramework
src/main/java/com/austinv11/collectiveframework/utils/TimeProfiler.java
Java
gpl-2.0
640
// Complex API code public class ComplexPricingStrategy { int calculateAirlinePricing(String source, String destination) { return source.length() + destination.length(); } int calculateProprtyValuation(String location) { return (location.length() * 150 % 40 + 12345 - 50) >> 1; } int calculateOilValuatio...
craigcabrey/swen-343-base-patterns-examples
gateway/ComplexPricingStrategy.java
Java
gpl-2.0
509
package edu.ucdenver.bios.glimmpseweb.client.shared; import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.VerticalPanel; import edu.ucdenver.bios.glimmpseweb.client.GlimmpseConstants; public class GlimmpseLogoPanel extends Composite ...
SampleSizeShop/GlimmpseWeb
src/edu/ucdenver/bios/glimmpseweb/client/shared/GlimmpseLogoPanel.java
Java
gpl-2.0
644
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Modelo; import java.util.ArrayList; import java.util.HashMap; import javax.swing.table.AbstractTableModel; /** * * @author zirex */ public class Insumo { private Conexion con; private String id; ...
supermavp/avisoft
appAvisoft/src/Modelo/Insumo.java
Java
gpl-2.0
8,936
package com.charlesdream.office.word.objects; import com.charlesdream.office.BaseObject; import com.jacob.com.Dispatch; /** * @author Charles Cui on 3/5/2016. * @since 1.0 */ public class SeriesCollection extends BaseObject { public SeriesCollection(Dispatch dispatch) { super(dispatch); } }
Lotusun/OfficeHelper
src/main/java/com/charlesdream/office/word/objects/SeriesCollection.java
Java
gpl-2.0
314
/** *@author Gilberto Vargas Hernández *Clase que nos ayuda a clasificar los tipos de token que puede procesar un ensamblador */ import java.util.*; import java.util.regex.*; public class Clasificador{ /** *Funcion que clasifica una string en sus 3 tipos de componentes *@param String s, la cadena a clasificar ...
TachoMex/Progsis
Practica 1/Clasificador.java
Java
gpl-2.0
8,653
/* * Copyright 2009-2014 PrimeTek. * * 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 i...
paco30amigos/sieni
SIENI/rio/tag/src/main/java/org/primefaces/rio/service/CarService.java
Java
gpl-2.0
2,580
package com.reform.dbstorm.zookeeper; /** * 状态监听器. * * @author huaiyu.du@opi-corp.com 2012-1-29 下午4:45:03 */ public interface StateListener { /** * 新连接建立或重连. */ void onNewSession(); /** * 状态发生改变. */ void onStateChange(); }
deyami/dbstorm
dbstorm-zookeeper/src/main/java/com/reform/dbstorm/zookeeper/StateListener.java
Java
gpl-2.0
285
/* * Copyright (C) 2006 Gérard Milmeister * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT...
wells369/Rubato
java/src/org/rubato/logeo/reform/RecursiveLimitReformer.java
Java
gpl-2.0
3,764
/* * $RCSfile$ * * Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the F...
philipwhiuk/j3d-core
src/classes/share/javax/media/j3d/ShaderAttributeBindingRetained.java
Java
gpl-2.0
2,911
package org.safehaus.penrose.jdbc; /** * @author Endi Sukma Dewata */ public class StatementSource { private String alias; private String partitionName; private String sourceName; public String getAlias() { return alias; } public void setAlias(String alias) { ...
identityxx/penrose-server
core/src/java/org/safehaus/penrose/jdbc/StatementSource.java
Java
gpl-2.0
719
/* Mango - Open Source M2M - http://mango.serotoninsoftware.com Copyright (C) 2006-2011 Serotonin Software Technologies Inc. @author Matthew Lohbihler 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 th...
SCADA-LTS/Scada-LTS
src/com/serotonin/mango/rt/event/detectors/BinaryStateDetectorRT.java
Java
gpl-2.0
3,230
/* * Copyright (C) 2014 University of Dundee & Open Microscopy Environment. * 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...
stelfrich/openmicroscopy
components/insight/SRC/org/openmicroscopy/shoola/env/data/views/calls/FileAnnotationCheckLoader.java
Java
gpl-2.0
3,769
package edu.utep.cybershare.elseweb.build.edac.services.source.edac.fgdc.theme; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; public class Themes { private static final String THEMEKT_ISO_19115_Topic_Categories = "ISO 19115 Topic Categories"; private static final String THEME...
cybershare/elseweb-v2
harvester/src/main/java/edu/utep/cybershare/elseweb/build/edac/services/source/edac/fgdc/theme/Themes.java
Java
gpl-2.0
2,344
package klaue.mcschematictool.blocktypes; /** * A farmland block with wetness * * @author klaue * */ public class Farmland extends Block { /** * initializes the farmland block * * @param wetness 0-8 */ public Farmland(byte wetness) { super((short) 60, wetness); this....
Fernando-Marquardt/mcarchitect
MCArchitect/src/klaue/mcschematictool/blocktypes/Farmland.java
Java
gpl-2.0
1,419
/* * Copyright (c) 1998-2012 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...
mdaniel/svn-caucho-com-resin
modules/quercus/src/com/caucho/quercus/lib/curl/UrlEncodedBody.java
Java
gpl-2.0
2,002
/* * Copyright (c) 1998-2010 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
christianchristensen/resin
modules/servlet16/src/javax/el/PropertyNotFoundException.java
Java
gpl-2.0
1,449
/** * 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/BenchmarkTest01682.java
Java
gpl-2.0
2,526
/* * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
TheTypoMaster/Scaper
openjdk/jaxws/drop_included/jaxws_src/src/com/sun/xml/internal/bind/v2/runtime/NameList.java
Java
gpl-2.0
2,634
package com.jon.exchangemarket.interceptor; import com.jfinal.aop.Interceptor; import com.jfinal.core.ActionInvocation; public class LoginInterceptor implements Interceptor{ @Override public void intercept(ActionInvocation ai) { System.out.println("Before action invoking"); ai.invoke(); ai.getViewPath(); S...
johnzzc/JFExchangemarket
ExchangeMarket/src/com/jon/exchangemarket/interceptor/LoginInterceptor.java
Java
gpl-2.0
373
package ch.bfh.bti7321thesis.description; import static org.junit.Assert.assertEquals; import org.junit.Test; import ch.bfh.bti7321thesis.app.MqttTopic; public class MqttTopicTest { @Test public void testMqttTopicString() { MqttTopic topic = new MqttTopic("a/b/c/d/"); assertEquals(4, topic.getNumberofElement...
barta3/ch.bfh.bti7321thesis.mqttSemantics
ch.bfh.bti7321thesis.description/src/test/java/ch/bfh/bti7321thesis/description/MqttTopicTest.java
Java
gpl-2.0
406
/** * OWASP Benchmark Project v1.2 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>. * * The OWASP Benchmark is free software: you can redistribute it ...
h3xstream/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01093.java
Java
gpl-2.0
3,101
package pl.azurro.kafka.groupmonitor; import static java.util.Collections.singletonList; import static org.fest.assertions.Assertions.assertThat; import static org.mockito.Matchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import kafka.cluster.Broker; import kafka.javaapi.Off...
azurro/kafka-group-monitor
src/test/java/pl/azurro/kafka/groupmonitor/GroupMonitorTest.java
Java
gpl-2.0
3,275
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2006-2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
qoswork/opennmszh
opennms-model/src/main/java/org/opennms/netmgt/model/OnmsMonitoredServiceDetail.java
Java
gpl-2.0
4,276
/************************************************************************************** * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
sungsoo/esper
examples/stockticker/src/test/java/com/espertech/esper/example/stockticker/TestStockTickerMultithreaded.java
Java
gpl-2.0
4,900
/* * Copyright (C) 2014 Stanislav Nepochatov * * 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 ...
spoilt-exile/RibbonSystem
src/java/org/ribbon/commands/ComLogout.java
Java
gpl-2.0
2,021
package java.lang; import org.checkerframework.dataflow.qual.Pure; import org.checkerframework.dataflow.qual.SideEffectFree; import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; import...
biddyweb/checker-framework
checker/jdk/nullness/src/java/lang/Class.java
Java
gpl-2.0
7,450
/** This package is part of the application VIF. Copyright (C) 2012-2014, Benno Luthiger 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...
aktion-hip/vif
org.hip.vif.web/src/org/hip/vif/web/exc/VIFExceptionHandler.java
Java
gpl-2.0
3,265
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
sungsoo/esper
esper/src/test/java/com/espertech/esper/regression/epl/TestSubselectIndex.java
Java
gpl-2.0
12,082
package edu.asu.spring.quadriga.validator; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import edu.asu.spring.quadriga.web.workbench.backing....
diging/quadriga
Quadriga/src/main/java/edu/asu/spring/quadriga/validator/CollaboratorFormDeleteValidator.java
Java
gpl-2.0
1,384
package edu.sc.seis.fissuresUtil.display; import java.awt.Dimension; import java.awt.Graphics2D; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.swing.JComponent; ...
crotwell/fissuresUtil
src/main/java/edu/sc/seis/fissuresUtil/display/SeismogramPDFBuilder.java
Java
gpl-2.0
9,449
/* * Copyright (c) 2014. Licensed under GPL-2. See license.txt in project folder. */ package de._0x29.xkpasswd; import java.io.IOException; import java.security.SecureRandom; import java.util.ArrayList; import java.util.HashMap; /** * Created by christian on 1/26/14. */ public class PasswordFactory { private...
methical/xkpasswd-lib
src/main/java/de/_0x29/xkpasswd/PasswordFactory.java
Java
gpl-2.0
2,376
package e.scm; import java.io.*; import java.nio.file.*; import java.util.*; import java.util.regex.*; import e.util.*; public class Patch { private ArrayList<String> lines; private ArrayList<String> errors; private LineMapper lineMapper; public static final class HunkRange { /** ...
software-jessies-org/scm
src/e/scm/Patch.java
Java
gpl-2.0
6,750
package model.xmlparser.xmlview.mainmenudata; import org.simpleframework.xml.ElementList; import org.simpleframework.xml.Root; import java.util.List; @Root(name = "data") public class MainMenuData { @ElementList(inline = true, name = "Submenu") List<Submenu> submenus; public List<Submenu> getSubmenus() ...
indiyskiy/WorldOnline
src/model/xmlparser/xmlview/mainmenudata/MainMenuData.java
Java
gpl-2.0
450
package com.sandlex.run2gather.runkeeper.model.types; import com.google.gson.annotations.SerializedName; /** * author: Alexey Peskov */ public enum ActivityType { RUNNING("Running"), CYCLING("Cycling"), MOUNTAIN_BIKING("Mountain Biking"), WALKING("Walking"), HIKING("Hiking"), DOWNHILL_SKIIN...
sandlex/run2gather
src/main/java/com/sandlex/run2gather/runkeeper/model/types/ActivityType.java
Java
gpl-2.0
1,076
package ojvm.loading.instructions; import ojvm.data.JavaException; import ojvm.operations.InstructionVisitor; import ojvm.util.RuntimeConstants; /** * The encapsulation of a lreturn instruction. * @author Amr Sabry * @version jdk-1.1 */ public class Ins_lreturn extends Instruction { ...
adum/bitbath
hackjvm/src/ojvm/loading/instructions/Ins_lreturn.java
Java
gpl-2.0
585
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("C...
liyue80/GmailAssistant20
src/javax/mail/internet/SharedInputStream.java
Java
gpl-2.0
3,737
// Standard imports import java.util.Map; // Application specific imports import org.web3d.x3d.sai.*; public class SAIExample1 implements X3DScriptImplementation, X3DFieldEventListener { /** Color Constant, RED */ private static final float[] RED = new float[] {1.0f, 0, 0}; /** Color Constant, BLUE ...
Norkart/NK-VirtualGlobe
Xj3D/spec_examples/x3d/SAIExample1.java
Java
gpl-2.0
2,730
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
rex-xxx/mt6572_x201
mediatek/frameworks/opt/ngin3d/demos/App/ngin3dDemo/src/com/mediatek/ngin3d/demo/DemolistGlo3D.java
Java
gpl-2.0
7,673
package vistas.actores; import java.awt.Color; import java.awt.Graphics; public class ActorObject extends Actor { @Override public void dibujar(Graphics g) { g.setColor(Color.white); g.drawRect (20, 20, 10, 10); } }
algo3-2015-fiuba/algocraft
src/vistas/actores/ActorObject.java
Java
gpl-2.0
230
/* Copyright (C) 2009 Markus Michael Geipel, David Garcia Becerra This file is part of Cuttlefish. Cuttlefish 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, ...
dev-cuttlefish/cuttlefish
src-old/ch/ethz/sg/cuttlefish/misc/VertexFactory.java
Java
gpl-2.0
1,036
/** * 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/BenchmarkTest08210.java
Java
gpl-2.0
2,148
package com.github.hurdad.storm.forex.bolt; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Queue; import backtype.storm.task.OutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.topology.b...
hurdad/storm-forex
src/jvm/com/github/hurdad/storm/forex/bolt/PercRBolt.java
Java
gpl-2.0
2,483
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
rex-xxx/mt6572_x201
mediatek/packages/apps/Bluetooth/profiles/opp/src/com/mediatek/bluetooth/opp/adp/OppTaskWorkerThread.java
Java
gpl-2.0
4,522
package org.totalboumboum.ai.v201112.ais.kayukataskin.v3.criterion; import java.util.Arrays; import java.util.Set; import java.util.TreeSet; import org.totalboumboum.ai.v201112.adapter.agent.AiUtilityCriterionString; import org.totalboumboum.ai.v201112.adapter.communication.StopRequestException; import org.to...
vlabatut/totalboumboum
resources/ai/org/totalboumboum/ai/v201112/ais/kayukataskin/v3/criterion/CriterionThird.java
Java
gpl-2.0
2,534
/* * java-gnome, a UI library for writing GTK and GNOME programs from Java! * * Copyright © 2011 Operational Dynamics Consulting, Pty Ltd and Others * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or modi...
cyberpython/java-gnome
src/bindings/org/gnome/gtk/GtkStyleContextOverride.java
Java
gpl-2.0
3,406
/* * Copyright (c) 2014 Haixing Hu * * 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 ...
Haixing-Hu/iLibrary
src/main/java/com/github/haixing_hu/ilibrary/AppConfig.java
Java
gpl-2.0
18,577
package world.render; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; import org.lwjgl.opengl.GL11; import core.Renderer; import core.Updater; import effects.Effect; import effects.particles.ParticleEffect; import effects.particles.ParticleEmitter; import item.Name...
Marghytis/SarahsWorld
SarahsWorld/src/world/render/WorldPainter.java
Java
gpl-2.0
5,672
/** * 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/BenchmarkTest09197.java
Java
gpl-2.0
3,130
/* * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
mcberg2016/graal-core2
graal/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin.java
Java
gpl-2.0
11,476
/* * 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/modules/dataprocessing/filter_scanfilters/mean/MeanFilterParameters.java
Java
gpl-2.0
1,741
/* * Copyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
TheTypoMaster/Scaper
openjdk/jdk/src/share/classes/javax/management/MBeanFeatureInfo.java
Java
gpl-2.0
9,932
/** * 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/BenchmarkTest14967.java
Java
gpl-2.0
2,214
package com.yh.hr.component.im.check.service.impl; import java.util.List; import org.apache.commons.collections.CollectionUtils; import com.yh.hr.component.im.check.service.CollItemCheckService; import com.yh.hr.component.im.dto.CheckColumnDTO; import com.yh.hr.component.im.dto.CheckResultDTO; import com.yh.hr.res.d...
meijmOrg/Repo-test
freelance-hr-component/src/java/com/yh/hr/component/im/check/service/impl/DataLengthCheckServiceImpl.java
Java
gpl-2.0
2,107
class CountUniqueIntegers { private Set<Integer> set; public CountIntegers( Set<Integer> set ) { this.set = set; } public int getCount( int[] array ) { int length = array.length; for( int i = 0; i < length; i ++ ) this.set.push( array[i] ); return this.set.size(); } }
supalogix/java-liskov-example
src/CountIntegers.java
Java
gpl-2.0
293
package com.geminno.calculatorapplication; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; import android.app.Activity; public class MainActivity extends Activity implements OnClickListener { //ÉùÃ÷һЩ¿...
A203/LuWeidan
CalculatorApplication/app/src/main/java/com/geminno/calculatorapplication/MainActivity.java
Java
gpl-2.0
9,472
/* * _ __ _ * | |/ /__ __ __ _ _ __ | |_ _ _ _ __ ___ * | ' / \ \ / // _` || '_ \ | __|| | | || '_ ` _ \ * | . \ \ V /| (_| || | | || |_ | |_| || | | | | | * |_|\_\ \_/ \__,_||_| |_| \__| \__,_||_| |_| |_| * * Copyright (C) 2019 Alexander Söderberg * * Licensed...
IntellectualSites/IntellectualServer
ServerAPI/src/main/java/xyz/kvantum/server/api/views/ViewDetector.java
Java
gpl-2.0
5,465
package org.albianj.persistence.impl.db; import java.util.Map; import org.albianj.persistence.object.IAlbianObject; import org.albianj.persistence.object.IAlbianObjectAttribute; import org.albianj.persistence.object.IRoutingAttribute; import org.albianj.persistence.object.IRoutingsAttribute; public interfac...
xvhfeng/albianj
Albianj.Persistence.Impl/src/main/java/org/albianj/persistence/impl/db/IUpdateCommand.java
Java
gpl-2.0
524
/** This package is part of the application VIF. Copyright (C) 2008-2015, Benno Luthiger This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your op...
aktion-hip/vif
org.hip.vif.member.ldap/src/org/hip/vif/member/ldap/LDAPMemberInformation.java
Java
gpl-2.0
3,356
/* * Copyright 2013-2014 Odysseus Software GmbH * * 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 l...
digantDj/Gifff-Talk
TMessagesProj/src/main/java/org/giffftalk/messenger/audioinfo/m4a/MP4Box.java
Java
gpl-2.0
2,379
/** * rigid_constraintType.java * * This file was generated by XMLSpy 2007sp2 Enterprise Edition. * * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION. * * Refer to the XMLSpy Documentation for further details. * http://www.altova.com/xmlspy */ p...
tectronics/xenogeddon
src/com/jmex/model/collada/schema/rigid_constraintType.java
Java
gpl-2.0
19,115
package com.lami.tuomatuo.core.dao.impl; import com.lami.tuomatuo.core.base.MySqlBaseDao; import com.lami.tuomatuo.core.dao.QQAccountDaoInterface; import com.lami.tuomatuo.core.model.QQAccount; import org.springframework.stereotype.Repository; /** * Created by xjk on 2016/1/18. */ @Repository("qqAccountDaoInterface...
jackkiexu/tuomatuo
tuomatuo-core/src/main/java/com/lami/tuomatuo/core/dao/impl/QQAccountDaoImpl.java
Java
gpl-2.0
496
package kurtis.rx.androidexamples; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import java.util.ArrayList; import java.util.List; public class E...
klnusbaum/rxandroidexamples
app/src/main/java/kurtis/rx/androidexamples/ExampleListActivity.java
Java
gpl-2.0
2,227
/* * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
TheTypoMaster/Scaper
openjdk/jdk/test/sun/nio/cs/OLD/DBCS_IBM_EBCDIC_Encoder.java
Java
gpl-2.0
8,255
/******************************** * 프로젝트 : gargoyle-jython * 패키지 : com.kyj.fx.nashorn * 작성일 : 2019. 10. 4. * 작성자 : KYJ (callakrsos@naver.com) *******************************/ package com.kyj.fx.nashorn; import java.io.File; import java.io.IOException; import javax.script.ScriptEngine; import ja...
callakrsos/Gargoyle
gargoyle-jython/src/test/java/com/kyj/fx/nashorn/DefaultScriptEngineTest.java
Java
gpl-2.0
8,095
package net.xngo.tutorial.java.xxhash; import net.jpountz.xxhash.XXHashFactory; import net.jpountz.xxhash.StreamingXXHash32; import java.io.ByteArrayInputStream; import java.io.UnsupportedEncodingException; import java.io.IOException; /** * Basic example showing how to get the hash value of string using X...
limelime/Tutorial
src/net/xngo/tutorial/java/xxhash/XxhashString.java
Java
gpl-2.0
1,394
/******************************************************************************* * Copyright (C) 2013 JMaNGOS <http://jmangos.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...
JMaNGOS/JMaNGOS
Commons/src/main/java/org/jmangos/commons/entities/skills/pet/PetExoticCoreHound.java
Java
gpl-2.0
1,292
package pl.metaminers.game; import org.robovm.apple.foundation.NSAutoreleasePool; import org.robovm.apple.uikit.UIApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; import pl.metaminers.game.MineFooGame; public class IOSLaun...
tmachows/slavic-miners-game
ios/src/pl/metaminers/game/IOSLauncher.java
Java
gpl-2.0
764
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // MarineStandalone is a minecraft server software and API. // Copyright (C) MarineMC (marinemc.org) // // This program is free software; you can redistribute it and/or modify // it under the terms of the...
MarineMC/MarineStandalone
src/main/java/org/marinemc/world/BiomeID.java
Java
gpl-2.0
3,562
/* * Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
TheTypoMaster/Scaper
openjdk/jdk/src/share/classes/java/awt/DisplayMode.java
Java
gpl-2.0
5,123
package com.toet.TinyVoxel.Renderer; import com.toet.TinyVoxel.Config; import com.toet.TinyVoxel.Renderer.Bundles.Grid; import com.toet.TinyVoxel.Renderer.Bundles.TinyGrid; import java.nio.FloatBuffer; /** * Created by Kajos on 20-1-14. */ public class BlockBuilder { public static float low = .0001f; publ...
neuroradiology/TinyVoxel
core/src/com/toet/TinyVoxel/Renderer/BlockBuilder.java
Java
gpl-2.0
8,245
package pl.foltak.mybudget.server.security; import java.io.IOException; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerResponseContext; import javax.ws.rs.container.ContainerResponseFilter; import javax.ws.rs.ext.Provider; /** * This filter adds CORS headers and make api ...
mariuszfoltak/my-budget
server/src/main/java/pl/foltak/mybudget/server/security/CORSFilter.java
Java
gpl-2.0
1,050
package game.object.enemy; import game.framework.math.Vector2d; import game.framework.resources.Textures; /** * Created by Addy on 23.02.2015. */ public class EnemyHeavy extends Enemy { public EnemyHeavy(Vector2d[] wayPoints) { super(Textures.runnerTexture, 25, 1.0d, 8, wayPoints); } }
JannesP/java_tower_defense
src/game/object/enemy/EnemyHeavy.java
Java
gpl-2.0
309
//COBERTURA EXCLUDE THIS FILE /* Copyright (C) 2000 Chr. Clemens Lee <clemens@kclee.com>. This file is part of JavaNCSS (http://www.kclee.com/clemens/java/javancss/). JavaNCSS 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...
hsun/cobertura-fork
javancss/src/main/java/javancss/JavancssFrame.java
Java
gpl-2.0
13,787
/***************************************************************************** * Web3d.org Copyright (c) 2001 * Java Source * * This source is licensed under the GNU LGPL v2.1 * Please read http://www.gnu.org/copyleft/lgpl.html for more information * * This so...
Norkart/NK-VirtualGlobe
Xj3D/src/java/org/web3d/vrml/export/compressors/RangeCompressor.java
Java
gpl-2.0
2,664
/** * Copyright (C) 2002-2022 The FreeCol Team * * This file is part of FreeCol. * * FreeCol is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your optio...
FreeCol/freecol
src/net/sf/freecol/common/networking/AnimateAttackMessage.java
Java
gpl-2.0
7,919
package net.demilich.metastone.game.spells.desc.condition; import net.demilich.metastone.game.GameContext; import net.demilich.metastone.game.Player; import net.demilich.metastone.game.entities.Entity; import net.demilich.metastone.game.logic.GameLogic; public class ManaMaxedCondition extends Condition { p...
rafaelkalan/metastone
src/main/java/net/demilich/metastone/game/spells/desc/condition/ManaMaxedCondition.java
Java
gpl-2.0
569
package com.inspector.objectinspector.view; import com.general.view.jtreetable.TableTreeNode; import com.inspector.objectinspector.presenter.ObjectInspectorPresenterInterface; public interface ObjectInspectorViewInterface { public void setController(ObjectInspectorPresenterInterface objectInspectorPresenter); pub...
DiegoArranzGarcia/JavaTracer
JavaTracer/src/com/inspector/objectinspector/view/ObjectInspectorViewInterface.java
Java
gpl-2.0
450
/* * Autshumato Terminology Management System (TMS) * Free web application for the management of multilingual terminology databases (termbanks). * * Copyright (C) 2013 Centre for Text Technology (CTexT®), North-West University * and Department of Arts and Culture, Government of South Africa * Home page: http://ww...
ismail-l/test-repo
src/tms2/server/usercategory/UserCategoryManager.java
Java
gpl-2.0
5,586
/** * */ package tuwien.dbai.wpps.core.wpmodel.physmodel.im.instadp; import tuwien.dbai.wpps.core.wpmodel.IContainsRDFResource; import tuwien.dbai.wpps.ontschema.InterfaceModelOnt; import com.hp.hpl.jena.rdf.model.Resource; /** * @author Ruslan (ruslanrf@gmail.com) * @created Jul 3, 2012 5:58:16 PM */ public e...
ruslanrf/wpps
wpps_plugins/tuwien.dbai.wpps.core/src/tuwien/dbai/wpps/core/wpmodel/physmodel/im/instadp/EFontStyle.java
Java
gpl-2.0
680
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
rex-xxx/mt6572_x201
mediatek/packages/apps/Bluetooth/profiles/map/src/com/mediatek/bluetooth/map/cache/FolderListObject.java
Java
gpl-2.0
2,588
package nl.tdegroot.games.pixxel.map.tiled; public class Tile { public int tileID; public int firstGID,lastGID; public Tile(int tileID, int firstGID, int lastGID) { this.tileID = tileID; this.firstGID = firstGID; this.lastGID = lastGID; } }
Desmaster/Pixxel
map/tiled/Tile.java
Java
gpl-2.0
285
package org.nized.web.domain; import java.util.Date; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @JsonSerialize @JsonDeserialize public class Checkin { private Person person; // Based on email stored in DB private Da...
ryan-gyger/senior-web
src/main/java/org/nized/web/domain/Checkin.java
Java
gpl-2.0
1,597
package com.pugh.sockso; import com.pugh.sockso.tests.SocksoTestCase; public class JsonUtilsTest extends SocksoTestCase { public void testStringEscapesDoubleQuotes() { assertEquals( "\"a\\\"b\"", JsonUtils.string("a\"b") ); } }
rodnaph/sockso
test/com/pugh/sockso/JsonUtilsTest.java
Java
gpl-2.0
257
/* * Copyright (c) 2003, 2004, 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 ...
NexusTools/JVM.JS-JavaRuntime
src/net/nexustools/jvm/runtime/java/lang/reflect/ParameterizedType.java
Java
gpl-2.0
3,996
/* Copyright (C) 2010-2014 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the under the Apache License, Version 2.0 (the "License”); you may not use this file except in compliance with the License. Y...
pivotal/tcs-hq-product-plugin
src/main/java/com/springsource/hq/plugin/tcserver/plugin/appmgmt/ScriptingApplicationManager.java
Java
gpl-2.0
1,761
/* * Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C) * 2009 Royal Institute of Technology (KTH) * * GVoD 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-alex/GVoD
bootstrap/server/caracal-client/src/main/java/se/sics/gvod/bootstrap/cclient/CaracalKeyFactory.java
Java
gpl-2.0
3,205
package de.geotech.systems.kriging; public class DataPoint { String name, region, date, typ; double xCoordinate, yCoordinate; int id; int isValuePoint; Integer data, intData; boolean hasConvergence = true; }
GeoTechSystems/GeoTechMobile
app/src/main/java/de/geotech/systems/kriging/DataPoint.java
Java
gpl-2.0
219
/* $Id$ */ /*************************************************************************** * (C) Copyright 2003 - Marauroa * *************************************************************************** *************************************************************************** ...
dkfellows/stendhal
src/games/stendhal/client/gui/login/LoginDialog.java
Java
gpl-2.0
19,502
/* * Copyright 1997-2007 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...
mdavid/IKVM.NET-cvs-clone
openjdk/java/security/AccessController.java
Java
gpl-2.0
23,993
/* * copyright (C) 2013 Christian P Rasmussen * * 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 la...
cprasmu/RasCam-Server
src/cprasmu/rascam/camera/model/MeteringMode.java
Java
gpl-2.0
1,840
/** * 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/BenchmarkTest02153.java
Java
gpl-2.0
3,459
/** * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
iucn-whp/world-heritage-outlook
portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/service/assessment_statusLocalServiceClp.java
Java
gpl-2.0
20,922