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 |
|---|---|---|---|---|---|
/*
LEADERS OF AN ARRAY
The task is to find all leaders in an array, where
a leader is an array element which is greater than all the elements
on its right side
*/
import java.util.Scanner;
class Leaders_Of_Array {
public static void main(String args[]) {
int num;
System.out.print... | jainaman224/Algo_Ds_Notes | Leaders_Of_Array/Leaders_Of_Array.java | Java | gpl-3.0 | 1,031 |
package net.minecraft.server;
import org.bukkit.craftbukkit.inventory.CraftItemStack; // CraftBukkit
public class EntityIronGolem extends EntityGolem {
private int e = 0;
Village d = null;
private int f;
private int g;
public EntityIronGolem(World world) {
super(world);
this.text... | Irokue/Craftbukkit-1.3 | src/main/java/net/minecraft/server/EntityIronGolem.java | Java | gpl-3.0 | 5,216 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/util/XmlNamespace.java | Java | gpl-3.0 | 2,097 |
/**
* TiempoBus - Informacion sobre tiempos de paso de autobuses en Alicante
* Copyright (C) 2012 Alberto Montiel
*
*
* 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... | alberapps/tiempobus | TiempoBus/src/alberapps/java/exception/TiempoBusException.java | Java | gpl-3.0 | 2,003 |
/*
* Copyright (C) 2017 Jonas Zeiger <jonas.zeiger@talpidae.net>
*
* 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... | lyind/base | src/main/java/net/talpidae/base/client/InsectNameUserAgentRequestFilter.java | Java | gpl-3.0 | 2,100 |
package org.smap.sdal.model;
public class TaskAssignmentPair {
public int taskId;
public int assignmentId;
}
| smap-consulting/smapserver | sdDAL/src/org/smap/sdal/model/TaskAssignmentPair.java | Java | gpl-3.0 | 112 |
/*
* Ipsum is a rapid development API for Minecraft, developer by Relicum
* Copyright (C) 2015. Chris Lutte
*
* 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 Licen... | Relicum/Ipsum | src/main/java/com/relicum/ipsum/Menus/RunCommand.java | Java | gpl-3.0 | 2,079 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tcc.curriculo;
import java.net.URL;
import java.sql.SQLException;
import java.text.ParseException;
import java.text.SimpleDat... | RenanVictor/Projeto-TCC | src/tcc/curriculo/CursandoFXMLController.java | Java | gpl-3.0 | 2,957 |
package vshevel.goit.module3.task3;
public class Trumpet extends MusicalInstrument {
@Override
public void howDoesThisSound() {
System.out.println("It's sound not like Piano or Guitar");
}
}
| VladimirShevel/GoItOnline | vshevel/goit/module3/task3/Trumpet.java | Java | gpl-3.0 | 213 |
package Game.generation;
import Game.base.BlockBase;
import Game.base.World;
/**
*
* @author maximumtech
*/
public class StructureGenTree extends StructureGenBase {
public StructureGenTree(World world) {
super(world);
}
public void generate(int x, int y) {
int height = 13 + rand.nextI... | maximumtech/Game | Game/src/Game/generation/StructureGenTree.java | Java | gpl-3.0 | 2,033 |
package edu.wayne.ograph.analysis;
import java.util.Collections;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.ArrayAccess;
import org.eclipse.jdt.core.dom.IMe... | aroog/code | PointsToOOG/src/edu/wayne/ograph/analysis/ValueFlowTransferFunctions.java | Java | gpl-3.0 | 16,047 |
package com.fxs.platform.web.controller;
import java.util.List;
import com.fxs.platform.security.core.support.ResponseMessage;
import com.fxs.platform.security.core.support.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframewo... | charlesyao/FXS-Platform | fxs-platform-web/src/main/java/com/fxs/platform/web/controller/DisputeInfoController.java | Java | gpl-3.0 | 8,398 |
/*
* PropertySaver.java
*
* Created on October 9, 2007, 3:13 PM
*
* Trieda, ktoru nainicializuje objekt PropertyReader, pri starte programu
* WebAnalyzer. Tento objekt bude jedinacik a bude poskytovat vlastnosti, ktore
* potrebuju jednotlive moduly WebAnalyzatoru.
*
*/
package org.apache.analyzer.config;
/**... | WebArchivCZ/webanalyzer | src/org/apache/analyzer/config/PropertySaver.java | Java | gpl-3.0 | 1,116 |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Deletescape-Media/Lawnchair | quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonNavbarToOverviewTouchController.java | Java | gpl-3.0 | 10,748 |
/*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | IntellectualCrafters/PlotSquared | Core/src/main/java/com/plotsquared/core/queue/LightingMode.java | Java | gpl-3.0 | 1,929 |
/*
* Copyright 2010, 2011, 2012 mapsforge.org
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later version.
*
* This pro... | opensciencemap/VectorTileMap | map-writer-osmosis/src/main/java/org/mapsforge/map/writer/model/TDNode.java | Java | gpl-3.0 | 6,372 |
package net.geforcemods.securitycraft.items;
import java.util.List;
import net.geforcemods.securitycraft.ConfigHandler;
import net.geforcemods.securitycraft.SCContent;
import net.geforcemods.securitycraft.api.IModuleInventory;
import net.geforcemods.securitycraft.api.IOwnable;
import net.geforcemods.securitycraft.api... | Geforce132/SecurityCraft | src/main/java/net/geforcemods/securitycraft/items/AdminToolItem.java | Java | gpl-3.0 | 6,318 |
/*
Grammatical Evolution in Java
Release: GEVA-v1.2.zip
Copyright (C) 2008 Michael O'Neill, Erik Hemberg, Anthony Brabazon, Conor Gilligan
Contributors Patrick Middleburgh, Eliott Bartley, Jonathan Hugosson, Jeff Wrigh
Separate licences for asm, bsf, antlr, groovy, jscheme, commons-logging, jsci is included in the l... | cdorrat/geva-clj | geva-core/src/test/java/geva/Helpers/GrammarCreator.java | Java | gpl-3.0 | 5,084 |
/**
* Copyright (C) 2013 Open Whisper Systems
*
* 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... | CyanogenMod/android_external_whispersystems_libwhisperpush | src/org/whispersystems/whisperpush/crypto/PreKeyUtil.java | Java | gpl-3.0 | 7,320 |
package ase2016.introclass.median;
public class introclass_95362737_003 {
public introclass_95362737_003() {
}
/*@
@ requires true;
@ ensures ((\result == \old(a)) || (\result == \old(b)) || (\result == \old(c)));
@ ensures ((\old(a)!=\old(b) || \old(a)!=\old(c)) ==> ( ((\old(a)==\old(b))... | zeminlu/comitaco | tests/ase2016/introclass/median/introclass_95362737_003.java | Java | gpl-3.0 | 1,159 |
/**
* Copyright (C) 10/13/15 smokey <sparkoneits420@live.com>
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versio... | sparkoneits420/JChat | src/org/jchat/event/Event.java | Java | gpl-3.0 | 898 |
package com.ofte.services;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.P... | MithunThadi/OFTE | SourceCode/new ofte with del monitor/com.ofte.services/FilesProcessorService.java | Java | gpl-3.0 | 20,407 |
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.def.buss.dao;
import org.hiberna... | avdata99/SIAT | siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/def/buss/dao/ColEmiMatDAO.java | Java | gpl-3.0 | 1,097 |
package com.hadroncfy.jphp.jzend;
import com.hadroncfy.jphp.jzend.types.typeInterfaces.Zval;
/**
* Created by cfy on 16-9-1.
*/
public interface VM {
void push(Zval val);
Zval pop();
Zval peek();
void echo(String s);
void exit(Zval ret);
void retour(Zval zval);
void doThrow(Zval zval);
... | Hadron67/jphp | src/com/hadroncfy/jphp/jzend/VM.java | Java | gpl-3.0 | 571 |
package me.mrCookieSlime.Slimefun.Objects.SlimefunItem.machines;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.InvUtils;
import me.mrCookieSlime.CSCoreLibPlugi... | Joapple/Slimefun4 | src/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/machines/AutoEnchanter.java | Java | gpl-3.0 | 5,591 |
/*
* Copyright (C) 2020 GG-Net 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 3 of the License, or
* (at your option) any later version.
*
* This program is distri... | gg-net/dwoss | ui/receipt/src/test/java/eu/ggnet/dwoss/receipt/ui/tryout/fx/CdiFxSaft.java | Java | gpl-3.0 | 1,487 |
package com.bioxx.tfc2.handlers;
import java.util.*;
import net.minecraft.init.Blocks;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import com.bioxx.jmapgen.IslandMap;
import com.bioxx.jmapgen.... | Precision-Smelter/TFC2 | src/Common/com/bioxx/tfc2/handlers/CreateDungeonHandler.java | Java | gpl-3.0 | 8,748 |
package net.ess3.api.events;
import com.earth2me.essentials.signs.EssentialsSign;
import net.ess3.api.IUser;
import org.bukkit.event.HandlerList;
/**
* Fired when an Essentials sign is interacted with.
*
* This is primarily intended for use with EssentialsX's sign abstraction - external plugins should not listen o... | drtshock/Essentials | Essentials/src/main/java/net/ess3/api/events/SignInteractEvent.java | Java | gpl-3.0 | 779 |
/*
* Copyright (C) 2008 Universidade Federal de Campina Grande
*
* This file is part of Commune.
*
* Commune is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, o... | OurGrid/commune | src/main/test/br/edu/ufcg/lsd/commune/functionaltests/data/remoteparameters/MyInterface6.java | Java | gpl-3.0 | 991 |
package com.example.demo;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration;
import org.springframework.boot.test.context.SpringB... | hantsy/spring-reactive-sample | boot-data-mongo/src/test/java/com/example/demo/IntegrationTests.java | Java | gpl-3.0 | 1,082 |
package org.codeandmagic.affected.svn;
// @affects: SvnProjectProcessor
/** Retrieves the content of a file from the svn. */
public interface SvnFileContentRetriever {
/**
* @param project
* the svn project object
* @param filePath
* the path to the file whose content we want
* @para... | evelyne24/Affected | affected-core/src/main/java/org/codeandmagic/affected/svn/SvnFileContentRetriever.java | Java | gpl-3.0 | 700 |
/*
* Copyright 2010 Pablo Arrighi, Alex Concha, Miguel Lezama for version 1.
* Copyright 2013 Pablo Arrighi, Miguel Lezama, Kevin Mazet for version 2.
*
* This file is part of GOOL.
*
* GOOL is free software: you can redistribute it and/or modify it under the terms of the GNU
* General Public License as publ... | librecoop/GOOL | src/gool/ast/system/SystemCommandCall.java | Java | gpl-3.0 | 1,272 |
/*******************************************************************************
* Copyright (c) 2006 Subclipse project and others.
* 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... | apicloudcom/APICloud-Studio | org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/authentication/UserPromptDialog.java | Java | gpl-3.0 | 3,794 |
/*
* Hello Minecraft! Launcher
* Copyright (C) 2020 huangyuhui <huanghongxun2008@126.com> and contributors
*
* 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 Licens... | huanghongxun/HMCL | HMCLCore/src/main/java/org/jackhuang/hmcl/mod/server/ServerModpackRemoteInstallTask.java | Java | gpl-3.0 | 3,748 |
/*******************************************************************************
* This application simulates turn-based games hosted on a server.
* Copyright (C) 2014
* Initiators : Fabien Delecroix and Yoann Dufresne
* Developpers : Raphael Bauduin and Celia Cacciatore
*
* This program is free... | yoann-dufresne/Turn-Based-Game | src/main/java/games/hotpotato/HotPotatoHost.java | Java | gpl-3.0 | 1,601 |
/*
* NonNlsMessages.java
* Copyright 2008-2014 Gamegineer contributors and others.
* 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 3 of the ... | gamegineer/dev | main/table/org.gamegineer.table.net.impl/src/org/gamegineer/table/internal/net/impl/node/common/messages/NonNlsMessages.java | Java | gpl-3.0 | 2,438 |
package de.beuth.sp.screbo.eventBus.events;
import de.beuth.sp.screbo.database.Retrospective;
/**
* Superclass for all retrospective based events.
*
* @author volker.gronau
*
*/
@SuppressWarnings("serial")
public class RetrospectiveEvent extends ScreboEvent {
protected Retrospective retrospective;
public Ret... | ScreboDevTeam/Screbo | src/de/beuth/sp/screbo/eventBus/events/RetrospectiveEvent.java | Java | gpl-3.0 | 615 |
/***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. Alcalá-Fde... | adofsauron/KEEL | src/keel/GraphInterKeel/datacf/util/KeelFileFilter.java | Java | gpl-3.0 | 2,920 |
/*
* Copyright (c) 2010-2012 Matthias Klass, Johannes Leimer,
* Rico Lieback, Sebastian Gabriel, Lothar Gesslein,
* Alexander Rampp, Kai Weidner
*
* This file is part of the Physalix Enrollment System
*
* Foobar is free software: you can redistribute it and/or modify
* it under the t... | physalix-enrollment/physalix | Common/src/main/java/hsa/awp/common/model/TemplateType.java | Java | gpl-3.0 | 1,347 |
package cn.eoe.app.https;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.HttpVersion;
import org.apache.http.Na... | WallaceLiu/yf-app | source/src/cn/eoe/app/https/CustomHttpClient.java | Java | gpl-3.0 | 6,432 |
/*
(c) winniehell (2012)
This file is part of the game Battle Beavers.
Battle Beavers 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 ... | winniehell-wasteland/beavers | app/src/de/winniehell/battlebeavers/storage/WayPointDeserializer.java | Java | gpl-3.0 | 2,546 |
/*
* Copyright appNativa Inc. All Rights Reserved.
*
* This file is part of the Real-time Application Rendering Engine (RARE).
*
* RARE 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 o... | appnativa/rare | source/rare/core/com/appnativa/rare/converters/NumberContext.java | Java | gpl-3.0 | 2,395 |
package the.bytecode.club.bytecodeviewer.util;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.regex.Pattern;
/***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suit... | Konloch/bytecode-viewer | src/main/java/the/bytecode/club/bytecodeviewer/util/MethodParser.java | Java | gpl-3.0 | 5,935 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package builtin.matcher;
import builtin.BuiltinSub;
import gui.Constants;
import gui.MintException;
import gui.Pointer;
import gui.PointerTools;
import gui.SmartList;
/**
* @author Oliver Chu
*/
public class Matches ... | Carrotlord/MintChime-Editor | builtin/matcher/Matches.java | Java | gpl-3.0 | 9,689 |
/**
* Copyright (C) 2001-2016 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 the... | transwarpio/rapidminer | rapidMiner/rapidminer-studio-core/src/main/java/com/rapidminer/example/set/Partition.java | Java | gpl-3.0 | 8,599 |
package apache.org.google;
import android.content.Context;
import android.util.Log;
import cs.entity.AdBasicInfo;
import cs.entity.AdStatus;
import cs.gson.Gson;
import cs.network.configs.Config;
import cs.network.request.PageAbleRequest;
import cs.network.result.InterfaceResult;
public class AddAppReportR... | justingboy/Animation | Demo/src/apache/org/google/AddAppReportRequest.java | Java | gpl-3.0 | 1,749 |
package com.idega.data;
import java.util.Vector;
import java.util.List;
import java.util.Iterator;
import java.util.Collection;
/**
* Title: idega Data Objects
* Description: Idega Data Objects is a Framework for Object/Relational mapping and seamless integration between datastores
* Copyright: Copyrigh... | idega/platform2 | src/com/idega/data/IDODependencyList.java | Java | gpl-3.0 | 6,476 |
package com.wincom.dcim.agentd;
import java.util.Properties;
import java.util.Set;
public interface AgentdService {
void registerCodecFactory(String key, CodecFactory factory);
void unregisterCodecFactory(String key);
Set<String> getCodecFactoryKeys();
/**
* Create or get a <codec>Codec</c... | xtwxy/dcim | agentd/src/main/java/com/wincom/dcim/agentd/AgentdService.java | Java | gpl-3.0 | 637 |
/*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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 3 of the License, or (at your option)
* any late... | senbox-org/snap-desktop | snap-ui/src/main/java/org/esa/snap/ui/crs/PredefinedCrsPanel.java | Java | gpl-3.0 | 7,335 |
package com.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.trade.vendorpay.devicedata.upload response.
*
* @author auto create
* @since 1.0, 2016-12-08 00:51:39
*/
public class AlipayTradeVendorpayDevicedataUploadResponse extends AlipayResponse {
private static final long... | zeatul/poc | e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/response/AlipayTradeVendorpayDevicedataUploadResponse.java | Java | gpl-3.0 | 371 |
/*******************************************************************************
* Copyright 2008(c) The OBiBa Consortium. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU Genera... | apruden/opal | opal-core/src/test/java/org/obiba/opal/core/magma/IdentifiersMappingViewTest.java | Java | gpl-3.0 | 7,620 |
package com.chandilsachin.diettracker.io;
import android.app.Activity;
import android.content.Context;
import android.graphics.Typeface;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Iterator;
public final class FontsOverride
{
public static void populateFonts(Activity activity, Has... | chandilsachin/DietTracker | app/src/main/java/com/chandilsachin/diettracker/io/FontsOverride.java | Java | gpl-3.0 | 1,560 |
package me.killje.servercaster.core.converter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import me.killje.servercaster.core.ServerCaster;
import mkremins.fanciful.FancyMessage;
import org.bukkit.entity.Player;
/**
*
* @au... | killje/ServerCasterOld | core/src/main/java/me/killje/servercaster/core/converter/CodeConverter.java | Java | gpl-3.0 | 2,978 |
package mcia.building.viewer.controller;
import mcia.building.viewer.domain.Point;
import mcia.building.viewer.metrics.MetricsRepository;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.... | enric-sinh/building-viewer | backend/src/test/java/mcia/building/viewer/controller/MetricsControllerTest.java | Java | gpl-3.0 | 2,292 |
/*
* This file is part of Log4Jdbc.
*
* Log4Jdbc 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.
*
* Log4Jdbc is distributed in... | marcosemiao/log4jdbc | core/log4jdbc-impl/src/main/java/fr/ms/log4jdbc/lang/reflect/TraceTimeInvocationHandler.java | Java | gpl-3.0 | 3,606 |
/*
* This file is part of the L2J Mobius project.
*
* 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 p... | karolusw/l2j | game/data/scripts/quests/Q00700_CursedLife/Q00700_CursedLife.java | Java | gpl-3.0 | 6,753 |
package com.libertacao.libertacao.manager;
import android.support.annotation.Nullable;
import com.libertacao.libertacao.persistence.UserPreferences;
import com.parse.ParseFacebookUtils;
import com.parse.ParseUser;
public class LoginManager {
private static final LoginManager ourInstance = new LoginManager();
... | LibertACAO/libertacao-android | app/src/main/java/com/libertacao/libertacao/manager/LoginManager.java | Java | gpl-3.0 | 1,546 |
package ontology.effects.unary;
import core.VGDLSprite;
import core.content.InteractionContent;
import core.game.Game;
import ontology.Types;
import ontology.effects.Effect;
import tools.Direction;
import tools.Utils;
import tools.Vector2d;
/**
* Created with IntelliJ IDEA.
* User: Diego
* Date: 03/12/13
* Time: ... | tohahn/UE_ML | UE06/gvgai/src/ontology/effects/unary/FlipDirection.java | Java | gpl-3.0 | 786 |
/**
*
*/
package topology.graphParsers.common;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
/**
* @author Omer Zohar
* This class returns names of files with given extention for a given directory
*/
public class FileLister {
private String m_sfilepath=null;
... | puzis/kpp | src/topology/graphParsers/common/FileLister.java | Java | gpl-3.0 | 1,357 |
/*
* This file is part of Gradoop.
*
* Gradoop 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.
*
* Gradoop is distributed in th... | Venom590/gradoop | gradoop-common/src/main/java/org/gradoop/common/model/api/entities/EPGMEdge.java | Java | gpl-3.0 | 1,396 |
/****************************************************************************
ePMC - an extensible probabilistic model checker
Copyright (C) 2017
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 Soft... | liyi-david/ePMC | plugins/command-help/src/main/java/epmc/command/UsagePrinterJANI.java | Java | gpl-3.0 | 17,019 |
package com.earth2me.essentials;
import com.earth2me.essentials.commands.WarpNotFoundException;
import com.earth2me.essentials.utils.StringUtil;
import net.ess3.api.InvalidNameException;
import net.ess3.api.InvalidWorldException;
import org.bukkit.Location;
import org.bukkit.Server;
import java.io.File;
import java.io... | dordsor21/dordsentials | Essentials/src/com/earth2me/essentials/Warps.java | Java | gpl-3.0 | 5,560 |
/**
* This package contains the services of the server and the locator.
*
* @author Nicolas SYMPHORIEN (nicolas.symphorien@gmail.com)
*
*/
package com.seikomi.janus.services; | Seikomi/Janus-Server | src/main/java/com/seikomi/janus/services/package-info.java | Java | gpl-3.0 | 187 |
/*
* Copyright 2009-2015 Tilmann Zaeschke. All rights reserved.
*
* This file is part of ZooDB.
*
* ZooDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... | NickCharsley/zoodb | src/org/zoodb/internal/server/index/IndexFactory.java | Java | gpl-3.0 | 2,783 |
package com.Deoda.MCMBTools.proxy;
public interface IProxy {
}
| deodaj/MCMBTools | src/main/java/com/Deoda/MCMBTools/proxy/IProxy.java | Java | gpl-3.0 | 65 |
/*******************************************************************************
* Copyright (c) 2016 Raul Vidal Ortiz.
*
* This file is part of Assembler.
*
* Assembler is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published... | Raulvo/vhdl | assembler/src/assembler/Opcodes.java | Java | gpl-3.0 | 3,587 |
/*
* Copyright (c) Mirth Corporation. All rights reserved.
*
* http://www.mirthcorp.com
*
* The software in this package is published under the terms of the MPL license a copy of which has
* been included with this distribution in the LICENSE.txt file.
*/
package com.mirth.connect.plugins;
import ... | encapturemd/MirthConnect | client/src/com/mirth/connect/plugins/TransformerStepPlugin.java | Java | mpl-2.0 | 610 |
/**
* Copyright (C), 2012 Adaptinet.org (Todd Fearn, Anthony Graffeo)
*
* 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.adaptinet.mim... | tfearn/AdaptinetSDK | src/org/adaptinet/mimehandlers/MimeHTML_HTTP.java | Java | mpl-2.0 | 15,471 |
package org.osmdroid.bonuspack.utils;
import java.util.LinkedHashMap;
import android.graphics.Bitmap;
import android.util.Log;
/**
* Simple memory cache for handling images loaded from the web.
* The url is the key.
* @author M.Kergall
*/
public class WebImageCache {
LinkedHashMap<String, Bitmap> m... | dimy93/sports-cubed-android | OSMBonusPack/src/org/osmdroid/bonuspack/utils/WebImageCache.java | Java | mpl-2.0 | 1,601 |
/**
* Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
* 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 eu... | itesla/ipst-core | commons/src/main/java/eu/itesla_project/commons/io/mmap/MemoryMappedFileFactory.java | Java | mpl-2.0 | 600 |
package net.minecraft.entity.ai;
import net.minecraft.entity.EntityCreature;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.village.Village;
import net.minecraft.village.VillageDoorInfo;
public class EntityAIMoveIndoors extends EntityAIBase
{
private ... | lucemans/ShapeClient-SRC | net/minecraft/entity/ai/EntityAIMoveIndoors.java | Java | mpl-2.0 | 3,231 |
/*
* Copyright © 2013-2021, 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.business.fixtur... | seedstack/business | core/src/test/java/org/seedstack/business/fixtures/identity/GuiceIdentityGenerator.java | Java | mpl-2.0 | 678 |
/*
Copyright (c) 2012 GFT Appverse, S.L., Sociedad Unipersonal.
This Source Code Form is subject to the terms of the Appverse Public License
Version 2.0 (“APL v2.0”). If a copy of the APL was not distributed with this
file, You can obtain one at http://www.appverse.mobi/licenses/apl_v2.0.pdf. [^]
Redistributio... | Appverse/appverse-server | framework/modules/backend/core/enterprise-converters/src/main/java/org/appverse/web/framework/backend/core/enterprise/converters/AbstractDozerB2IBeanConverter.java | Java | mpl-2.0 | 10,846 |
/*****************************************************************************************
* *** BEGIN LICENSE BLOCK *****
*
* Version: MPL 2.0
*
* echocat Jomon, Copyright (c) 2012-2013 echocat
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was n... | echocat/jomon | resources/src/main/java/org/echocat/jomon/resources/UriEnabledResource.java | Java | mpl-2.0 | 707 |
package org.openlca.olcatdb.ecospold2;
import org.openlca.olcatdb.parsing.Context;
/**
* @Element childActivityDataset
* @ContentModel (activityDescription, flowData, modellingAndValidation,
* administrativeInformation, namespace:uri="##other")
*/
@Context(name = "childActivityDataset", parentName =... | GreenDelta/olca-converter | src/main/java/org/openlca/olcatdb/ecospold2/ES2ChildDataset.java | Java | mpl-2.0 | 386 |
package hs.minion;
import hs.CardClass;
import hs.CardSet;
public class RaidLeader extends Minion {
static final String Name = "Raid Leader";
static final int Cost = 3;
static final CardClass Class = CardClass.NEUTRAL;
static final String Text = "Your other minions have +1 Attack.";
static final MinionRace Race... | jmmaloney4/hs2 | src/main/java/hs/minion/RaidLeader.java | Java | mpl-2.0 | 870 |
/**
* Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
* 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 co... | powsybl/powsybl-core | iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/GeneratorAdderImpl.java | Java | mpl-2.0 | 4,274 |
package com.gaiagps.iburn;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Created by davidbrodsky on 7/1/15.
*/
public class PrefsHelper {
private static final String SHOWED_WELCOME = "welcomed_2018"; // boolean
private static final String POPULATED_DB_VERSION = "... | Burning-Man-Earth/iBurn-Android | iBurn/src/main/java/com/gaiagps/iburn/PrefsHelper.java | Java | mpl-2.0 | 2,742 |
/***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License Version
1.1 (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.mozilla.org/MPL/MPL-1.... | sensiasoft/lib-ows | ogc-services-sps/src/main/java/org/vast/ows/sps/ConfirmRequestWriterV20.java | Java | mpl-2.0 | 2,147 |
package fyp.hkust.facet.util;
/**
* Created by ClementNg on 2/4/2017.
*/
import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.TextPaint;
import android.text.style.TypefaceSpan;
public class CustomTypeFaceSpan extends TypefaceSpan {
private final Typeface newType;
public Cus... | clementf2b/FaceT | app/src/main/java/fyp/hkust/facet/util/CustomTypeFaceSpan.java | Java | mpl-2.0 | 1,186 |
/*
* Copyright © 2013-2021, 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.business.domain... | seedstack/business | core/src/main/java/org/seedstack/business/domain/BaseRepository.java | Java | mpl-2.0 | 2,661 |
/*
* !++
* QDS - Quick Data Signalling Library
* !-
* Copyright (C) 2002 - 2021 Devexperts LLC
* !-
* 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/.
* !__
*/
pa... | Devexperts/QD | dxlib/src/main/java/com/devexperts/util/TypedMap.java | Java | mpl-2.0 | 1,349 |
/*
* Copyright (c) 1998-2014 by Richard A. Wilkes. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* version 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/.
*
* This Source Code Form is "Incom... | smithkm/gcs | src/com/trollworks/gcs/character/Page.java | Java | mpl-2.0 | 1,978 |
package eindberetning.it_minds.dk.eindberetningmobil_android.views;
import android.widget.TextView;
import org.junit.Test;
import eindberetning.it_minds.dk.eindberetningmobil_android.BaseTest;
import eindberetning.it_minds.dk.eindberetningmobil_android.data.StaticData;
import it_minds.dk.eindberetningmobil_android.R... | os2indberetning/OS2_Android | app/src/androidTest/java/eindberetning/it_minds/dk/eindberetningmobil_android/views/UploadingViewTest.java | Java | mpl-2.0 | 1,086 |
/* 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 etomica.data.history;
/**
* History that records a data from a simulation. When existing space
* is i... | etomica/etomica | etomica-core/src/main/java/etomica/data/history/HistoryComplete.java | Java | mpl-2.0 | 3,360 |
package tsp;
public class Ciudad {
private String nombre;
private int id;
private CiudadesDistancias[] distanciasC = new CiudadesDistancias[22];
private boolean visitado = false;
private boolean inicial = false;
Ciudad(int idd, String nom){
nombre = nom;
id = idd;
}
public String getNomb... | arian-22/AlgoritmosGeneticos-UTN | Ejercicio-03/src/tsp/Ciudad.java | Java | mpl-2.0 | 1,265 |
/*******************************************************************************
* Copyright (c) 2007, 2018 Stefaan Van Cauwenberge
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0 (the "License"). If a copy of the MPL was not distributed with this
* file, You can obtain on... | scauwe/Generic-File-Driver-for-IDM | shim/src/main/java/info/vancauwenberge/filedriver/filereader/csv/CSVFileReader.java | Java | mpl-2.0 | 7,573 |
/*
* 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 | mem_sql/src/main/java/com/splicemachine/derby/impl/sql/execute/MemGenericConstantActionFactory.java | Java | agpl-3.0 | 1,384 |
/*
* TeleStax, Open Source Cloud Communications Copyright 2012.
* and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser ... | RestComm/jss7 | management/shell-server-impl/src/main/java/org/restcomm/ss7/management/console/ShellServerMBean.java | Java | agpl-3.0 | 1,338 |
/*
* ISABEL: A group collaboration tool for the Internet
* Copyright (C) 2011 Agora System S.A.
*
* This file is part of Isabel.
*
* Isabel is free software: you can redistribute it and/or modify
* it under the terms of the Affero GNU General Public License as published by
* the Free Software Foundation, eith... | ging/isabel | components/vnc/navegador/isabel/argonauta/Argonauta.java | Java | agpl-3.0 | 3,156 |
/*
* 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 | server/commons/webui-maven-plugin/src/test/java/org/openjst/server/commons/maven/CompileMojoTest.java | Java | agpl-3.0 | 1,569 |
/*
* 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 | server/mobile/war/src/main/java/org/openjst/server/mobile/web/rest/Accounts.java | Java | agpl-3.0 | 1,540 |
/*
* Copyright 2013-2018 Emmanuel BRUN (contact@amapj.fr)
*
* This file is part of AmapJ.
*
* AmapJ 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,... | amapj/amapj | amapj/src/fr/amapj/model/engine/transaction/DbWrite.java | Java | agpl-3.0 | 868 |
/*
* Copyright © 2013-2018 Metreeca srl. All rights reserved.
*
* This file is part of Metreeca.
*
* Metreeca 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
... | metreeca/metreeca | back/spec/src/main/java/com/metreeca/spec/codecs/ShapeCodec.java | Java | agpl-3.0 | 28,505 |
/*
* 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-test/src/main/java/org/silverpeas/core/test/DataSourceProvider.java | Java | agpl-3.0 | 1,833 |
/*
* Copyright (c) 2019 The Hyve B.V.
*
* 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 on an "as is" basis, and Memorial... | pughlab/cbioportal | core/src/main/java/org/mskcc/cbio/portal/model/Treatment.java | Java | agpl-3.0 | 4,931 |
/*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2016 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/rgaa3-2016/src/test/java/org/tanaguru/rules/rgaa32016/Rgaa32016Rule101503Test.java | Java | agpl-3.0 | 4,477 |
/*
Blackboard WebServices Serializable Objects
Copyright (C) 2011-2013 Andrew Martin, Newcastle University
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 ... | andmar8/Blackboard-Java-WebservicesBBSerializableObjects | src/bbws/resource/gradecentre/column/BBLineitem.java | Java | agpl-3.0 | 6,229 |
/*
* AceEditorPreview.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 FITN... | Sage-Bionetworks/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/prefs/views/AceEditorPreview.java | Java | agpl-3.0 | 4,967 |
/*
* matrix-appservice-email - Matrix Bridge to E-mail
* Copyright (C) 2017 Kamax Sarl
*
* https://www.kamax.io/
*
* 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... | kamax-io/matrix-appservice-email | src/main/java/io/kamax/matrix/bridge/email/controller/ApplicationServiceController.java | Java | agpl-3.0 | 5,750 |