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
/* * Unitex * * Copyright (C) 2001-2014 Université Paris-Est Marne-la-Vallée <unitex@univ-mlv.fr> * * 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 Lic...
mdamis/unilabIDE
Unitex-Java/src/fr/umlv/unitex/cassys/ConfigurationFileAnalyser.java
Java
lgpl-3.0
3,912
/* * #-------------------------------------------------------------------------- * # Copyright (c) 2013 VITRO FP7 Consortium. * # All rights reserved. This program and the accompanying materials * # are made available under the terms of the GNU Lesser Public License v3.0 which accompanies this distribution, and is ...
vitrofp7/vitro
source/trunk/Demo/vitroUI/vspEngine/src/main/java/vitro/vspEngine/service/common/abstractservice/dao/GatewayDAO.java
Java
lgpl-3.0
2,739
package org.teaminfty.math_dragon.view.math.source.operation; import static org.teaminfty.math_dragon.view.math.Expression.lineWidth; import org.teaminfty.math_dragon.view.math.Empty; import org.teaminfty.math_dragon.view.math.source.Expression; import android.graphics.Canvas; import android.graphics.Paint; import a...
Divendo/math-dragon
mathdragon/src/main/java/org/teaminfty/math_dragon/view/math/source/operation/Root.java
Java
lgpl-3.0
2,494
package br.gov.serpro.infoconv.proxy.businesscontroller; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import br.gov.frameworkdemoiselle.stereotype.BusinessController; import br.gov.serpro.infoconv.proxy.exception.AcessoNegadoException; import br.gov.s...
infoconv/infoconv-proxy
src/main/java/br/gov/serpro/infoconv/proxy/businesscontroller/ConsultaCNPJBC.java
Java
lgpl-3.0
8,058
/** * This file is part of the CRISTAL-iSE kernel. * Copyright (c) 2001-2015 The CRISTAL Consortium. 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 ve...
cristal-ise/kernel
src/main/java/org/cristalise/kernel/lifecycle/instance/stateMachine/TransitionQuery.java
Java
lgpl-3.0
1,327
/* ========================================== * JGraphT : a free Java graph-theory library * ========================================== * * Project Info: http://jgrapht.sourceforge.net/ * Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh) * * (C) Copyright 2003-2008, by Barak Naveh ...
tweninger/nina
src/edu/nd/nina/event/GraphEdgeChangeEvent.java
Java
lgpl-3.0
3,785
package edu.mit.blocks.codeblockutil; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.Toolkit; import ja...
laurentschall/openblocks
src/main/java/edu/mit/blocks/codeblockutil/LabelWidget.java
Java
lgpl-3.0
24,554
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
teryk/sonarqube
sonar-plugin-api/src/test/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristicTest.java
Java
lgpl-3.0
6,276
/* * Copyright (c) 2005–2012 Goethe Center for Scientific Computing - Simulation and Modelling (G-CSC Frankfurt) * Copyright (c) 2012-2015 Goethe Center for Scientific Computing - Computational Neuroscience (G-CSC Frankfurt) * * This file is part of NeuGen. * * NeuGen is free software: you can redistribute it a...
NeuroBox3D/NeuGen
NeuGen/src/org/neugen/gui/NGAboutBox.java
Java
lgpl-3.0
9,348
/* * HA-JDBC: High-Availability JDBC * Copyright (C) 2013 Paul Ferraro * * 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...
ha-jdbc/ha-jdbc
core/src/main/java/net/sf/hajdbc/sql/io/OutputStreamProxyFactory.java
Java
lgpl-3.0
1,449
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic 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...
sergiofbsilva/fenixedu-academic
src/main/java/org/fenixedu/academic/domain/accounting/AccountingTransaction.java
Java
lgpl-3.0
15,077
package net.amygdalum.testrecorder.profile; import static org.assertj.core.api.Assertions.assertThat; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URL; import java.nio.file.Path; import java.util.Enumeration; import java.util.stream.Stream; i...
almondtools/testrecorder
testrecorder-agent/src/test/java/net/amygdalum/testrecorder/profile/ClassPathConfigurationLoaderTest.java
Java
lgpl-3.0
3,862
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2014, Arnaud Roques * * Project Info: http://plantuml.sourceforge.net * * This file is part of...
mar9000/plantuml
src/net/sourceforge/plantuml/graphic/TextBlockGeneric.java
Java
lgpl-3.0
2,272
/* * SonarQube * Copyright (C) 2009-2022 SonarSource SA * mailto:info AT sonarsource DOT com * * 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, o...
SonarSource/sonarqube
server/sonar-webserver-webapi/src/test/java/org/sonar/server/authentication/ws/AuthenticationWsModuleTest.java
Java
lgpl-3.0
1,286
/******************************************************************************* * Este arquivo é parte do Biblivre5. * * Biblivre5 é um software livre; você pode redistribuí-lo e/ou * modificá-lo dentro dos termos da Licença Pública Geral GNU como * publicada pela Fundação do Software Livre (FSF); na versão 3 ...
Biblivre/Biblivre-5
src/java/biblivre/core/JavascriptCacheableList.java
Java
lgpl-3.0
2,296
package yaycrawler.admin; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.context.web.SpringBootServletInitializer; public class ServletInitializer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilde...
liushuishang/YayCrawler
yaycrawler.admin/src/main/java/yaycrawler/admin/ServletInitializer.java
Java
lgpl-3.0
392
package br.com.vepo.datatransform.model; import org.springframework.beans.factory.annotation.Autowired; public abstract class Repository<T> { @Autowired protected MongoConnection mongoConnection; public <V> T find(Class<T> clazz, V key) { return mongoConnection.getMorphiaDataStore().get(clazz, key); } public...
vepo/data-refine
src/main/java/br/com/vepo/datatransform/model/Repository.java
Java
lgpl-3.0
399
package org.com.json; /* Copyright (c) 2002 JSON.org 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 use, copy, modify, merge, publ...
jongos/Question_Box_Desktop
Json/src/org/com/json/XML.java
Java
lgpl-3.0
14,112
package com.silicolife.textmining.processes.ie.ner.nerlexicalresources; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.concurrent.ExecutorService; import java.util...
biotextmining/processes
src/main/java/com/silicolife/textmining/processes/ie/ner/nerlexicalresources/NERLexicalResources.java
Java
lgpl-3.0
9,063
package repack.org.bouncycastle.crypto.agreement; import repack.org.bouncycastle.crypto.BasicAgreement; import repack.org.bouncycastle.crypto.CipherParameters; import repack.org.bouncycastle.crypto.params.ECDomainParameters; import repack.org.bouncycastle.crypto.params.ECPrivateKeyParameters; import repack.org.bouncyc...
SafetyCulture/DroidText
app/src/main/java/bouncycastle/repack/org/bouncycastle/crypto/agreement/ECMQVBasicAgreement.java
Java
lgpl-3.0
2,651
/** * Copyright (C) 2015 Łukasz Tomczak <lksztmczk@gmail.com>. * * This file is part of OpenInTerminal plugin. * * OpenInTerminal plugin 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 ver...
luktom/OpenInTerminal
src/main/java/settings/OpenInTerminalSettingsState.java
Java
lgpl-3.0
2,288
package org.ocbc.utils; import org.json.JSONObject; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.util.HashMap; public class request { public static JSONObject get(String url, HashMap<String, String> headers) { Buffer...
connect2ocbc/jocbc
src/main/java/org/ocbc/utils/request.java
Java
lgpl-3.0
1,151
package org.openbase.bco.device.openhab.communication; /*- * #%L * BCO Openhab Device Manager * %% * Copyright (C) 2015 - 2021 openbase.org * %% * 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 Foun...
DivineCooperation/bco.core-manager
openhab/src/main/java/org/openbase/bco/device/openhab/communication/OpenHABRestConnection.java
Java
lgpl-3.0
17,838
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * 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...
Builders-SonarSource/sonarqube-bis
sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/Display.java
Java
lgpl-3.0
3,286
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
jblievremont/sonarqube
server/sonar-server/src/main/java/org/sonar/server/computation/step/PersistFileSourcesStep.java
Java
lgpl-3.0
8,521
package com.wangdaye.common.base.fragment; import com.wangdaye.common.base.activity.LoadableActivity; import java.util.List; /** * Loadable fragment. * */ public abstract class LoadableFragment<T> extends MysplashFragment { /** * {@link LoadableActivity#loadMoreData(List, int, boolean)}. * */ p...
WangDaYeeeeee/Mysplash
common/src/main/java/com/wangdaye/common/base/fragment/LoadableFragment.java
Java
lgpl-3.0
411
/*--- iGeo - http://igeo.jp Copyright (c) 2002-2013 Satoru Sugihara This file is part of iGeo. iGeo 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, version 3. iGeo is distri...
sghr/iGeo
IPoint.java
Java
lgpl-3.0
31,733
package org.yawlfoundation.yawl.worklet.client; import org.yawlfoundation.yawl.editor.ui.specification.SpecificationModel; import org.yawlfoundation.yawl.engine.YSpecificationID; import java.io.IOException; import java.util.Map; /** * @author Michael Adams * @date 18/02/2016 */ public class TaskIDChangeMap { ...
yawlfoundation/editor
source/org/yawlfoundation/yawl/worklet/client/TaskIDChangeMap.java
Java
lgpl-3.0
1,648
package idare.imagenode.internal.GUI.DataSetController; import idare.imagenode.ColorManagement.ColorScalePane; import idare.imagenode.Interfaces.DataSets.DataSet; import idare.imagenode.Interfaces.Layout.DataSetLayoutProperties; import idare.imagenode.internal.GUI.DataSetController.DataSetSelectionModel.ColorPaneBox; ...
sysbiolux/IDARE
METANODE-CREATOR/src/main/java/idare/imagenode/internal/GUI/DataSetController/DataSetSelectionTable.java
Java
lgpl-3.0
3,145
/* Mesquite source code. Copyright 1997-2009 W. Maddison and D. Maddison. Version 2.7, August 2009. Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code. The commenting leaves much to be desired. Please approach this source code with the spirit of ...
MesquiteProject/MesquiteArchive
releases/Mesquite2.7/Mesquite Project/Source/mesquite/lib/XMLUtil.java
Java
lgpl-3.0
7,607
/* * XAdES4j - A Java library for generation and verification of XAdES signatures. * Copyright (C) 2010 Luis Goncalves. * * XAdES4j 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...
entaksi/xades4j
src/main/java/xades4j/xml/marshalling/ToXmlUtils.java
Java
lgpl-3.0
3,617
/* * This file is part of RskJ * Copyright (C) 2017 RSK Labs Ltd. * * 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...
rsksmart/rskj
rskj-core/src/main/java/co/rsk/core/RskAddress.java
Java
lgpl-3.0
3,619
/* Galois, a framework to exploit amorphous data-parallelism in irregular programs. Copyright (C) 2010, The University of Texas at Austin. All rights reserved. UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY ...
chmaruni/SCJ
Shared/libs_src/Galois-2.0/src/galois/objects/graph/GNode.java
Java
lgpl-3.0
3,896
/** * Premium Markets is an automated stock market analysis system. * It implements a graphical environment for monitoring stock markets technical analysis * major indicators, for portfolio management and historical data charting. * In its advanced packaging -not provided under this license- it also includes : * S...
premiummarkets/pm
premiumMarkets/pm-core/src/main/java/com/finance/pms/events/pounderationrules/LatestNoYoYoValidatedPonderationRule.java
Java
lgpl-3.0
4,010
/** * * This file is part of Disco. * * Disco 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. * * Disco is distributed ...
DIVERSIFY-project/disco
samples/cloudml/controller/src/main/java/eu/diversify/disco/cloudml/Options.java
Java
lgpl-3.0
3,917
/** * */ package com.sirma.itt.emf.authentication.sso.saml.authenticator; import java.nio.charset.StandardCharsets; import java.util.Map; import javax.crypto.SecretKey; import javax.enterprise.inject.Instance; import javax.inject.Inject; import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang...
SirmaITT/conservation-space-1.7.0
docker/sirma-platform/platform/seip-parent/extensions/emf-sso-saml/src/main/java/com/sirma/itt/emf/authentication/sso/saml/authenticator/SystemUserAuthenticator.java
Java
lgpl-3.0
5,864
/** * DynamicReports - Free Java reporting library for creating reports dynamically * * Copyright (C) 2010 - 2012 Ricardo Mariaca * http://dynamicreports.sourceforge.net * * This file is part of DynamicReports. * * DynamicReports is free software: you can redistribute it and/or modify * it under the terms of t...
robcowell/dynamicreports
dynamicreports-examples/src/main/java/net/sf/dynamicreports/examples/complex/applicationform/MaritalStatus.java
Java
lgpl-3.0
1,083
package org.molgenis.lifelines.catalog; import nl.umcg.hl7.service.studydefinition.POQMMT000002UVObservation; import org.molgenis.omx.catalogmanager.OmxCatalogFolder; import org.molgenis.omx.observ.Protocol; public class PoqmObservationCatalogItem extends OmxCatalogFolder { private final POQMMT000002UVObservation o...
dennishendriksen/molgenis-lifelines
src/main/java/org/molgenis/lifelines/catalog/PoqmObservationCatalogItem.java
Java
lgpl-3.0
972
/* * SonarQube Lua Plugin * Copyright (C) 2016 * mailto:fati.ahmadi AT gmail DOT com * * 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 y...
SonarQubeCommunity/sonar-lua
lua-checks/src/test/java/org/sonar/lua/checks/TableComplexityCheckTest.java
Java
lgpl-3.0
1,600
package com.faralot.core.ui.fragments; import android.app.Activity; import android.app.AlertDialog.Builder; import android.app.Fragment; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.os.Bundle; import android.provider.Media...
bestog/faralot-core
app/src/main/java/com/faralot/core/ui/fragments/LocationAddSelectFragment.java
Java
lgpl-3.0
9,954
package de.riedquat.java.io; import de.riedquat.java.util.Arrays; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import static de.riedquat.java.io.Util.copy; import static de.riedquat.java.util.Arrays.EMPTY_BYTE_ARRAY; import static org.j...
christianhujer/japi
WebServer/test/de/riedquat/java/io/UtilTest.java
Java
lgpl-3.0
934
package com.darkona.adventurebackpack.inventory; import com.darkona.adventurebackpack.common.IInventoryAdventureBackpack; import com.darkona.adventurebackpack.init.ModBlocks; import com.darkona.adventurebackpack.item.ItemAdventureBackpack; import com.darkona.adventurebackpack.util.Utils; import net.minecraft.entity.pl...
Mazdallier/AdventureBackpack2
src/main/java/com/darkona/adventurebackpack/inventory/SlotBackpack.java
Java
lgpl-3.0
1,030
package org.alfresco.repo.cmis.ws; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; ...
loftuxab/community-edition-old
projects/remote-api/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfo.java
Java
lgpl-3.0
2,688
/******************************************************************************* * Copyright (c) 2014 Open Door Logistics (www.opendoorlogistics.com) * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies this d...
PGWelch/com.opendoorlogistics
com.opendoorlogistics.core/src/com/opendoorlogistics/core/scripts/execution/dependencyinjection/DependencyInjector.java
Java
lgpl-3.0
2,349
package org.energy_home.dal.functions.data; import java.util.Map; import org.osgi.service.dal.FunctionData; public class DoorLockData extends FunctionData { public final static String STATUS_OPEN = "OPEN"; public final static String STATUS_CLOSED = "CLOSED"; private String status; public DoorLockData(long tim...
ismb/jemma.osgi.dal.functions.eh
src/main/java/org/energy_home/dal/functions/data/DoorLockData.java
Java
lgpl-3.0
611
/* * Mentawai Web Framework http://mentawai.lohis.com.br/ * Copyright (C) 2005 Sergio Oliveira Jr. (sergio.oliveira.jr@gmail.com) * * 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 Founda...
tempbottle/mentawai
src/main/java/org/mentawai/filter/GlobalFilterFreeMarkerFilter.java
Java
lgpl-3.0
1,882
package org.osmdroid.bonuspack.utils; import java.io.IOException; import java.io.InputStream; import java.util.List; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.StatusLine; import org.apache.http.client.entity.UrlEncodedFormEntity...
pese-git/osmbonuspack
src/main/java/org/osmdroid/bonuspack/utils/HttpConnection.java
Java
lgpl-3.0
4,625
/** * Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser Public License as published by the * Free Software Foundation, either version 3.0 ...
SoftwareEngineeringToolDemos/FSE-2011-EvoSuite
runtime/src/main/java/org/evosuite/runtime/mock/java/io/MockFile.java
Java
lgpl-3.0
13,402
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package optas.gui.wizard; /** * * @author chris */ public class ComponentWrapper { public String componentName; public String componentContext; public boolean contextComponent; public ComponentWrapp...
kralisch/jams
JAMSOptas/src/optas/gui/wizard/ComponentWrapper.java
Java
lgpl-3.0
738
package org.jta.testspringhateoas.hello; import org.springframework.http.HttpEntity; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springf...
javiertoja/SpringBoot
testSpringHateoas/src/main/java/org/jta/testspringhateoas/hello/GreetingController.java
Java
lgpl-3.0
970
/** * Copyright (C) 2013-2014 Kametic <epo.jemba@kametic.com> * * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3, 29 June 2007; * or any later version * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.gnu.org/lice...
adrienlauer/kernel
core/src/test/java/io/nuun/kernel/core/internal/KernelMulticoreTest.java
Java
lgpl-3.0
3,859
/* * This file is part of RskJ * Copyright (C) 2019 RSK Labs Ltd. * (derived from ethereumJ library, Copyright (c) 2016 <ether.camp>) * * 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 Foundati...
rsksmart/rskj
rskj-core/src/main/java/co/rsk/pcc/blockheader/GetCoinbaseAddress.java
Java
lgpl-3.0
1,780
/** * Copyright (C) 2010-2017 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite 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 vers...
sefaakca/EvoSuite-Sefa
client/src/main/java/org/evosuite/symbolic/vm/Fp64Operand.java
Java
lgpl-3.0
1,222
/* * #%L * Alfresco Repository * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided ...
Alfresco/alfresco-repository
src/test/java/org/alfresco/util/schemacomp/model/SchemaTest.java
Java
lgpl-3.0
4,062
package org.toughradius.handler; public interface RadiusConstant { public final static String VENDOR_TOUGHSOCKS = "18168"; public final static String VENDOR_MIKROTIK = "14988"; public final static String VENDOR_IKUAI = "10055"; public final static String VENDOR_HUAWEI = "2011"; public final static...
talkincode/ToughRADIUS
src/main/java/org/toughradius/handler/RadiusConstant.java
Java
lgpl-3.0
512
/* * Copyright 2017 Crown Copyright * * This file is part of Stroom-Stats. * * Stroom-Stats 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 la...
gchq/stroom-stats
stroom-stats-service/src/main/java/stroom/stats/configuration/StatisticConfigurationCacheByUuidLoaderWriter.java
Java
lgpl-3.0
3,752
/* * Copyright (C) 2015-2016 Didier Villevalois. * * This file is part of JLaTo. * * JLaTo 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) ...
ptitjes/jlato
src/main/java/org/jlato/internal/td/decl/TDAnnotationDecl.java
Java
lgpl-3.0
5,671
package org.orchestra.sm; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.slf4j.Logger; import org.slf4j.LoggerF...
bigorc/orchestra
src/main/java/org/orchestra/sm/Runner.java
Java
lgpl-3.0
2,212
package org.datacleaner.kettle.ui; import java.util.ArrayList; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.events.DisposeEvent; import org.eclipse.swt.events.DisposeListener; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.graphics.Rec...
datacleaner/pdi-datacleaner
src/main/java/org/datacleaner/kettle/ui/AbstractJobEntryDialog.java
Java
lgpl-3.0
8,903
import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; /** * Randomly generates Secret Santa assignments for a given group. * <p> * All valid possible assignments are equally likely to be generated (uniform distribution). * * @author Michael Zaccard...
AetherWorks/SecretSanta
java/SecretSanta.java
Java
unlicense
2,008
package com.google.gson; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; class Gson$FutureTypeAdapter<T> extends TypeAdapter<T> { private TypeAdapter<T> delegate; public T read(JsonReader paramJsonReader) { if (this.delegate == null) throw new IllegalStateException...
clilystudio/NetBook
allsrc/com/google/gson/Gson$FutureTypeAdapter.java
Java
unlicense
917
package com.smartgwt.mobile.client.widgets; import com.google.gwt.resources.client.ImageResource; public abstract class Action { private ImageResource icon; private int iconSize; private String title; private String tooltip; public Action(String title) { this.title = title; } pu...
will-gilbert/SmartGWT-Mobile
mobile/src/main/java/com/smartgwt/mobile/client/widgets/Action.java
Java
unlicense
1,126
/* ********************************************************************** /* * NOTE: This copyright does *not* cover user programs that use Hyperic * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client D...
cc14514/hq6
hq-installer/src/main/java/org/hyperic/tools/ant/PropertiesFileMergerTask.java
Java
unlicense
8,153
package com.sochat.client; import java.math.BigInteger; import java.security.GeneralSecurityException; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.RSAPublicKeySpec; public class ServerPublicKey { public static PublicKey getServerPublicKey(String publicKeyModulus, St...
ovaskevich/sochat
src/com/sochat/client/ServerPublicKey.java
Java
unlicense
732
package com.elionhaxhi.ribbit.ui; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.NavUtils; import android.util.Log; import android.view.Menu; import android.view.MenuItem; i...
ElionHaxhi/Ribbit
src/com/elionhaxhi/ribbit/ui/RecipientsActivity.java
Java
unlicense
7,505
package com.intershop.adapter.payment.partnerpay.internal.service.capture; import javax.inject.Inject; import com.google.inject.Injector; import com.intershop.adapter.payment.partnerpay.capi.service.capture.CaptureFactory; import com.intershop.api.service.payment.v1.capability.Capture; public class CaptureFactoryImp...
IntershopCommunicationsAG/partnerpay-example
s_payment_partnerpay/ac_payment_partnerpay/javasource/com/intershop/adapter/payment/partnerpay/internal/service/capture/CaptureFactoryImpl.java
Java
unlicense
578
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.commonfoundation.charstreams; /** * A CharSource is like a powerful version of a "char" based Iterator. */ public interface CharSource { /** * Report if there are any more characters available to get(). * <p/> ...
litesoft/LiteSoftCommonFoundation
src/org/litesoft/commonfoundation/charstreams/CharSource.java
Java
unlicense
2,332
package net.simpvp.Jail; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; import org.bukkit.Location; /** * Class representing the stored information about a jailed player */ public class JailedPlayer { public UUID uuid; public String playername; public String reason; public Str...
C4K3/Jail
src/main/java/net/simpvp/Jail/JailedPlayer.java
Java
unlicense
1,551
/* * NOTE: This copyright does *not* cover user programs that use HQ * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client Development Kit - this is merely considered * normal use of the program, and do...
cc14514/hq6
hq-web/src/main/java/org/hyperic/hq/ui/action/portlet/autoDisc/AIPlatformWithStatus.java
Java
unlicense
2,391
package generics.p19; import java.util.Random; import utils.Generator; public class Good { private final int id; private String description; public Good(int id, String description) { this.id = id; this.description = description; } public static Generator<Good> generator...
bodydomelight/tij-problems
src/generics/p19/Good.java
Java
unlicense
619
package net.yottabyte.game; import java.awt.*; /** * @author Jason Fagan */ public class BouncyBall { private int x; private int y; private int vx; private int vy; private int radius; private int drag; private int mass; public BouncyBall(int x, int y, int vx, int vy, int radius, in...
jasonfagan/game-experiments
physics/src/main/java/net/yottabyte/game/BouncyBall.java
Java
unlicense
3,996
public class RandomColoringDiv2 { public int getCount(int maxR, int maxG, int maxB, int startR, int startG, int startB, int d1, int d2) { int colors = 0; int minR = Math.max(0, startR - d2); int minG = Math.max(0, startG - d2); int minB = Math.max(0, startB - d2); ...
mariusj/contests
srm540/src/RandomColoringDiv2.java
Java
unlicense
5,179
package br.com.tosin.ssd.utils; /** * Created by roger on 11/03/17. */ public class CONSTANTS_DIRECTIONS { public static final String NORTH = "N"; public static final String SOUTH = "S"; public static final String WEST = "W"; public static final String EAST = "E"; p...
TosinRoger/SmartSystemsDesign
src/br/com/tosin/ssd/utils/CONSTANTS_DIRECTIONS.java
Java
unlicense
526
/* * NOTE: This copyright does *not* cover user programs that use HQ * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client Development Kit - this is merely considered * normal use of the program, and do...
cc14514/hq6
hq-web/src/main/java/org/hyperic/hq/ui/server/session/DashboardManagerImpl.java
Java
unlicense
13,750
package es.com.blogspot.elblogdepicodev.activiti; import java.text.MessageFormat; import java.util.HashMap; import java.util.Map; import org.activiti.engine.ProcessEngine; import org.activiti.engine.ProcessEngineConfiguration; import org.activiti.engine.ProcessEngines; import org.activiti.engine.RepositoryService; im...
picodotdev/elblogdepicodev
HelloWorldActiviti/src/main/java/es/com/blogspot/elblogdepicodev/activiti/Errores.java
Java
unlicense
1,554
package ua.clinic.tests.integration; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfi...
beamka/Polyclinic
Clinic/src/test/java/ua/clinic/tests/integration/UserdetailsControllerTest.java
Java
unlicense
3,482
/* * Copyright 2002-2008 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 requi...
codeApeFromChina/resource
frame_packages/java_libs/spring-2.5.6-src/src/org/springframework/util/CollectionUtils.java
Java
unlicense
8,998
/** * This is a demo class * * @author Ravi */ public class Demo { /** * This is the main method * * @param args */ public static void main(String[] args) { System.out.println("This is a demo."); } }
PatchRowcester/LearningJava
Demo/src/Demo.java
Java
unlicense
239
package com.github.alkedr.matchers.reporting.reporters; import org.junit.Test; import static com.github.alkedr.matchers.reporting.reporters.Reporters.noOpSafeTreeReporter; import static com.github.alkedr.matchers.reporting.reporters.Reporters.noOpSimpleTreeReporter; public class NoOpReportersTest { @Test pub...
alkedr/reporting-matchers
src/test/java/com/github/alkedr/matchers/reporting/reporters/NoOpReportersTest.java
Java
unlicense
1,403
package crashreporter.api; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Registry for API provider objects. * * @author Richard */ public class Registry { private static final Map<String, Pasteb...
richardg867/CrashReporter
src/crashreporter/api/Registry.java
Java
unlicense
3,754
package gui.dragndrop; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.input.*; import javafx.scene.layout.*; import javafx.scene.paint.Color; import javafx.stage.Stage; public class DragAndDrop extends Application { public void start(Stage stag...
KonstantinTwardzik/Graphical-User-Interfaces
CodeExamples/src/gui/dragndrop/DragAndDrop.java
Java
unlicense
3,091
public class Student { private String namn; private int födelseår, status, id; public Student(){} public String getNamn() { return namn; } public void setNamn(String nyNamn) { namn=nyNamn; } public int getId() { return id; } public void setId(int nyId) { id=nyId; } public int getStatus() { ret...
andreasaronsson/introduktion_till_informatik
tebrakod/Student.java
Java
apache-2.0
589
package com.jerry.controller; import com.jerry.model.TBanquet; import com.jerry.service.BanquetService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web...
luoyefeiwu/learn_java
jpa/src/main/java/com/jerry/controller/BanquetController.java
Java
apache-2.0
840
/* * 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 ...
gcolin/jmx-web-console
jmx-embedded/src/main/java/net/gcolin/jmx/console/embedded/BootStrapJmxServlet.java
Java
apache-2.0
3,657
/** * Copyright 2014 TangoMe Inc. * * 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 ag...
DevOps-TangoMe/flume-redis
flume-redis-sink/src/main/java/com/tango/logstash/flume/redis/sink/serializer/Serializer.java
Java
apache-2.0
1,070
/* * 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 ...
pimtegelaar/commons-io-test3
src/main/java/org/apache/commons/io/output/TeeOutputStream.java
Java
apache-2.0
3,320
package org.renjin.primitives; import org.renjin.eval.Context; import org.renjin.eval.EvalException; import org.renjin.primitives.annotations.processor.ArgumentException; import org.renjin.primitives.annotations.processor.ArgumentIterator; import org.renjin.primitives.annotations.processor.WrapperRuntime; import org....
bedatadriven/renjin-statet
org.renjin.core/src-gen/org/renjin/primitives/R$primitive$file$access.java
Java
apache-2.0
3,115
/******************************************************************************* * Copyright 2012 EMBL-EBI, Hinxton outstation * * 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 * * h...
enasequence/sequencetools
src/test/java/uk/ac/ebi/embl/api/validation/check/sourcefeature/MoleculeTypeAndSourceQualifierCheckTest.java
Java
apache-2.0
5,528
package com.baicai.util.help; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import org.beetl.core.Configuration; import org.beetl.core.GroupTemplate; import org.beetl.core.Template; import org.beetl.core.resource.FileReso...
iminto/baicai
src/main/java/com/baicai/util/help/GenModel.java
Java
apache-2.0
1,924
package com.yueny.demo.downlatch.holder; import java.util.List; import java.util.Vector; import org.apache.commons.collections4.CollectionUtils; import com.yueny.demo.downlatch.bo.RecoverResult; /** * @author yueny09 <deep_blue_yang@163.com> * * @DATE 2016年3月22日 下午1:15:25 * */ public class Trans...
yueny/pra
exec/src/main/java/com/yueny/demo/downlatch/holder/TransResultHolder.java
Java
apache-2.0
1,149
package io.github.mayunfei.simple; /** * Created by mayunfei on 17-9-7. */ public class OrientationUtils { }
MaYunFei/TXLiveDemo
app/src/main/java/io/github/mayunfei/simple/OrientationUtils.java
Java
apache-2.0
113
/* * Swift Parallel Scripting Language (http://swift-lang.org) * Code from Java CoG Kit Project (see notice below) with modifications. * * Copyright 2005-2014 University of Chicago * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
swift-lang/swift-k
src/org/griphyn/vdl/mapping/nodes/RootClosedMapDataNode.java
Java
apache-2.0
7,772
/* * #! * Ontopoly Editor * #- * Copyright (C) 2001 - 2013 The Ontopia 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....
ontopia/ontopia
ontopoly-editor/src/main/java/ontopoly/components/FieldInstanceNumberField.java
Java
apache-2.0
2,944
/********************************************************************** Copyright (c) 2006 Erik Bengtson and others. All rights reserved. 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 ht...
hopecee/texsts
samples/src/java/org/jpox/samples/types/stringbuffer/StringBufferHolder.java
Java
apache-2.0
1,432
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-importexport/src/main/java/com/amazonaws/services/importexport/model/transform/CancelJobRequestMarshaller.java
Java
apache-2.0
2,038
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/DescribeAlgorithmRequest.java
Java
apache-2.0
3,808
package testPpermission; import android.annotation.TargetApi; import android.app.Application; import android.os.Build; /** * Created by nubor on 13/02/2017. */ public class App extends Application { @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) @Override public void onCreate() { super.onCreate(); this.r...
GigigoGreenLabs/gggUtilsSuite
testapplication/src/main/java/testPpermission/App.java
Java
apache-2.0
382
package com.couchbase.lite.testapp.ektorp.tests; import org.ektorp.support.OpenCouchDbDocument; import java.util.List; import java.util.Set; @SuppressWarnings("serial") public class TestObject extends OpenCouchDbDocument { private Integer foo; private Boolean bar; private String baz; private String ...
couchbaselabs/couchbase-lite-android-ektorp
src/instrumentTest/java/com/couchbase/lite/testapp/ektorp/tests/TestObject.java
Java
apache-2.0
2,177
/** * 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...
s4/s4
s4-comm/src/main/java/org/apache/s4/comm/zk/ZkTaskManager.java
Java
apache-2.0
7,311
package chatty.util.api; import chatty.Helper; import chatty.util.DateTime; import java.util.LinkedHashMap; import java.util.Locale; import java.util.logging.Logger; /** * Holds the current info (name, viewers, title, game) of a stream, as well * as a history of the same information and stuff like when the info wa...
Javaec/ChattyRus
src/chatty/util/api/StreamInfo.java
Java
apache-2.0
19,898