repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
workwelldone/bright-eyes | src/medium_challenges/BenderSolution.java | 5937 | package medium_challenges;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class BenderSolution {
public static void main(String args[]) {
@SuppressWarnings("resource")
Scanner in = new Scanner(System.in);
int R = in.nextInt();
int C = in.nextInt();
... | gpl-3.0 |
Assassinss/Moment | app/src/main/java/me/zsj/moment/utils/CircleTransform.java | 1691 | package me.zsj.moment.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
import com.bumptech.glide.load.resource.bitmap.Bit... | gpl-3.0 |
swgopenge/openge | src/clientdata/visitors/SlotDefinitionVisitor.java | 1410 | package clientdata.visitors;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.util.HashMap;
import java.util.Map;
import org.apache.mina.core.buffer.IoBuffer;
import clientdata.VisitorInterface;
public class SlotDefinitionVisitor implements VisitorInterface {
public static class ... | gpl-3.0 |
mspublic/openair4G-mirror | targets/PROJECTS/SPECTRA/DEMO_SPECTRA/spectra_demo_src/CRM/server-gae/restlet/src/fr/eurecom/senml/entity/ContactTest.java | 917 | package fr.eurecom.senml.entity;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.datastore.Key;
@PersistenceCapable
public class ContactTest {
@Prima... | gpl-3.0 |
AussieGuy0/soccerSim | src/main/java/me/anthonybruno/soccerSim/team/member/Player.java | 1523 | package me.anthonybruno.soccerSim.team.member;
import me.anthonybruno.soccerSim.models.Range;
/**
* Player is a class that contains information about a player.
*/
public class Player extends TeamMember {
private final Range shotRange;
private final int goal;
/**
* Creates a new player with a nam... | gpl-3.0 |
modsim/vizardous | src/main/java/vizardous/delegate/dataFilter/ComparableFilter.java | 1741 | package vizardous.delegate.dataFilter;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import vizardous.util.Converter;
/**
* Filter class that provides filter functionality for data structures with comparable content
*
* @au... | gpl-3.0 |
KyleLearnedThis/data-structures | src/main/java/com/albion/common/graph/algorithms/BreathFirstSearch.java | 868 | package com.albion.common.graph.algorithms;
import com.albion.common.graph.core.v1.Edge;
import com.albion.common.graph.core.v1.Graph;
import com.albion.common.graph.core.v1.Vertex;
import java.util.ArrayList;
import java.util.List;
public class BreathFirstSearch {
public static Vertex locate(Graph graph, Integer ... | gpl-3.0 |
ecemandirac/FlightTracker | Fare_Module/src/java/services/calculatorService.java | 1825 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package services;
import FareCalculator.Calculate;
import java.util.ArrayList;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.PathParam;
import javax.ws.rs.Consumes;
import javax.ws... | gpl-3.0 |
ningshu/Juicer | app/src/main/java/xyw/ning/juicer/poco/model/Size.java | 237 | package xyw.ning.juicer.poco.model;
import xyw.ning.juicer.base.NoProguard;
/**
* Created by Ning-win on 2016/7/30.
*/
public class Size implements NoProguard {
public String url;
public long width;
public long height;
}
| gpl-3.0 |
dobrakmato/Sergius | src/test/java/ts3bot/helpers/MethodSignatureTester.java | 4969 | /*
* Copyright (C) 2014 Matej Kormuth <http://matejkormuth.eu>
*
* 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.
* ... | gpl-3.0 |
amatig/PlantsVsBugs | src/org/anddev/amatidev/pvb/Tutorial.java | 7881 | package org.anddev.amatidev.pvb;
import java.util.LinkedList;
import org.amatidev.util.AdEnviroment;
import org.amatidev.util.AdPrefs;
import org.anddev.amatidev.pvb.bug.BugBeetle;
import org.anddev.amatidev.pvb.card.Card;
import org.anddev.amatidev.pvb.card.CardTomato;
import org.anddev.amatidev.pvb.obj.Dialog;
impo... | gpl-3.0 |
mikonapoli/grakn | grakn-engine/src/main/java/ai/grakn/engine/backgroundtasks/config/KafkaTerms.java | 1152 | /*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016 Grakn Labs Limited
*
* Grakn 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... | gpl-3.0 |
semiconductor7/java-101 | Projects_import/Project1/src/FeetMeters.java | 467 |
import java.util.Scanner;
public class FeetMeters {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
System.out.print("Number of feet: ");
float feet = keyboard.nextInt();
float foottometers = (float) .305;
System.out.println("");
... | gpl-3.0 |
ohgood/Head-First-Design-Patterns | ProxyPattern/GumballMachineTestDrive.java | 425 | package ProxyPattern;
public class GumballMachineTestDrive {
public static void main(String[] args) {
int count = 0;
if (args .length < 2) {
System.out.println("GumballMachine <name> <inventory>");
System.exit(1);
}
count = Integer.parseInt(args[1]);
GumballMachine gumballMachine = new GumballMachine(... | gpl-3.0 |
cksystemsgroup/cpcc | cpcc-demo/src/main/java/cpcc/demo/setup/builder/SensorConstants.java | 6792 | // This code is part of the CPCC-NG project.
//
// Copyright (c) 2009-2016 Clemens Krainer <clemens.krainer@gmail.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of t... | gpl-3.0 |
talek69/curso | stimulsoft/src/com/stimulsoft/report/chart/view/series/radar/StiRadarAreaSeries.java | 2787 | /*
* Decompiled with CFR 0_114.
*
* Could not load the following classes:
* com.stimulsoft.base.drawing.StiBrush
* com.stimulsoft.base.drawing.StiColor
* com.stimulsoft.base.drawing.StiSolidBrush
* com.stimulsoft.base.drawing.enums.StiPenStyle
* com.stimulsoft.base.serializing.annotations.StiDefaulValue
... | gpl-3.0 |
mattparizeau/2DGameEngine | ge_common/com/base/engine/math/Vector2f.java | 1731 | package com.base.engine.math;
public class Vector2f
{
private float x, y;
public Vector2f(float x, float y)
{
this.x = x;
this.y = y;
}
public Vector2f normalized()
{
float len = length();
float x_ = x / len;
float y_ = y / len;
... | gpl-3.0 |
gen4young/twidere | src/org/mariotaku/twidere/util/EnvironmentAccessor.java | 1877 | /*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Lice... | gpl-3.0 |
dma-gh/Shogi-Game | src/Silver.java | 1589 |
public class Silver extends Piece {
public Silver(int owner) {
super(owner);
setSymbol("S");
setType("Silver");
}
public boolean canMove(Square from, Square to, Board b) {
if(promoted) {
//Gold movement code
if((Math.abs(from.getR() - to.getR()) <= 1 &&
(Math.abs(from.getC() - to.getC()) ... | gpl-3.0 |
0x006EA1E5/oo6 | src/main/java/org/otherobjects/cms/tools/GravatarTool.java | 5206 | /*
* This file is part of the OTHERobjects Content Management System.
*
* Copyright 2007-2009 OTHER works Limited.
*
* OTHERobjects 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 ... | gpl-3.0 |
puliuyinyi/test | src/main/java/com/baobaotao/transaction/nestcall/BaseService.java | 75 | package com.baobaotao.transaction.nestcall;
public class BaseService {
}
| gpl-3.0 |
jesg/junit3Tojunit4 | src/com/gowan/plugin/SelectionToICompilationUnitList.java | 5321 | /*
Copyright (C) 2013 Jason Gowan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope tha... | gpl-3.0 |
FabianFriedrich/Text2Process | src/com/inubit/research/textToProcess/textModel/WordNode.java | 2249 | /**
* copyright
* Inubit AG
* Schoeneberger Ufer 89
* 10785 Berlin
* Germany
*/
package com.inubit.research.textToProcess.textModel;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import net.frapu.code.visualization.ProcessNo... | gpl-3.0 |
kosmonet/neon | src/neon/editor/ui/UserInterface.java | 4700 | /*
* Neon, a roguelike engine.
* Copyright (C) 2017-2018 - Maarten Driesen
*
* 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)... | gpl-3.0 |
pvginkel/Tweakkit-Server | src/main/java/net/minecraft/server/MobSpawnerAbstract.java | 11945 | package net.minecraft.server;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
// CraftBukkit start
import org.bukkit.craftbukkit.event.CraftEventFactory;
import org.bukkit.event.entity.CreatureSpawnEvent;
import org.bukkit.event.entity.SpawnerSpawnEvent;
// C... | gpl-3.0 |
withoutuniverse/nest_tt | appko_tt/app/src/main/java/nest/util/TraceTree.java | 3022 | package nest.util;
import android.text.TextUtils;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import timber.log.Timber;
public class TraceTree extends Timber.HollowTree {
private final DebugTree debugTree;
public TraceTree(boolean useTraces) {
debugTree = new DebugTree(useTrace... | gpl-3.0 |
carlgreen/Lexicon-MPX-G2-Editor | mpxg2-sysex/src/main/java/info/carlwithak/mpxg2/sysex/effects/algorithms/DetuneStereoParser.java | 1687 | /*
* Copyright (C) 2012 Carl Green
*
* 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... | gpl-3.0 |
tritania/Stables | src/main/java/org/tritania/stables/RaceSystem.java | 1118 | /*
* Copyright 2014 Erik Wilson <erikwilson@magnorum.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | gpl-3.0 |
miracelwhipp/idea-modula-support | ims-plugin/gen/org/modula/parsing/definition/psi/impl/DefinitionFormalParametersImpl.java | 1213 | // This is a generated file. Not intended for manual editing.
package org.modula.parsing.definition.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.... | gpl-3.0 |
maxanier/Vertretungsplan | app/src/main/java/de/maxgb/vertretungsplan/manager/StundenplanManager.java | 6174 | package de.maxgb.vertretungsplan.manager;
import android.content.Context;
import android.os.AsyncTask;
import de.maxgb.android.util.Logger;
import de.maxgb.vertretungsplan.util.Constants;
import de.maxgb.vertretungsplan.util.Stunde;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
... | mpl-2.0 |
cFerg/MineJava | src/main/java/minejava/reg/util/concurrent/RunnableFuture.java | 135 | package minejava.reg.util.concurrent;
public interface RunnableFuture<V> extends Runnable, Future<V>{
@Override
void run();
} | mpl-2.0 |
nricaurte/prueba_degit | src/testtravis/Operar_unit.java | 1428 | package testtravis;
import static org.junit.Assert.*;
import org.junit.Test;
public class Operar_unit {
@Test
public void testSumar() {
System.out.println("Sumar dos numeros");
int numero1 = 6;
int numero2 = 6;
Operaciones instance = new Operaciones();
int expResult = 12... | mpl-2.0 |
sthaiya/muzima-api | src/main/java/com/muzima/api/model/algorithm/PersonAttributeTypeAlgorithm.java | 2059 | /*
* Copyright (c) 2014. The Trustees of Indiana University.
*
* This version of the code is licensed under the MPL 2.0 Open Source license with additional
* healthcare disclaimer. If the user is an entity intending to commercialize any application
* that uses this code in a for-profit venture, please contact the ... | mpl-2.0 |
digidotcom/XBeeJavaLibrary | library/src/test/java/com/digi/xbee/api/packet/thread/CoAPTxRequestPacketTest.java | 31725 | /**
* Copyright 2017, Digi International Inc.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ... | mpl-2.0 |
Sherpard/seed | core/src/main/java/org/seedstack/seed/core/internal/configuration/tool/DetailPrinter.java | 2925 | /*
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.seed.core.inter... | mpl-2.0 |
patroklossam/WareHouse | src/main/java/com/storage/mywarehouse/Dao/WarehouseProductDAO.java | 2222 | package com.storage.mywarehouse.Dao;
import com.storage.mywarehouse.View.WarehouseProduct;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import java.util.List;
public class WarehouseProductDAO {
@SuppressWarnings("unchecked")
public static List<W... | mpl-2.0 |
Intelehealth/Android-Mobile-Client | app/src/main/java/app/intelehealth/client/models/pushRequestApiCall/Person.java | 1609 |
package app.intelehealth.client.models.pushRequestApiCall;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Person {
@SerializedName("uuid")
@Expose
private String uuid;
@SerializedName("gender")
@Expose
privat... | mpl-2.0 |
tuchida/rhino | testsrc/org/mozilla/javascript/tests/MathMaxMinEveryElementToNumber.java | 628 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.javascript.tests;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.driver... | mpl-2.0 |
hasadna/OpenTrainApp | app/src/androidTest/java/com/opentrain/app/ServerRequestsTest.java | 1726 | package com.opentrain.app;
import android.test.InstrumentationTestCase;
import com.opentrain.app.network.NetowrkManager;
import java.util.concurrent.CountDownLatch;
/**
* Created by noam on 27/07/15.
*/
public class ServerRequestsTest extends InstrumentationTestCase {
CountDownLatch countDownLatch = new Coun... | mpl-2.0 |
deanhiller/databus | webapp/app/models/message/StreamModule.java | 1764 | package models.message;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
im... | mpl-2.0 |
GreenDelta/olca-app | olca-app/src/org/openlca/app/collaboration/navigation/actions/OpenCompareViewAction.java | 1504 | package org.openlca.app.collaboration.navigation.actions;
import java.util.List;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.openlca.app.M;
import org.openlca.app.collaboration.dialogs.SelectCommitDialog;
import org.openlca.app.collaboration.views.CompareView;... | mpl-2.0 |
origocms/origo | modules/core/app/main/origo/core/actions/ContextAware.java | 811 | package main.origo.core.actions;
import main.origo.core.event.NodeContext;
import play.mvc.Action;
import play.mvc.Http;
import play.mvc.Result;
import play.mvc.With;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotatio... | mpl-2.0 |
zyxakarene/LearningOpenGl | MainGame/src/zyx/game/components/world/characters/GameCharacter.java | 2465 | package zyx.game.components.world.characters;
import java.util.ArrayList;
import org.lwjgl.util.vector.Matrix4f;
import zyx.game.behavior.characters.CharacterAnimationBehavior;
import zyx.game.behavior.player.OnlinePositionInterpolator;
import zyx.game.components.AnimatedMesh;
import zyx.game.components.GameObject;
im... | mpl-2.0 |
wx1988/strabon | postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISSqlCastBuilder.java | 1330 | /**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
*
* http://www.strabon.di.uoa.gr/
*/
package org.ope... | mpl-2.0 |
Tanaguru/Tanaguru | rules/rgaa4-2019/src/test/java/org/tanaguru/rules/rgaa42019/Rgaa42019Rule010802Test.java | 4980 | /*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2015 Tanaguru.org
*
* This program 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, or (at you... | agpl-3.0 |
SilverDav/Silverpeas-Core | core-services/mylinks/src/integration-test/java/org/silverpeas/core/mylinks/dao/MyLinksDAOITUtil.java | 2953 | /*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program 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, or (at your option) any later version.
*
* As a spec... | agpl-3.0 |
zjujunge/funambol | externals/java-sdk/syncml/src/main/java/com/funambol/syncml/client/FileSyncSource.java | 8195 | /*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2008 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addition of ... | agpl-3.0 |
fidelcoria/AYFM-Scheduling | AssignmentPlanner/src/main/java/io/fidelcoria/ayfmap/controller/MainController.java | 1099 | package io.fidelcoria.ayfmap.controller;
import java.util.HashMap;
import java.util.Map;
import org.springframework.stereotype.Component;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import javafx.scene.control.TabPane;
@Component
public class MainController {
@FXML... | agpl-3.0 |
opencadc/vos | cadc-vos-server/src/main/java/ca/nrc/cadc/vos/server/TransferInlineContentHandler.java | 6452 | /*
************************************************************************
******************* CANADIAN ASTRONOMY DATA CENTRE *******************
************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES **************
*
* (c) 2009. (c) 2009.
* Government of Canada ... | agpl-3.0 |
CodeSphere/termitaria | TermitariaAudit/JavaSource/ro/cs/logaudit/entity/Role.java | 2881 | /*******************************************************************************
* This file is part of Termitaria, a project management tool
* Copyright (C) 2008-2013 CodeSphere S.R.L., www.codesphere.ro
*
* Termitaria is free software; you can redistribute it and/or
* modify it under the terms of th... | agpl-3.0 |
chris-dvdb/dvdb.de | dvdb-ejb/src/main/java/de/dvdb/domain/model/social/FacebookSession.java | 961 | package de.dvdb.domain.model.social;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "dvdb2_fbsession")
p... | agpl-3.0 |
moskiteau/KalturaGeneratedAPIClientsJava | src/main/java/com/kaltura/client/types/KalturaUiConfAdminFilter.java | 2117 | // ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | agpl-3.0 |
shenan4321/BIMplatform | src/cn/dlb/bim/ifc/engine/jvm/JvmRenderEngineFactory.java | 3114 | package cn.dlb.bim.ifc.engine.jvm;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... | agpl-3.0 |
devent/sscontrol | sscontrol-httpd-yourls/src/main/java/com/anrisoftware/sscontrol/httpd/yourls/YourlsServiceImpl.java | 10069 | /*
* Copyright 2015 Erwin Müller <erwin.mueller@deventm.org>
*
* This file is part of sscontrol-httpd-yourls.
*
* sscontrol-httpd-yourls 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 ver... | agpl-3.0 |
elki-project/elki | elki-core-util/src/test/java/elki/utilities/datastructures/KuhnMunkresWongTest.java | 4174 | /*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* t... | agpl-3.0 |
Antokolos/NLB | NLBL/src/main/java/com/nlbhub/nlb/domain/MediaExportParameters.java | 3959 | /**
* @(#)MediaExportParameters.java
*
* This file is part of the Non-Linear Book project.
* Copyright (c) 2012-2016 Anton P. Kolosov
* Authors: Anton P. Kolosov, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version... | agpl-3.0 |
Asqatasun/Asqatasun | rules/rules-rgaa3.0/src/main/java/org/asqatasun/rules/rgaa30/Rgaa30Rule011001.java | 1487 | /*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2020 Asqatasun.org
*
* This program 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, or (at y... | agpl-3.0 |
vdenisov/fluffy-meow | src/main/java/org/plukh/fluffymeow/aws/AWSInstanceInfoProviderImpl.java | 3343 | /*
* Fluffy Meow - Torrent RSS generator for TV series
* Copyright (C) 2015 Victor Denisov
*
* This program 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, or
* (... | agpl-3.0 |
uniteddiversity/mycollab | mycollab-services/src/main/java/com/esofthead/mycollab/module/crm/service/ibatis/ProductServiceImpl.java | 2122 | /**
* This file is part of mycollab-services.
*
* mycollab-services 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.
*
* mycolla... | agpl-3.0 |
inter6/jHears | jhears-server/src/main/java/org/jhears/server/IUser.java | 950 | /*
* jHears, acoustic fingerprinting framework.
* Copyright (C) 2009-2010 Juha Heljoranta.
*
* This file is part of jHears.
*
* jHears 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 ver... | agpl-3.0 |
SilverDav/Silverpeas-Core | core-services/pdc/src/main/java/org/silverpeas/core/pdc/pdc/model/PdcAxisValue.java | 15496 | /*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program 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, or (at your option) any later version.
*
* As a spec... | agpl-3.0 |
jhg543/mellex | src/main/java/io/github/jhg543/mellex/operation/StringEdgePrinter.java | 11043 | package io.github.jhg543.mellex.operation;
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import io.github.jhg543.mellex.ASTHelper.*;
import io.github.jhg543.mellex.antlrparser.DefaultSQLBaseListener;
import io.github.jhg543.mellex.antlrparser.DefaultSQLLexer;
import io.github.jhg... | agpl-3.0 |
DemandCube/NeverwinterDP | scribengin/dataflow/example/src/main/java/com/neverwinterdp/scribengin/dataflow/example/wire/ExampleWireDataflowSubmitter.java | 6521 | package com.neverwinterdp.scribengin.dataflow.example.wire;
import java.util.Properties;
import com.neverwinterdp.message.Message;
import com.neverwinterdp.scribengin.dataflow.DataSet;
import com.neverwinterdp.scribengin.dataflow.Dataflow;
import com.neverwinterdp.scribengin.dataflow.DataflowDescriptor;
import com.ne... | agpl-3.0 |
javalangSystemwin/mcMMOPlus | src/main/java/com/gmail/nossr50/commands/party/PCommand.java | 4799 | package com.gmail.nossr50.commands.party;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.commands.CommandHelper;
impo... | agpl-3.0 |
William-Hai/SimpleDemo | src/org/demo/jdk/utilapis/Bird.java | 220 | package org.demo.jdk.utilapis;
public class Bird implements Flyable {
private int speed = 15;
@Override
public void fly() {
System.out.println("I'm Bird, my speed is " + speed + ".");
}
}
| agpl-3.0 |
neo4j-attic/graphdb | kernel/src/main/java/org/neo4j/graphdb/index/IndexHits.java | 4080 | /**
* Copyright (c) 2002-2011 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 F... | agpl-3.0 |
StratusLab/claudia | tcloud-server/src/main/java/com/telefonica/claudia/smi/deployment/ServiceItemResource.java | 6138 | /*
* Claudia Project
* http://claudia.morfeo-project.org
*
* (C) Copyright 2010 Telefonica Investigacion y Desarrollo
* S.A.Unipersonal (Telefonica I+D)
*
* See CREDITS file for info about members and contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Affe... | agpl-3.0 |
bihealth/cbioportal | core/src/main/java/org/mskcc/cbio/portal/util/GeneticProfileUtil.java | 3897 | /*
* Copyright (c) 2015 - 2016 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is ... | agpl-3.0 |
AlessioDP/Parties | bukkit/src/main/java/com/alessiodp/parties/bukkit/addons/external/skript/expressions/ExprPartyName.java | 1576 | package com.alessiodp.parties.bukkit.addons.external.skript.expressions;
import ch.njol.skript.classes.Changer;
import ch.njol.skript.doc.Description;
import ch.njol.skript.doc.Examples;
import ch.njol.skript.doc.Name;
import ch.njol.skript.doc.Since;
import ch.njol.skript.expressions.base.SimplePropertyExpression;
im... | agpl-3.0 |
rapidminer/rapidminer-studio | src/main/java/com/rapidminer/gui/new_plotter/configuration/LineFormat.java | 6597 | /**
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | agpl-3.0 |
AlexCristian/NexusPlay | src/com/nexusplay/containers/Change.java | 4573 | package com.nexusplay.containers;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.sql.SQLException;
import org.apache.commons.io.IOUtils;
import com.nexusplay.db.SubtitlesD... | agpl-3.0 |
quikkian-ua-devops/will-financials | kfs-purap/src/main/java/org/kuali/kfs/module/purap/document/validation/impl/RequisitionNewIndividualItemValidation.java | 2205 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2017 Kuali, Inc.
*
* This program 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 Foundat... | agpl-3.0 |
NicolasEYSSERIC/Silverpeas-Core | web-core/src/main/java/com/stratelia/silverpeas/peasCore/SilverpeasWebUtil.java | 5021 | /**
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program 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, or (at your option) any later version.
*
* As a spe... | agpl-3.0 |
splicemachine/spliceengine | splice_si_api/src/main/java/com/splicemachine/si/impl/Tracer.java | 4164 | /*
* Copyright (c) 2012 - 2020 Splice Machine, Inc.
*
* This file is part of Splice Machine.
* Splice Machine 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, or (at your option) ... | agpl-3.0 |
rahith/ComtalkA-S | src/java/com/sapienter/jbilling/server/user/CompanyWS.java | 3574 | /*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein are proprie... | agpl-3.0 |
phenotips/variant-store | integration/api/src/main/java/org/phenotips/variantStoreIntegration/VariantStoreVariant.java | 3411 | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This program 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... | agpl-3.0 |
torakiki/sejda | sejda-model/src/main/java/org/sejda/model/exception/TaskWrongPasswordException.java | 1584 | /*
* Created on 20/giu/2010
*
* Copyright 2010 by Andrea Vacondio (andrea.vacondio@gmail.com).
*
* This file is part of the Sejda source code
*
* This program 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 Softwa... | agpl-3.0 |
auroreallibe/Silverpeas-Core | core-services/personalOrganizer/src/main/java/org/silverpeas/core/personalorganizer/service/JournalDAO.java | 30469 | /*
* Copyright (C) 2000 - 2016 Silverpeas
*
* This program 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, or (at your option) any later version.
*
* As a spec... | agpl-3.0 |
CecileBONIN/Silverpeas-Core | lib-core/src/main/java/com/stratelia/webactiv/beans/admin/SpaceProfileInstManager.java | 14175 | /**
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program 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, or (at your option) any later version.
*
* As a specia... | agpl-3.0 |
opensourceBIM/BIMserver | BimServer/src/org/bimserver/database/query/literals/StringLiteral.java | 1207 | package org.bimserver.database.query.literals;
/******************************************************************************
* Copyright (C) 2009-2019 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* publi... | agpl-3.0 |
shenan4321/BIMplatform | generated/cn/dlb/bim/models/ifc4/IfcSubContractResourceTypeEnum.java | 7689 | /**
* Copyright (C) 2009-2014 BIMserver.org
*
* This program 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, or (at your option) any later version.
*
* This ... | agpl-3.0 |
Tanaguru/Tanaguru | rules/rgaa3-2017/src/test/java/org/tanaguru/rules/rgaa32017/Rgaa32017Rule100901Test.java | 5642 | ///*
// * Tanaguru - Automated webpage assessment
// * Copyright (C) 2008-2017 Tanaguru.org
// *
// * This program 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
// * Lic... | agpl-3.0 |
datamatica-pl/traccar-orm | src/main/java/pl/datamatica/traccar/model/Device.java | 23210 | /*
* Copyright 2013 Anton Tananaev (anton.tananaev@gmail.com)
*
* 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 b... | agpl-3.0 |
CecileBONIN/Silverpeas-Core | ejb-core/node/src/main/java/com/stratelia/webactiv/util/node/model/NodeSelection.java | 3220 | /**
* Copyright (C) 2000 - 2013 Silverpeas
*
* This program 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, or (at your option) any later version.
*
* As a specia... | agpl-3.0 |
YvonneTunnat/File-Format-Utilities | master/pdf-tools/src/main/java/output/XmlParserJhove.java | 6325 | package output;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import javax.swing.JOptionPane;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Eleme... | agpl-3.0 |
AlienQueen/HatchetHarry | src/main/java/org/alienlabs/hatchetharry/persistence/dao/CardCollectionDao.java | 2144 | /*
* $Id: CardCollectionDao.java 475 2005-12-08 23:44:08 -0800 (Thu, 08 Dec 2005) ivaynberg $
* $Revision: 475 $
* $Date: 2005-12-08 23:44:08 -0800 (Thu, 08 Dec 2005) $
*
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "L... | agpl-3.0 |
animotron/core | src/main/java/org/animotron/cache/Cache.java | 1548 | /*
* Copyright (C) 2011-2013 The Animo Project
* http://animotron.org
*
* This file is part of Animotron.
*
* Animotron 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... | agpl-3.0 |
hogi/kunagi | src/generated/java/scrum/server/collaboration/GComment.java | 13504 | // ----------> GENERATED FILE - DON'T TOUCH! <----------
// generator: ilarkesto.mda.legacy.generator.EntityGenerator
package scrum.server.collaboration;
import java.util.*;
import ilarkesto.persistence.*;
import ilarkesto.core.logging.Log;
import ilarkesto.base.*;
import ilarkesto.base.time.*;
import ilark... | agpl-3.0 |
dzc34/Asqatasun | rules/rules-rgaa2.2/src/test/java/org/asqatasun/rules/rgaa22/Rgaa22Rule01021Test.java | 23545 | /*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2019 Asqatasun.org
*
* This program 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, or (at y... | agpl-3.0 |
HiOA-ABI/nikita-noark5-core | src/main/java/nikita/common/config/ESConstants.java | 396 | package nikita.common.config;
/**
* Constants used for ElasticSearch queries
*/
public class ESConstants {
public static final String QUERY_SIZE = "size";
public static final String QUERY_FROM = "from";
public static final String QUERY_QUERY = "query";
public static final String QUERY_PREFIX = "pref... | agpl-3.0 |
314942468GitHub/JavaLearnning | src/Generic.java | 963 | public class Generic{
public static void main(String[] args){
Car <String> car1 = new Car <String> ();
car1.setName("Buick");
car1.setPrice("100");
System.out.printf("name=%s,price=%s\n",car1.getName(),car1.getPrice());
Car <Integer> car2 = new Car <Integer> ();
car2.setName(001);
car2.setPrice(100);
... | agpl-3.0 |
ptitfred/magrit | server/sshd/src/main/java/org/kercoin/magrit/sshd/Server.java | 4603 | /*
Copyright 2011-2012 Frederic Menou and others referred in AUTHORS file.
This file is part of Magrit.
Magrit 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, or (at your ... | agpl-3.0 |
devmix/openjst | protocol/basic/commons/src/main/java/org/openjst/protocols/basic/encoder/ProtocolEncoder.java | 2229 | /*
* Copyright (C) 2013 OpenJST Project
*
* This program 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, or
* (at your option) any later version.
*
* This progra... | agpl-3.0 |
bernatmv/thegame | server/server-presentation/src/main/java/com/thegame/server/presentation/exceptions/PresentationException.java | 1333 | package com.thegame.server.presentation.exceptions;
import com.thegame.server.common.exceptions.TypifiedException;
/**
* @author e103880
*/
public class PresentationException extends TypifiedException{
private final PresentationExceptionType exceptionType;
private final Object[] arguments;
pu... | agpl-3.0 |
TheLanguageArchive/YAMS | common/src/main/java/nl/mpi/yams/common/data/DataNodeHighlight.java | 1663 | /**
* Copyright (C) 2013 The Language Archive, Max Planck Institute for
* Psycholinguistics
*
* 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 o... | agpl-3.0 |
rahith/ComtalkA-S | src/java/com/sapienter/jbilling/server/pluggableTask/admin/PluggableTaskBL.java | 10431 | /*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein a... | agpl-3.0 |
Sage-Bionetworks/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/status/StatusBarWidget.java | 1945 | /*
* StatusBarWidget.java
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNE... | agpl-3.0 |
MiguelSMendoza/Kunagi | WEB-INF/classes/scrum/client/communication/Pinger.java | 4177 | /*
* Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi
*
* This program 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, or
* (at your option) any l... | agpl-3.0 |
VietOpenCPS/opencps-v2 | modules/backend-api-rest/src/main/java/org/opencps/api/dossierlog/model/DossierLogResultsModel.java | 2858 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2017... | agpl-3.0 |
hogi/kunagi | src/generated/java/scrum/server/admin/GUserDao.java | 31402 | // ----------> GENERATED FILE - DON'T TOUCH! <----------
// generator: ilarkesto.mda.legacy.generator.DaoGenerator
package scrum.server.admin;
import java.util.*;
import ilarkesto.persistence.*;
import ilarkesto.core.logging.Log;
import ilarkesto.base.*;
import ilarkesto.base.time.*;
import ilarkesto.auth.*... | agpl-3.0 |