repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
kellydavid/DistributedFileSystem
dfs-config/src/main/java/com/kellydavid/dfs/config/Configurator.java
1740
package com.kellydavid.dfs.config; import java.io.*; import java.util.HashMap; /** * Created by david on 31/01/2016. */ public class Configurator { private String filename; private HashMap<String, String> configuration; public Configurator(String filename){ this.filename = filename; co...
gpl-2.0
dcgibbons/herald
src/net/sourceforge/herald/MessengerProtocol.java
5265
/* * MessengerProtocol.java * * Herald, An Instant Messenging Application * * Copyright © 2000 Chad Gibbons * * 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 ...
gpl-2.0
zulfikar2/CSPortfolio
JAVA/SAD_Search/ModelDisplay.java
1120
import java.awt.Graphics; /** * Interface to used to communicate between a model * and its display * * Copyright Georgia Institute of Technology 2004 * @author Barb Ericson ericson@cc.gatech.edu */ public interface ModelDisplay { /** method to notify the thing that displays that * the model has changed */ ...
gpl-2.0
leeclarke/CAHServer
src/main/java/com/meadowhawk/cah/dao/AbstractJpaDAO.java
1157
package com.meadowhawk.cah.dao; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.transaction.annotation.Transactional; public abstract class AbstractJpaDAO<T> { public enum DBSortOrder{ DESC, ASC } protected Class<T> clazz;...
gpl-2.0
phantamanta44/PWarfare
src/main/java/io/github/phantamanta44/pwarfare/gui/RespawnGui.java
6436
package io.github.phantamanta44.pwarfare.gui; import io.github.phantamanta44.pwarfare.Game; import io.github.phantamanta44.pwarfare.data.GameMap; import io.github.phantamanta44.pwarfare.data.GameMap.GameMode; import io.github.phantamanta44.pwarfare.data.GamePlayer; import io.github.phantamanta44.pwarfare.data.GamePlay...
gpl-2.0
actiontech/dble
src/main/java/com/actiontech/dble/route/factory/RouteStrategyFactory.java
589
/* * Copyright (C) 2016-2022 ActionTech. * License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher. */ package com.actiontech.dble.route.factory; import com.actiontech.dble.route.RouteStrategy; import com.actiontech.dble.route.impl.DefaultRouteStrategy; /** * RouteStrategyFactory * * @author wang...
gpl-2.0
guillep19/grails-responsys-ws-integration
ResponsysClientLib/src/com/rsys/ws/RetrieveLinkRecords.java
19195
/** * RetrieveLinkRecords.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:34:40 IST) */ package com.rsys.ws; /** * RetrieveLinkRecords bean class */ @Suppr...
gpl-2.0
klst-com/metasfresh
de.metas.edi.esb.camel/src/main/java/de/metas/edi/esb/pojo/invoice/cctop/Cctop111V.java
4293
package de.metas.edi.esb.pojo.invoice.cctop; /* * #%L * de.metas.edi.esb * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of th...
gpl-2.0
judgels/uriel
app/org/iatoki/judgels/uriel/contest/manager/ContestManagerModel_.java
678
package org.iatoki.judgels.uriel.contest.manager; import org.iatoki.judgels.play.model.AbstractModel_; import javax.annotation.Generated; import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; @Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor...
gpl-2.0
Myselia/MyseliaStem
src/main/java/com/myselia/stem/communication/seekers/LocalHostSeek.java
1391
package com.myselia.stem.communication.seekers; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import com.myselia.stem.communication.CommunicationDock; public class LocalHostSeek implements Seek { private volatile static LocalHostSeek unique...
gpl-2.0
graeme-lockley/string-calculator-java6-pbt
src/test/java/kata/MyCollections.java
1712
package kata; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; public class MyCollections { public static String join(Collection collection) { return join(collection, ""); } public static String join(Collection collection, String separator...
gpl-2.0
rex-xxx/mt6572_x201
sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/NewXmlFileCreationPage.java
49017
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Eclipse Public License, Version 1.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.eclipse.org/org/documents/epl-v10.php * * Unless r...
gpl-2.0
cjdev/httpobjects
core/src/main/java/org/httpobjects/ConnectionInfo.java
2931
/** * Copyright (C) 2011, 2012 Commission Junction Inc. * * This file is part of httpobjects. * * httpobjects 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, or (at your option) * any...
gpl-2.0
petersalomonsen/frinika
src/uk/org/toot/midi/misc/GM.java
20219
// Copyright (C) 2005 - 2007 Steve Taylor. // Distributed under the Toot Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.toot.org.uk/LICENSE_1_0.txt) package uk.org.toot.midi.misc; import uk.org.toot.music.tonality.Pitch; /** Support for General MIDI Instrum...
gpl-2.0
Norkart/NK-VirtualGlobe
Xj3D/src/java/org/web3d/vrml/renderer/common/nodes/surface/BaseImage2D.java
22301
/***************************************************************************** * 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...
gpl-2.0
smarr/Truffle
compiler/src/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/inlining/info/ExactInlineInfo.java
3520
/* * Copyright (c) 2013, 2021, 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 ...
gpl-2.0
hs94/FoodFinderApp
src/cs499/examples/semesterproject/AndroidFoodBankOwnerServlet.java
18694
package cs499.examples.semesterproject; import javax.servlet.*; import javax.servlet.http.*; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Resul...
gpl-2.0
MichaelChansn/RemoteControlSystem2.0_AndroidClient
src/com/ks/net/UDPScanThread.java
2601
package com.ks.net; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketTimeoutException; import java.util.ArrayList; import com.ks.activitys.IndexActivity.IndexHandler; import com.ks.net.enums.MessageEnums; public class UDPSc...
gpl-2.0
eurra/hmod-domain-mkp
src/hmod/domain/mkp/scripts/RemoveAndGreedyFillScript.java
1721
package hmod.domain.mkp.scripts; import flexbuilders.core.BuildException; import flexbuilders.core.Buildable; import flexbuilders.scripting.BuildScript; import flexbuilders.tree.BranchBuilder; import flexbuilders.tree.TreeHandler; import static hmod.parser.builders.AlgorithmBuilders.*; /** * * @author Enrique Urra...
gpl-2.0
mchug/trasm
src/trasm/IdTable.java
4205
package trasm; /** * Таблица идентификаторов */ class IdTable extends AbstractTable { /** * Типы идентификаторов */ static enum IdType { DB(1), DW(2), DD(4), LABEL(0); private int size; private IdType(int i) { size = i; } ...
gpl-2.0
rac021/blazegraph_1_5_3_cluster_2_nodes
bigdata-rdf/src/test/com/bigdata/rdf/sparql/ast/optimizers/TestASTFilterNormalizationOptimizer.java
79136
/** Copyright (C) SYSTAP, LLC 2006-2015. All rights reserved. Contact: SYSTAP, LLC 2501 Calvert ST NW #106 Washington, DC 20008 licenses@systap.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free S...
gpl-2.0
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest18518.java
2872
/** * 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/...
gpl-2.0
joezxh/DATAX-UI
eshbase-console/src/main/java/net/iharding/core/timer/DataBaseCronTriggerBean.java
1042
package net.iharding.core.timer; import java.text.ParseException; import net.iharding.modules.task.model.TimeTask; import net.iharding.modules.task.service.TimeTaskService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.quartz.CronTriggerFactoryBean; /** * spri...
gpl-2.0
sungsoo/esper
esper/src/main/java/com/espertech/esper/epl/agg/access/AggregationStateSortedImpl.java
5476
/************************************************************************************** * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
gpl-2.0
mabuyo/ready-set-press
app/src/main/java/com/cmput301/mmabuyo/readysetpress/GameshowResults.java
2703
/* Copyright 2015 Michelle Mabuyo 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 writing, software...
gpl-2.0
akademikbilisim/ab2015-android-a
ab2015-3/app/src/main/java/org/ab/akademikbilisim/Detay.java
2025
package org.ab.akademikbilisim; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.TextVi...
gpl-2.0
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest08513.java
2265
/** * 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/...
gpl-2.0
cdparra/reminiscens-lifeapi
app/controllers/PublicMementoControl.java
429
package controllers; import play.mvc.*; public class PublicMementoControl extends Controller { public static Result getRandomMemento(String lang) { /** @TODO */ return TODO; } public static Result getMemento(Long mid) { /** @TODO */ return TODO; } public static Result getMementoList(Long decad...
gpl-2.0
CodingDK/eCampus-Dmaa0214
eCampus-Dmaa0214/src/dk/dmaa0214/controllerLayer/SPNewsScraper.java
5592
package dk.dmaa0214.controllerLayer; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.xml.bind.DatatypeConverter; import com.gargoylesoftware.htmlunit.DefaultCredentialsProvider; impo...
gpl-2.0
smarr/Truffle
truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/TruffleExceptionTest.java
31384
/* * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of ...
gpl-2.0
google/desugar_jdk_libs
jdk11/src/libcore/ojluni/src/main/java/java/security/KeyStore.java
77059
/* * Copyright (c) 1997, 2013, 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 ...
gpl-2.0
TheTypoMaster/Scaper
openjdk/jdk/test/java/lang/management/ThreadMXBean/SynchronizerDeadlock.java
5419
/* * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundati...
gpl-2.0
TheTypoMaster/Scaper
openjdk/jdk/src/share/classes/sun/swing/table/DefaultTableCellHeaderRenderer.java
7302
/* * 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...
gpl-2.0
ivmai/JCGO
sunawt/fix/javax/swing/plaf/basic/BasicSpinnerUI.java
33804
/* * This file is modified by Ivan Maidanski <ivmai@ivmaisoft.com> * Project name: JCGO-SUNAWT (http://www.ivmaisoft.com/jcgo/) */ /* * @(#)BasicSpinnerUI.java 1.18 06/08/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ ...
gpl-2.0
vanjo9800/SensortagSAPCloud
src/main/java/com/example/ti/ble/sensortag/SensorTagMovementProfile.java
9813
/************************************************************************************************** Filename: SensorTagMovementProfile.java Copyright (c) 2013 - 2015 Texas Instruments Incorporated All rights reserved not granted herein. Limited License. Texas Instruments Incorporated grants a world-wide, ...
gpl-2.0
teamfx/openjfx-9-dev-rt
modules/javafx.graphics/src/main/java/javafx/stage/PopupWindow.java
41662
/* * Copyright (c) 2010, 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 ...
gpl-2.0
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest11696.java
2757
/** * 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/...
gpl-2.0
andi-git/boatpos
regkas-server/regkas-server-service/regkas-server-service-rest/src/test/java/org/regkas/service/rest/RestTestHelper.java
1042
package org.regkas.service.rest; import javax.enterprise.context.Dependent; import javax.enterprise.inject.Specializes; import javax.ws.rs.client.Invocation; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.MediaType; import java.net.URL; import java.util.function.Function; @Specializes @Dependent public ...
gpl-2.0
nidzo732/FileTransfer
Android/FileTransfer/app/src/main/java/com/nidzo/filetransfer/MainActivity.java
5281
package com.nidzo.filetransfer; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.Editable; import android.text.TextWatcher; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.CheckBox; impo...
gpl-2.0
rojarsmith/Lab
lab-springboot/lab-springboot-security-oauth2-authorization-expansion/src/main/java/lab/springboot/authorization/controller/OauthController.java
734
package lab.springboot.authorization.controller; import lab.springboot.authorization.config.SecurityProperties; import lombok.NonNull; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping;...
gpl-2.0
FauxFaux/jdk9-jdk
test/java/util/concurrent/locks/Lock/Mutex.java
3212
/* * 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 Foundation. * * This code is distributed in the hope that it will be ...
gpl-2.0
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest16926.java
2641
/** * 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/...
gpl-2.0
gengjian1203/PlayFace
app/src/main/java/com/mbpr/gengjian/playface/ViewPagerAdapter.java
1100
package com.mbpr.gengjian.playface; import java.util.List; import android.content.Context; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.view.View; /** * Created by gengjian on 15/12/23. */ public class ViewPagerAdapter extends PagerAdapter { private Lis...
gpl-2.0
HexagonalDiamond/PlayerTraits
src/main/java/playertraits/traits/StrengthTrait.java
430
package playertraits.traits; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.potion.Potion; import net.minecraft.potion.PotionEffect; public class StrengthTrait extends Trait { public StrengthTrait() { super("Strength"); } @Override public void tick(EntityPlayerMP player) { player.ad...
gpl-2.0
tenlee2012/AllCode
JAVA/CodingkeStudy/src/com/day21/Proxy.java
549
package com.day21; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; /** * 代理类 * @author tenlee * */ public class Proxy implements InvocationHandler{ private Subject target; public Proxy(Subject target) { this.target = target; } @Override public Object invoke(Object proxy, Method...
gpl-2.0
MikeLydeamore/LevellingTools
src/main/java/com/insane/levellingtools/Config.java
877
package com.insane.levellingtools; import net.minecraftforge.common.config.Configuration; import java.io.File; /** * Created by Michael on 11/08/2014. */ public class Config { public static int baseXP; public static int increasePerLevel; public static int maxLevel; public static void doConfig(File ...
gpl-2.0
6306120058/Delay-Plane-Display-App
src/delay/model/Pesawat.java
1027
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package delay.model; /** * * @author M3 New */ public class Pesawat { private String namaPesawat; private String idPesawat; private String idMaskapai; public Pesawat(){ } public...
gpl-2.0
JohnDickerson/KidneyExchange
src/edu/cmu/cs/dickerson/kpd/solver/exception/SolverException.java
219
package edu.cmu.cs.dickerson.kpd.solver.exception; public class SolverException extends Exception { private static final long serialVersionUID = 1L; public SolverException(String message) { super(message); } }
gpl-2.0
rex-xxx/mt6572_x201
packages/apps/Gallery2/ext/src/com/mediatek/gallery3d/ext/ActivityHookerGroup.java
3654
package com.mediatek.gallery3d.ext; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import java.util.ArrayList; /** * The composite pattern class. * It will deliver every action to its leaf hookers. */ public class Activ...
gpl-2.0
jpschewe/fll-sw
src/main/java/fll/web/report/PromptSummarizeScores.java
4759
/* * Copyright (c) 2015 High Tech Kids. All rights reserved * HighTechKids is on the web at: http://www.hightechkids.org * This code is released under GPL; see LICENSE.txt for details. */ package fll.web.report; import java.io.IOException; import java.sql.Connection; import java.sql.SQLException; import java.uti...
gpl-2.0
phantamanta44/BotAgainstHumanity
src/main/java/io/github/phantamanta44/botah/core/context/GenericEventContext.java
2047
package io.github.phantamanta44.botah.core.context; import io.github.phantamanta44.botah.core.rate.RateLimitedChannel; import io.github.phantamanta44.botah.util.MessageUtils; import sx.blah.discord.api.Event; import sx.blah.discord.handle.obj.IChannel; import sx.blah.discord.handle.obj.IGuild; import sx.blah.discord.h...
gpl-2.0
biddyweb/checker-framework
checker/tests/regex/MatcherGroupCount.java
944
// Test case for Issue 291 // https://code.google.com/p/checker-framework/issues/detail?id=291 // @skip-test import java.util.regex.*; import org.checkerframework.checker.regex.RegexUtil; public class MatcherGroupCount { public static void main(String[] args) { String regex = args[0]; String conten...
gpl-2.0
UnboundID/ldapsdk
src/com/unboundid/ldap/sdk/unboundidds/tools/SplitLDIFFilterTranslator.java
11362
/* * Copyright 2016-2020 Ping Identity Corporation * All Rights Reserved. */ /* * Copyright 2016-2020 Ping Identity Corporation * * 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 * * ...
gpl-2.0
unktomi/form-follows-function
mjavac/langtools/src/share/classes/javax/lang/model/type/UnknownTypeException.java
2970
/* * 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...
gpl-2.0
unktomi/form-follows-function
mjavac/langtools/test/tools/javac/generics/ArrayTypearg.java
1406
/* * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundati...
gpl-2.0
MISO4203-201520/mp-books
MarketPlace.web/src/main/java/co/edu/uniandes/csw/marketplace/providers/StatusCreated.java
253
package co.edu.uniandes.csw.marketplace.providers; import javax.ws.rs.NameBinding; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @NameBinding @Retention(RetentionPolicy.RUNTIME) public @interface StatusCreated {}
gpl-2.0
vs49688/RAFTools
src/main/java/net/vs49688/rafview/wwise/objects/EventActionObject.java
1110
/* * RAFTools - Copyright (C) 2016 Zane van Iperen. * Contact: zane@zanevaniperen.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, and only * version 2 as published by the Free Software Foundation. * * This...
gpl-2.0
Apacio/react-native-google-vr-panorama
android/src/main/java/com/xebia/googlevrpanorama/RNGoogleVRPanoramaView.java
9255
package com.xebia.googlevrpanorama; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.support.annotation.UiThread; import android.util.Log; import android.util.Pair; import android.util.LruCach...
gpl-2.0
stereokrauts/stereoscope
stereoscope/src/main/java/model/protocol/osc/touchosc/SnappingFader.java
671
package model.protocol.osc.touchosc; public class SnappingFader { static final float SNAP_DELTA = 0.1f; private double currentRealValue; public SnappingFader(final double currentRealValue) { this.currentRealValue = currentRealValue; } public void tryUpdate(final double value, final ISnappingFaderEventHandler ...
gpl-2.0
GreenGas48/Feed-The-Max
RobotsActivity.java
3148
package com.holdit.feedthemax; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ImageButton; import android.widget.RelativeLayout; import android.widget.TextView; import static com.holdit.feedthemax.MainActivity.rbt1qu; import static ...
gpl-2.0
RanHuang/AndroidProject
WiFi P2p/WifiP2pApp/src/hrylab/xjtu/wifip2papp/wifidirect/WifiPeerListListener.java
1609
package hrylab.xjtu.wifip2papp.wifidirect; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import android.net.wifi.p2p.WifiP2pDeviceList; import android.net.wifi.p2p.WifiP2pManager.PeerListListener; import android.util.Log; /* * @author NickHuang */ public class WifiPeerListList...
gpl-2.0
ricardobaumann/android
libs/android_application_2d_adventure_game-master/andenginetmxtiledmapartifactfixer-6410e89ad5e3/test/org/anddev/andengine/entity/layer/tiled/tmx/TMXTiledMapArtifactFixerTest.java
1740
package org.anddev.andengine.entity.layer.tiled.tmx; import static junit.framework.Assert.assertEquals; import java.io.File; import org.junit.Test; /** * @author Nicolas Gramlich * @since 21:21:51 - 28.07.2010 */ public class TMXTiledMapArtifactFixerTest { // ====================================================...
gpl-2.0
cristian0193/EstructuraDatos
ProyectoFinalBaresUCC/src/Vistas/Productos.java
9862
package Vistas; import Conexion.ConexioSQLite; import static Vistas.Cuenta.modeloCuenta; import static Vistas.Cuenta.sumaProductos; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; import javax.swing.table.DefaultT...
gpl-2.0
pja35/ThePyBotWarPro
src/main/java/helper/GhostGlassPane.java
1128
package helper; import java.awt.AlphaComposite; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.image.BufferedImage; import javax.swing.JPanel; public class GhostGlassPane extends JPanel { private AlphaComposite composite; private BufferedImage dragged =...
gpl-2.0
h3xstream/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00544.java
2453
/** * 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 ...
gpl-2.0
FauxFaux/jdk9-jdk
src/java.base/share/classes/java/util/concurrent/atomic/AtomicLongArray.java
18582
/* * 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 Foundation. Oracle designates this * particular file as subject to th...
gpl-2.0
teamfx/openjfx-10-dev-rt
modules/jdk.packager/src/main/java/com/oracle/tools/packager/jnlp/JNLPBundler.java
56509
/* * Copyright (c) 2012, 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 ...
gpl-2.0
bdaum/zoraPD
org.eclipse.nebula.widgets.gallery/src/org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.java
9697
/******************************************************************************* * Copyright (c) 2006-2007 Nicolas Richeton. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availa...
gpl-2.0
XuezheMax/cmucoref
src/cmucoref/mention/extractor/MentionExtractor.java
27355
package cmucoref.mention.extractor; import cmucoref.document.Document; import cmucoref.document.Lexicon; import cmucoref.document.Sentence; import cmucoref.exception.MentionException; import cmucoref.mention.Mention; import cmucoref.mention.eventextractor.EventExtractor; import cmucoref.mention.extractor.relationextra...
gpl-2.0
everin/jSignerFast
src/test/java/it/everin/ui/jSignerFastTest.java
424
package it.everin.ui; import static org.junit.Assert.*; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; public class jSignerFastTest { @BeforeClass public static void setUpBeforeClass() throws Exception { } @AfterClass public static void tearDownAfterClass() throws Exception ...
gpl-2.0
TheMartinLab/GlobalPackages
misc/email/PropertiesFactory.java
536
/** * @author Eric D. Dill eddill@ncsu.edu * @author James D. Martin jdmartin@ncsu.edu * Copyright © 2010-2013 North Carolina State University. All rights reserved */ package email; import java.util.Properties; public class PropertiesFactory { public static Properties getGmailProperties() { Properties gmail =...
gpl-2.0
ravitej-aluru/UI-Automation-Framework.Java
selenium-extensions/src/test/java/io/ravitej/selenium/extensions/tests/WebDriverExtensionsTests.java
4010
package io.ravitej.selenium.extensions.tests; import io.ravitej.selenium.extensions.WebDriverExtensions; import org.apache.commons.lang3.tuple.Pair; import org.assertj.core.api.SoftAssertions; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import org.openqa.selenium.*; import org.openqa.se...
gpl-2.0
ncuongce/SleepyTrout
src/com/androidgames/framework/gl/SpriteBatcher.java
4487
package com.androidgames.framework.gl; import javax.microedition.khronos.opengles.GL10; import android.util.FloatMath; import com.androidgames.framework.impl.GLGraphics; import com.androidgames.framework.math.Vector2; public class SpriteBatcher { final float[] verticesBuffer; int bufferIndex; fi...
gpl-2.0
tkpb/Telegram
TMessagesProj/src/main/java/org/telegram/ui/Adapters/DialogsSearchAdapter.java
53484
/* * This is the source code of Telegram for Android v. 5.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2018. */ package org.telegram.ui.Adapters; import android.content.Context; import andr...
gpl-2.0
caronpe/dessinvectoriel
controler/ActionOutilTrait.java
1809
package controler; import java.awt.Color; import java.awt.event.ActionEvent; import java.util.Observable; import java.util.Observer; import javax.swing.AbstractAction; import javax.swing.BorderFactory; import javax.swing.ImageIcon; import javax.swing.JButton; // INTERNE import model.Model; import ressource...
gpl-2.0
EderRoger/design_pattern
test/src/command/RemoteCeilingFanTest.java
1075
package command; import org.junit.Test; /** * Created by eder on 19/10/15. */ public class RemoteCeilingFanTest { @Test public void testRemoteControlCeilingFan(){ RemoteControl remoteControl = new RemoteControl(); CeilingFan ceilingFan = new CeilingFan("Living room"); CeilingFanHi...
gpl-2.0
loverdos/javac-openjdk7
src/main/java/openjdk7/com/sun/tools/javac/code/BoundKind.java
1721
/* * Copyright (c) 2003, 2005, 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 ...
gpl-2.0
smeny/JPC
src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/fxch_ST0_ST2.java
1856
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
gpl-2.0
colloquium/spacewalk
java/code/src/com/redhat/rhn/frontend/action/systems/monitoring/ProbesListSetupAction.java
2226
/** * 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...
gpl-2.0
meijmOrg/Repo-test
freelance-hr-res/src/java/com/yh/hr/res/pt/queryhelper/PtReportHistoryQueryHelper.java
1027
package com.yh.hr.res.pt.queryhelper; import com.yh.hr.res.pt.dto.PtReportHistoryDTO; import com.yh.platform.core.dao.DaoUtil; import com.yh.platform.core.exception.ServiceException; import com.yh.platform.core.util.BeanHelper; import org.apache.commons.collections.CollectionUtils; import java.util.List; /** * 获取报表...
gpl-2.0
Decentrify/GVoD
hops/core/src/main/java/se/sics/nstream/hops/kafka/avro/AvroParser.java
4973
/* * Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C) * 2009 Royal Institute of Technology (KTH) * * KompicsToolbox 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 ver...
gpl-2.0
kartoFlane/superluminal2
src/java/com/kartoflane/superluminal2/ui/sidebar/data/ImageDataComposite.java
3552
package com.kartoflane.superluminal2.ui.sidebar.data; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt...
gpl-2.0
LeonardCohen/coding
IDDD_Samples-master/agilepm/src/test/java/com/saasovation/agilepm/application/product/ProductApplicationServiceTest.java
8537
// Copyright 2012,2013 Vaughn Vernon // // 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...
gpl-2.0
AlanGuerraQuispe/SisAtuxPerfumeria
atux-desktop/src/main/java/com/atux/desktop/promocion/PromocionPst.java
7829
package com.atux.desktop.promocion; import com.atux.bean.precios.Local; import com.atux.bean.precios.LocalFlt; import com.atux.bean.promocion.Promocion; import com.atux.bean.promocion.PromocionDetalle; import com.atux.bean.promocion.PromocionLocal; import com.atux.config.APDD; import com.atux.desktop.comun.pic...
gpl-2.0
bugdetector/Gezi-Yorum
app/src/main/java/com/example/murat/gezi_yorum/Fragments/Notifications.java
5164
package com.example.murat.gezi_yorum.Fragments; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import an...
gpl-2.0
esutoniagodesu/egd-web
src/main/java/ee/esutoniagodesu/domain/jmet/table/Kwginf.java
1728
package ee.esutoniagodesu.domain.jmet.table; import org.hibernate.annotations.Immutable; import javax.persistence.*; import java.io.Serializable; @Entity @Immutable @Table(name = "kwginf", schema = "jmet") public final class Kwginf implements Serializable { private static final long serialVersionUID = 42470602...
gpl-2.0
TheTypoMaster/Scaper
openjdk/jdk/src/share/classes/com/sun/imageio/stream/CloseableDisposerRecord.java
1969
/* * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundati...
gpl-2.0
jmccrae/naisc
word-align/src/main/java/org/insightcentre/unlp/naisc/wordalign/WordAlignmentFeatureExtractorFactory.java
560
package org.insightcentre.unlp.naisc.wordalign; import java.util.Map; /** * A factory for making word alignment feature extractors * * @author John McCrae <john@mccr.ae> */ public interface WordAlignmentFeatureExtractorFactory { /** * An identifier for this WAFE * @return The identifier */ ...
gpl-2.0
aleister09/android
src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java
25342
/** * ownCloud Android client application * * @author Bartek Przybylski * @author Tobias Kaminsky * @author David A. Velasco * @author masensio * Copyright (C) 2011 Bartek Przybylski * Copyright (C) 2016 ownCloud Inc. * <p> * This program is free software: you can redistribute it and/or modify * ...
gpl-2.0
Distrotech/jhylafax
src/java/net/sf/jhylafax/PollDialog.java
2766
/** * JHylaFax - A java client for HylaFAX. * * Copyright (C) 2005 by Steffen Pingel <steffenp@gmx.de> * * 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, o...
gpl-2.0
mio-to/airnoise
airnoise/dao/src/main/java/com/airnoise/services/DataBaseManagementService.java
947
/** * */ package com.airnoise.services; import java.sql.SQLException; import com.airnoise.core.exception.PersistenceException; import com.airnoise.dao.DataBaseManager; /** * @author tomio * */ public class DataBaseManagementService { private DataBaseManager manager; public DataBaseManagementServi...
gpl-2.0
thangbn/Direct-File-Downloader
src/src/com/aelitis/azureus/core/peermanager/messaging/MessageStreamDecoder.java
2758
/* * Created on Jan 25, 2005 * Created by Alon Rohter * Copyright (C) 2004-2005 Aelitis, 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 ...
gpl-2.0
ia-toki/judgels-michael
app/org/iatoki/judgels/michael/controllers/MachineWatcherController.java
13764
package org.iatoki.judgels.michael.controllers; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import org.apache.commons.lang3.EnumUtils; import org.iatoki.judgels.play.InternalLink; import org.iatoki.judgels.play.LazyHtml; import org.iatoki.judgels.play.controllers.AbstractJud...
gpl-2.0
NorthFacing/step-by-Java
java-base/sourceCodeBak/Thinking in Java/generics/FactoryConstraint.java
638
//: generics/FactoryConstraint.java interface FactoryI<T> { T create(); } class Foo2<T> { private T x; public <F extends FactoryI<T>> Foo2(F factory) { x = factory.create(); } // ... } class IntegerFactory implements FactoryI<Integer> { public Integer create() { return new Integer(0); } } cla...
gpl-2.0
software-jessies-org/scm
src/e/scm/AnnotatedLineRenderer.java
1792
package e.scm; import java.awt.*; import javax.swing.*; public class AnnotatedLineRenderer extends e.gui.EListCellRenderer<AnnotatedLine> { /** Used to draw the dashed line between adjacent lines from different revisions. */ private static final Stroke DASHED_STROKE = new BasicStroke(1.0f, BasicSt...
gpl-2.0
danaderp/unalcol
projects/optimizationRefactoringStrand/src/agentRefactoringStrand/Attribute.java
137
/** * */ package agentRefactoringStrand; /** * @author Daavid * */ public class Attribute { private String name; }
gpl-2.0
yumjade/KickFor
src/com/example/kickfor/ProgressBarTimer.java
941
package com.example.kickfor; import com.example.kickfor.team.ChangingRoomEntity; import android.os.Handler; import android.os.Message; public class ProgressBarTimer implements Runnable{ private Object v=null; private Handler handler=null; private int what=-1; private Object b=null; public ProgressBarTimer(H...
gpl-2.0
Kalimaha/MLS_Barbaglia
src/main/java/it/unimarconi/utils/JobComparator.java
228
package it.unimarconi.utils; import it.unimarconi.beans.Job; import java.util.Comparator; public class JobComparator implements Comparator<Job> { public int compare(Job a, Job b) { return a.compareTo(b); } }
gpl-2.0
unifieddigitalmedia/Just-Money-Transfers-Android
app/src/main/java/com/example/jmtransfers/jmtransfer/MainActivity.java
2118
package com.example.jmtransfers.jmtransfer; import android.content.SharedPreferences; import android.support.v7.app.ActionBar; import android.widget.TextView; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.os.CountDownTimer; import android.support.design.widg...
gpl-2.0
markgiant/Minecraft
Shops/src/me/giantcrack/gs/Main.java
2167
package me.giantcrack.gs; import me.giantcrack.eco.BalanceCmd; import me.giantcrack.eco.BuyCmd; import me.giantcrack.eco.EcoFile; import me.giantcrack.eco.EconomyCmd; import me.giantcrack.eco.SellCmd; import me.giantcrack.eco.ValueCmd; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukki...
gpl-2.0