repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
jj-io/jj-android | mylibrary/src/main/java/me/yugy/app/common/utils/StorageUtils.java | 3221 | package me.yugy.app.common.utils;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Environment;
import android.os.StatFs;
import java.io.File;
import java.io.IOException;
import static android.os.Envi... | gpl-2.0 |
msmobility/silo | siloCore/src/main/java/de/tum/bgu/msm/utils/DeferredAcceptanceMatching.java | 2026 | package de.tum.bgu.msm.utils;
import cern.colt.matrix.tdouble.DoubleMatrix2D;
import org.matsim.core.utils.collections.Tuple;
import java.util.*;
public class DeferredAcceptanceMatching {
public static Map<Integer, Integer> match(Collection<Integer> set1, Collection<Integer> set2, DoubleMatrix2D preferences) {
... | gpl-2.0 |
ParallelAndReconfigurableComputing/Pyjama | test/PyjamaCode/TestingDirectives/Sections/section_positive_test1.java | 10076 | //Pyjama compiler version:v1.5.3
package PyjamaCode.TestingDirectives.Sections;
import pj.Pyjama;
import pj.pr.*;
import pj.PjRuntime;
import pj.Pyjama;
import pi.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.conc... | gpl-2.0 |
lamsfoundation/lams | 3rdParty_sources/jackson/com/fasterxml/jackson/databind/deser/NullValueProvider.java | 1303 | package com.fasterxml.jackson.databind.deser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.util.AccessPattern;
/**
* Helper interface implemented by classes that are to be used as
* null providers duri... | gpl-2.0 |
iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/NoSuch_sites_countryException.java | 1074 | /**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later... | gpl-2.0 |
HotswapProjects/HotswapAgent | hotswap-agent-core/src/main/java/org/hotswap/agent/util/spring/io/resource/WritableResource.java | 1809 | /*
* Copyright 2002-2012 the original author or authors.
*
* 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 ap... | gpl-2.0 |
flyroom/PeerfactSimKOM_Clone | src/org/peerfact/impl/application/infodissemination/moveModels/IMoveModel.java | 1841 | /*
* Copyright (c) 2012-2013 Open Source Community - <http://www.peerfact.org>
* Copyright (c) 2011-2012 University of Paderborn - UPB
* Copyright (c) 2005-2011 KOM - Multimedia Communications Lab
*
* This file is part of PeerfactSim.KOM.
*
* PeerfactSim.KOM is free software: you can redistribute it and/or modi... | gpl-2.0 |
mwalercz/sicxe-sim-mvn | src/main/java/sicxe/model/simulator/assembler/command/bits/FormatFourBits.java | 563 | package sicxe.model.simulator.assembler.command.bits;
/**
* Created by maciek on 14/01/16.
*/
public class FormatFourBits extends Bits{
private final int e = 1 << 20;
private final int b = 0;
private final int p = 0;
private int x = 0;
public int getX() {
return x;
}
public void... | gpl-2.0 |
nazareno/diferentonas-server | app/controllers/AtualizacaoController.java | 4867 | package controllers;
import static akka.pattern.Patterns.ask;
import static play.libs.Json.toJson;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.util.Date;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import ja... | gpl-2.0 |
zyclonite/nassh-relay | src/main/java/net/zyclonite/nassh/util/RequestHelper.java | 953 | /*
* nassh-relay - Relay Server for tunneling ssh through a http endpoint
*
* Website: https://github.com/zyclonite/nassh-relay
*
* Copyright 2014-2020 zyclonite networx
* http://zyclonite.net
* Developer: Lukas Prettenthaler
*/
package net.zyclonite.nassh.util;
import io.vertx.core.... | gpl-2.0 |
a97381416/jack.github.io | my_project/springcloud/jack-spring-cloud/jack-consomer-movie-ribbon/src/main/java/com/jack/cloud/movie/ConsumerMovieRibbonApplication.java | 897 | package com.jack.cloud.movie;
import com.jack.cloud.config.TestConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.netflix.eureka.Enable... | gpl-2.0 |
iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest05767.java | 2444 | /**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | gpl-2.0 |
uttmkl/etno | sites/all/modules/CKFinder/ckfinder/_sources/CKFinder for Java/CKFinder/src/main/java/com/ckfinder/connector/package-info.java | 500 | /**
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2013, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this fil... | gpl-2.0 |
MultiTool/Clay | src/clay/Things.java | 9794 | /*
* 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 clay;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.... | gpl-2.0 |
chbrown/stanford-parser | edu/stanford/nlp/parser/lexparser/Options.java | 45340 | package edu.stanford.nlp.parser.lexparser;
import edu.stanford.nlp.trees.CompositeTreeTransformer;
import edu.stanford.nlp.trees.TreebankLanguagePack;
import edu.stanford.nlp.trees.TreeTransformer;
import edu.stanford.nlp.util.Function;
import edu.stanford.nlp.util.ReflectionLoading;
import edu.stanford.nlp.util.Strin... | gpl-2.0 |
lanoxx/masterylearning | backend/src/main/java/org/masterylearning/domain/data/EntryData.java | 1748 | package org.masterylearning.domain.data;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import org.masterylearning.domain.Entry;
import org.... | gpl-2.0 |
riking/dolphin | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/viewholder/SliderViewHolder.java | 1213 | package org.dolphinemu.dolphinemu.features.settings.ui.viewholder;
import android.view.View;
import android.widget.TextView;
import org.dolphinemu.dolphinemu.R;
import org.dolphinemu.dolphinemu.features.settings.model.view.SettingsItem;
import org.dolphinemu.dolphinemu.features.settings.model.view.SliderSetting;
impo... | gpl-2.0 |
dhleong/ideavim | test/org/jetbrains/plugins/ideavim/action/AutoIndentTest.java | 5517 | /*
* IdeaVim - Vim emulator for IDEs based on the IntelliJ platform
* Copyright (C) 2003-2019 The IdeaVim authors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the ... | gpl-2.0 |
autoplot/app | QDataSet/src/org/das2/qds/util/LSpec.java | 16160 | /*
* LSpec.java
*
* Created on April 24, 2007, 11:06 PM
*/
package org.das2.qds.util;
import java.util.LinkedHashMap;
import java.util.Map;
import org.das2.datum.Datum;
import org.das2.datum.Units;
import org.das2.qds.ArrayDataSet;
import org.das2.qds.DDataSet;
import org.das2.qds.DataSetUtil;
impo... | gpl-2.0 |
tylerm007/MetaRepos | Source/VLS/DataObjects/WorkFlow/ActivityImpl.java | 947 | //{{COMPONENT_IMPORT_STMTS
package MetaRepos;
import java.util.Enumeration;
import java.util.Vector;
import versata.common.*;
import versata.common.vstrace.*;
import versata.vls.*;
import java.util.*;
import java.math.*;
import versata.vls.cache.*;
//END_COMPONENT_IMPORT_STMTS}}
/*
** Activity
*/
//{{COMPONENT_RULE... | gpl-2.0 |
kdeforche/jwt | src/eu/webtoolkit/jwt/auth/UpdatePasswordWidget.java | 7657 | /*
* Copyright (C) 2020 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
package eu.webtoolkit.jwt.auth;
import eu.webtoolkit.jwt.*;
import eu.webtoolkit.jwt.chart.*;
import eu.webtoolkit.jwt.servlet.*;
import eu.webtoolkit.jwt.utils.*;
import java.io.*;
import java.lang.ref.*;
import java.... | gpl-2.0 |
CleverCloud/Quercus | quercus/src/main/java/com/caucho/quercus/env/DefaultValue.java | 3172 | /*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
bairutai/SinaWeibo | src/com/convenientbanner/CBLoopViewPager.java | 6473 | /*
* Copyright (C) 2013 Leszek Mzyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | gpl-2.0 |
scoophealth/oscar | src/main/java/org/oscarehr/common/model/ConsultationRequest.java | 10011 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | gpl-2.0 |
TranceCake/SoftwareEngineering | leertaak3DynamicProgramming/leertaak4MobileRobot/src/model/device/Device.java | 3923 | package model.device;
/**
* Title : The Mobile Robot Explorer Simulation Environment v2.0
* Copyright: GNU General Public License as published by the Free Software Foundation
* Company : Hanze University of Applied Sciences
*
* @author Dustin Meijer (2012)
* @author Alexander Jeurissen (2012)
... | gpl-2.0 |
lamsfoundation/lams | 3rdParty_sources/commons-validator/org/apache/commons/validator/routines/AbstractCalendarValidator.java | 16430 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | gpl-2.0 |
haroldoramirez/geocab | implementation/solution/src/test/java/br/com/geocab/tests/service/DataSourceServiceTest.java | 2971 | /**
*
*/
package br.com.geocab.tests.service;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import br.com.geocab.domain.entity.datasource.DataSource;
import br.com.geocab.domain.service.DataSourceService;
import br.com.geocab.tests.AbstractIntegratio... | gpl-2.0 |
beckpalmx/ImportTask | src/com/cgc/bean/MessageBean.java | 3859 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.cgc.bean;
import java.sql.Timestamp;
/**
*
* @author com02
*/
public class MessageBean {
private int runno;
private String message_id;
private String message_detail;
private String statu... | gpl-2.0 |
vince-from-nice/osmaxil | src/main/java/org/openstreetmap/osmaxil/Application.java | 1528 | package org.openstreetmap.osmaxil;
import org.apache.log4j.Logger;
import org.openstreetmap.osmaxil.flow.__AbstractImportFlow;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Component;
@Compone... | gpl-2.0 |
AlanGuerraQuispe/SisAtuxPerfumeria | atux-jrcp/src/main/java/com/aw/swing/mvp/action/BackBeanProvider.java | 1684 | package com.aw.swing.mvp.action;
import com.aw.swing.mvp.Presenter;
import com.aw.swing.mvp.navigation.Flow;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.BeanWrapper;
import org.springframework.beans.BeanWrapperImpl;
import java.util.Iterator;
... | gpl-2.0 |
tomaszbabiuk/geekhome-asymptote | asymptote/src/main/java/eu/geekhome/asymptote/model/SyncUpdateBase.java | 335 | package eu.geekhome.asymptote.model;
public abstract class SyncUpdateBase<T> implements SyncUpdate<T> {
private T _value;
@Override
public T getValue() {
return _value;
}
public void setValue(T value) {
_value = value;
}
public SyncUpdateBase(T value) {
_value = ... | gpl-2.0 |
lazcatluc/agileim | src/main/java/com/meetup/agileim/web/rest/errors/ExceptionTranslator.java | 2547 | package com.meetup.agileim.web.rest.errors;
import java.util.List;
import org.springframework.dao.ConcurrencyFailureException;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.validation.BindingResult;
import org.springframework.v... | gpl-2.0 |
ncedu-tlt/ecomm | src/main/java/ru/ncedu/ecomm/servlets/services/passwordRecovery/PasswordRecoveryService.java | 2999 | package ru.ncedu.ecomm.servlets.services.passwordRecovery;
import ru.ncedu.ecomm.data.models.dao.UserDAOObject;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import static ru.ncedu.ecomm.data.DAOFactory.getDAOFactory;
public class PasswordRecoveryService {
private final static Str... | gpl-3.0 |
casetools/rcase | rcase/src/main/java/edu/casetools/rcase/modelio/diagrams/requirements/tools/relations/SatisfyTool.java | 3013 | /*
* Copyright 2015 @author Unai Alegre
*
* This file is part of R-CASE (Requirements for Context-Aware Systems Engineering), a module
* of Modelio that aids the requirements elicitation phase of a Context-Aware System (C-AS).
*
* R-CASE is free software: you can redistribute it and/or modify
* it under the... | gpl-3.0 |
PhoenixDevTeam/Phoenix-for-VK | app/src/main/java/biz/dealnote/messenger/util/FormatUtil.java | 1322 | package biz.dealnote.messenger.util;
import android.content.Context;
import android.text.Spannable;
import java.text.DateFormat;
import java.util.Date;
import biz.dealnote.messenger.R;
import biz.dealnote.messenger.link.internal.OwnerLinkSpanFactory;
/**
* Created by admin on 17.06.2017.
* phoenix
*/
public clas... | gpl-3.0 |
waikato-datamining/adams-base | adams-core/src/main/java/adams/core/base/MavenArtifactExclusion.java | 2905 | /*
* 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 that it w... | gpl-3.0 |
sandakith/TRRuSST | TrWebApp/src/main/java/org/trrusst/software/recommender/TrustBasedServiceRecommender.java | 2115 | package org.trrusst.software.recommender;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Lis... | gpl-3.0 |
beia/beialand | projects/solomon/Server/SolomonServer/src/solomonserver/SolomonServer.java | 11938 | /*
* 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 solomonserver;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.sql.Connection;
i... | gpl-3.0 |
optimizationBenchmarking/evaluator-attributes | src/main/java/org/optimizationBenchmarking/evaluator/attributes/clusters/propertyValueGroups/EGroupingMode.java | 24903 | package org.optimizationBenchmarking.evaluator.attributes.clusters.propertyValueGroups;
import org.optimizationBenchmarking.utils.math.NumericalTypes;
import org.optimizationBenchmarking.utils.math.functions.arithmetic.Div;
import org.optimizationBenchmarking.utils.math.functions.arithmetic.Mul;
import org.optimi... | gpl-3.0 |
fjbatresv/MascotasSociales | app/src/main/java/com/jmbsystems/fjbatresv/mascotassociales/photoList/ui/PhotoListActivity.java | 5594 | package com.jmbsystems.fjbatresv.mascotassociales.photoList.ui;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.provider.MediaStore;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snac... | gpl-3.0 |
rgorosito/penrose | common/src/main/java/org/safehaus/penrose/ldap/RDNBuilder.java | 1607 | package org.safehaus.penrose.ldap;
import java.util.Map;
import java.util.TreeMap;
/**
* @author Endi S. Dewata
*/
public class RDNBuilder {
public Map<String,Object> values = new TreeMap<String,Object>();
public RDNBuilder() {
}
public boolean isEmpty() {
return values.isEmpty();
}
... | gpl-3.0 |
pkiraly/metadata-qa-marc | src/test/java/de/gwdg/metadataqa/marc/definition/general/validator/ISBNValidatorTest.java | 6003 | package de.gwdg.metadataqa.marc.definition.general.validator;
import de.gwdg.metadataqa.marc.dao.DataField;
import de.gwdg.metadataqa.marc.dao.MarcRecord;
import de.gwdg.metadataqa.marc.MarcSubfield;
import de.gwdg.metadataqa.marc.definition.ValidatorResponse;
import de.gwdg.metadataqa.marc.definition.tags.tags01x.Tag... | gpl-3.0 |
bovard/battlecode-server-2014 | src/main/battlecode/world/GameMap.java | 12224 | package battlecode.world;
import battlecode.common.Direction;
import battlecode.common.GameConstants;
import battlecode.common.MapLocation;
import battlecode.common.RobotType;
import battlecode.common.TerrainTile;
import battlecode.serial.GenericGameMap;
import java.util.Arrays;
import java.util.EnumMap;
import java.... | gpl-3.0 |
juanmont/ABD | practica1User/src/main/java/abd/p1/model/MensajeAmistad.java | 542 | package abd.p1.model;
import java.util.Date;
import javax.persistence.*;
@Entity
public class MensajeAmistad extends Mensaje{
@Column
private boolean aceptado;
public MensajeAmistad(){
super();
}
public MensajeAmistad(Usuario usu, Usuario amigo){
super(usu, amigo);
aceptado = true;
}
public boolean... | gpl-3.0 |
Keltek/mucommander | src/main/com/mucommander/ui/action/impl/ToggleTableViewModeCompactAction.java | 2674 | /*
* This file is part of trolCommander, http://www.trolsoft.ru/en/soft/trolcommander
* Copyright (C) 2014-2016 Oleg Trifonov
*
* trolCommander 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 vers... | gpl-3.0 |
syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/support/v17/leanback/widget/SearchOrbView.java | 12627 | /*
* Copyright (C) 2014 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... | gpl-3.0 |
nikolamilosevic86/TableAnnotator | src/classifiers/PragmaticClassifier.java | 12768 | package classifiers;
import java.io.File;
import java.io.PrintWriter;
import Utils.Utilities;
import stats.Statistics;
import tablInEx.Table;
import weka.classifiers.misc.InputMappedClassifier;
import weka.core.Attribute;
import weka.core.DenseInstance;
import weka.core.FastVector;
import weka.core.Instan... | gpl-3.0 |
jbeerdev/Switch- | src/es/task/switcher/model/entities/Category.java | 335 | package es.task.switcher.model.entities;
import com.mobandme.ada.Entity;
import com.mobandme.ada.annotations.Table;
import com.mobandme.ada.annotations.TableField;
@Table(name = "Category")
public class Category extends Entity{
@TableField(name = "name", datatype = DATATYPE_STRING, maxLength = 100)
public String n... | gpl-3.0 |
JDuligall/ZombieSim | honorsWorkspace/ZombieSim2/src/mapContents/Nd.java | 1846 | //
// 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: 2015.05.... | gpl-3.0 |
CCAFS/MARLO | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/model/ReportSynthesisKeyPartnershipPmu.java | 2592 | package org.cgiar.ccafs.marlo.data.model;
// Generated Jun 20, 2018 1:50:25 PM by Hibernate Tools 3.4.0.CR1
import org.cgiar.ccafs.marlo.data.IAuditLog;
import com.google.gson.annotations.Expose;
/**
* ReportSynthesisMeliaStudy generated by hbm2java
*/
public class ReportSynthesisKeyPartnershipPmu exte... | gpl-3.0 |
mrlolethan/Buttered-Pixel-Dungeon | src/com/mrlolethan/butteredpd/effects/particles/SmokeParticle.java | 1728 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* 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 vers... | gpl-3.0 |
ftninformatika/bisis-v5 | bisis-model/src/main/java/com/ftninformatika/bisis/opac/search/Sort.java | 788 | package com.ftninformatika.bisis.opac.search;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* @author badf00d21 15.8.19.
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Sort {
private SortType type;
private Boolean ... | gpl-3.0 |
chubbymaggie/jbse | src/jbse/tree/DecisionAlternative_XNEWARRAY_Wrong.java | 758 | package jbse.tree;
public final class DecisionAlternative_XNEWARRAY_Wrong extends DecisionAlternative_XNEWARRAY {
private static final String WRONG_ID = "XNEWARRAY_Wrong";
private static final int HASH_CODE = 2;
DecisionAlternative_XNEWARRAY_Wrong(boolean isConcrete) {
super(isConcrete, (isConcrete ? 1 : ... | gpl-3.0 |
januar/KulinARMedan | src/org/medankulinar/mgr/downloader/DownloadManager.java | 2100 | /*
* Copyright (C) 2010- Peer internet solutions
*
* This file is part of mixare.
*
* 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 op... | gpl-3.0 |
mrbradleyjh/BlazeFly | com/bradleyjh/blazefly/Main.java | 16141 | ////////////////////////////////////////////////////////////////////////////
// This file is part of BlazeFly. //
// //
// BlazeFly is free software: you can redistribute it and/or modify //
// it under ... | gpl-3.0 |
rbi/trading4j | core/src/main/java/de/voidnode/trading4j/strategyexpertadvisor/StrategyExpertAdvisor.java | 3923 | package de.voidnode.trading4j.strategyexpertadvisor;
import java.time.Instant;
import java.util.Optional;
import de.voidnode.trading4j.api.Broker;
import de.voidnode.trading4j.api.ExpertAdvisor;
import de.voidnode.trading4j.api.Failed;
import de.voidnode.trading4j.api.OrderEventListener;
import de.voidnode.trading4j.... | gpl-3.0 |
IsThisThePayneResidence/intellidots | src/main/java/ua/edu/hneu/ast/parsers/RParser.java | 34879 | // Generated from /mnt/hdd/Programming/Projects/Groovy/intellidots/src/main/antlr/R.g4 by ANTLR 4.2.2
package ua.edu.hneu.ast.parsers;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
@SuppressWarnings({"al... | gpl-3.0 |
Unisay/preferanser | web-test/src/test/java/com/preferanser/webtest/CardsPresenceTest.java | 1414 | /*
* Preferanser is a program to simulate and calculate Russian Preferans Card game deals.
*
* Copyright (C) 2013 Yuriy Lazarev <Yuriy.Lazarev@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
* ... | gpl-3.0 |
ovgu-ccd/jchess | jchess/game/IOSystem.java | 847 | package jchess.game;
import jchess.eventbus.events.*;
import net.engio.mbassy.listener.Handler;
/**
* Bridge between GL and User Input.
*
* Created by andreas on 06.12.14.
*
* @trace [$REQ07]
*/
@SuppressWarnings("UnusedDeclaration")
public interface IOSystem {
@Handler
void handleSelectEvent(SelectEven... | gpl-3.0 |
mastablasta1/a-star-w-algorithm | src/main/java/pl/edu/agh/idziak/asw/common/Pair.java | 765 | package pl.edu.agh.idziak.asw.common;
import com.google.common.base.Preconditions;
/**
* Created by Tomasz on 13.07.2016.
*/
public class Pair<X, Y> {
private final X one;
private final Y two;
Pair(X one, Y two) {
this.one = Preconditions.checkNotNull(one);
this.two = Preconditions.che... | gpl-3.0 |
dmolony/DiskBrowser | src/com/bytezone/diskbrowser/visicalc/Asin.java | 823 | package com.bytezone.diskbrowser.visicalc;
// -----------------------------------------------------------------------------------//
class Asin extends ValueFunction
// -----------------------------------------------------------------------------------//
{
// ----------------------------------------------------------... | gpl-3.0 |
yuripourre/e-motion | src/main/java/com/harium/keel/filter/selection/skin/SkinColorRGBHCbCrStrategy.java | 1693 | package com.harium.keel.filter.selection.skin;
import com.harium.keel.core.helper.ColorHelper;
import com.harium.keel.core.strategy.SelectionStrategy;
import com.harium.keel.filter.selection.SimpleToleranceStrategy;
/**
* Based on: Nusirwan Anwar bin Abdul Rahman, Kit Chong Wei and John See
* RGB-H-CbCr Skin Colour... | gpl-3.0 |
mkulesh/microMathematics | app/src/main/java/com/mkulesh/micromath/properties/AxisProperties.java | 6711 | /*
* microMathematics - Extended Visual Calculator
* Copyright (C) 2014-2021 by Mikhail Kulesh
*
* 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 you... | gpl-3.0 |
epsilony/mf | src/main/java/net/epsilony/mf/model/search/config/TwoDLRTreeSearcherConfig.java | 1175 | /*
* Copyright (C) 2013 Man YUAN <epsilon@epsilony.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.
*
* Th... | gpl-3.0 |
Lzw2016/cleverframe | clever-sys/src/main/java/org/cleverframe/sys/controller/MenuController.java | 5364 | package org.cleverframe.sys.controller;
import org.cleverframe.common.controller.BaseController;
import org.cleverframe.common.mapper.BeanMapper;
import org.cleverframe.common.persistence.Page;
import org.cleverframe.common.vo.response.AjaxMessage;
import org.cleverframe.sys.SysBeanNames;
import org.cleverframe.sys.Sy... | gpl-3.0 |
Bunsan/TerraFirmaStuff | src/main/java/com/technode/terrafirmastuff/core/proxy/CommonProxy.java | 1619 | package com.technode.terrafirmastuff.core.proxy;
import com.bioxx.tfc.api.Tools.ChiselManager;
import com.technode.terrafirmastuff.handler.ServerTickHandler;
import com.technode.terrafirmastuff.tileentity.TEOilLampMod;
import com.technode.terrafirmastuff.tools.ChiselMode_Chiseled;
import com.technode.terrafirmastuff.t... | gpl-3.0 |
kuiwang/my-dev | src/main/java/com/aliyun/api/ess/ess20140828/response/DetachInstancesResponse.java | 969 | package com.aliyun.api.ess.ess20140828.response;
import com.aliyun.api.AliyunResponse;
import com.taobao.api.internal.mapping.ApiField;
/**
* TOP API: ess.aliyuncs.com.DetachInstances.2014-08-28 response.
*
* @author auto create
* @since 1.0, null
*/
public class DetachInstancesResponse extends AliyunResponse {... | gpl-3.0 |
MartyParty21/AwakenDreamsClient | mcp/src/minecraft/net/minecraft/client/gui/GuiCreateWorld.java | 21756 | package net.minecraft.client.gui;
import java.io.IOException;
import java.util.Random;
import net.minecraft.client.resources.I18n;
import net.minecraft.util.ChatAllowedCharacters;
import net.minecraft.world.GameType;
import net.minecraft.world.WorldSettings;
import net.minecraft.world.WorldType;
import net.minecraft.w... | gpl-3.0 |
xminds/cognitowrapper | src/main/java/com/xminds/aws/cognito/CognitoIdentityProviderClientConfig.java | 1333 | package com.xminds.aws.cognito;
/**
* Maintains SDK configuration.
*/
public final class CognitoIdentityProviderClientConfig {
/**
* Maximum threshold for refresh tokens, in milli seconds.
*/
private static long REFRESH_THRESHOLD_MAX = 1800 * 1000;
/**
* Minimum threshold for refresh toke... | gpl-3.0 |
ZsoltToth/ilona-positioning | web/src/main/java/uni/miskolc/ips/ilona/positioning/web/IlonaPositioningApplicationContext.java | 5114 | package uni.miskolc.ips.ilona.positioning.web;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframe... | gpl-3.0 |
pantelis60/L2Scripts_Underground | authserver/src/main/java/l2s/authserver/network/l2/L2LoginClient.java | 5175 | /*
* 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, or (at your option) any later version. This
* program is distributed in the hope that it will be useful, but WITHOUT ANY
... | gpl-3.0 |
shovonis/bookworm | application/book-worm/src/main/java/net/therap/controller/NotificationController.java | 2867 | package net.therap.controller;
import net.therap.domain.Notification;
import net.therap.domain.User;
import net.therap.service.NotificationService;
import net.therap.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springfr... | gpl-3.0 |
oapa/timely | CalendarSync/src/com/sigmasq/timely/solver/CloudComputer.java | 431 | package com.sigmasq.timely.solver;
public class CloudComputer {
private int cpuPower;
private int memory;
private int networkBandwidth;
private int cost;
public int getCpuPower() {
return cpuPower;
}
public int getMemory() {
return memory;
}
public int getNetwor... | gpl-3.0 |
k0shk0sh/FastHub | app/src/main/java/com/fastaccess/data/dao/types/IssueState.java | 374 | package com.fastaccess.data.dao.types;
import androidx.annotation.StringRes;
import com.fastaccess.R;
public enum IssueState {
open(R.string.opened),
closed(R.string.closed),
all(R.string.all);
int status;
IssueState(@StringRes int status) {
this.status = status;
}
@StringRes p... | gpl-3.0 |
houtekamert/Testmod | src/main/java/com/houtekamert/testmod1/item/ItemTM1.java | 1334 | package com.houtekamert.testmod1.item;
import com.houtekamert.testmod1.creativetab.CreativeTabTM1;
import com.houtekamert.testmod1.reference.Reference;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.Ite... | gpl-3.0 |
qt-haiku/LibreOffice | odk/examples/java/Inspector/UnoTreeRenderer.java | 5903 | /*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or... | gpl-3.0 |
salcedonia/acide-0-8-release-2010-2011 | acide/antlr/TreeBlockContext.java | 1263 | package antlr;
/* ANTLR Translator Generator
* Project led by Terence Parr at http://www.cs.usfca.edu
* Software rights: http://www.antlr.org/license.html
*
* $Id: //depot/code/org.antlr/release/antlr-2.7.7/antlr/TreeBlockContext.java#2 $
*/
/**The context needed to add root,child elements to a Tree. There
* i... | gpl-3.0 |
SamuelGjk/DiyCode | app/src/main/java/moe/yukinoneko/diycode/module/about/AboutActivity.java | 1987 | /*
* Copyright (c) 2017 SamuelGjk <samuel.alva@outlook.com>
*
* This file is part of DiyCode
*
* DiyCode 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 o... | gpl-3.0 |
heig-iict-ida/ardrone_gesture | src/madsdf/ardrone/controller/neuralnet/MeanDifferenceMedianMovement.java | 4036 | package madsdf.ardrone.controller.neuralnet;
import com.google.common.eventbus.EventBus;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.ListIterator;
import madsdf.shimmer.gui.AccelGyro;
/**
* Movement model implementing the abstract MovementModel and implementing the
* processFeat... | gpl-3.0 |
lisiyuan656/dieta | src/Dieta/app/src/main/java/edu/osu/cse5236/group9/dieta/DetailedResultsActivity.java | 4468 | package edu.osu.cse5236.group9.dieta;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import android.view.View;
import android.widget.TextV... | gpl-3.0 |
WebArchivCZ/webanalyzer | src/cz/webarchiv/webanalyzer/dictionary/Word.java | 800 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package cz.webarchiv.webanalyzer.dictionary;
/**
*
* @author praso
*/
class Word implements java.lang.Comparable<Word> {
private String word;
public String getWord() {
return word;
}
publi... | gpl-3.0 |
arksu/origin | server/src/com/a4server/gameserver/network/packets/clientpackets/InventoryClick.java | 5303 | package com.a4server.gameserver.network.packets.clientpackets;
import com.a4server.gameserver.model.GameLock;
import com.a4server.gameserver.model.GameObject;
import com.a4server.gameserver.model.Hand;
import com.a4server.gameserver.model.Player;
import com.a4server.gameserver.model.inventory.AbstractItem;
import com.... | gpl-3.0 |
cuongtlv/Science24-7 | app/src/main/java/com/a7av/news24h/MyApplication.java | 483 | package com.a7av.news24h;
import android.app.Application;
import android.content.Context;
import android.support.multidex.MultiDex;
import uk.co.chrisjenx.calligraphy.CalligraphyConfig;
import uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper;
/**
* MultiDex configuration
*/
public class MyApplication extend... | gpl-3.0 |
openflexo-team/gina | gina-api/src/main/java/org/openflexo/gina/model/widget/FIBTableAction.java | 8774 | /**
*
* Copyright (c) 2013-2014, Openflexo
* Copyright (c) 2011-2012, AgileBirds
*
* This file is part of Gina-core, a component of the software infrastructure
* developed at Openflexo.
*
*
* Openflexo is dual-licensed under the European Union Public License (EUPL, either
* version 1.1 of the License, o... | gpl-3.0 |
thelasteiko/practice | algorithms/src/eiko/collections/CircularQueue.java | 587 | package eiko.collections;
public class CircularQueue<E extends Comparable<? super E>>
extends AbstractCircularArray<E> {
@SuppressWarnings("unchecked")
public CircularQueue() {
elements = (E[]) new Comparable[START_SIZE];
size = 0;
start = 0;
stop = 0;
}
public void enqueue(E element) {
... | gpl-3.0 |
rranelli/engsoft-progressoes | src/test/java/engsoft/EProgressaoTest.java | 6340 | package engsoft;
import junit.framework.TestCase;
import java.lang.System;
public class EProgressaoTest extends TestCase {
public void testProgressaoAritmetica() {
Progressao p = new ProgressaoAritmetica();
assertEquals(0, p.inicia());
assertEquals(1, p.proxTermo());
assertEquals(... | gpl-3.0 |
wiki2014/Learning-Summary | alps/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/LayerTests.java | 7246 | /*
* Copyright (C) 2015 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... | gpl-3.0 |
dbmi-pitt/xmeso | src/main/java/edu/pitt/dbmi/xmeso/model/Model/XmesoSentence_Type.java | 5475 |
/* First created by JCasGen Wed Sep 07 16:18:03 EDT 2016 */
package edu.pitt.dbmi.xmeso.model.Model;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.FSGenerator;
import org.apache.uima.cas.FeatureStructure;
import org... | gpl-3.0 |
potty-dzmeia/db4o | src/db4oj/core/src/com/db4o/io/CachedIoAdapter.java | 13271 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | gpl-3.0 |
maxfoow/MalmoExperience | Malmo-0.16.0-Windows-64bit/Minecraft/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java | 8861 | // --------------------------------------------------------------------------------------------------
// Copyright (c) 2016 Microsoft Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
// associated documentation files (the "Software"), to deal in th... | gpl-3.0 |
Borlea/EchoPet | modules/v1_14_R1/src/com/dsh105/echopet/compat/nms/v1_14_R1/entity/type/EntityEvokerPet.java | 2379 | /*
* This file is part of EchoPet.
*
* EchoPet 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.
*
* EchoPet is distributed in th... | gpl-3.0 |
andrewtikhonov/RCloud | rcloud-bench/src/main/java/workbench/views/basiceditor/highlighting/DocumentBlockLevels.java | 3628 | /*
* R Cloud - R-based Cloud Platform for Computational Research
* at EMBL-EBI (European Bioinformatics Institute)
*
* Copyright (C) 2007-2015 European Bioinformatics Institute
* Copyright (C) 2009-2015 Andrew Tikhonov - andrew.tikhonov@gmail.com
* Copyright (C) 2007-2009 Karim Chine - karim.chine@m4x.org
*
* T... | gpl-3.0 |
gigaSproule/cloud-services | src/main/java/com/benjaminsproule/cloud/domain/Track.java | 618 | package com.benjaminsproule.cloud.domain;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Data
@Setter(AccessLevel.PACKAGE)
@NoArgsConstructor(access = AccessLevel.PACKAGE)
public class Track {
private String id;
private String path;
private Long trac... | gpl-3.0 |
kmycode/jstorybook | src/jstorybook/view/pane/IComparablePane.java | 1126 | /*
* jStorybook: すべての小説家・作者のためのオープンソース・ソフトウェア
* Copyright (C) 2008 - 2012 Martin Mustun
* (このソースの製作者) KMY
*
* このプログラムはフリーソフトです。
* あなたは、自由に修正し、再配布することが出来ます。
* あなたの権利は、the Free Software Foundationによって発表されたGPL ver.2以降によって保護されています。
*
* このプログラムは、小説・ストーリーの制作がよりよくなるようにという願いを込めて再配布されています。
* あなたがこのプログラムを再配布するときは、G... | gpl-3.0 |
fppt/mindmapsdb | grakn-graph/src/main/java/ai/grakn/graph/internal/CastingImpl.java | 3785 | /*
* 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 |
Nilhcem/bblfr-android | app/src/main/java/com/nilhcem/bblfr/core/dagger/BBLModule.java | 1947 | package com.nilhcem.bblfr.core.dagger;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.jakewharton.picasso.OkHttp3Downloader;
import com.nilhcem.bblfr.BBLApplication;
import com.nilhcem.bblfr.BuildConfig;
import com.nilhcem.bblfr.core.map.Loc... | gpl-3.0 |
avdata99/SIAT | siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/gde/buss/bean/SerBanDesGen.java | 4361 | //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.gde.buss.bean;
import java.util.... | gpl-3.0 |
stefan-niedermann/OwnCloud-Notes | app/src/main/java/it/niedermann/owncloud/notes/main/items/selection/ItemIdKeyProvider.java | 1115 | package it.niedermann.owncloud.notes.main.items.selection;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.selection.ItemKeyProvider;
import androidx.recyclerview.widget.RecyclerView;
import static androidx.recyclerview.widget.RecyclerView.NO_POSITION;
public cla... | gpl-3.0 |
cunvoas/springsecurity_iam | iam-core/src/main/java/com/github/cunvoas/iam/persistance/entity/Valeur_.java | 666 | package com.github.cunvoas.iam.persistance.entity;
import com.github.cunvoas.iam.persistance.entity.RessourceValeur;
import javax.annotation.Generated;
import javax.persistence.metamodel.ListAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated... | gpl-3.0 |
izstas/jpexs-decompiler | src/com/jpexs/decompiler/flash/gui/player/MediaDisplayListener.java | 951 | /*
* Copyright (C) 2010-2015 JPEXS
*
* 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 prog... | gpl-3.0 |