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 |
|---|---|---|---|---|---|
/*
* 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... | mikonapoli/grakn | grakn-engine/src/main/java/ai/grakn/engine/backgroundtasks/config/KafkaTerms.java | Java | gpl-3.0 | 1,152 |
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("");
... | semiconductor7/java-101 | Projects_import/Project1/src/FeetMeters.java | Java | gpl-3.0 | 467 |
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(... | ohgood/Head-First-Design-Patterns | ProxyPattern/GumballMachineTestDrive.java | Java | gpl-3.0 | 425 |
// 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... | cksystemsgroup/cpcc | cpcc-demo/src/main/java/cpcc/demo/setup/builder/SensorConstants.java | Java | gpl-3.0 | 6,792 |
/*
* 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
... | talek69/curso | stimulsoft/src/com/stimulsoft/report/chart/view/series/radar/StiRadarAreaSeries.java | Java | gpl-3.0 | 2,787 |
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;
... | mattparizeau/2DGameEngine | ge_common/com/base/engine/math/Vector2f.java | Java | gpl-3.0 | 1,731 |
/*
* 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... | gen4young/twidere | src/org/mariotaku/twidere/util/EnvironmentAccessor.java | Java | gpl-3.0 | 1,877 |
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()) ... | dma-gh/Shogi-Game | src/Silver.java | Java | gpl-3.0 | 1,589 |
/*
* 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 ... | 0x006EA1E5/oo6 | src/main/java/org/otherobjects/cms/tools/GravatarTool.java | Java | gpl-3.0 | 5,206 |
package com.baobaotao.transaction.nestcall;
public class BaseService {
}
| puliuyinyi/test | src/main/java/com/baobaotao/transaction/nestcall/BaseService.java | Java | gpl-3.0 | 75 |
/*
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... | jesg/junit3Tojunit4 | src/com/gowan/plugin/SelectionToICompilationUnitList.java | Java | gpl-3.0 | 5,321 |
/**
* 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... | FabianFriedrich/Text2Process | src/com/inubit/research/textToProcess/textModel/WordNode.java | Java | gpl-3.0 | 2,249 |
/*
* 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)... | kosmonet/neon | src/neon/editor/ui/UserInterface.java | Java | gpl-3.0 | 4,700 |
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... | pvginkel/Tweakkit-Server | src/main/java/net/minecraft/server/MobSpawnerAbstract.java | Java | gpl-3.0 | 11,945 |
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... | withoutuniverse/nest_tt | appko_tt/app/src/main/java/nest/util/TraceTree.java | Java | gpl-3.0 | 3,022 |
/*
* 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... | carlgreen/Lexicon-MPX-G2-Editor | mpxg2-sysex/src/main/java/info/carlwithak/mpxg2/sysex/effects/algorithms/DetuneStereoParser.java | Java | gpl-3.0 | 1,687 |
/*
* 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.
*
* ... | tritania/Stables | src/main/java/org/tritania/stables/RaceSystem.java | Java | gpl-3.0 | 1,118 |
// 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.... | miracelwhipp/idea-modula-support | ims-plugin/gen/org/modula/parsing/definition/psi/impl/DefinitionFormalParametersImpl.java | Java | gpl-3.0 | 1,213 |
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;
... | maxanier/Vertretungsplan | app/src/main/java/de/maxgb/vertretungsplan/manager/StundenplanManager.java | Java | mpl-2.0 | 6,174 |
package minejava.reg.util.concurrent;
public interface RunnableFuture<V> extends Runnable, Future<V>{
@Override
void run();
} | cFerg/MineJava | src/main/java/minejava/reg/util/concurrent/RunnableFuture.java | Java | mpl-2.0 | 135 |
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... | nricaurte/prueba_degit | src/testtravis/Operar_unit.java | Java | mpl-2.0 | 1,428 |
/*
* 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 ... | sthaiya/muzima-api | src/main/java/com/muzima/api/model/algorithm/PersonAttributeTypeAlgorithm.java | Java | mpl-2.0 | 2,059 |
/**
* 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 ... | digidotcom/XBeeJavaLibrary | library/src/test/java/com/digi/xbee/api/packet/thread/CoAPTxRequestPacketTest.java | Java | mpl-2.0 | 31,725 |
/*
* 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... | Sherpard/seed | core/src/main/java/org/seedstack/seed/core/internal/configuration/tool/DetailPrinter.java | Java | mpl-2.0 | 2,925 |
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... | patroklossam/WareHouse | src/main/java/com/storage/mywarehouse/Dao/WarehouseProductDAO.java | Java | mpl-2.0 | 2,222 |
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... | Intelehealth/Android-Mobile-Client | app/src/main/java/app/intelehealth/client/models/pushRequestApiCall/Person.java | Java | mpl-2.0 | 1,609 |
/* 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... | tuchida/rhino | testsrc/org/mozilla/javascript/tests/MathMaxMinEveryElementToNumber.java | Java | mpl-2.0 | 628 |
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... | hasadna/OpenTrainApp | app/src/androidTest/java/com/opentrain/app/ServerRequestsTest.java | Java | mpl-2.0 | 1,726 |
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... | deanhiller/databus | webapp/app/models/message/StreamModule.java | Java | mpl-2.0 | 1,764 |
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;... | GreenDelta/olca-app | olca-app/src/org/openlca/app/collaboration/navigation/actions/OpenCompareViewAction.java | Java | mpl-2.0 | 1,504 |
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... | origocms/origo | modules/core/app/main/origo/core/actions/ContextAware.java | Java | mpl-2.0 | 811 |
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... | zyxakarene/LearningOpenGl | MainGame/src/zyx/game/components/world/characters/GameCharacter.java | Java | mpl-2.0 | 2,465 |
/**
* 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... | wx1988/strabon | postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISSqlCastBuilder.java | Java | mpl-2.0 | 1,330 |
/*
* 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... | Tanaguru/Tanaguru | rules/rgaa4-2019/src/test/java/org/tanaguru/rules/rgaa42019/Rgaa42019Rule010802Test.java | Java | agpl-3.0 | 4,980 |
/*
* 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... | SilverDav/Silverpeas-Core | core-services/mylinks/src/integration-test/java/org/silverpeas/core/mylinks/dao/MyLinksDAOITUtil.java | Java | agpl-3.0 | 2,953 |
/*
* 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 ... | zjujunge/funambol | externals/java-sdk/syncml/src/main/java/com/funambol/syncml/client/FileSyncSource.java | Java | agpl-3.0 | 8,195 |
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... | fidelcoria/AYFM-Scheduling | AssignmentPlanner/src/main/java/io/fidelcoria/ayfmap/controller/MainController.java | Java | agpl-3.0 | 1,099 |
/*
************************************************************************
******************* CANADIAN ASTRONOMY DATA CENTRE *******************
************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES **************
*
* (c) 2009. (c) 2009.
* Government of Canada ... | opencadc/vos | cadc-vos-server/src/main/java/ca/nrc/cadc/vos/server/TransferInlineContentHandler.java | Java | agpl-3.0 | 6,452 |
/*******************************************************************************
* 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... | CodeSphere/termitaria | TermitariaAudit/JavaSource/ro/cs/logaudit/entity/Role.java | Java | agpl-3.0 | 2,881 |
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... | chris-dvdb/dvdb.de | dvdb-ejb/src/main/java/de/dvdb/domain/model/social/FacebookSession.java | Java | agpl-3.0 | 961 |
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_|_| \_... | moskiteau/KalturaGeneratedAPIClientsJava | src/main/java/com/kaltura/client/types/KalturaUiConfAdminFilter.java | Java | agpl-3.0 | 2,117 |
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... | shenan4321/BIMplatform | src/cn/dlb/bim/ifc/engine/jvm/JvmRenderEngineFactory.java | Java | agpl-3.0 | 3,114 |
/*
* 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... | devent/sscontrol | sscontrol-httpd-yourls/src/main/java/com/anrisoftware/sscontrol/httpd/yourls/YourlsServiceImpl.java | Java | agpl-3.0 | 10,069 |
/*
* 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... | elki-project/elki | elki-core-util/src/test/java/elki/utilities/datastructures/KuhnMunkresWongTest.java | Java | agpl-3.0 | 4,174 |
/**
* @(#)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... | Antokolos/NLB | NLBL/src/main/java/com/nlbhub/nlb/domain/MediaExportParameters.java | Java | agpl-3.0 | 3,959 |
/*
* 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... | Asqatasun/Asqatasun | rules/rules-rgaa3.0/src/main/java/org/asqatasun/rules/rgaa30/Rgaa30Rule011001.java | Java | agpl-3.0 | 1,487 |
/*
* 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
* (... | vdenisov/fluffy-meow | src/main/java/org/plukh/fluffymeow/aws/AWSInstanceInfoProviderImpl.java | Java | agpl-3.0 | 3,343 |
/**
* 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... | uniteddiversity/mycollab | mycollab-services/src/main/java/com/esofthead/mycollab/module/crm/service/ibatis/ProductServiceImpl.java | Java | agpl-3.0 | 2,122 |
/*
* 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... | inter6/jHears | jhears-server/src/main/java/org/jhears/server/IUser.java | Java | agpl-3.0 | 950 |
/*
* 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... | SilverDav/Silverpeas-Core | core-services/pdc/src/main/java/org/silverpeas/core/pdc/pdc/model/PdcAxisValue.java | Java | agpl-3.0 | 15,496 |
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... | jhg543/mellex | src/main/java/io/github/jhg543/mellex/operation/StringEdgePrinter.java | Java | agpl-3.0 | 11,043 |
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... | DemandCube/NeverwinterDP | scribengin/dataflow/example/src/main/java/com/neverwinterdp/scribengin/dataflow/example/wire/ExampleWireDataflowSubmitter.java | Java | agpl-3.0 | 6,521 |
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... | javalangSystemwin/mcMMOPlus | src/main/java/com/gmail/nossr50/commands/party/PCommand.java | Java | agpl-3.0 | 4,799 |
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 + ".");
}
}
| William-Hai/SimpleDemo | src/org/demo/jdk/utilapis/Bird.java | Java | agpl-3.0 | 220 |
/**
* 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... | neo4j-attic/graphdb | kernel/src/main/java/org/neo4j/graphdb/index/IndexHits.java | Java | agpl-3.0 | 4,080 |
/*
* 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... | StratusLab/claudia | tcloud-server/src/main/java/com/telefonica/claudia/smi/deployment/ServiceItemResource.java | Java | agpl-3.0 | 6,138 |
/*
* 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 ... | bihealth/cbioportal | core/src/main/java/org/mskcc/cbio/portal/util/GeneticProfileUtil.java | Java | agpl-3.0 | 3,897 |
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... | AlessioDP/Parties | bukkit/src/main/java/com/alessiodp/parties/bukkit/addons/external/skript/expressions/ExprPartyName.java | Java | agpl-3.0 | 1,576 |
/**
* 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 ... | rapidminer/rapidminer-studio | src/main/java/com/rapidminer/gui/new_plotter/configuration/LineFormat.java | Java | agpl-3.0 | 6,597 |
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... | AlexCristian/NexusPlay | src/com/nexusplay/containers/Change.java | Java | agpl-3.0 | 4,573 |
/*
* 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... | quikkian-ua-devops/will-financials | kfs-purap/src/main/java/org/kuali/kfs/module/purap/document/validation/impl/RequisitionNewIndividualItemValidation.java | Java | agpl-3.0 | 2,205 |
/**
* 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... | NicolasEYSSERIC/Silverpeas-Core | web-core/src/main/java/com/stratelia/silverpeas/peasCore/SilverpeasWebUtil.java | Java | agpl-3.0 | 5,021 |
/*
* 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) ... | splicemachine/spliceengine | splice_si_api/src/main/java/com/splicemachine/si/impl/Tracer.java | Java | agpl-3.0 | 4,164 |
/*
* 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... | rahith/ComtalkA-S | src/java/com/sapienter/jbilling/server/user/CompanyWS.java | Java | agpl-3.0 | 3,574 |
/*
* 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... | phenotips/variant-store | integration/api/src/main/java/org/phenotips/variantStoreIntegration/VariantStoreVariant.java | Java | agpl-3.0 | 3,411 |
/*
* 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... | torakiki/sejda | sejda-model/src/main/java/org/sejda/model/exception/TaskWrongPasswordException.java | Java | agpl-3.0 | 1,584 |
/*
* 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... | auroreallibe/Silverpeas-Core | core-services/personalOrganizer/src/main/java/org/silverpeas/core/personalorganizer/service/JournalDAO.java | Java | agpl-3.0 | 30,469 |
/**
* 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... | CecileBONIN/Silverpeas-Core | lib-core/src/main/java/com/stratelia/webactiv/beans/admin/SpaceProfileInstManager.java | Java | agpl-3.0 | 14,175 |
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... | opensourceBIM/BIMserver | BimServer/src/org/bimserver/database/query/literals/StringLiteral.java | Java | agpl-3.0 | 1,207 |
/**
* 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 ... | shenan4321/BIMplatform | generated/cn/dlb/bim/models/ifc4/IfcSubContractResourceTypeEnum.java | Java | agpl-3.0 | 7,689 |
///*
// * 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... | Tanaguru/Tanaguru | rules/rgaa3-2017/src/test/java/org/tanaguru/rules/rgaa32017/Rgaa32017Rule100901Test.java | Java | agpl-3.0 | 5,642 |
/*
* 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... | datamatica-pl/traccar-orm | src/main/java/pl/datamatica/traccar/model/Device.java | Java | agpl-3.0 | 23,210 |
/**
* 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... | CecileBONIN/Silverpeas-Core | ejb-core/node/src/main/java/com/stratelia/webactiv/util/node/model/NodeSelection.java | Java | agpl-3.0 | 3,220 |
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... | YvonneTunnat/File-Format-Utilities | master/pdf-tools/src/main/java/output/XmlParserJhove.java | Java | agpl-3.0 | 6,325 |
/*
* $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... | AlienQueen/HatchetHarry | src/main/java/org/alienlabs/hatchetharry/persistence/dao/CardCollectionDao.java | Java | agpl-3.0 | 2,144 |
/*
* 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... | animotron/core | src/main/java/org/animotron/cache/Cache.java | Java | agpl-3.0 | 1,548 |
// ----------> 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... | hogi/kunagi | src/generated/java/scrum/server/collaboration/GComment.java | Java | agpl-3.0 | 13,504 |
/*
* 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... | dzc34/Asqatasun | rules/rules-rgaa2.2/src/test/java/org/asqatasun/rules/rgaa22/Rgaa22Rule01021Test.java | Java | agpl-3.0 | 23,545 |
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... | HiOA-ABI/nikita-noark5-core | src/main/java/nikita/common/config/ESConstants.java | Java | agpl-3.0 | 396 |
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);
... | 314942468GitHub/JavaLearnning | src/Generic.java | Java | agpl-3.0 | 963 |
/*
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 ... | ptitfred/magrit | server/sshd/src/main/java/org/kercoin/magrit/sshd/Server.java | Java | agpl-3.0 | 4,603 |
/*
* 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... | devmix/openjst | protocol/basic/commons/src/main/java/org/openjst/protocols/basic/encoder/ProtocolEncoder.java | Java | agpl-3.0 | 2,229 |
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... | bernatmv/thegame | server/server-presentation/src/main/java/com/thegame/server/presentation/exceptions/PresentationException.java | Java | agpl-3.0 | 1,333 |
/**
* 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... | TheLanguageArchive/YAMS | common/src/main/java/nl/mpi/yams/common/data/DataNodeHighlight.java | Java | agpl-3.0 | 1,663 |
/*
* 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... | rahith/ComtalkA-S | src/java/com/sapienter/jbilling/server/pluggableTask/admin/PluggableTaskBL.java | Java | agpl-3.0 | 10,431 |
/*
* 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... | Sage-Bionetworks/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/status/StatusBarWidget.java | Java | agpl-3.0 | 1,945 |
/*
* 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... | MiguelSMendoza/Kunagi | WEB-INF/classes/scrum/client/communication/Pinger.java | Java | agpl-3.0 | 4,177 |
//
// 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... | VietOpenCPS/opencps-v2 | modules/backend-api-rest/src/main/java/org/opencps/api/dossierlog/model/DossierLogResultsModel.java | Java | agpl-3.0 | 2,858 |
// ----------> 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.*... | hogi/kunagi | src/generated/java/scrum/server/admin/GUserDao.java | Java | agpl-3.0 | 31,402 |
/*
* RapidMiner
*
* Copyright (C) 2001-2011 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Lice... | aborg0/rapidminer-vega | src/com/rapidminer/operator/AddListener.java | Java | agpl-3.0 | 1,124 |
package info.nightscout.androidaps.plugins.SmsCommunicator;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.... | RoumenGeorgiev/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorFragment.java | Java | agpl-3.0 | 3,402 |
/*
* ADL2-core
* Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com)
*
* This file is part of ADL2-core.
*
* ADL2-core 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
... | lonangel/adl2-core | adl-parser/src/main/java/org/openehr/adl/am/mixin/AmMixinsInternal.java | Java | agpl-3.0 | 3,715 |
/**
* Copyright (C) 2001-2017 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 ... | cm-is-dog/rapidminer-studio-core | src/main/java/com/rapidminer/gui/actions/AboutAction.java | Java | agpl-3.0 | 1,819 |
/*
* PHEX - The pure-java Gnutella-servent.
* Copyright (C) 2001 - 2006 Arne Babenhauserheide ( arne_bab <at> web <dot> 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 v... | deepstupid/phex | src/main/java/phex/util/RSSParser.java | Java | agpl-3.0 | 13,551 |
package integration.tests;
import static org.junit.Assert.assertEquals;
import gr.ntua.vision.monitoring.VismoConfiguration;
import gr.ntua.vision.monitoring.VismoVMInfo;
import gr.ntua.vision.monitoring.dispatch.VismoEventDispatcher;
import gr.ntua.vision.monitoring.events.MonitoringEvent;
import gr.ntua.vision.monit... | spyrosg/VISION-Cloud-Monitoring | vismo-core/src/test/java/integration/tests/VismoServiceTest.java | Java | agpl-3.0 | 7,451 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2014 VoltDB 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 Foundation, either version 3 of the
* License, or (at your option) any la... | zheguang/voltdb | src/frontend/org/voltdb/LoadedProcedureSet.java | Java | agpl-3.0 | 8,988 |
/*
* Copyright © Région Nord Pas de Calais-Picardie.
*
* This file is part of OPEN ENT NG. OPEN ENT NG is a versatile ENT Project based on the JVM and ENT Core 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
* publ... | OPEN-ENT-NG/cursus | src/main/java/org/entcore/cursus/controllers/CursusController.java | Java | agpl-3.0 | 13,069 |
/*
* LICENCE : CloudUnit is available under the Affero Gnu Public License GPL V3 : https://www.gnu.org/licenses/agpl-3.0.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
* If you are not su... | Treeptik/cloudunit | cu-manager/src/test/java/fr/treeptik/cloudunit/modules/redis/Wildfly8Redis32ModuleControllerTestIT.java | Java | agpl-3.0 | 1,612 |
package com.wirecard.acqp.two;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
@Ignore
@SuppressWarnings("javadoc")
public class ThreadingLongrunning... | wakantanka/get_iso_8583 | src/test/java/com/wirecard/acqp/two/ThreadingLongrunningTest.java | Java | agpl-3.0 | 3,989 |
package com.simplyian.superplots.actions;
import static org.mockito.Matchers.contains;
import static org.mockito.Mockito.verify;
import static org.powermock.api.mockito.PowerMockito.mock;
import static org.powermock.api.mockito.PowerMockito.when;
import java.util.Arrays;
import java.util.List;
import org.bukkit.Loca... | simplyianm/SuperPlots | src/test/java/com/simplyian/superplots/actions/ActionWithdrawTest.java | Java | agpl-3.0 | 5,323 |