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 |
|---|---|---|---|---|---|
/**
* Optimus, framework for Model Transformation
*
* Copyright (C) 2013 Worldline or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of... | awltech/eclipse-optimus | net.atos.optimus.m2m.javaxmi.parent/net.atos.optimus.m2m.javaxmi.operation/src/main/java/net/atos/optimus/m2m/javaxmi/operation/accesses/TypeAccessHelper.java | Java | lgpl-3.0 | 12,166 |
package com.app.wms.web.controller;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.math.*;
import java.util.Date;
import java.util... | rmage/gnvc-ims | src/java/com/app/wms/web/controller/WhController.java | Java | lgpl-3.0 | 12,592 |
/*******************************************************************************
* Copyright (C) 2014 Stefan Schroeder
*
* 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... | jjc616/jsprit | jsprit-core/src/main/java/jsprit/core/algorithm/io/VehicleRoutingAlgorithms.java | Java | lgpl-3.0 | 44,019 |
/***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
package de.cismet.cids.custom.sudplan.airquality;
import org.openide.util.NbBundle;
import org.openide.util.WeakListeners;
import ... | cismet/cids-custom-sudplan | src/main/java/de/cismet/cids/custom/sudplan/airquality/AirqualityDownscalingInputManagerUI.java | Java | lgpl-3.0 | 22,354 |
/**
* 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/rmi/ClientServices.java | Java | lgpl-3.0 | 3,614 |
package ch.loway.oss.ari4java.generated;
// ----------------------------------------------------
// THIS CLASS WAS GENERATED AUTOMATICALLY
// PLEASE DO NOT EDIT
// Generated on: Sat Sep 19 08:50:54 CEST 2015
// ----------------------------------------------------
imp... | korvus81/ari4java | classes/ch/loway/oss/ari4java/generated/StasisStart.java | Java | lgpl-3.0 | 2,103 |
package ca.uberifix.functionalaesthetics.common.crafting;
import ca.uberifix.functionalaesthetics.common.item.ModItems;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge... | uberifix/functional-aesthetics | src/main/java/ca/uberifix/functionalaesthetics/common/crafting/ModCrafting.java | Java | lgpl-3.0 | 680 |
/*
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/runtime/OrderedIteration.java | Java | lgpl-3.0 | 7,555 |
package nl.gmt.data.migrate;
import nl.gmt.data.schema.*;
public class DataSchemaExecutor {
private final DataSchemaExecutorConfiguration configuration;
private final SchemaCallback callback;
private SchemaRules rules;
public DataSchemaExecutor(DataSchemaExecutorConfiguration configuration, SchemaCal... | gmt-europe/gmtdata | gmtdata/src/main/java/nl/gmt/data/migrate/DataSchemaExecutor.java | Java | lgpl-3.0 | 1,250 |
package repack.org.bouncycastle.crypto.generators;
import repack.org.bouncycastle.crypto.AsymmetricCipherKeyPair;
import repack.org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator;
import repack.org.bouncycastle.crypto.KeyGenerationParameters;
import repack.org.bouncycastle.crypto.params.GOST3410KeyGenerationPara... | SafetyCulture/DroidText | app/src/main/java/bouncycastle/repack/org/bouncycastle/crypto/generators/GOST3410KeyPairGenerator.java | Java | lgpl-3.0 | 1,647 |
/*
* 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/test/java/org/sonar/server/activity/ActivityServiceTest.java | Java | lgpl-3.0 | 3,709 |
package aps.livro;
public class Main {
public static void main (String[] args) {
Bolsa bolsa = new Bolsa(10);
bolsa.adiciona("C#", "Java", "Python", "Ruby");
for (Object o : bolsa) {
System.out.println(o);
}
}
}
| marciojrtorres/livro-aps | zoi/src/main/java/aps/livro/Main.java | Java | lgpl-3.0 | 234 |
package io.robe.mail;
import io.robe.mail.queue.InMemoryMailQueue;
import io.robe.mail.queue.MailQueue;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A queue and consumer thread implementation.
* Sender thread wakes up on every item insert and works until queue goes empty.
* Every item in queue wi... | greenlaw110/robe | robe-mail/src/main/java/io/robe/mail/MailManager.java | Java | lgpl-3.0 | 3,208 |
package import_catalogue;
import javax.xml.stream.XMLStreamException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import open_xml_reader.ResultDataSet;
import open_xml_reader.WorkbookReader;
/**
* This thread is used to read batches of excel data
* in background.
* @author... | openefsa/CatalogueBrowser | src/import_catalogue/SheetReaderThread.java | Java | lgpl-3.0 | 1,394 |
package net.warpgame.engine.net.message;
/**
* @author Hubertus
* Created 01.06.2018
*/
public class UnknownMessageTypeException extends RuntimeException {
public UnknownMessageTypeException(int messageType) {
super("Could not find valid message processor for message type " + messageType);
}
}
| WarpOrganization/warp | net/src/main/java/net/warpgame/engine/net/message/UnknownMessageTypeException.java | Java | lgpl-3.0 | 315 |
/**
*
* @author pquiring
*
* Created : Oct 11, 2013
*/
import javaforce.JF;
import java.awt.event.*;
import javax.swing.*;
public class Menu {
private static MainPanel panel;
public static void create(JFrame frame, MainPanel panel) {
Menu.panel = panel;
JMenuBar menu = create(true);
frame.setJMe... | ericomattos/javaforce | projects/jfpaint/src/Menu.java | Java | lgpl-3.0 | 4,322 |
// HTMLParser Library - A java-based parser for HTML
// http://htmlparser.org
// Copyright (C) 2006 Somik Raha
//
// Revision Control Information
//
// $URL: file:///svn/p/htmlparser/code/tags/HTMLParserProject-2.1/parser/src/main/java/org/htmlparser/tags/DefinitionList.java $
// $Author: derrickoswald $
// $Da... | socialwareinc/html-parser | parser/src/main/java/org/htmlparser/tags/DefinitionList.java | Java | lgpl-3.0 | 2,098 |
/*
* Commons Library
* Copyright (c) 2015-2016 Sergey Grachev (sergey.grachev@yahoo.com). All rights reserved.
*
* This software 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... | devmix/java-commons | commons-javafx/api/src/main/java/com/github/devmix/commons/javafx/api/mixins/javafx/scene/control/TextInputControlMixin.java | Java | lgpl-3.0 | 1,237 |
/**
* Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft... | hea3ven/BuildCraft | common/buildcraft/core/lib/gui/tooltips/ToolTipLine.java | Java | lgpl-3.0 | 753 |
/*
* Copyright (c) 2008 Poesys Associates. All rights reserved.
*
* This file is part of Poesys-DB.
*
* Poesys-DB 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 (a... | Poesys-Associates/poesys-db | poesys-db/src/com/poesys/db/dto/IDtoCache.java | Java | lgpl-3.0 | 2,677 |
package org.firelion.servlet;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.cl... | chenglin321/gsouke | src/main/java/org/firelion/servlet/AclkServlet.java | Java | lgpl-3.0 | 2,288 |
/*******************************************************************************
* Copyright (C) 2014 Stefan Schroeder
*
* 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... | harshpoddar21/route_suggest_algo | jsprit-core/src/main/java/com/graphhopper/jsprit/core/problem/solution/route/activity/End.java | Java | lgpl-3.0 | 4,630 |
package hamaster.gradesign.keydist.controller;
import static java.util.Objects.requireNonNull;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.G... | wangyeee/IBE-Secure-Message | server/key-dist-server/src/main/java/hamaster/gradesign/keydist/controller/ActivationController.java | Java | lgpl-3.0 | 2,413 |
package fr.labri.gumtree.gen.antlrantlr;
import java.io.IOException;
import org.antlr.runtime.*;
import org.antlr.runtime.tree.CommonTree;
import fr.labri.gumtree.gen.antlr.AbstractAntlrTreeGenerator;
import fr.labri.gumtree.gen.antlrantlr.ANTLRv3Lexer;
import fr.labri.gumtree.gen.antlrantlr.ANTLRv3Parser;
public c... | taccoraw/gumtree | gen.antlr-antlr/src/main/java/fr/labri/gumtree/gen/antlrantlr/AntlrGrammarTreeGenerator.java | Java | lgpl-3.0 | 1,144 |
package com.jpexs.javactivex.example.controls.mediaplayer;
import com.jpexs.javactivex.*;
/**
* IWMPMedia: Public interface.
*/
@GUID(value="{94D55E95-3FAC-11D3-B155-00C04F79FAA6}", base="{6BF52A52-394A-11D3-B153-00C04F79FAA6}")
public interface IWMPMedia {
/**
* Returns the time of a marker
*
* @param Ma... | jindrapetrik/javactivex | src/com/jpexs/javactivex/example/controls/mediaplayer/IWMPMedia.java | Java | lgpl-3.0 | 2,681 |
/* Generated By:JavaCC: Do not edit this line. CharStream.java Version 3.0 */
package gate.creole.annic.apache.lucene.analysis.standard;
/**
* This interface describes a character stream that maintains line and
* column number positions of the characters. It also has the capability
* to backup the stream to some e... | liuhongchao/GATE_Developer_7.0 | src/gate/creole/annic/apache/lucene/analysis/standard/CharStream.java | Java | lgpl-3.0 | 3,705 |
package org.concord.qm2d.model;
/**
* @author Charles Xie
*
*/
public class PointSource extends Source {
private float sigma = 1;
public PointSource(float xcenter, float ycenter, int nx, int ny, float xmin, float xmax, float ymin, float ymax) {
super(nx, ny, xmin, xmax, ymin, ymax);
setLocation(xcenter, yc... | charxie/quantumworkbench | src/org/concord/qm2d/model/PointSource.java | Java | lgpl-3.0 | 1,131 |
/*
* Copyright (C) 2008 Universidade Federal de Campina Grande
*
* This file is part of OurGrid.
*
* OurGrid is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, o... | OurGrid/OurGrid | src/main/java/org/ourgrid/peer/ui/async/gui/actions/AddBrokerAction.java | Java | lgpl-3.0 | 1,576 |
package game.handle;
import agents.Vacuum;
public class VacuumHandle extends AgentHandle {
public VacuumHandle(Vacuum agent) {
super(agent);
}
public static VacuumHandle createVacuum() {
return new VacuumHandle(new Vacuum());
}
@Override
public long getTimeRemaining() {
... | istvanszoke/softlab4 | src/main/game/handle/VacuumHandle.java | Java | lgpl-3.0 | 572 |
/*
* SonarQube
* Copyright (C) 2009-2019 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... | Godin/sonar | server/sonar-server/src/main/java/org/sonar/server/platform/ws/DbMigrationJsonWriter.java | Java | lgpl-3.0 | 5,619 |
package eu.europa.echa.iuclid6.namespaces.endpoint_study_record_repeateddosetoxicityother._2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import eu.europa.echa.iuclid6.namespace... | ideaconsult/i5 | iuclid_6_2-io/src/main/java/eu/europa/echa/iuclid6/namespaces/endpoint_study_record_repeateddosetoxicityother/_2/GuidelineEntry.java | Java | lgpl-3.0 | 4,194 |
/*
* Copyright 2000-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 required ... | Xyene/JBL | src/test/java/benchmark/bcel/verifier/exc/InvalidMethodException.java | Java | lgpl-3.0 | 1,153 |
/****************************************************
Statistics Online Computational Resource (SOCR)
http://www.StatisticsResource.org
All SOCR programs, materials, tools and resources are developed by and freely disseminated to the entire community.
Users may revise, extend, redistribute, modify under the term... | SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/analyses/result/TwoPairedSignTestResult.java | Java | lgpl-3.0 | 1,402 |
package nl.siegmann.epublib.html.htmlcleaner;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
import org.htmlcleaner.CleanerProperties;
import org.htmlcleaner.CommentNode;
import org.htmlcleaner.ContentNode;
... | narrative-technologies/epublib | epublib-tools/src/main/java/nl/siegmann/epublib/html/htmlcleaner/XmlSerializer.java | Java | lgpl-3.0 | 3,933 |
package net.timmytech.learnmod;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import net.timmytech.learnmod.proxy.IP... | timmyforchelsea/LearningModding | src/main/java/net/timmytech/learnmod/learnmod.java | Java | lgpl-3.0 | 997 |
/*
*
* SchemaCrawler
* http://www.schemacrawler.com
* Copyright (c) 2000-2015, Sualeh Fatehi.
*
* 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, ... | ceharris/SchemaCrawler | schemacrawler-api/src/main/java/schemacrawler/crawl/MetadataResultSet.java | Java | lgpl-3.0 | 11,937 |
/**
* 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 | master/src/test/java/com/examples/with/different/packagename/testcarver/InnerConstructor.java | Java | lgpl-3.0 | 1,009 |
/**
* 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 | master/src/test/java/org/evosuite/seeding/NumericDynamicSeedingSystemTest.java | Java | lgpl-3.0 | 5,701 |
/**
* Copyright (c) 2014, Ruediger Moeller. 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... | RuedigerMoeller/fast-cast | src/main/java/org/nustaq/fastcast/config/SubscriberConf.java | Java | lgpl-3.0 | 4,223 |
/**
* Squidy Interaction 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 3 of the License,
* or (at your option) any later version.
*
* Squidy Interaction Library is distri... | raedle/Squidy | squidy-nodes/src/main/java/org/squidy/nodes/tracking/CameraConfigComm.java | Java | lgpl-3.0 | 14,362 |
package com.sirma.itt.seip.eai.content.tool.params;
import static org.junit.Assert.assertNotNull;
import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
import org.mockito.Mockito;
import com.sirma.itt.seip.eai.content.tool.exception.EAIRuntimeException;
import javafx.application.Application.Parame... | SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/eai/eai-domain-tools/eai-content-tool/src/test/java/com/sirma/itt/seip/eai/content/tool/params/ParametersProviderTest.java | Java | lgpl-3.0 | 1,396 |
package bpellint.core.validators.xml;
import org.pmw.tinylog.Logger;
import api.ValidationException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.nio.file.Path;
public class XMLValidator {
private static DocumentBuilderFactory dbf = DocumentBuilderFact... | uniba-dsg/BPELlint | src/main/java/bpellint/core/validators/xml/XMLValidator.java | Java | lgpl-3.0 | 735 |
/*
* This file is part of MyPet
*
* Copyright © 2011-2019 Keyle
* MyPet is licensed under the GNU Lesser General Public License.
*
* MyPet 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... | xXKeyleXx/MyPet | modules/GUI/src/main/java/de/Keyle/MyPet/skilltreecreator/WebServer.java | Java | lgpl-3.0 | 5,650 |
/**
* This file is part of FoxBukkitChat.
*
* FoxBukkitChat 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.
*
* ... | FoxelBox/FoxBukkitChat | src/main/java/com/foxelbox/foxbukkit/chat/json/MessageType.java | Java | lgpl-3.0 | 877 |
/*
* Copyright (C) 1998, 2009 John Pritchard and the Alto Project Group.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later... | nypgit/alto | src/alto/sec/TrustStoreSpi.java | Java | lgpl-3.0 | 9,316 |
package schemacrawler.tools.executable;
import schemacrawler.schemacrawler.SchemaCrawlerException;
import schemacrawler.schemacrawler.SchemaCrawlerOptions;
import schemacrawler.tools.options.OutputOptions;
public interface CommandProvider
{
Executable configureNewExecutable(SchemaCrawlerOptions schemaCrawlerOptio... | ceharris/SchemaCrawler | schemacrawler-tools/src/main/java/schemacrawler/tools/executable/CommandProvider.java | Java | lgpl-3.0 | 480 |
package repack.org.bouncycastle.cms;
import repack.org.bouncycastle.asn1.ASN1EncodableVector;
import repack.org.bouncycastle.asn1.ASN1InputStream;
import repack.org.bouncycastle.asn1.ASN1Object;
import repack.org.bouncycastle.asn1.ASN1Set;
import repack.org.bouncycastle.asn1.BEROctetStringGenerator;
import repack.org.... | SafetyCulture/DroidText | app/src/main/java/bouncycastle/repack/org/bouncycastle/cms/CMSUtils.java | Java | lgpl-3.0 | 8,921 |
/*
* 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/qualityprofile/RuleActivatorContext.java | Java | lgpl-3.0 | 7,290 |
/*
* SonarQube
* Copyright (C) 2009-2017 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... | lbndev/sonarqube | server/sonar-process-monitor/src/main/java/org/sonar/application/Scheduler.java | Java | lgpl-3.0 | 1,096 |
/**
* Copyright © 2014 Instituto Superior Técnico
*
* This file is part of FenixEdu CMS.
*
* FenixEdu CMS 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
* (a... | jcarvalho/fenixedu-cms | src/main/java/org/fenixedu/cms/ui/CreateSite.java | Java | lgpl-3.0 | 3,540 |
package com.bluevia.android.directory.parser;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import android.util.Log;
import com.bluevia.android.commons.parser.ParseException;
import com.bluevia.android.commons.parser.xml.XmlParserSerializerUtils;
im... | BlueVia/Official-Library-Android | library/src/com/bluevia/android/directory/parser/XmlDirectoryAccessInfoParser.java | Java | lgpl-3.0 | 3,255 |
package pdemanget.javafx.protocol;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;
import java.net.URLStreamHandlerFactory;
import org.apache.commons.io.inpu... | pdemanget/examples | java/javaFx/src/main/java/pdemanget/javafx/protocol/LessLoader.java | Java | lgpl-3.0 | 2,912 |
/*******************************************************************************
* Copyright (c) 2015 Open Software Solutions GmbH.
* 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... | OpenSoftwareSolutions/PDFReporter | pdfreporter-core/src/org/oss/pdfreporter/compilers/jeval/functions/DateStringConverter.java | Java | lgpl-3.0 | 1,587 |
/**
* No8 Copyright (C) 2015 no8.io
*
* 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 dist... | daniloqueiroz/no8 | src/test/java/no8/application/ApplicationLoopTest.java | Java | lgpl-3.0 | 1,650 |
/*
* Copyright (C) 2005-2011 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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
... | loftuxab/community-edition-old | projects/core/source/java/org/alfresco/query/PagingResults.java | Java | lgpl-3.0 | 3,118 |
package inusualz.mechanics.common.blocks;
import net.minecraft.block.material.Material;
public class BlockSmelter extends BlockBase {
public BlockSmelter() {
super("smelter");
}
}
| InusualZ/Mechanics | src/main/java/inusualz/mechanics/common/blocks/BlockSmelter.java | Java | lgpl-3.0 | 188 |
/*
* 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... | joansmith/sonarqube | server/sonar-server/src/main/java/org/sonar/server/user/UserSessionFilter.java | Java | lgpl-3.0 | 2,210 |
/*
* Copyright (c) 2020 Neil C Smith
*
* This file is part of gstreamer-java.
*
* This code is free software: you can redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License version 3 only, as published by the Free Software Foundation.
*
* This code is distributed in the hop... | gstreamer-java/gst1-java-core | src/org/freedesktop/gstreamer/lowlevel/GstMessagePtr.java | Java | lgpl-3.0 | 1,512 |
package com.serenegiant.gamepaddiag;
/*
* AndroGamepad
* library and sample to access to various gamepad with common interface
*
* Copyright (c) 2015-2016 saki t_saki@serenegiant.com
*
* File name: GamepadView.java
*
* Distributed under the terms of the GNU Lesser General Public License (LGPL v3.0) License.
* ... | saki4510t/AndroGamepad | app/src/main/java/com/serenegiant/gamepaddiag/GamepadView.java | Java | lgpl-3.0 | 9,536 |
package ben.ui.renderer;
import ben.ui.math.PmvMatrix;
import ben.ui.math.Rect;
import ben.ui.resource.GlResourceManager;
import ben.ui.resource.color.Color;
import ben.ui.resource.shader.FlatProgram;
import javax.annotation.Nonnull;
import com.jogamp.opengl.GL2;
/**
* Flat Rectangle Renderer.
* <p>
* Renders... | bensmith87/ui | src/main/java/ben/ui/renderer/FlatRenderer.java | Java | lgpl-3.0 | 3,128 |
/*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redistrib... | ArticulatedSocialAgentsPlatform/AsapRealizer | BMLAdapters/AsapIpaacaRealizerAdapters/java/test/src/asap/ipaacaadapters/loader/IpaacaToBMLRealizerAdapterLoaderTest.java | Java | lgpl-3.0 | 2,312 |
package org.celstec.arlearn2.portal.client.author.ui.gi.extensionEditors;
import org.celstec.arlearn2.gwtcommonlib.client.objects.GeneralItem;
import org.celstec.arlearn2.gwtcommonlib.client.objects.MozillaOpenBadge;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.T... | WELTEN/dojo-ibl | src/main/java/org/celstec/arlearn2/portal/client/author/ui/gi/extensionEditors/MozillaOpenBadgeExtensionEditor.java | Java | lgpl-3.0 | 1,547 |
package com.sirma.itt.seip.template.observers;
import static com.sirma.itt.seip.domain.ObjectTypes.TEMPLATE;
import static com.sirma.itt.seip.template.TemplateProperties.FOR_OBJECT_TYPE;
import static com.sirma.itt.seip.template.TemplateProperties.IS_PRIMARY_TEMPLATE;
import static com.sirma.itt.seip.template.Template... | SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/platform/seip-parent/platform/domain-model/instance-templates-impl/src/main/java/com/sirma/itt/seip/template/observers/TemplateCreateObserver.java | Java | lgpl-3.0 | 2,352 |
package com.chenyg.wporter.a.app;
import java.util.ArrayList;
import java.util.Set;
import com.chenyg.wporter.Config;
import com.chenyg.wporter.InitException;
import com.chenyg.wporter.WPMain;
import com.chenyg.wporter.WPRequest;
import com.chenyg.wporter.WPorterType;
import com.chenyg.wporter.WebPorter;
import com.c... | CLovinr/WebPorter | maven/WebPorter/src/main/java/com/chenyg/wporter/a/app/AppPorterMain.java | Java | lgpl-3.0 | 3,604 |
/**
* Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft... | hea3ven/BuildCraft | api/buildcraft/api/core/render/ICullable.java | Java | lgpl-3.0 | 1,009 |
/*
* SonarQube Java
* Copyright (C) 2012-2017 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 Licen... | mbring/sonar-java | java-checks/src/main/java/org/sonar/java/checks/NullDereferenceInConditionalCheck.java | Java | lgpl-3.0 | 5,979 |
package com.sqsoft.mars.framework.domain;
import java.io.Serializable;
import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
import java.util.Date;
import java.util.List;
/**
* The persistent class for the syst_staff database table.
*
*/
@Entity
@Table(name="syst_staff")
@NamedQuery(n... | anndy201/mars-framework | mars-framework-dao/src/main/java/com/sqsoft/mars/framework/domain/SystStaff.java | Java | lgpl-3.0 | 3,881 |
package com.sirma.sep.instance.operation.executor;
import static com.sirma.itt.seip.instance.actions.ExecutableOperationProperties.CTX_TARGET;
import static com.sirma.itt.seip.instance.actions.ExecutableOperationProperties.DMS_ID;
import static com.sirma.itt.seip.instance.actions.ExecutableOperationProperties.PERMISSI... | SirmaITT/conservation-space-1.7.0 | docker/sirma-platform/platform/seip-parent/platform/domain-model/instance-core/src/main/java/com/sirma/sep/instance/operation/executor/BaseImportInstanceExecutor.java | Java | lgpl-3.0 | 2,977 |
package fr.univmobile.mobileweb.it;
import static fr.univmobile.backend.core.impl.ConnectionType.MYSQL;
import static fr.univmobile.it.commons.AppiumCapabilityType.DEVICE;
import static fr.univmobile.it.commons.AppiumCapabilityType.DEVICE_NAME;
import static fr.univmobile.it.commons.AppiumCapabilityType.PLATFORM_NAME;... | univmobile/unm-mobileweb | unm-mobileweb-app-local-it/src/test/java/fr/univmobile/mobileweb/it/SimpleAppiumTest.java | Java | lgpl-3.0 | 3,078 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL")... | B3Partners/b3p-commons-csw | src/main/jaxb/jaxb-ri-20090708/lib/jaxb-impl.src/com/sun/xml/bind/v2/model/runtime/RuntimeTypeInfo.java | Java | lgpl-3.0 | 2,170 |
/***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
****************************************************/
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.cismet.watergis.gui.d... | cismet/watergis-client | src/main/java/de/cismet/watergis/gui/dialog/ManageBookmarksDialog.java | Java | lgpl-3.0 | 18,326 |
/*
* @(#)SwatchPanel.java 1.0 30 March 2005
*
* Copyright (c) 2004 Werner Randelshofer
* Staldenmattweg 2, Immensee, CH-6405, Switzerland.
* All rights reserved.
*
* This software is the confidential and proprietary information of
* Werner Randelshofer. ("Confidential Information"). You shall not
* disclose... | Depter/JRLib | NetbeansProject/jreserve-dummy/substance/src/main/java/org/pushingpixels/substance/internal/contrib/randelshofer/quaqua/colorchooser/SwatchPanel.java | Java | lgpl-3.0 | 5,863 |
package com.ToxicBakery.libs.jlibewf.section;
import com.ToxicBakery.libs.jlibewf.EWFIOException;
import com.ToxicBakery.libs.jlibewf.EWFSection;
import com.ToxicBakery.libs.jlibewf.EWFSegmentFileReader;
import java.io.File;
import java.io.IOException;
/**
* An implementation of the table section portion of a secti... | ToxicBakery/jlibewf | library/src/main/java/com/ToxicBakery/libs/jlibewf/section/TableSection.java | Java | lgpl-3.0 | 3,217 |
package net.shadowfacts.shadowmc.ui.element.button;
import lombok.Setter;
import net.shadowfacts.shadowmc.ui.UIDimensions;
import net.shadowfacts.shadowmc.ui.style.UIAttribute;
import net.shadowfacts.shadowmc.ui.util.UIHelper;
import net.shadowfacts.shadowmc.util.MouseButton;
import java.util.function.BiFunction;
/*... | shadowfacts/ShadowMC | src/main/java/net/shadowfacts/shadowmc/ui/element/button/UIButtonText.java | Java | lgpl-3.0 | 1,381 |
package net.lomeli.augment.inventory;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import net.lomeli.lomlib.util.ItemUtil;
import net.lomeli.augm... | Lomeli12/Augmented-Accessories | src/main/java/net/lomeli/augment/inventory/ContainerBase.java | Java | lgpl-3.0 | 3,424 |
package cz.cvut.felk.cig.jcool.benchmark.method.cmaes;
import org.apache.commons.math.linear.MatrixUtils;
import org.ytoh.configurations.annotations.Component;
/**
* @author sulcanto
*/
@Component(name = "History IPOP-CMA-ES: Increasing Population Covariance Matrix Adaptation Evolution Strategy")
public class Sigma... | dhonza/JCOOL | jcool/benchmark/src/main/java/cz/cvut/felk/cig/jcool/benchmark/method/cmaes/SigmaMeanIPOPCMAESMethod.java | Java | lgpl-3.0 | 805 |
package com.nullpointers.pathpointer;
/**
* An immutable class to represent a time.
* A time is made of hours and minutes.
* 24 hour system.
*/
class Time {
private final int hour;
private final int minute;
/** Returns a time corresponding to midnight */
private Time() {
hour = 0;
... | jfucci/PathPointerRPI | app/src/main/java/com/nullpointers/pathpointer/Time.java | Java | lgpl-3.0 | 2,238 |
package co.codewizards.cloudstore.core.collection;
import static co.codewizards.cloudstore.core.util.Util.*;
import static java.util.Objects.*;
import java.io.Serializable;
import java.lang.ref.Reference;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.lang.reflect.Array;
import j... | cloudstore/cloudstore | co.codewizards.cloudstore.core/src/main/java/co/codewizards/cloudstore/core/collection/WeakIdentityHashMap.java | Java | lgpl-3.0 | 7,785 |
/*
Copyright 2006 Jerry Huxtable
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 agreed to in writing, software
d... | meteoinfo/meteoinfolib | src/org/meteoinfo/image/filter/MaskFilter.java | Java | lgpl-3.0 | 1,140 |
package com.bsgcoach.reports.fir;
import javax.annotation.concurrent.NotThreadSafe;
import de.invesdwin.util.bean.AValueObject;
import de.invesdwin.util.math.decimal.Decimal;
@NotThreadSafe
public class IncomeStatement extends AValueObject {
// Net Revenues
private Decimal netRevenues;
// Cost of ... | subes/invesdwin-nowicket | invesdwin-nowicket-examples/invesdwin-nowicket-examples-mvp-bsgcoach/src/main/java/com/bsgcoach/reports/fir/IncomeStatement.java | Java | lgpl-3.0 | 2,866 |
/****************************************************
Statistics Online Computational Resource (SOCR)
http://www.StatisticsResource.org
All SOCR programs, materials, tools and resources are developed by and freely disseminated to the entire community.
Users may revise, extend, redistribute, modify under the term... | SOCR/HTML5_WebSite | SOCR2.8/src/edu/ucla/stat/SOCR/util/CurvedGaussian.java | Java | lgpl-3.0 | 6,984 |
/*
* Copyright (C) 2003-2019 eXo Platform SAS.
*
* 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... | exodev/social | component/core/src/test/java/org/exoplatform/social/core/processor/MentionsProcessorTest.java | Java | lgpl-3.0 | 5,645 |
/* Copyright (2007-2012) Schibsted ASA
* This file is part of Possom.
*
* Possom 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) an... | michaelsembwever/Sesat | generic.sesam/search-command-control/fast/src/main/java/no/sesat/search/mode/command/NewsMyNewsSearchCommand.java | Java | lgpl-3.0 | 6,705 |
package catalogue_browser_dao;
import catalogue.Catalogue;
import soap.UploadCatalogueFileImpl.ReserveLevel;
public interface IForcedCatalogueDAO {
public boolean forceEditing(Catalogue catalogue, String username, ReserveLevel editLevel);
public ReserveLevel getEditingLevel(Catalogue catalogue, String username);
... | openefsa/CatalogueBrowser | src/catalogue_browser_dao/IForcedCatalogueDAO.java | Java | lgpl-3.0 | 378 |
/*
* Copyright (C) 2008-2015 by Holger Arndt
*
* This file is part of the Universal Java Matrix Package (UJMP).
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* UJMP is free software; you can redistribute it and/or modify
* it... | ujmp/universal-java-matrix-package | ujmp-ojalgo/src/main/java/org/ujmp/ojalgo/calculation/Inv.java | Java | lgpl-3.0 | 1,821 |
package com.garg.projects.stats.impl.safe.periodic;
import java.util.concurrent.atomic.AtomicInteger;
import com.garg.projects.stats.MergeableStatistics;
import com.garg.projects.stats.ReusableStatistics;
import com.garg.projects.stats.Statistics;
import com.garg.projects.stats.impl.SimpleMergeableStatistics;
import ... | baskin/practice | src/java/com/garg/projects/stats/impl/safe/periodic/StripedLockedStatistics.java | Java | unlicense | 4,403 |
package com.garg.websites.codeeval;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
/**
* http://www.codeeval.com/open_challenges/1/
*/
public class cycle_detection
{
public static void main(String[] args) throws IOException
{
String file = args[0];
Buffered... | baskin/practice | src/java/com/garg/websites/codeeval/cycle_detection.java | Java | unlicense | 1,577 |
package mx.liba.vault.config;
import java.util.Properties;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.Ena... | LIBAMX/Vault | src/main/java/mx/liba/vault/config/DatabaseConfig.java | Java | unlicense | 3,178 |
package com.lysum.service.file.exception;
import org.apache.commons.fileupload.FileUploadException;
/**
* 文件类型和扩展名不匹配异常
*
* @author zhangQ
* @create date: 2014-12-1
*/
public class MismatchExtensionException extends FileUploadException {
private static final long serialVersionUID = -2036086476886786243L;
p... | linfengsoftware/sourcecode | lysum/src/main/java/com/lysum/service/file/exception/MismatchExtensionException.java | Java | unlicense | 992 |
class ImmutableList {
private ImmutableNode[] list;
ImmutableList(int length) {
// we create an array filled with 0
// where every Node points to the next
// last Node points to null
list = new ImmutableNode[length];
list[length-1] = new ImmutableNode(0, null);
... | gforien/Java-Work | perso/immutabilite/ImmutableList.java | Java | unlicense | 1,490 |
package uk.org.mikea.whitby;
import java.util.Comparator;
import java.util.List;
import org.apache.poi.xwpf.usermodel.XWPFParagraph;
import org.joda.time.LocalTime;
public interface Event {
public boolean tbc();
public LocalTime startTime();
public LocalTime endTime();
public String displayTime();
public String... | mike-tr-adamson/whitby-teams | src/main/java/uk/org/mikea/whitby/Event.java | Java | unlicense | 1,029 |
package android.support.v4.content;
import android.content.ComponentName;
import android.content.Intent;
abstract interface IntentCompat$IntentCompatImpl
{
public abstract Intent makeMainActivity(ComponentName paramComponentName);
public abstract Intent makeMainSelectorActivity(String paramString1, String paramS... | clilystudio/NetBook | allsrc/android/support/v4/content/IntentCompat$IntentCompatImpl.java | Java | unlicense | 613 |
/*
* 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-server/src/main/java/org/hyperic/hq/bizapp/shared/uibeans/UIConstants.java | Java | unlicense | 1,779 |
package com.nostra13.universalimageloader.core;
class LoadAndDisplayImageTask$TaskCancelledException extends Exception
{
LoadAndDisplayImageTask$TaskCancelledException(LoadAndDisplayImageTask paramLoadAndDisplayImageTask)
{
}
}
/* Location: E:\Progs\Dev\Android\Decompile\apktool\zssq\zssq-dex2jar.jar
... | clilystudio/NetBook | allsrc/com/nostra13/universalimageloader/core/LoadAndDisplayImageTask$TaskCancelledException.java | Java | unlicense | 461 |
package com.ushaqi.zhuishushenqi.ui.ugcbook;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.support.design.widget.am;
import com.handmark.pulltorefresh.library.PullToRefreshListView;
import com.ushaqi.zhuishushenqi.model.Account;
import com.ushaqi.zhuishu... | clilystudio/NetBook | allsrc/com/ushaqi/zhuishushenqi/ui/ugcbook/g(1).java | Java | unlicense | 1,199 |
package katas.java.sort.visual;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
/**
* User: dima
* Date: Nov 1, 2010
*/
public class BubbleSorterTest {
@Test
public void selectionSort() {
assertThat(createSorter().sort(new int[]{})... | dkandalov/katas | java/src/main/java/katas/java/sort/visual/BubbleSorterTest.java | Java | unlicense | 994 |
package glureau.kdp.creational.singleton.java;
public class Demo {
public static void main(String[] args){
System.out.println("***Demo: singleton pattern");
System.out.println("Getting: reference to Singleton instance");
Singleton singleton = Singleton.getInstance();
singleton.greet();
System.out.println(... | glureau/kotlin-design-patterns | src/glureau/kdp/creational/singleton/java/Demo.java | Java | unlicense | 1,550 |
/* -----------------------------------------------------------------------------------------------------------------------------
* NQueens2.java: Determines the position n queens can be placed on an nXn chessboard without ever attacking one another.
* Utilizes the backtracking programming technique. Prints ... | kfr2/java-algorithms | algorithms_1/NQueens2.java | Java | unlicense | 4,965 |
package com.squareup.okhttp.internal.http;
import com.squareup.okhttp.internal.b;
import com.squareup.okhttp.m;
import java.net.Socket;
import okio.i;
import okio.y;
import okio.z;
abstract class e
implements y
{
protected boolean a;
private okio.l b = new okio.l(d.b(this.c).a());
private e(d paramd)
{
}... | clilystudio/NetBook | allsrc/com/squareup/okhttp/internal/http/e.java | Java | unlicense | 1,069 |
/*
* Copyright 2002-2007 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/test/org/springframework/beans/factory/support/ManagedSetTests.java | Java | unlicense | 2,734 |