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
/******************************************************************************* * 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-java-shared/src/org/oss/pdfreporter/xml/parsers/wrapper/UnmarshallingCDATASection.java
Java
lgpl-3.0
1,018
/* * Copyright (C) 2013, Peter Decsi. * * 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 3 of the License, or (at your option) any later version. * * Thi...
Depter/JRLib
NetbeansProject/jrlib/src/main/java/org/jreserve/jrlib/triangle/ratio/SmoothedRatioTriangle.java
Java
lgpl-3.0
1,815
/** * This file is part of IMS Caliper Analytics™ and is licensed to * IMS Global Learning Consortium, Inc. (http://www.imsglobal.org) * under one or more contributor license agreements. See the NOTICE * file distributed with this work for additional information. * * IMS Caliper is free software: you can redistr...
IMSGlobal/caliper-java-public
src/main/java/org/imsglobal/caliper/entities/resource/ImageObject.java
Java
lgpl-3.0
2,895
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cz.cvut.felk.cig.jcool.core; import java.util.Arrays; import java.util.Random; /** * Wrapper class around a point (or input vector) array. * This class is immutable making it threadsafe. It is not extendible...
dhonza/JCOOL
jcool/core/src/main/java/cz/cvut/felk/cig/jcool/core/Point.java
Java
lgpl-3.0
3,662
/* 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/align/AlignScoreForTaxon/AlignScoreForTaxon.java
Java
lgpl-3.0
2,913
package cqengine; import java.util.Random; import com.googlecode.cqengine.CQEngine; import com.googlecode.cqengine.IndexedCollection; import com.googlecode.cqengine.index.navigable.NavigableIndex; import com.googlecode.cqengine.index.radix.RadixTreeIndex; import com.googlecode.cqengine.index.suffix.SuffixTreeIndex; im...
agentsoz/jill
playground/cqengine/src/cqengine/CQTest.java
Java
lgpl-3.0
6,279
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
km-works/portal-rpc
portal-rpc-client/src/main/java/com/liferay/portlet/asset/model/impl/AssetTagStatsImpl.java
Java
lgpl-3.0
768
package quickml.supervised.featureEngineering1; import quickml.data.instances.InstanceWithAttributesMap; /** * Created by ian on 5/21/14. */ public interface AttributesEnrichStrategy { public AttributesEnricher build(Iterable<InstanceWithAttributesMap<?>> trainingData); }
sanity/quickml
src/main/java/quickml/supervised/featureEngineering1/AttributesEnrichStrategy.java
Java
lgpl-3.0
281
package org.areasy.runtime.actions.ars.data; /* * Copyright (c) 2007-2020 AREasy Runtime * * This library, AREasy Runtime and API for BMC Remedy AR System, is free software ("Licensed Software"); * you can redistribute it and/or modify it under the terms of the GNU Lesser General Public * License as published by ...
stefandmn/AREasy
src/java/org/areasy/runtime/actions/ars/data/FileWrapper.java
Java
lgpl-3.0
6,423
/** * Sign related classes. */ package syam.likes.sign;
syamn/Likes
src/main/java/syam/likes/sign/package-info.java
Java
lgpl-3.0
60
package com.enzokarate.tpengineer.utilities; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.server.MinecraftServer; import net.minecraft.world.World; /** * Created by enzo.rugai on 29/06/2014. */ public class TeleportUtil { public static String placeToString(int x, int y, int z,World wor...
enzokarate/TPEngineer
src/main/java/com/enzokarate/tpengineer/utilities/TeleportUtil.java
Java
lgpl-3.0
1,592
package com.mrnobody.morecommands.command; import org.apache.commons.lang3.tuple.MutablePair; import com.mrnobody.morecommands.core.MoreCommands; import com.mrnobody.morecommands.settings.MoreCommandsConfig; import com.mrnobody.morecommands.util.LanguageManager; import gnu.trove.map.TObjectIntMap; import net.minecra...
MrNobody98/morecommands
src/main/java/com/mrnobody/morecommands/command/ServerCommand.java
Java
lgpl-3.0
3,943
/* * Copyright (c) 2014 Mastek Ltd. All rights reserved. * * This file is part of JBEAM. JBEAM 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. * * JBEAM is distributed in the hope that it...
MastekLtd/JBEAM
jbeam-core-components/jbeam-core-comm/src/main/java/com/stgmastek/core/comm/security/ServerCallbackPassword.java
Java
lgpl-3.0
1,920
/* * i8c * Copyright (C) 2016 i8c NV * mailto:contact AT i8c DOT be * * 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...
I8C/sonar-flow-plugin
sonar-flow-plugin-sslr/src/main/java/be/i8c/codequality/sonar/plugins/sag/webmethods/flow/sslr/channels/SaxChannel.java
Java
lgpl-3.0
2,499
package de.uos.nbp.senhance.devicegui; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import de.uos.nbp.senhance.dat...
robertmuil/devicegui
src/de/uos/nbp/senhance/devicegui/DeviceStateViewAdapter.java
Java
lgpl-3.0
3,608
package fr.nawrasg.atlantis.widgets.config; import android.app.ListActivity; import android.appwidget.AppWidgetManager; import android.content.ComponentName; import android.content.ContentResolver; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.view.View; import...
nawrasg/Atlantis
Android/src/fr/nawrasg/atlantis/widgets/config/ScenarioWidgetConfigActivity.java
Java
lgpl-3.0
2,762
/** * @author agatting on 11.01.17. */ package org.openbase.bco.ontology.lib.utility.sparql; /*- * #%L * BCO Ontology Library * %% * Copyright (C) 2016 - 2021 openbase.org * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License ...
openbase/bco.ontology
lib/src/main/java/org/openbase/bco/ontology/lib/utility/sparql/package-info.java
Java
lgpl-3.0
881
package org.jaaslounge.ldap; import java.security.PrivilegedAction; import java.util.Hashtable; import javax.naming.Context; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directory.DirContext; import javax.naming.directory.InitialDirContext; import javax.naming.direct...
cbsit/JaasLounge
src/org/jaaslounge/ldap/LdapConnection.java
Java
lgpl-3.0
4,401
/* * 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
sonar-scanner-engine/src/test/java/org/sonar/scanner/rule/DefaultActiveRulesLoaderTest.java
Java
lgpl-3.0
5,252
/** * Copyright (C) 2022 Czech Technical University in Prague * * 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. *...
kbss-cvut/jopa
jopa-impl/src/test/java/cz/cvut/kbss/jopa/adapters/IndirectMapTest.java
Java
lgpl-3.0
4,810
/* * 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 de.uniqueplayers.speditionsverwaltung.funktionen.log; import java.io.IOException; import java.text.SimpleDateFormat; import ja...
Oberleutnant20/Spediverwaltung
Speditionsverwaltung/src/de/uniqueplayers/speditionsverwaltung/funktionen/log/Loging.java
Java
lgpl-3.0
1,418
package southampton.ecs.desktopcloudsim.vmallocationpolicies; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import org.cloudbus.cloudsim.Host; import org.cloudbus.cloudsim.Vm; import org.cloudbus.cloudsim.VmAllocationPolicy; public class G...
Abdulelah7/DesktopCloudSim
DesktopCloud/southampton/ecs/desktopcloudsim/vmallocationpolicies/GreedyVmAllocationPolicy.java
Java
lgpl-3.0
9,039
/* * Copyright (C) 2009 Leonardo Alves da Costa * * 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 dis...
leonhad/paradoxdriver
src/main/java/com/googlecode/paradox/parser/SQLParser.java
Java
lgpl-3.0
45,415
/** * tapioca.modelgen - ${project.description} * Copyright © 2015 Data Science Group (DICE) (michael.roeder@uni-paderborn.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...
AKSW/Tapioca
tapioca.modelgen/src/test/java/org/aksw/simba/tapioca/gen/preprocessing/StatResultsReaderTest.java
Java
lgpl-3.0
3,733
/******************************************************************************* * Copyright (c) 2013 <Project SWG> * * This File is part of NGECore2. * * 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 Fre...
uberamd/NGECore2
src/resources/objects/building/BuildingMessageBuilder.java
Java
lgpl-3.0
1,179
/** * 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
client/src/test/java/org/evosuite/symbolic/solver/cvc4/TestCVC4Math.java
Java
lgpl-3.0
2,429
/* * 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-monitoring/src/test/java/org/sonar/server/monitoring/devops/DevOpsMetricsTaskTest.java
Java
lgpl-3.0
2,705
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * ...
sikachu/jasperreports
src/net/sf/jasperreports/engine/convert/ConvertVisitor.java
Java
lgpl-3.0
8,113
package org.halfway.grapple.impl; import com.google.common.base.Verify; import org.halfway.grapple.model.GrappleAsset; import org.halfway.grapple.model.manifest.GrappleManifest; import java.io.File; import java.util.concurrent.Callable; /** * A function that can verify a single asset inside a manifest by checking t...
vladimir-lu/grapple
src/main/java/org/halfway/grapple/impl/AssetVerificationCallable.java
Java
lgpl-3.0
1,967
/* * SonarSource :: StyleCop :: ITs :: Plugin * Copyright (C) 2014 SonarSource * sonarqube@googlegroups.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...
savornicesei/sonar-stylecop
its/plugin/src/test/java/com/sonar/it/stylecop/Tests.java
Java
lgpl-3.0
1,934
/** * 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/factory/gui/GuiRefinery.java
Java
lgpl-3.0
3,881
/****************************************************************************** * Copyright (C) 2010-2016 CERN. All rights not expressly granted are reserved. * * This file is part of the CERN Control and Monitoring Platform 'C2MON'. * C2MON is free software: you can redistribute it and/or modify it under the * t...
c2mon/c2mon-client-ext-history
src/main/java/cern/c2mon/client/ext/history/dbaccess/beans/SavedHistoryEventRecordBean.java
Java
lgpl-3.0
1,577
/** * Appfrica Labs Uganda Ltd Copyrigth @since 2009 * @version 2 * * @author Ivan Kavuma */ /** * This class manages the Searching of databases (online and local) */ package questionbox; import qbox.model.*; import javax.swing.event.* ; import javax.swing.JOptionPane; import java.util.*; import java.net.URL...
jongos/Question_Box_Desktop
App/QuestionBox/src/questionbox/Search.java
Java
lgpl-3.0
31,359
package net.alantea.proper.test.material.associatetest; public final class Names { // Keys public static final String SIMPLEKEYNAME = "SimpleKeyName"; public static final String SIMPLEKEYCODE1 = "SimpleKeyCode1"; public static final String SIMPLEKEYCODE2 = "SimpleKeyCode2"; // Parameters ...
jrebillat/Proper
Proper-test/src/net/alantea/proper/test/material/associatetest/Names.java
Java
lgpl-3.0
653
package business_rules; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.io.PrintWriter; import java.text.DateFormat; import java.text.Simp...
openefsa/CatalogueBrowser
src/business_rules/WarningUtil.java
Java
lgpl-3.0
82,288
/* * Sonar, open source software quality management tool. * Copyright (C) 2008-2011 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar 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; e...
leodmurillo/sonar
plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java
Java
lgpl-3.0
4,448
/** * Copyright 2009 - 2014 Jörgen Lundgren * * This file is part of org.cel4j.template. * * org.cel4j.template 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 Li...
WavePropagation/org.cel4j.template
src/main/org/cel4j/template/swing/JTreeMouseListener.java
Java
lgpl-3.0
8,024
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.01.12 at 06:38...
estevaosaleme/MpegMetadata
src/org/iso/mpeg/mpeg21/_2003/dia/AudioModeType.java
Java
lgpl-3.0
2,506
/** * This file is part of CloudML [ http://cloudml.org ] * * Copyright (C) 2012 - SINTEF ICT * Contact: Franck Chauvel <franck.chauvel@sintef.no> * * Module: root * * CloudML is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published b...
SINTEF-9012/cloudml
ui/shell/src/test/java/org/cloudml/ui/shell/commands/ScriptTest.java
Java
lgpl-3.0
2,318
package org.kalibro.core.abstractentity; import java.lang.reflect.Method; import org.kalibro.KalibroError; import org.kalibro.core.reflection.FieldReflector; /** * Compares entities based on fields specified at {@link SortingFields} annotation. * * @author Carlos Morais */ class EntityComparator<T extends Compa...
mezuro/kalibro
KalibroCore/src/org/kalibro/core/abstractentity/EntityComparator.java
Java
lgpl-3.0
1,984
/* * Model Tools. * Copyright (C) 2013 Pal Hargitai (pal@lunarray.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) an...
lunarray-org/model-descriptor
src/main/java/org/lunarray/model/descriptor/builder/annotation/resolver/package-info.java
Java
lgpl-3.0
849
package de.teamlapen.vampirism.effects; import net.minecraft.entity.LivingEntity; import net.minecraft.potion.EffectType; import net.minecraft.util.DamageSource; public class VampirismPoisonEffect extends VampirismEffect { public static int DEADLY_AMPLIFIER = 4; public VampirismPoisonEffect(String name, in...
TeamLapen/Vampirism
src/main/java/de/teamlapen/vampirism/effects/VampirismPoisonEffect.java
Java
lgpl-3.0
888
package tap.resource; /* * This file is part of TAPLibrary. * * TAPLibrary 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 versio...
gmantele/experimental-taplib
tap/taplib/src/tap/resource/TAP.java
Java
lgpl-3.0
38,623
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved. * http://www.jaspersoft.com * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is part of JasperReports. * ...
sikachu/jasperreports
src/net/sf/jasperreports/engine/util/JRCloneUtils.java
Java
lgpl-3.0
2,862
package com.github.br.starmarines.map.converter; import org.jgrapht.graph.DefaultEdge; public class GalaxyEdge extends DefaultEdge { private static final long serialVersionUID = 1L; private VertexPlanet from; private VertexPlanet to; public GalaxyEdge(VertexPlanet from, VertexPlanet to){ this.from = from; ...
burningrain/planetBot
map-service-graphml/src/main/java/com/github/br/starmarines/map/converter/GalaxyEdge.java
Java
unlicense
442
package code.two; import java.util.ArrayList; import java.util.List; //Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. // //For example, //If n = 4 and k = 2, a solution is: // //[ // [2,4], // [3,4], // [2,3], // [1,2], // [1,3], // [1,4], //] publi...
POKLpokl112/leetcode
leetcode/src/code/two/Combine_60point.java
Java
unlicense
913
package org.akka.essentials.grid.controller; import org.akka.essentials.grid.StopWorker; import akka.actor.ActorRef; import akka.actor.UntypedActor; import akka.event.Logging; import akka.event.LoggingAdapter; import akka.remote.RemoteClientError; public class RemoteClientEventListener extends UntypedActor { privat...
rokumar7/trial
GridPatternExample/src/main/java/org/akka/essentials/grid/controller/RemoteClientEventListener.java
Java
unlicense
1,266
package de.egga; import java.util.List; import static java.util.Arrays.asList; import static java.util.UUID.randomUUID; public class BusFactory { static Bus anyBus() { return new Bus(randomUUID().toString(), anyRoute()); } static List<Integer> anyRoute() { return asList(1, 2, 3); } ...
Egga/katas
modules/gossiping_bus_drivers/src/test/java/de/egga/BusFactory.java
Java
unlicense
322
//$Id: OneToOneLinkTest.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $ package org.hibernate.test.onetoone.link; import java.util.Date; import junit.framework.Test; import org.hibernate.Hibernate; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.testing.junit.functiona...
codeApeFromChina/resource
frame_packages/java_libs/hibernate-distribution-3.6.10.Final/project/hibernate-testsuite/src/test/java/org/hibernate/test/onetoone/link/OneToOneLinkTest.java
Java
unlicense
2,533
package glureau.kdp.behavioral.mediator.java; public abstract class Colleague { protected Mediator mediator; protected String name; public Mediator getMediator() { return mediator; } public void setMediator(Mediator mediator) { this.mediator = mediator; } public void introduceTheTeam(){ // Does noth...
glureau/kotlin-design-patterns
src/glureau/kdp/behavioral/mediator/java/Colleague.java
Java
unlicense
526
/** * Copyright 2010-present Facebook. * * 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 la...
Ramanujakalyan/Inherit
ui/plugins/com.phonegap.plugins.facebookconnect/platforms/android/FacebookLib/src/com/facebook/model/CreateGraphObject.java
Java
unlicense
1,628
package trith.lang; import java.math.BigDecimal; import java.math.BigInteger; public class Number { public static final BigDecimal ZERO = BigDecimal.ZERO; public static final BigDecimal ONE = BigDecimal.ONE; public static final BigDecimal TWO = BigDecimal.valueOf(2); public static final BigDecimal THREE...
trith/trith
src/java/trith/lang/Number.java
Java
unlicense
1,606
package me.ykrank.s1next.data.api; import java.util.concurrent.TimeUnit; import io.reactivex.Single; import io.rx_cache2.DynamicKey; import io.rx_cache2.DynamicKeyGroup; import io.rx_cache2.EvictDynamicKey; import io.rx_cache2.EvictDynamicKeyGroup; import io.rx_cache2.LifeCache; import io.rx_cache2.ProviderKey; impor...
ykrank/S1-Next
app/src/main/java/me/ykrank/s1next/data/api/ApiCacheProvider.java
Java
unlicense
1,349
package com.jfixby.r3.activity.red; import com.jfixby.r3.activity.api.ActivityManager; import com.jfixby.r3.activity.api.ActivityToolkit; import com.jfixby.r3.activity.api.ComponentsFactory; import com.jfixby.r3.activity.api.RootLayer; import com.jfixby.r3.activity.api.camera.CanvasCameraSpecs; import com.jfixby.r3.a...
RedTriplane/RedTriplane
r3-activity-red/src/com/jfixby/r3/activity/red/RedActivityManager.java
Java
unlicense
5,041
/* * 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/scheduling/quartz/ResourceLoaderClassLoadHelper.java
Java
unlicense
3,252
/* * 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 ...
cc14514/hq6
hq-agent/hq-agent-core/src/main/java/org/hyperic/hq/agent/server/LoggingOutputStream.java
Java
unlicense
6,065
package com.nostra13.universalimageloader.a.a.a.a; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; final class i implements Closeable { private final InputStream a; private final...
clilystudio/NetBook
allsrc/com/nostra13/universalimageloader/a/a/a/a/i.java
Java
unlicense
2,548
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; public class Main { public static void main(String[] args) { Main main = new Main(); EventBus.getDefault().register(main); EventBus.getDefault().post("hello?"); EventBus.getDefault().unregister(main)...
greenrobot-team/greenrobot-examples
eventbus-java/src/main/java/Main.java
Java
unlicense
440
package com.example.Twitter_Android.Logic; public final class Constants { public static final int AUTH_PAGE_URI_LOADER_ID = 1; public static final int USER_INFO_LOADER_ID = 2; public static final int HOME_OLD_TWEETS_LOADER = 3; public static final int HOME_NEWEST_TWEETS_LOADER = 4; public static final int CONCRET...
StudentNSK/Test-SimpleTwitterClient
src/com/example/Twitter_Android/Logic/Constants.java
Java
unlicense
808
/* * NOTE: This copyright doesnot 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 doesnot ...
cc14514/hq6
hq-server/src/main/java/org/hyperic/hq/bizapp/server/trigger/conditional/AlertTrigger.java
Java
unlicense
6,318
package com.github.nginate.wolframalpha; import com.github.nginate.wolframalpha.exceptions.InvalidAppIdException; import com.github.nginate.wolframalpha.exceptions.MissingAppIdException; import com.github.nginate.wolframalpha.simple.SimpleApi; import org.junit.Before; import org.junit.Test; import java.util.Propertie...
nginate/wolframalpha-client
src/test/java/com/github/nginate/wolframalpha/SimpleApiIT.java
Java
unlicense
2,627
package com.imooc.reflect; public class MethodDemo3 { /** * @param args */ public static void main(String[] args) { User u1 = new User("zhangsan", "123456", 30); System.out.println(BeanUtil.getValueByPropertyName(u1, "username")); System.out.println(BeanUtil.getValueByPropertyName(u1, "userp...
zhaoccx/COM
JavaReflect/src/com/imooc/reflect/MethodDemo3.java
Java
unlicense
338
package com.didi.entity; import java.util.ArrayList; import java.util.Date; import java.util.List; public class UserExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public UserExample() { oredCriteria = new ArrayList<Criteria>(); ...
seekwhy/didi-demo
src/main/java/com/didi/entity/UserExample.java
Java
unlicense
31,442
package be.normegil.librarium.model.data.video; import be.normegil.librarium.WarningTypes; import be.normegil.librarium.libraries.Class; import be.normegil.librarium.tool.DataFactory; import be.normegil.librarium.tool.FactoryRepository; import be.normegil.librarium.tool.validation.Validator; import org.junit.After; im...
Normegil/Librarium-Server
src/test/java/be/normegil/librarium/model/data/video/UTSerieSafety.java
Java
unlicense
2,125
package gargoyle.ct.ui.impl; import gargoyle.ct.config.CTConfig; import gargoyle.ct.config.CTConfigs; import gargoyle.ct.messages.impl.CTMessages; import gargoyle.ct.messages.impl.CTPreferencesLocaleProvider; import gargoyle.ct.pref.CTPreferences; import gargoyle.ct.pref.CTPropertyChangeEvent; import gargoyle.ct.pref....
lure0xaos/CoffeeTime
src/main/java/gargoyle/ct/ui/impl/CTControl.java
Java
unlicense
10,078
package com.blazebit.blazefaces.apt; import java.lang.annotation.ElementType; import java.lang.annotation.Target; /** * * @author Christian */ @Target({ElementType.TYPE}) public @interface JsfPartialViewContextFactory { }
Blazebit/blaze-faces
blaze-faces-apt/src/main/java/com/blazebit/blazefaces/apt/JsfPartialViewContextFactory.java
Java
apache-2.0
228
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; import java.util.*; public class SQLServlet extends HttpServlet { public void init() throws ServletException { } public void doGet(HttpServletRequest request, HttpServletResponse response) thro...
JCE-Group/Cmput391-JCE
proj1/WEB-INF/classes/SQLServlet.java
Java
apache-2.0
1,568
/******************************************************************************* * Copyright 2015 Headmade Games * * 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 * * ...
headmadegames/ArtTag
core/src/headmade/arttag/DirectedGame.java
Java
apache-2.0
4,971
/* * 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 microservicerx.example; import io.vertx.codegen.annotations.ProxyGen; import io.vertx.codegen.annotations.VertxGen; import io....
orolle/micro-service-rx
example/src/main/java/microservicerx/example/MicroServiceRx.java
Java
apache-2.0
971
/* * Copyright (c) 2012 S.C. Axemblr Software Solutions S.R.L * * 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...
axemblr/axemblr-provisionr
providers/cloudstack/src/test/java/com/axemblr/provisionr/cloudstack/activities/DeleteKeyPairLiveTest.java
Java
apache-2.0
2,808
package com.example.jeson.gridlayout; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.act...
JesonandGao/Second_Test
a_09GridLayout/app/src/main/java/com/example/jeson/gridlayout/MainActivity.java
Java
apache-2.0
341
/* * 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 ...
freeVM/freeVM
enhanced/buildtest/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/share/MethodArgs/testMethodArgs_2.java
Java
apache-2.0
1,012
/** * Copyright 2007-2015, Kaazing Corporation. 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
chao-sun-kaazing/gateway
transport/http/src/main/java/org/kaazing/gateway/transport/http/bridge/filter/HttpPathMatchingFilter.java
Java
apache-2.0
4,103
/* */ package edu.drexel.cis.dragon.ir.index; /* */ /* */ import edu.drexel.cis.dragon.matrix.IntSparseMatrix; /* */ import edu.drexel.cis.dragon.nlp.SimpleElementList; /* */ import edu.drexel.cis.dragon.nlp.SimplePairList; /* */ import edu.drexel.cis.dragon.nlp.extract.ConceptExtractor; ...
xc35/dragontoolkit
src/main/java/edu/drexel/cis/dragon/ir/index/OnlineIndexer.java
Java
apache-2.0
7,922
/* * 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 * distribut...
stewartpark/presto
presto-main/src/main/java/com/facebook/presto/execution/TaskManagerConfig.java
Java
apache-2.0
12,753
/* * Copyright (c) 2014-2015 Spotify AB * * 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...
mattnworb/folsom
src/test/java/com/spotify/folsom/KetamaIntegrationTest.java
Java
apache-2.0
8,365
package com.mango.jtt.po; import javax.persistence.Embedded; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * @author HHL * * @date 2016年9月19日 订单信息 */ @Entity @Table(name = "omorder") public class Order extends BaseBean { private static final long serialVersio...
honghailiang/SpringMango
src/main/java/com/mango/jtt/po/Order.java
Java
apache-2.0
2,585
package com.simplegame.server.bus.bag.dao.filter; import com.simplegame.server.bus.bag.entity.RoleBagSlot; import com.simplegame.server.bus.bag.util.BagUtil; /** * * @Author zeusgooogle@gmail.com * @sine 2015年8月11日 下午3:08:57 * */ public class GoodsAmountFilter implements IQueryCountFilter<RoleBagSlot> { privat...
zuesgooogle/game-server
src/main/java/com/simplegame/server/bus/bag/dao/filter/GoodsAmountFilter.java
Java
apache-2.0
1,288
/* * 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-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/DescribeLoadBalancerTargetGroupsResult.java
Java
apache-2.0
9,216
/* * 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 distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-recaptchaenterprise/v1/1.31.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership.java
Java
apache-2.0
4,916
package com.vaadin.devday.mvp.ui; import javax.annotation.PostConstruct; import javax.enterprise.inject.Instance; import javax.inject.Inject; import com.vaadin.cdi.UIScoped; import com.vaadin.devday.mvp.ui.menu.ApplicationMenu; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewDisplay; import com.vaad...
peterl1084/devday-cdi
devday-parent/devday-ui/src/main/java/com/vaadin/devday/mvp/ui/ApplicationViewDisplay.java
Java
apache-2.0
1,318
package sourcecoded.quantum.client.renderer.tile; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft....
MSourceCoded/Quantum-Anomalies
src/main/java/sourcecoded/quantum/client/renderer/tile/TESRCornerstone.java
Java
apache-2.0
2,752
package org.jboss.resteasy.test.encoding; import javax.ws.rs.Encoded; import javax.ws.rs.GET; import javax.ws.rs.MatrixParam; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.UriBuilder; import org.jboss.resteasy.client.ClientRequest; import org.jboss.resteasy.client.ClientResponse; impor...
raphaelning/resteasy-client-android
jaxrs/resteasy-jaxrs/src/test/java/org/jboss/resteasy/test/encoding/MatrixParamEncodingTest.java
Java
apache-2.0
4,228
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.plugin.classanalysis.sampleclasses; /** * @author Tony Vaagenes */ public class Dummy {}
vespa-engine/vespa
bundle-plugin/src/test/java/com/yahoo/container/plugin/classanalysis/sampleclasses/Dummy.java
Java
apache-2.0
225
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
EvilMcJerkface/crate
server/src/main/java/io/crate/Plugin.java
Java
apache-2.0
2,524
/* * JBoss, Home of Professional Open Source * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. */ package org.jboss.community.sbs.plugin.jira; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.u...
jbossorg/jive-jira
src/main/java/org/jboss/community/sbs/plugin/jira/RemoteJiraManagerImpl.java
Java
apache-2.0
4,282
/** * Copyright 2015 Santhosh Kumar Tekuri * * The JLibs authors license this file to you 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 * * Unl...
santhosh-tekuri/jlibs
i18n-apt/src/main/java/jlibs/core/util/i18n/PropertiesUtil.java
Java
apache-2.0
7,523
package control; //: control/WhileTest.java // Demonstrates the while loop. public class WhileTest { static boolean condition() { boolean result = Math.random() < 0.99; System.out.print(result + ", "); return result; } public static void main(String[] args) { while(condition()) ...
vowovrz/thinkinj
thinkinj/src/main/java/control/WhileTest.java
Java
apache-2.0
444
package org.jfl110.prender.impl.parse; import static org.hamcrest.CoreMatchers.hasItem; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.instanceOf; import static org.jfl110.prender.TestingUtils.assertAbsent; import static org.jfl110.prender....
JFL110/app-base-prender
src/test/java/org/jfl110/prender/impl/parse/TestCssInlineParseTransformation.java
Java
apache-2.0
5,946
package stsc.general.simulator.multistarter.genetic.settings.distance; import stsc.general.simulator.Execution; /** * Classes of this interface should calculate distance between two {@link Execution}. */ public interface SimulatorSettingsInterval { public double calculateInterval(final Execution left, fi...
sidorovis/stsc.general
src/main/java/stsc/general/simulator/multistarter/genetic/settings/distance/SimulatorSettingsInterval.java
Java
apache-2.0
346
package me.ycdev.android.arch.demo.wrapper; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import me.ycdev.android.arch.wrapper.BroadcastHelper; public class BroadcastHelperLintCase { public static Intent registerGood(...
yongce/AndroidArch
demo/src/main/java/me/ycdev/android/arch/demo/wrapper/BroadcastHelperLintCase.java
Java
apache-2.0
1,592
// $Header: $ package au.edu.uwa.csse.dyerd01.ipd.framework.evolution; import java.util.EventListener; /** * Listener interface to be implemented by classes that wish to register * for notifications about the evolution progress. * @author Daniel Dyer */ public interface EvolutionListener extends EventListener { ...
dwdyer/ipdframework
src/java/main/au/edu/uwa/csse/dyerd01/ipd/framework/evolution/EvolutionListener.java
Java
apache-2.0
358
/* * Created on 12-gen-2005 * * */ package it.finsiel.siged.servlet; import it.finsiel.siged.constant.FileConstants; import it.finsiel.siged.util.StringUtil; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; import javax.servlet.ServletException; import javax.servlet....
grusso14/eprot
src/it/finsiel/siged/servlet/BarcodeServlet.java
Java
apache-2.0
2,537
package com.emistoolbox.common.results.impl; import com.emistoolbox.common.model.analysis.EmisAggregatorDef; import com.emistoolbox.common.results.MetaResultValue; import com.emistoolbox.common.results.TableMetaResult; import java.util.ArrayList; import java.util.List; public class ExpandedTableMetaResult ext...
emistoolbox/emistoolbox
core/src/com/emistoolbox/common/results/impl/ExpandedTableMetaResult.java
Java
apache-2.0
2,575
package org.meinkopf.jerminal; import java.util.List; @SuppressWarnings({ "WeakerAccess", "unused" }) public class Command { private String name, raw; private List args; Command( ) { } Command(String name, String raw, List args) { this.name = name; this.raw = raw; this.args = args; } public String get...
kremen-karl/jerminal
src/main/java/org/meinkopf/jerminal/Command.java
Java
apache-2.0
614
package cz.metacentrum.perun.wui.profile.pages; import com.google.gwt.cell.client.FieldUpdater; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Style; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.uibinder.client.Ui...
ondrejvelisek/perun-wui
perun-wui-profile/src/main/java/cz/metacentrum/perun/wui/profile/pages/IdentitiesView.java
Java
apache-2.0
8,654
package hr.logos.subtitles; /** * @author pfh (Kristijan Šarić) */ public interface FinderResult<T> { T getResult(); }
ksaric/Subfinder
src/main/java/hr/logos/subtitles/FinderResult.java
Java
apache-2.0
131
package com.fishercoder.solutions; import java.util.HashSet; import java.util.Set; public class _356 { public static class Solution1 { /** * credit: https://discuss.leetcode.com/topic/48172/simple-java-hashset-solution */ public boolean isReflected(int[][] points) { i...
fishercoder1534/Leetcode
src/main/java/com/fishercoder/solutions/_356.java
Java
apache-2.0
948
package com.fulin.utils; public class TreeNode { public int val; public TreeNode left; public TreeNode right; public TreeNode(int val){ this.val = val; this.left = null; this.right = null; } }
fulinmao/SomeAlgorithms
src/com/fulin/utils/TreeNode.java
Java
apache-2.0
241
/* * Copyright 2020 Adaptris Ltd. * * 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...
adaptris/interlok
interlok-core/src/main/java/com/adaptris/core/transform/schema/ViolationHandlerImpl.java
Java
apache-2.0
1,749