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 |
|---|---|---|---|---|---|
package io.github.phora.aeondroid.calculations;
import android.content.Context;
import android.util.Log;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Date;
import io.github.phora.aeondroid.model.SunsetSunriseInfo;
import io.github.phora.aeondroid.model.VoidO... | phora/AeonDroid | app/src/main/java/io/github/phora/aeondroid/calculations/Ephemeris.java | Java | gpl-3.0 | 15,935 |
package whitaker.anthony.invsifter;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.time.LocalDate;
import java.util.Arrays;
import java.util.Collection;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@RunWith(value = Param... | AnthonyWhitakerJr/InventorySifter | src/test/java/whitaker/anthony/invsifter/ProductTest_ConstructorExceptions.java | Java | gpl-3.0 | 1,592 |
/*
SongScribe song notation program
Copyright (C) 2006 Csaba Kavai
This file is part of SongScribe.
SongScribe 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... | songscribe/SongScribe | src/main/java/songscribe/ui/playsubmenu/PlayContinuously.java | Java | gpl-3.0 | 1,644 |
/*
* Copyright 2003-2004 The Apache Software Foundation.
*
* 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 requir... | austindlawless/dotCMS | src/org/apache/velocity/tools/view/XMLToolboxManager.java | Java | gpl-3.0 | 7,698 |
package gameServer.CoreAppService;
import java.util.ArrayList;
import gameServer.ModelloImplementativo.Classe;
import gameServer.ModelloImplementativo.Livello;
import gameServer.ModelloImplementativo.Player;
import gameServer.databaseService.DatabaseService;
public class CoreAppService {
private ArrayList<Play... | GianlucaLutero/ProgettoRetiAndroid | Implementazione/Server/GameServer/src/gameServer/CoreAppService/CoreAppService.java | Java | gpl-3.0 | 4,436 |
/*
* Copyright (C) 2020 <mark@makr.zone>
* inspired and based on work
* Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org>
*
* This file is part of OpenPnP.
*
* OpenPnP 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 ... | openpnp/openpnp | src/main/java/org/openpnp/spi/TransformedAxis.java | Java | gpl-3.0 | 1,191 |
package org.qii.weiciyuan.ui.maintimeline;
import org.qii.weiciyuan.R;
import org.qii.weiciyuan.bean.AccountBean;
import org.qii.weiciyuan.bean.GroupBean;
import org.qii.weiciyuan.bean.MessageBean;
import org.qii.weiciyuan.bean.MessageListBean;
import org.qii.weiciyuan.bean.MessageReCmtCountBean;
import org.qii.weiciy... | SadieYuCN/weibo | src/org/qii/weiciyuan/ui/maintimeline/FriendsTimeLineFragment.java | Java | gpl-3.0 | 34,366 |
/*
* $HeadURL: file:///nfs/sf-svn/o/op/openjmsadapter/code/openjmsadapter/src/com/openjmsadapter/transport/ReceiverEndpoint.java $
* $Revision: 21 $
* $Date: 2010-01-02 13:35:09 +0000 (Sat, 02 Jan 2010) $
*/
/*
* This file is part of OpenJMSAdapter (openjmsadapter.sourceforge.net) Copyright (C) 2009 Narahari... | supercoderz/openjmsadapter | src/com/openjmsadapter/transport/ReceiverEndpoint.java | Java | gpl-3.0 | 5,244 |
package test.cap.client;
import test.cap.framework.*;
public class A1 implements A {
// cross call initialization
java.util.List<B> b;
public A1(F f) {
f.set(this);
}
@Override
public void x() {
this.b = new java.util.ArrayList<B>();
this.b.add(new B1());
this.b.add(new B1());
}
@Override
public B... | kyessenov/semeru | src/main/java/test/cap/client/A1.java | Java | gpl-3.0 | 502 |
/**
*
*/
package cz.geokuk.util.file;
import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* Nese informace z několika složek,
* ať resourcových nebo normálních. Informace se pře... | Danstahr/Geokuk | src/main/java/cz/geokuk/util/file/MultiFolder.java | Java | gpl-3.0 | 4,572 |
package net.leomixer17.askaddon.utils;
import ch.njol.skript.classes.ClassInfo;
import ch.njol.skript.classes.EnumSerializer;
import ch.njol.skript.classes.Parser;
import ch.njol.skript.expressions.base.EventValueExpression;
import ch.njol.skript.lang.ParseContext;
import ch.njol.skript.registrations.Classes;
import ... | Leomixer17/uSkAddon | src/main/java/net/leomixer17/askaddon/utils/EnumClassInfo.java | Java | gpl-3.0 | 4,165 |
package com.yyqian.imagine.dto;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Size;
/**
* Created by yyqian on 1/9/16.
*/
public class PasswordRestForm {
@NotEmpty
@Size(min = 6, max = 20)
private String password = "";
public PasswordRestForm() {
}
public S... | yyqian/imagine | src/main/java/com/yyqian/imagine/dto/PasswordRestForm.java | Java | gpl-3.0 | 450 |
/*
* Copyright (C) 2016 Cláudio Pereira
*
* 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 di... | claudioap/VendingMachine | src/com/claudiop/vendingmachine/CardReader.java | Java | gpl-3.0 | 2,340 |
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
... | Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java | Java | gpl-3.0 | 62,869 |
package com.quexten.ulricianumplanner.ui;
import android.annotation.TargetApi;
import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.widget.RemoteViews;
imp... | Quexten/UlricianumPlanner | app/src/main/java/com/quexten/ulricianumplanner/ui/TimetableWidgetProvider.java | Java | gpl-3.0 | 6,360 |
package org.icemoon.game.console.commands;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.cli.CommandLine;
import org.icelib.Icelib;
import org.icelib.Point3D;
import org.icemoon.network.NetworkAppState;
import org.icenet.NetworkException;
import org.icescene.console.Abstra... | rockfireredmoon/iceclient | iceclient-app/src/org/icemoon/game/console/commands/Warp.java | Java | gpl-3.0 | 1,655 |
package ca.cumulonimbus.barometernetwork;
import java.util.Locale;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import ... | Cbsoftware/PressureNet | src/ca/cumulonimbus/barometernetwork/NewWelcomeActivity.java | Java | gpl-3.0 | 3,376 |
/*
* 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 com.home.budgetapp.db;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Basic;
imp... | fuucktheclowns/budgetapp | budgetapp/src/main/java/com/home/budgetapp/db/AccountDb.java | Java | gpl-3.0 | 3,712 |
package algorithms.centralityAlgorithms.rbc;
import algorithms.centralityAlgorithms.rbc.sets.DynamicRBCSet;
import javolution.util.FastList;
import javolution.util.Index;
import server.execution.AbstractExecution;
public class GreedyContributionRBC {
public static Index[] findVertices(
DynamicRBCSet s... | puzis/kpp | src/algorithms/centralityAlgorithms/rbc/GreedyContributionRBC.java | Java | gpl-3.0 | 2,638 |
/** Compound Interest Cruncher
Copyright (C) 2013-2015 Erick Bauman
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... | baumane/compound-interest-cruncher | src/com/balancingcube/compoundinterestcruncher/CompoundCruncher.java | Java | gpl-3.0 | 12,321 |
/* 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 info.zamojski.soft.towercollector.utils;
import android.content.Context;
import android.os.Build;
import ... | zamojski/TowerCollector | app/src/main/java/info/zamojski/soft/towercollector/utils/BatteryUtils.java | Java | mpl-2.0 | 1,187 |
package org.openmrs.reference;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.openmrs.reference.helper.TestPatient;
import org.openmrs.reference.page.HeaderPage;
import org.openmrs.reference.page.HomePage;
import org.openmrs.reference.page.ClinicianFacingPat... | openmrs-gci/openmrs-distro-referenceapplication | ui-tests/src/test/java/org/openmrs/reference/RegistrationFormQuestionTest.java | Java | mpl-2.0 | 2,170 |
package com.orange.ocara.business.service.impl;
import com.orange.ocara.business.service.QuestionService;
import com.orange.ocara.business.service.RuleSetService;
import com.orange.ocara.data.net.model.EquipmentWithReference;
import com.orange.ocara.data.net.model.QuestionEntity;
import com.orange.ocara.data.net.model... | Orange-OpenSource/ocara | app/src/test/java/com/orange/ocara/business/service/impl/QuestionServiceImplRetrieveAllQuestionsByRulesetAndEquipmentTest.java | Java | mpl-2.0 | 2,117 |
/*
* Copyright 2020 Fitbit, Inc. All rights reserved.
*
* 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 https://mozilla.org/MPL/2.0/.
*/
package com.fitbit.bluetooth.fbgatt;
import andro... | Fitbit/bitgatt | src/test/java/com/fitbit/bluetooth/fbgatt/HandleIntentBasedScanResultTest.java | Java | mpl-2.0 | 19,141 |
package vct.main;
import java.io.File;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import vct.antlr4.parser.Parsers;
import vct.col.ast.ProgramUnit;
import vct.col.rewrite.RewriteSystem;
import vct.util.Configuration;
public class RewriteSystems {
static final File default_file;
stat... | sccblom/vercors | vercors/src/main/java/vct/main/RewriteSystems.java | Java | mpl-2.0 | 1,028 |
/**
* Copyright (c) 2020, RTE (http://www.rte-france.com)
* 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 com.powsybl.commons.extensions;
/**
* Abstra... | powsybl/powsybl-core | commons/src/main/java/com/powsybl/commons/extensions/AbstractPrecontingencyValueExtension.java | Java | mpl-2.0 | 987 |
/*
* Copyright (c) 2017, Joyent, Inc. All rights reserved.
*
* 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 com.joyent.http.signature;
import java.io.... | phillipross/java-http-signature | common/src/test/java/com/joyent/http/signature/SignerTestUtil.java | Java | mpl-2.0 | 3,788 |
/*
* Copyright (c) The Trustees of Indiana University, Moi University
* and Vanderbilt University Medical Center. All Rights Reserved.
*
* This version of the code is licensed under the MPL 2.0 Open Source license
* with additional health care disclaimer.
* If the user is an entity intending to commercialize any ... | sthaiya/muzima-android | app/src/main/java/com/muzima/view/patients/PatientDownloadIntent.java | Java | mpl-2.0 | 957 |
package ca.rbon.elemental.metrics2;
import ca.rbon.elemental.annotations.Element;
import ca.rbon.elemental.annotations.SummonElemental;
import ca.rbon.elemental.clock.Clock;
@SummonElemental
public class MetricElements {
@Element(property = "metrics.clock")
Clock clock;
}
| fralalonde/elemental | samples/src/test/java/ca/rbon/elemental/metrics2/MetricElements.java | Java | mpl-2.0 | 293 |
/* 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.normalmode;
import etomica.atom.IAtomList;
import etomica.box.Box;
import etomica.data.*;
import ... | etomica/etomica | etomica-apps/src/main/java/etomica/normalmode/MeterPlaneSlip.java | Java | mpl-2.0 | 5,159 |
/**
* Copyright (c) 2017, RTE (http://www.rte-france.com)
* 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_project.afs.ext.base;
import eu.ites... | itesla/ipst-core | afs/afs-ext-base/src/main/java/eu/itesla_project/afs/ext/base/ImportedCaseBuilder.java | Java | mpl-2.0 | 3,055 |
package org.openlca.app.util;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.nebula.widgets.opal.notifier.Notifier;
import org.eclipse.nebula.widgets.opal.notifier.NotifierColorsFactory.NotifierTheme;
import org.ecli... | GreenDelta/olca-app | olca-app/src/org/openlca/app/util/Popup.java | Java | mpl-2.0 | 1,709 |
/* 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.normalmode;
import etomica.lattice.crystal.Basis;
import etomica.lattice.crystal.BasisHcp;
impor... | ajschult/etomica | etomica-apps/src/main/java/etomica/normalmode/HarmonicCrystalSoftSphereHCP.java | Java | mpl-2.0 | 3,628 |
/*
* 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.server.migration;
import ja... | encapturemd/MirthConnect | server/src/com/mirth/connect/server/migration/ConfigurationMigrator.java | Java | mpl-2.0 | 1,007 |
package eionet.webq.web.controller.util;
import org.apache.log4j.Logger;
import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.s... | eea/eionet.webq | src/main/java/eionet/webq/web/controller/util/ExceptionHandlerAdvice.java | Java | mpl-2.0 | 2,174 |
/**
* Copyright (c) 2016, Emiliano Gioria - Andres Leonel Rico
* 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 proy.logica.gestores.resultados;
... | emigioria/Habilitacion | src/main/java/proy/logica/gestores/resultados/ResultadoEliminarMaquina.java | Java | mpl-2.0 | 632 |
public class Solution {
public double findMaxAverage(int[] nums, int k) {
int sum = 0;
for (int i=0; i<k; i++) {
sum += nums[i];
}
int maxSum = sum;
for (int i=k; i<nums.length; i++) {
sum += nums[i] - nums[i-k];
maxSum = Math.max(maxSum, s... | DevinZ1993/LeetCode-Solutions | java/643.java | Java | mpl-2.0 | 371 |
import java.util.StringTokenizer;
public class Solution {
public List<List<String>> findDuplicate(String[] paths) {
Map<String, List<String>> map = new HashMap<>();
for (String pathInfo : paths) {
StringTokenizer toks = new StringTokenizer(pathInfo);
String path = toks.nextT... | DevinZ1993/LeetCode-Solutions | java/609.java | Java | mpl-2.0 | 1,026 |
package net.tropicraft.core.common.dimension.layer;
import net.minecraft.world.level.newbiome.context.Context;
import net.minecraft.world.level.newbiome.area.Area;
import net.minecraft.world.level.newbiome.layer.traits.AreaTransformer2;
import net.minecraft.world.level.newbiome.layer.traits.DimensionOffset0Transformer... | Tropicraft/Tropicraft | src/main/java/net/tropicraft/core/common/dimension/layer/TropicraftRiverMixLayer.java | Java | mpl-2.0 | 987 |
package com.github.aro_tech.interface_it.api;
import java.io.File;
import java.io.IOException;
import java.util.List;
import com.github.aro_tech.interface_it.meta.arguments.ArgumentNameSource;
/**
* Interface which creates and saves to disk a wrapper interface
*
* @author aro_tech
*
*/
public interface MixinCo... | aro-tech/interface-it | src/main/java/com/github/aro_tech/interface_it/api/MixinCodeGenerator.java | Java | mpl-2.0 | 1,826 |
/**
* Copyright (c) 2013-2015, 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.in... | tbouvet/seed | core/src/main/java/org/seedstack/seed/core/internal/application/ApplicationDiagnosticCollector.java | Java | mpl-2.0 | 2,523 |
package org.kjtw.structures;
public class JackImageColl {
public JackImageColl(int x, int realy, int width, int height) {
this.x=x;
this.y=realy;
this.w=width;
this.h = height;
}
private int x;
private int y;
private int w;
private int h;
}
| james-wallace-ghub/ydkjx | src/org/kjtw/structures/JackImageColl.java | Java | mpl-2.0 | 258 |
package org.jembi.rhea.xds;
public class DocumentMetaData {
private String homeCommunityId;
private String documentUniqueId;
public DocumentMetaData(String uniqueDocId, String homeCommunityId) {
this.documentUniqueId = uniqueDocId;
this.homeCommunityId = homeCommunityId;
}
public String getHomeCommunityId... | jembi/openhim-encounter-orchestrator | src/main/java/org/jembi/rhea/xds/DocumentMetaData.java | Java | mpl-2.0 | 637 |
package step2;
/**
* Created by TheNumberOne on 9/2/15.
*/
public abstract class MalFunction extends MalObject{
public abstract MalObject apply(MalObject... args);
@Override
public String repr(){
return "func";
}
}
| TheNumberOne/mal | java/src/main/java/step2/MalFunction.java | Java | mpl-2.0 | 245 |
package org.mobicents.restcomm.android.sipua.impl.sipmessages;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import org.mobicents.restcomm.android.sipua.RCLogger;
import org.mobicents.restcomm.android.sipua... | RestComm/Restcomm-Mayday | android/mayday/restcomm.android.client.sdk/src/main/java/org/mobicents/restcomm/android/sipua/impl/sipmessages/Invite.java | Java | agpl-3.0 | 9,632 |
package com.puresoltechnologies.purifinity.server.common.utils.crypt;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import javax.crypto.SecretKey;
import org.junit.Test;
public class AESUtilitiesTest {
@Test
public void testGenerateSecreatKeyWithoutPassword128bit() {
... | PureSolTechnologies/Purifinity | analysis/server/common/utils/src/test/java/com/puresoltechnologies/purifinity/server/common/utils/crypt/AESUtilitiesTest.java | Java | agpl-3.0 | 1,514 |
/*
* Copyright (c) Alex de Kruijff <alex.de.kruijff@MazarineBlue.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 la... | MazarineBlue/MazarineBlue | MazarineBlue-Libraries-Test/src/main/java/org/mazarineblue/libraries/test/model/tests/DefaultTest.java | Java | agpl-3.0 | 3,280 |
/**
* 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/favorit/src/main/java/com/stratelia/webactiv/util/favorit/control/FavoritBmEJB.java | Java | agpl-3.0 | 6,042 |
/*
* Copyright (C) 2017-2019 Prosystem Ingegneri Affiliati
*
* 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... | ProsystemIngegneriAffiliati/censistant | src/main/java/com/prosystemingegneri/censistant/presentation/warehouse/StockListPresenter.java | Java | agpl-3.0 | 9,628 |
package scrum.client.admin;
public class EnableUserAction extends GEnableUserAction {
public EnableUserAction(scrum.client.admin.User user) {
super(user);
}
@Override
public String getLabel() {
return "Enable";
}
@Override
public boolean isExecutable() {
if (!user.isDisabled()) return false;
return t... | hogi/kunagi | src/main/java/scrum/client/admin/EnableUserAction.java | Java | agpl-3.0 | 512 |
/*
* Copyright 2014 Chad Hardin
* This file is part of Roil.
*
* Roil 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.
*
... | cehardin/Roil | src/main/java/cehardin/roil/util/Range.java | Java | agpl-3.0 | 2,802 |
package chat21.android.demo;
import android.os.Bundle;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCo... | chat21/chat21-android-demo | app/src/main/java/chat21/android/demo/TabActivity.java | Java | agpl-3.0 | 6,277 |
package com.liferay.lms;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.portlet.Ac... | TelefonicaED/liferaylms-portlet | docroot/WEB-INF/src/com/liferay/lms/moduleUpload.java | Java | agpl-3.0 | 18,518 |
package jcog.bloom;
import jcog.bloom.hash.HashProvider;
import java.util.Random;
/**
* Stable Bloom Filters continuously "reset" random fields in the filter.
* Deng and Rafiei have shown that by doing this, the FPR can be stabilised [1]. The disadvantage of this approach is that it introduces false negatives.
* ... | automenta/narchy | util/src/main/java/jcog/bloom/StableBloomFilter.java | Java | agpl-3.0 | 2,446 |
package org.bimserver.shared.reflector;
/******************************************************************************
* 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
* published by... | opensourceBIM/BIMserver | PluginBase/src/org/bimserver/shared/reflector/Reflector.java | Java | agpl-3.0 | 1,240 |
/**
* WL Race Plugin
* Copyright (C) 2013 MK124
*
* 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.
... | GTAUN/wl-race | src/main/java/net/gtaun/wl/race/util/RaceUtils.java | Java | agpl-3.0 | 987 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2017 VoltDB Inc.
*
* 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 the Software without restriction, including
* without limitation the rights to... | deerwalk/voltdb | tests/frontend/org/voltdb/regressionsuites/TestShutdownSaveNoCommandLog.java | Java | agpl-3.0 | 8,683 |
/*
* Copyright 2015 Westfälische Hochschule
*
* This file is part of Poodle.
*
* Poodle 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... | whs-poodle/poodle | src/main/java/de/whs/poodle/controllers/student/McResultsController.java | Java | agpl-3.0 | 3,031 |
/* 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 ... | xionghuiCoder/db4o | src/main/java/com/db4o/monitoring/ReferenceSystemMBean.java | Java | agpl-3.0 | 820 |
/*
* Copyright (c) 2008-2010 "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 Softwar... | neo4j-contrib/neo4j-graph-matching | src/main/java/org/neo4j/graphmatching/PatternMatch.java | Java | agpl-3.0 | 4,096 |
/**
* Copyright (C) 2001-2019 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 Free... | aborg0/rapidminer-studio | src/main/java/com/rapidminer/studio/internal/Resources.java | Java | agpl-3.0 | 4,267 |
/*
* 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-api/src/main/java/org/silverpeas/core/notification/sse/ServerEventNotifier.java | Java | agpl-3.0 | 1,658 |
package com.cosmicdan.reignadditionals.items;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
public class ... | HostileNetworks/ReignAdditionals | src/com/cosmicdan/reignadditionals/items/ItemCampfire.java | Java | agpl-3.0 | 829 |
/**
* Copyright (C) 2008 Progress Software, Inc. All rights reserved.
* http://fusesource.com
*
* The software in this package is published under the terms of the AGPL license
* a copy of which has been included with this distribution in the license.txt file.
*/
package org.fusesource.cloudmix.agent.common;
... | chirino/cloudmix | org.fusesource.cloudmix.agent.dir.webapp/src/test/java/org/fusesource/cloudmix/agent/common/EndpointRefBuilder.java | Java | agpl-3.0 | 1,594 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tdefilip/opennms | opennms-dao/src/main/java/org/opennms/netmgt/dao/support/DefaultResourceDao.java | Java | agpl-3.0 | 32,085 |
package com.joliciel.talismane.lexicon;
import gnu.trove.map.hash.THashMap;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;
import java.util.TreeSet;
import org.s... | safety-data/talismane | talismane_core/src/main/java/com/joliciel/talismane/lexicon/LexiconFile.java | Java | agpl-3.0 | 14,190 |
/*
XOWA: the XOWA Offline Wiki Application
Copyright (C) 2012 gnosygnu@gmail.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 Free Software Foundation, either version 3 of the
License, or (at your option) any later ... | crosslink/xowa | dev/100_core/src_311_gfoObj/gplx/GfoEvObj.java | Java | agpl-3.0 | 798 |
/**
* 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 ... | boob-sbcm/3838438 | src/main/java/com/rapidminer/io/process/XMLErrorHandler.java | Java | agpl-3.0 | 2,746 |
/**
* 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/webactiv/util/viewGenerator/html/operationPanes/OperationSeparatorTag.java | Java | agpl-3.0 | 1,748 |
/*
* This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later.
*
* T... | kelvinmbwilo/vims | modules/equipment/src/main/java/org/openlmis/equipment/repository/ColdChainEquipmentRepository.java | Java | agpl-3.0 | 1,987 |
/*
* Copyright 2012 McEvoy Software Ltd.
*
* 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 p... | FullMetal210/milton2 | milton-client-app/src/main/java/bradswebdavclient/util/ScriptException.java | Java | agpl-3.0 | 1,410 |
package se.lantmateriet.namespace.distribution.products.address.v2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for AdressCriteriaType complex type.
*
... | christer155/OpenEMap-Search-services | search-lm-api/src/main/java/se/lantmateriet/namespace/distribution/products/address/v2/AdressCriteriaType.java | Java | agpl-3.0 | 4,148 |
package com.gmail.nossr50.events.items;
import org.bukkit.Location;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.ItemStack;
/**
* Called when mcMMO is preparing to drop an item.
*/
public class McMMOItemSpawnEvent ext... | javalangSystemwin/mcMMOPlus | src/main/java/com/gmail/nossr50/events/items/McMMOItemSpawnEvent.java | Java | agpl-3.0 | 1,824 |
package com.google.contacts.api.impl;
/**
* Created by IntelliJ IDEA.
* User: <a href="http://www.ilikeplaces.com"> http://www.ilikeplaces.com </a>
* Date: 12/18/10
* Time: 9:16 PM
*
* @author Ravindranath Akila
*/
public interface ClientFactory {
public Client getInstance(final String jsonEndpoint);
}
| Adimpression/www.ilikeplaces.com | src/main/java/com/google/contacts/api/impl/ClientFactory.java | Java | agpl-3.0 | 316 |
/*.
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by ... | ColostateResearchServices/kc | coeus-impl/src/main/java/org/kuali/kra/excon/web/struts/action/ExconProjectDestinationsAction.java | Java | agpl-3.0 | 2,749 |
package org.cmdbuild.dao.view.user.privileges;
import java.util.Map;
import org.cmdbuild.dao.entrytype.CMEntryType;
import org.cmdbuild.dao.query.clause.where.WhereClause;
public interface RowAndColumnPrivilegeFetcher {
/**
* Returns all {@link WhereClause}s related to the specified
* {@link CMEntryType}.
* ... | jzinedine/CMDBuild | dao/core/src/main/java/org/cmdbuild/dao/view/user/privileges/RowAndColumnPrivilegeFetcher.java | Java | agpl-3.0 | 1,289 |
/*
* Axelor Business Solutions
*
* Copyright (C) 2019 Axelor (<http://axelor.com>).
*
* 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.
*
* This program is distributed... | ama-axelor/axelor-business-suite | axelor-supplychain/src/main/java/com/axelor/apps/supplychain/web/InvoiceLineController.java | Java | agpl-3.0 | 7,319 |
/*
* 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-rgaa3.0/src/main/java/org/asqatasun/rules/rgaa30/Rgaa30Rule111003.java | Java | agpl-3.0 | 1,491 |
/*
* 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/main/java/org/tanaguru/rules/rgaa32016/Rgaa32016Rule131001.java | Java | agpl-3.0 | 1,491 |
package com.sjsu.umlgenerator.parser.model;
import java.util.HashSet;
import java.util.Set;
import com.sjsu.umlgenerator.util.Constants;
public class AccessSpecifierDisplayRules {
private static Set<String> methodRules = null;
private static Set<String> attributeRules = null;
static {
methodRules = n... | rashmishrm/cmpe202-UMLParser | UMLGenerator/src/main/java/com/sjsu/umlgenerator/parser/model/AccessSpecifierDisplayRules.java | Java | agpl-3.0 | 666 |
/**
* 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 ... | boob-sbcm/3838438 | src/main/java/com/rapidminer/gui/renderer/performance/BinaryClassificationPerformanceRenderer.java | Java | agpl-3.0 | 2,362 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2017 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... | migue/voltdb | src/frontend/org/voltdb/ReplicaInvocationAcceptancePolicy.java | Java | agpl-3.0 | 3,068 |
/*
* 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_machine/src/main/java/com/splicemachine/pipeline/foreignkey/actions/OnDeleteAbstractAction.java | Java | agpl-3.0 | 11,497 |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2012 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | lpellegr/programming | programming-test/src/test/java/functionalTests/group/dynamicthreadpool/TestDynamicThreadPool.java | Java | agpl-3.0 | 2,998 |
package dynagent.ejb.old;
/*package dynagent.ejb;
public class par_atRef_domRef extends Object{
public atReference atr;
int refDom;
public par_atRef_domRef( atReference atr, int refDom){
this.atr= atr;
this.refDom=refDom;
}
public Object clone(){
atReference cAtr= atr==null ? null:(atRefere... | semantic-web-software/dynagent | Server/src/dynagent/server/ejb/old/par_atRef_domRef.java | Java | agpl-3.0 | 444 |
/*******************************************************************************
* 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 | TermitariaOM/JavaSource/ro/cs/om/ws/client/dme/entity/DMEEndpointExceptionBean.java | Java | agpl-3.0 | 3,602 |
/*
* The CroudTrip! application aims at revolutionizing the car-ride-sharing market with its easy,
* user-friendly and highly automated way of organizing shared Trips. Copyright (C) 2015 Nazeeh Ammari,
* Philipp Eichhorn, Ricarda Hohn, Vanessa Lange, Alexander Popp, Frederik Simon, Michael Weber
* This program is... | AMOS-2015/amos-ss15-proj2 | models/src/main/java/org/croudtrip/api/gcm/GcmConstants.java | Java | agpl-3.0 | 5,808 |
// vim: sw=4 et tw=72 com=srO\:/**,mb\:*,ex\:*/,srO\:/*,mb\:*,ex\:*/,b\:TRANS,\://,b\:#,\:%,\:XCOMM,n\:>,fb\:-
/*
@(#) $RCSfile: AuditCapRespDescriptor.java,v $ $Name: $($Revision: 1.1.2.2 $) $Date: 2011-02-07 07:27:17 $ <p>
Copyright © 2008-2009 Monavacon Limited <a href="http://www.monavacon.com/"><http... | 0x7678/openss7 | src/java/javax/megaco/message/descriptor/AuditCapRespDescriptor.java | Java | agpl-3.0 | 14,791 |
package org.cmdbuild.logic.privileges;
import static org.cmdbuild.auth.privileges.constants.GrantConstants.ATTRIBUTES_PRIVILEGES_ATTRIBUTE;
import static org.cmdbuild.auth.privileges.constants.GrantConstants.GRANT_CLASS_NAME;
import static org.cmdbuild.auth.privileges.constants.GrantConstants.GROUP_ID_ATTRIBUTE;
impor... | jzinedine/CMDBuild | core/src/main/java/org/cmdbuild/logic/privileges/SecurityLogic.java | Java | agpl-3.0 | 20,429 |
/*
* StuReSy - Student Response System
* Copyright (C) 2012-2014 StuReSy-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 the Free Software Foundation, either version 3 of the
* License, or (at your opt... | brunsen/sturesy-android-client | src/sturesy/services/deserialization/VoteImportservice.java | Java | agpl-3.0 | 4,465 |
package com.neverwinterdp.buffer;
public class Queue {
}
| DemandCube/NeverwinterDP-Commons | buffer/src/main/java/com/neverwinterdp/buffer/Queue.java | Java | agpl-3.0 | 61 |
/*
XOWA: the XOWA Offline Wiki Application
Copyright (C) 2012 gnosygnu@gmail.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 Free Software Foundation, either version 3 of the
License, or (at your option) any later ... | crosslink/xowa | dev/100_core/src_300_classXtn/gplx/ClassXtn.java | Java | agpl-3.0 | 1,048 |
/**
* 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 ... | boob-sbcm/3838438 | src/main/java/com/rapidminer/LoggingListener.java | Java | agpl-3.0 | 1,217 |
/*
* ToroDB
* Copyright © 2014 8Kdata Technology (www.8kdata.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 Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | teoincontatto/engine | core/src/main/java/com/torodb/core/transaction/metainf/impl/metainfo/mvcc/merge/result/PrettyErrorMessageFactory.java | Java | agpl-3.0 | 1,708 |
/*
* Copyright (c) 2016 BreizhCamp
* [http://breizhcamp.org]
*
* This file is part of CFP.io.
*
* CFP.io 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 (a... | cfpio/callForPapers | src/main/java/io/cfp/model/Proposal.java | Java | agpl-3.0 | 2,812 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2016 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | geomajas/geomajas-project-server | api/src/main/java/org/geomajas/global/CrsInfo.java | Java | agpl-3.0 | 1,491 |
/**
* Copyright (c) 2013, 2014 Frank Kaddereit, Anne Lachnitt, http://www.fossa.de/
*
* 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 ... | fossaag/rolp | src/org/fossa/rolp/ui/klasse/klasseanlegen/KlassenList.java | Java | agpl-3.0 | 2,395 |
package ru.dev_server.client.dao;
import net.sf.autodao.AutoDAO;
import net.sf.autodao.Dao;
import net.sf.autodao.Finder;
import net.sf.autodao.Named;
import ru.dev_server.client.model.Category;
import ru.dev_server.client.model.Company;
import java.util.List;
/**.*/
@AutoDAO
public interface CategoryDAO extends Dao... | dmrzh/simplex-crm-b2b | src/main/java/ru/dev_server/client/dao/CategoryDAO.java | Java | agpl-3.0 | 636 |
package org.tapestry.objects;
public class Site {
private int siteId;
private String name;
public Site(){
}
public int getSiteId() {
return siteId;
}
public void setSiteId(int siteId) {
this.siteId = siteId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.... | raiedsiddiqui/TAP-HCDM | src/main/java/org/tapestry/objects/Site.java | Java | agpl-3.0 | 342 |
package ch.ech.ech0021;
import javax.annotation.Generated;
@Generated(value="org.minimalj.metamodel.generator.ClassGenerator")
public enum DataLock {
_0, _1, _2;
} | BrunoEberhard/open-ech | src/main/model/ch/ech/ech0021/DataLock.java | Java | agpl-3.0 | 166 |