repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
llaith/toolkit
toolkit-core/src/main/java/org/llaith/toolkit/core/pump/impl/BufferSink.java
1784
/******************************************************************************* * Copyright (c) 2005 - 2013 Nos Doughty * * 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 * * ...
apache-2.0
hamnis/json-stat.java
src/main/java/net/hamnaberg/jsonstat/Category.java
1899
package net.hamnaberg.jsonstat; import net.hamnaberg.funclite.Optional; import java.util.*; public final class Category implements Iterable<String> { private final Map<String, String> labels = new LinkedHashMap<>(); private final Map<String, Integer> indices = new LinkedHashMap<>(); private final Map<S...
apache-2.0
orfjackal/pommac
src/test/java/net/orfjackal/pommac/util/ZipUtilSpec.java
3286
/* * Copyright © 2008-2009 Esko Luontola, www.orfjackal.net * * 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...
apache-2.0
tawja/twj-main
twj-platform/twj-plugins/twj-plugin-database/twj-plugin-database-impl-hsql/src/main/java/org/tawja/platform/plugins/database/hsql/impl/HsqldbDatabaseServer.java
5393
/* * Copyright 2015 Tawja. * * 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 w...
apache-2.0
niqo01/monkey
src/internalDebug/java/com/monkeysarmy/fit/ui/debug/HierarchyTreeChangeListener.java
1757
package com.monkeysarmy.fit.ui.debug; import android.view.View; import android.view.ViewGroup; /** * A {@link android.view.ViewGroup.OnHierarchyChangeListener hierarchy change listener} which recursively * monitors an entire tree of views. */ public final class HierarchyTreeChangeListener implements ViewGroup.OnHi...
apache-2.0
ArtificerRepo/s-ramp-tck
src/main/java/org/oasis_open/docs/s_ramp/ns/s_ramp_v1/PolicyExpression.java
1851
/* * Copyright 2014 JBoss 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 agreed to i...
apache-2.0
casid/mazebert-ladder
src/main/java/com/mazebert/error/Error.java
705
package com.mazebert.error; public abstract class Error extends RuntimeException { public Error(String message) { super(message); } public Error(String message, Throwable cause) { super(message, cause); } public abstract int getStatusCode(); @Override public boolean equal...
apache-2.0
OpenChaiSpark/OCspark
tfdma/src/main/java/com/pointr/tensorflow/api/PcieDMAServer.java
2774
package com.pointr.tensorflow.api; import static com.pointr.tensorflow.api.TensorFlowIf.*; public class PcieDMAServer extends DMAServerBase implements TensorFlowIf.DMAServer { public PcieDMAServer() { String parentDir = System.getenv("GITDIR") + "/tfdma"; String ext = System.getProperty("os.name").equals("...
apache-2.0
MarkRunWu/buck
src/com/facebook/buck/cxx/ArchiveScrubberStep.java
5492
/* * Copyright 2014-present Facebook, 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...
apache-2.0
fabric8io/kubernetes-client
crd-generator/api/src/test/java/io/fabric8/crd/generator/v1/JsonSchemaTest.java
7648
/** * Copyright (C) 2015 Red Hat, 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...
apache-2.0
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/module/identification/IdentificationModule.java
7707
/* * Copyright 2017 Young Digital Planet S.A. * * 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...
apache-2.0
ctripcorp/apollo
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/ItemController.java
7531
/* * Copyright 2021 Apollo Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
wangxujin/json-rpc
src/main/java/com/felix/unbiz/json/rpc/util/CollectionUtils.java
666
package com.felix.unbiz.json.rpc.util; import java.util.Collection; /** * ClassName: CollectionUtils <br> * Function: 集合工具类 * * @author wangxujin */ public final class CollectionUtils { private CollectionUtils() { } /** * 判断集合是否为空 * * @param coll 集合对象 * * @return */ ...
apache-2.0
nafae/developer
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201405/BaseRateError.java
1565
package com.google.api.ads.dfp.jaxws.v201405; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * An error having to do with {@link BaseRate}. * * * <p>Java class for BaseRateError complex t...
apache-2.0
christophersmith/summer-mqtt
summer-mqtt-core/src/main/java/com/github/christophersmith/summer/mqtt/core/util/MqttClientEventPublisher.java
8095
/******************************************************************************* * Copyright (c) 2019 Christopher Smith - https://github.com/christophersmith * * 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 ...
apache-2.0
estatio/estatio
estatioapp/app/src/main/java/org/incode/module/document/dom/impl/docs/minio/Document_downloadExternalUrlAsBlob.java
1351
package org.incode.module.document.dom.impl.docs.minio; import javax.inject.Inject; import org.apache.isis.applib.annotation.Action; import org.apache.isis.applib.annotation.ActionLayout; import org.apache.isis.applib.annotation.Mixin; import org.apache.isis.applib.annotation.SemanticsOf; import org.apache.isis.appli...
apache-2.0
toulezu/play
sendEmail/test/dataparser/TestReadDate.java
1071
package dataparser; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class TestReadDate { public static void main(String[] args) { String file = "D:\\工作积累\\CSDN-中文IT社区-600万\\www.csdn.net.sql"; int cache = 10...
artistic-2.0
GcsSloop/SUtils
library/src/main/java/com/sloop/adapter/utils/CommonAdapter.java
2424
package com.sloop.adapter.utils; import android.content.Context; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import java.util.ArrayList; import java.util.List; /** * ListView 的通用适配器 * Auth...
artistic-2.0
ColaMachine/MyBlock
src/main/java/com/dozenx/game/engine/item/parser/ItemEquipParser.java
3844
package com.dozenx.game.engine.item.parser; import cola.machine.game.myblocks.engine.Constants; import cola.machine.game.myblocks.engine.modes.GamingState; import cola.machine.game.myblocks.manager.TextureManager; import cola.machine.game.myblocks.model.base.BaseBlock; import com.dozenx.game.engine.command.EquipPartTy...
bsd-2-clause
dobrakmato/jge
src/main/java/eu/matejkormuth/jge/exceptions/gl/ProgramLinkException.java
1761
/** * anothergltry - Another GL try * Copyright (c) 2015, Matej Kormuth <http://www.github.com/dobrakmato> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source ...
bsd-2-clause
myking520/gamefm
gamefm-net/src/main/java/com/myking520/github/client/IClientManager.java
232
package com.myking520.github.client; import org.apache.mina.core.session.IoSession; /** * 客户端管理 */ public interface IClientManager { public IClient create(IoSession session); public void remove(IoSession session); }
bsd-2-clause
manorrock/json
convert/src/main/java/com/manorrock/json/convert/JsonStringStringConverter.java
2078
/* * Copyright (c) 2002-2017, Manorrock.com. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright * notice, th...
bsd-2-clause
ONatalia/Masterarbeit
src/demo/inpro/system/pento/nlu/PentoRMRSResolver.java
12477
package demo.inpro.system.pento.nlu; import inpro.incremental.processor.RMRSComposer.Resolver; import inpro.irmrsc.rmrs.Formula; import inpro.irmrsc.rmrs.SimpleAssertion; import inpro.irmrsc.rmrs.SimpleAssertion.Type; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java....
bsd-2-clause
cemartins/RichTextFX
richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/XMLEditor.java
5270
package org.fxmisc.richtext.demo; import java.util.Collection; import java.util.Collections; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.fxmisc.flowless.VirtualizedScrollPane; import org.fxmisc.richtext.CodeArea; import org.fxmisc.richtext.LineNumberFactory; import org.fxmisc.richtext.m...
bsd-2-clause
bonej-org/BoneJ2
Modern/wrapperPlugins/src/main/java/org/bonej/wrapperPlugins/wrapperUtils/ResultUtils.java
6867
/*- * #%L * High-level BoneJ2 commands. * %% * Copyright (C) 2015 - 2020 Michael Doube, BoneJ developers * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the...
bsd-2-clause
chototsu/MikuMikuStudio
engine/src/jogl2/com/jme3/glhelper/Helper.java
1955
package com.jme3.glhelper; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import com.jme3.math.ColorRGBA; import com.jme3.shader.Shader; /** * OpenGL helper that does not rely on a specific binding. Its main purpose is to allow * to move the binding-agnostic OpenGL logic from the source code of the both...
bsd-2-clause
jinterval/jinterval
jinterval-expression/src/main/java/net/java/jinterval/expression/example/FireRisk.java
12563
/* * Copyright (c) 2016, JInterval Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list o...
bsd-2-clause
catree1988/CardFantasy-master
workspace/CardFantasyCore/src/cfvbaibai/cardfantasy/engine/feature/WeakenAllFeature.java
1173
package cfvbaibai.cardfantasy.engine.feature; import java.util.List; import cfvbaibai.cardfantasy.CardFantasyRuntimeException; import cfvbaibai.cardfantasy.data.Feature; import cfvbaibai.cardfantasy.engine.CardInfo; import cfvbaibai.cardfantasy.engine.EntityInfo; import cfvbaibai.cardfantasy.engine.FeatureInfo; impor...
bsd-2-clause
oGZo/zjgsu-abroadStu-web
backend/zjgsu-abroadStu/abroadStu-model/src/main/java/com/zjgsu/abroadStu/model/Admin.java
1355
package com.zjgsu.abroadStu.model; import java.io.Serializable; /** * Created by JIADONG on 16/4/29. */ public class Admin implements Serializable { private Integer id; private String account; private String password; private String token; private String lastLoginIp; public String getAccou...
bsd-2-clause
wingerjc/ChanteySongs
source/java/ChanteySongs/Data/DataUtil.java
2472
package ChanteySongs.Data; import java.io.*; import java.util.*; import java.text.*; import com.thoughtworks.xstream.*; public class DataUtil { public static final DateFormat formatter = new SimpleDateFormat("MM/dd/yyyy"); public static String getData(Scanner in, PrintWriter out, String name) { ...
bsd-2-clause
clementval/claw-compiler
driver/src/clawfc/depscan/FortranFileProgramUnitInfoDeserializer.java
1597
/* * This file is released under terms of BSD license * See LICENSE file for more information * @author Mikhail Zhigun */ package clawfc.depscan; import java.io.InputStream; import javax.xml.XMLConstants; import javax.xml.transform.stream.StreamSource; import javax.xml.validation.Schema; import javax.xml.validati...
bsd-2-clause
belteshazzar/oors
oors/src/org/oors/Base.java
12619
package org.oors; import java.util.Date; import javax.persistence.TypedQuery; import javax.swing.text.html.HTMLDocument; public abstract class Base extends OorsEventGenerator { private static final String NULL_ATTRIBUTE = "Null attribute parameter"; private static final String INVALID_VALUE_TYPE = "Attr...
bsd-2-clause
xyz327/studyResource
study-design-pattern/src/main/java/cn/xz/study/design/pattern/singleton/LazySingleton.java
601
package cn.xz.study.design.pattern.singleton; public class LazySingleton { /** * volatile 确保线程改变了变量的值时 会立刻同步改变量的值 以保证改变量的值是最新的 */ private volatile static LazySingleton singleton = null; private LazySingleton(){ } public static LazySingleton getInstance(){ if(singleton == null){ synchronized (LazySi...
bsd-2-clause
javafunk/matchbox
src/test/java/org/javafunk/matchbox/implementations/BetweenMatcherTest.java
2115
package org.javafunk.matchbox.implementations; import org.hamcrest.Description; import org.hamcrest.StringDescription; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.javafunk.matchbox.Matchers.successfullyMatches; import static org...
bsd-2-clause
markovmodel/stallone
src/stallone/mc/pcca/PCCA.java
11313
package stallone.mc.pcca; import static stallone.api.API.*; import stallone.api.IAlgorithm; import stallone.api.algebra.Algebra; import stallone.api.algebra.IEigenvalueDecomposition; import stallone.api.cluster.IClustering; import stallone.api.doubles.Doubles; import stallone.api.doubles.IDoubleArray; import stallone....
bsd-2-clause
warriordog/BlazeLoader
src/com/blazeloader/api/recipe/ApiCrafting.java
12203
package com.blazeloader.api.recipe; import com.google.common.collect.Lists; import net.minecraft.block.Block; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.CraftingManager; import net.minecraft.item.crafting.IRe...
bsd-2-clause
igorbotian/rsskit
src/main/java/com/rhcloud/igorbotian/rsskit/rest/RestEndpoint.java
479
package com.rhcloud.igorbotian.rsskit.rest; import com.fasterxml.jackson.databind.JsonNode; import org.apache.http.NameValuePair; import java.io.IOException; import java.util.Set; /** * @author Igor Botian <igor.botian@gmail.com> */ public interface RestEndpoint { JsonNode makeRequest(String endpoint, Set<Nam...
bsd-2-clause
bednar/components
src/main/java/com/github/bednar/components/inject/service/CoffeeCompilerCfg.java
608
package com.github.bednar.components.inject.service; import javax.annotation.Nonnull; /** * @author Jakub Bednář (07/01/2014 20:59) */ public final class CoffeeCompilerCfg { private Boolean bare = false; private CoffeeCompilerCfg() { } @Nonnull public static CoffeeCompilerCfg build() {...
bsd-2-clause
steven-maasch/spotsome
de.bht.ebus.spotsome/src/main/java/de/bht/ebus/spotsome/model/Spot.java
3630
package de.bht.ebus.spotsome.model; import java.util.Objects; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; ...
bsd-2-clause
iron-io/iron_worker_java
src/main/java/io/iron/ironworker/client/builders/ScheduleOptionsObject.java
1705
package io.iron.ironworker.client.builders; import java.util.Date; import java.util.HashMap; import java.util.Map; public class ScheduleOptionsObject { private Map<String, Object> options; public ScheduleOptionsObject() { options = new HashMap<String, Object>(); } public ScheduleOptionsObjec...
bsd-2-clause
wenerme/Lizzy
src/java/christophedelory/playlist/wpl/Body.java
2760
/* * Copyright (c) 2008, Christophe Delory * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this list of...
bsd-2-clause
buptwufengjiao/weibo4j
src/com/jungstudy/VertexMenuListener.java
660
/* * VertexMenuListener.java * * Created on March 21, 2007, 1:50 PM; Updated May 29, 2007 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package com.jungstudy; import edu.uci.ics.jung.visualization.VisualizationViewer; /** * Used to indica...
bsd-3-clause
fabricebouye/gw2-sab
gw2-sab/src/com/bouye/gw2/sab/scene/account/AccountInfoPaneController.java
11512
/* * Copyright (C) 2016-2017 Fabrice Bouyé * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ package com.bouye.gw2.sab.scene.account; import api.web.gw2.mapping.v1.guilddetails.GuildDetails; import api.web.gw2.map...
bsd-3-clause
bertleft/jmonkeyengine
jme3-bullet/src/main/java/com/jme3/bullet/joints/PhysicsJoint.java
5286
/* * Copyright (c) 2009-2012, 2016 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this li...
bsd-3-clause
gurkerl83/millipede-xtreemfs
java/servers/test/org/xtreemfs/test/common/libxtreemfs/ClientTest.java
8942
/* * Copyright (c) 2008-2011 by Paul Seiferth, Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ package org.xtreemfs.test.common.libxtreemfs; import java.io.IOException; import java.net.InetSocketAddress; import junit.framework.TestCase; import org.junit.After; import...
bsd-3-clause
al3xandru/testng-jmock
core/src/org/jmock/core/stub/ThrowStub.java
1847
/* Copyright (c) 2000-2004 jMock.org */ package org.jmock.core.stub; import org.jmock.core.Invocation; import org.jmock.core.Stub; import org.jmock.util.Assert; public class ThrowStub extends Assert implements Stub { private Throwable throwable; public ThrowStub(Throwable throwable) { this.throwabl...
bsd-3-clause
zzuegg/jmonkeyengine
jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusVR.java
20261
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.jme3.input.vr.oculus; import com.jme3.app.VREnvironment; import com.jme3.input.vr.HmdType; import com.jme3.input.vr.VRAPI;...
bsd-3-clause
linyufly/QLearningMP
AutoTest/Code/Machine Problem 1 (Part 1)_gazdzia2_attempt_2014-09-22-20-19-36_QLearningAgent.java
2454
/* Author: Robert Gazdziak (gazdzia2) */ /* Collaborated with: Thomas Lesniak (tlesnia2) */ import java.util.Random; import java.util.ArrayList; public class QLearningAgent implements Agent { public QLearningAgent() { this.rand = new Random(); } public void initialize(int numOfStates, int numOfActions) { ...
bsd-3-clause
sergv/jscheme
src/jscheme/JScheme.java
23965
package jscheme; import java.io.PrintWriter; import jsint.Evaluator; import jsint.InputPort; import jsint.Pair; import jsint.Scheme; import jsint.Symbol; import jsint.U; /** JScheme - a simple interface to JScheme. <p> This class provides methods to perform common Scheme operations from java. Each instance...
bsd-3-clause
yuripourre/etyllica-physics
src/main/java/org/dyn4j/collision/broadphase/BroadphaseDetector.java
7243
/* * Copyright (c) 2010-2013 William Bittle http://www.dyn4j.org/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * * Redistributions of source code must retain the above cop...
bsd-3-clause
groupon/monsoon
intf/src/main/java/com/groupon/lex/metrics/SynchronousGroupGenerator.java
853
package com.groupon.lex.metrics; import java.util.Collection; import static java.util.Collections.singleton; import java.util.concurrent.CompletableFuture; import java.util.concurrent.Executor; public abstract class SynchronousGroupGenerator implements GroupGenerator { protected abstract Collection<? extends Metr...
bsd-3-clause
lottie-c/spl_tests_new
src/java/cz/cuni/mff/spl/utils/ssh/SshReconnectingSession.java
7212
/* * Copyright (c) 2012, František Haas, Martin Lacina, Jaroslav Kotrč, Jiří Daniel * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the ab...
bsd-3-clause
pparkkin/eta
rts/src/eta/runtime/thunk/ApV.java
347
package eta.runtime.thunk; import eta.runtime.stg.Closure; import eta.runtime.stg.StgContext; public class ApV extends UpdatableThunk { public Closure p; public ApV(final Closure p) { super(); this.p = p; } @Override public Closure thunkEnter(StgContext context) { return ...
bsd-3-clause
ndexbio/ndex-rest
src/main/java/org/ndexbio/task/NdexTaskProcessor.java
2543
/** * Copyright (c) 2013, 2016, The Regents of the University of California, The Cytoscape Consortium * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code m...
bsd-3-clause
groupon/monsoon
exporter/src/main/java/com/groupon/lex/metrics/json/JsonTags.java
903
package com.groupon.lex.metrics.json; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.groupon.lex.metrics.Tags; import static com.groupon.lex.metrics.json.Json.extractMetricValue; import java.util.HashMap; import java.util.function.Function; import java.util.stream.C...
bsd-3-clause
NCIP/c3pr
codebase/projects/core/test/src/java/edu/duke/cabig/c3pr/MayoSpecificRegistryUseCaseTest.java
44705
/******************************************************************************* * Copyright Duke Comprehensive Cancer Center and SemanticBits * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/c3pr/LICENSE.txt for details. **********************************************...
bsd-3-clause
NUBIC/psc-mirror
domain/src/test/java/edu/northwestern/bioinformatics/studycalendar/domain/tools/hibernate/ScheduledActivityStateTypeTest.java
6590
package edu.northwestern.bioinformatics.studycalendar.domain.tools.hibernate; import edu.northwestern.bioinformatics.studycalendar.domain.DomainTestCase; import edu.northwestern.bioinformatics.studycalendar.domain.ScheduledActivityMode; import edu.northwestern.bioinformatics.studycalendar.domain.ScheduledActivityState...
bsd-3-clause
ffurkanhas/dungeon
src/main/java/org/mafagafogigante/dungeon/game/LocationPreset.java
2633
package org.mafagafogigante.dungeon.game; import org.mafagafogigante.dungeon.util.Percentage; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; /** * The LocationPreset class that serves as a recipe for Locations. */...
bsd-3-clause
Flash3388/FlashLib
flashlib.vision.core/src/main/java/com/flash3388/flashlib/vision/SourcePoller.java
788
package com.flash3388.flashlib.vision; import com.castle.util.throwables.ThrowableHandler; public class SourcePoller<T> implements Runnable { private final Source<? extends T> mSource; private final Pipeline<? super T> mPipeline; private final ThrowableHandler mThrowableHandler; public SourcePoller(...
bsd-3-clause
emabrey/SleekSlick2D
slick/src/main/java/org/newdawn/slick/SavedState.java
5505
package org.newdawn.slick; import org.newdawn.slick.muffin.FileMuffin; import org.newdawn.slick.muffin.Muffin; import org.newdawn.slick.muffin.WebstartMuffin; import org.newdawn.slick.util.Log; import javax.jnlp.ServiceManager; import java.io.IOException; import java.util.HashMap; /** * A utility to allow game setu...
bsd-3-clause
erwin1/gluon-samples
spring-motd/client/src/main/java/com/gluonhq/spring/motd/client/service/Service.java
2745
/** * Copyright (c) 2017, Gluon * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and ...
bsd-3-clause
intarsys/runtime
src/de/intarsys/tools/locator/ZipFileLocator.java
3058
package de.intarsys.tools.locator; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Writer; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import de.in...
bsd-3-clause
vanadium/intellij-vdl-plugin
gen/io/v/vdl/psi/impl/VdlTagImpl.java
933
// This is a generated file. Not intended for manual editing. package io.v.vdl.psi.impl; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTreeUtil; import static io...
bsd-3-clause
Team319/BobBAE2013
src/org/usfirst/frc319/BobBAE2013/commands/TrapdoorRetract.java
1650
// RobotBuilder Version: 0.0.2 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the bloc...
bsd-3-clause
smaccm/smaccm
fm-workbench/trusted-build/edu.umn.cs.crisys.tb/src/edu/umn/cs/crisys/topsort/TopologicalSort.java
2087
package edu.umn.cs.crisys.topsort; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; // TODO: currently only sorts the elements in the initial list, // even if the dependencies contain other ...
bsd-3-clause
GameRevision/GWLP-R
protocol/src/main/java/gwlpr/protocol/gameserver/outbound/P455_InformationChat.java
655
package gwlpr.protocol.gameserver.outbound; import gwlpr.protocol.serialization.GWMessage; /** * Auto-generated by PacketCodeGen. * Will display text of hard coded string IDs in the * chat box * */ public final class P455_InformationChat extends GWMessage { private short text; @Override publ...
bsd-3-clause
vanadium/intellij-vdl-plugin
gen/io/v/vdl/psi/impl/VdlFunctionLitImpl.java
1102
// This is a generated file. Not intended for manual editing. package io.v.vdl.psi.impl; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTreeUtil; import static io...
bsd-3-clause
hyperverse/mini2Dx
core/src/main/java/org/mini2Dx/core/graphics/ShapeTextureCache.java
6063
/** * Copyright (c) 2015 See AUTHORS file * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-3-clause
ekoontz/pgjdbc
org/postgresql/jdbc2/EscapedFunctions.java
25872
/*------------------------------------------------------------------------- * * Copyright (c) 2004-2014, PostgreSQL Global Development Group * * *------------------------------------------------------------------------- */ package org.postgresql.jdbc2; import java.lang.reflect.Method; import java.sql.SQLException; imp...
bsd-3-clause
jjfiv/coop
src/main/java/edu/umass/cs/jfoley/coop/conll/classifier/SparseFloatFeatures.java
712
package edu.umass.cs.jfoley.coop.conll.classifier; import ciir.jfoley.chai.collections.Pair; import gnu.trove.map.hash.TIntFloatHashMap; import java.util.Iterator; /** * @author jfoley. */ public class SparseFloatFeatures implements FeatureVector { TIntFloatHashMap features; @Override public Iterator<Pair<I...
bsd-3-clause
Nelspike/UniversityStuff
Spam ID3/src/Row.java
760
import java.util.*; public class Row<T> { private HashMap<String, T> rowValues; private int nColumns; public Row(int c) { nColumns = c; rowValues = new HashMap<String, T>(nColumns); } public HashMap<String, T> getRowValues() { return rowValues; } public void setRowValues(HashMap<String, T> rowValue...
bsd-3-clause
luttero/Maud
src/gov/noaa/pmel/sgt/PlotMark.java
7985
/* * $Id: PlotMark.java,v 1.1 2004/12/27 16:15:20 luca Exp $ * * This software is provided by NOAA for full, free and open release. It is * understood by the recipient/user that NOAA assumes no liability for any * errors contained in the code. Although this software is released without * conditions or restricti...
bsd-3-clause
oracle-adf/PaaS-SaaS_UIAccelerator
OSCProxyClient/src/com/oracle/ptsdemo/oscproxyclient/types/ProcessOpportunityResponse.java
1912
package com.oracle.ptsdemo.oscproxyclient.types; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for an...
bsd-3-clause
fresskarma/tinyos-1.x
tools/java/net/tinyos/message/ByteArray.java
2317
// $Id: ByteArray.java,v 1.2 2003/10/07 21:45:57 idgay Exp $ /* tab:4 * "Copyright (c) 2000-2003 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without writte...
bsd-3-clause
jeanlazarou/straight
src/com/ap/straight/unsupported/AbstractStatement.java
1965
package com.ap.straight.unsupported; import java.sql.*; import java.sql.ResultSet; public abstract class AbstractStatement implements Statement { public int getResultSetHoldability() throws SQLException { throw new UnsupportedOperationException(); } public boolean getMoreResults(int current) thr...
bsd-3-clause
NCIP/calims
calims2-model/src/java/gov/nih/nci/calims2/domain/inventory/l10n/ContainerQuantityBundle.java
789
/*L * Copyright Moxie Informatics. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/calims/LICENSE.txt for details. */ package gov.nih.nci.calims2.domain.inventory.l10n; import java.util.ListResourceBundle; import gov.nih.nci.calims2.domain.inventory.enumeration.Contain...
bsd-3-clause
jolting/cs263
project/src/main/java/project/GetPCD.java
8756
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * Copyright (c) 2014, Hunter Laux * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted...
bsd-3-clause
vivo-project/Vitro
api/src/main/java/edu/cornell/mannlib/vitro/webapp/modelaccess/impl/keys/OntModelKey.java
1164
/* $This file is distributed under the terms of the license in LICENSE$ */ package edu.cornell.mannlib.vitro.webapp.modelaccess.impl.keys; import edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess.LanguageOption; import edu.cornell.mannlib.vitro.webapp.utils.logging.ToString; /** * An immutable key for storin...
bsd-3-clause
pohh-mell/BeerHousePOS
src/ee/ut/math/tvt/salessystem/service/HibernateDataService.java
1610
package ee.ut.math.tvt.salessystem.service; import java.util.ArrayList; import java.util.List; import javax.swing.JOptionPane; import org.apache.log4j.Logger; import org.hibernate.Session; import ee.ut.math.tvt.salessystem.domain.data.Order; import ee.ut.math.tvt.salessystem.domain.data.SoldItem; import ee.ut.math....
bsd-3-clause
NCIP/caintegrator
caintegrator-war/src/gov/nih/nci/caintegrator/application/query/GenomicQueryHandler.java
17653
/** * Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caintegrator/LICENSE.txt for details. */ package gov.nih.nci.caintegrator.application.query; import gov.nih.nci.caintegrator.application.arraydata.ArrayDataService; imp...
bsd-3-clause
dougqh/JAK
net.dougqh.jak.core/src/net/dougqh/jak/TypeDescriptor.java
1479
package net.dougqh.jak; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; public final class TypeDescriptor { private final int flags; private final String name; private final TypeVariable<?>[] typeVars; private final Type parentType; private final Type[] interfaceTypes; TypeDescriptor( ...
bsd-3-clause
dimitarp/basex
basex-core/src/main/java/org/basex/query/util/pkg/PkgComponent.java
445
package org.basex.query.util.pkg; import java.io.*; /** * Package component. * * @author BaseX Team 2005-20, BSD License * @author Rositsa Shadura */ final class PkgComponent { /** Namespace URI. */ String uri; /** Component file. */ String file; /** * Extracts the component file name from the comp...
bsd-3-clause
kstreee/infer
infer/tests/endtoend/objc/BlockCaptureCXXRefTest.java
1797
/* * Copyright (c) 2016 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package en...
bsd-3-clause
Caleydo/caleydo
org.caleydo.ui/src/org/caleydo/core/view/opengl/picking/IPickingLabelProvider.java
691
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
bsd-3-clause
NCIP/cagrid-core
integration-tests/projects/sdk42StyleTests/src/org/cagrid/tests/data/styles/cacore42/story/SDK42DataServiceSystemTests.java
4639
/** *============================================================================ * Copyright The Ohio State University Research Foundation, The University of Chicago - * Argonne National Laboratory, Emory University, SemanticBits LLC, and * Ekagra Software Technologies Ltd. * * Distributed under the OSI-approved B...
bsd-3-clause
endlessm/chromium-browser
chrome/android/javatests/src/org/chromium/chrome/browser/SafeBrowsingTest.java
4607
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser; import android.support.test.InstrumentationRegistry; import android.support.test.filters.MediumTest; import org.jun...
bsd-3-clause
tarchan/NanikaKit
src/com/mac/tarchan/nanika/shell/NanikaCanvas.java
4436
/* * Copyright (c) 2009 tarchan. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condition...
bsd-3-clause
xiGUAwanOU/Ingwer
src/test/java/net/xiguawanou/ingwer/TestUtility.java
381
package net.xiguawanou.ingwer; import org.junit.Assert; public class TestUtility { public static void assertAnimationEquals(Animation animation, int startFrame, int endFrame, float fps) { Assert.assertEquals(startFrame, animation.getStartFrame()); Assert.assertEquals(endFrame, animation.getEndFrame()); Asse...
bsd-3-clause
OBHITA/Consent2Share
ThirdParty/logback-audit/audit-client/src/main/java/ch/qos/logback/audit/client/joran/action/AuditorAction.java
1850
/** * Logback: the reliable, generic, fast and flexible logging framework. * Copyright (C) 2006-2011, QOS.ch. All rights reserved. * * This program and the accompanying materials are dual-licensed under * either the terms of the Eclipse Public License v1.0 as published by * the Eclipse Foundation * * or (p...
bsd-3-clause
NCIP/calims
calims2-util/test/unit/java/gov/nih/nci/calims2/util/enumeration/I18nTestEnumeration.java
777
/*L * Copyright Moxie Informatics. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/calims/LICENSE.txt for details. */ /** * */ package gov.nih.nci.calims2.util.enumeration; import java.util.Locale; /** * @author viseem * */ public enum I18nTestEnumeration implement...
bsd-3-clause
cyclus/cyclist2
cyclist/src/edu/utexas/cycic/ConnectorLine.java
2469
package edu.utexas.cycic; import javafx.scene.paint.Color; import javafx.scene.shape.Line; import javafx.scene.text.Font; import javafx.scene.text.Text; public class ConnectorLine extends Line { { setStroke(Color.BLACK); } Line right = new Line(){ { setStrokeWidth(2); setStroke(Color.BLACK); } }; Lin...
bsd-3-clause
Team2168/FRC2014_Main_Robot
src/org/team2168/commands/intake/IntakeSingleBall.java
688
package org.team2168.commands.intake; import org.team2168.RobotMap; import org.team2168.commands.winch.WaitUntilBallNotPresent; import org.team2168.commands.winch.WaitUntilBallPresent; import edu.wpi.first.wpilibj.command.CommandGroup; public class IntakeSingleBall extends CommandGroup { public IntakeSingleBall() ...
bsd-3-clause
sebastiangraf/treetank
interfacemodules/jax-rx/src/test/java/org/treetank/service/jaxrx/util/DOMHelper.java
3354
/** * Copyright (c) 2011, University of Konstanz, Distributed Systems Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyrigh...
bsd-3-clause
mikem2005/vijava
src/com/vmware/vim25/VmConfigInfo.java
3563
/*================================================================================ Copyright (c) 2009 VMware, Inc. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must ...
bsd-3-clause
Kendanware/onegui
onegui-core/src/main/java/com/kendanware/onegui/core/Validation.java
3116
/* * Copyright (c) 2015 Kendanware * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and the followi...
bsd-3-clause
NUBIC/psc-mirror
web/src/main/java/edu/northwestern/bioinformatics/studycalendar/web/accesscontrol/PscAuthorizedCommand.java
783
package edu.northwestern.bioinformatics.studycalendar.web.accesscontrol; import org.springframework.validation.Errors; import java.util.Collection; /** * @author Rhett Sutphin */ public interface PscAuthorizedCommand { /** * Return the set of authorizations describing a user which could have * access...
bsd-3-clause
martijnvermaat/network-programming
assignment-3/Room.java
840
public class Room { private RoomType roomType; private boolean available; private String guest; public RoomType getRoomType() { return this.roomType; } public String getGuest() throws NotBookedException { if (isAvailable()) { throw new NotBookedException(); ...
bsd-3-clause
Parrot-Developers/libARDiscovery
JNI/java/com/parrot/arsdk/ardiscovery/ARDiscoveryDeviceService.java
8864
/* Copyright (C) 2014 Parrot SA Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
bsd-3-clause
magicDGS/gatk
src/test/java/org/broadinstitute/hellbender/tools/funcotator/dataSources/gencode/GencodeFuncotationUnitTest.java
18552
package org.broadinstitute.hellbender.tools.funcotator.dataSources.gencode; import org.broadinstitute.hellbender.GATKBaseTest; import org.broadinstitute.hellbender.exceptions.GATKException; import org.broadinstitute.hellbender.tools.funcotator.vcfOutput.VcfOutputRenderer; import org.testng.Assert; import org.testng.an...
bsd-3-clause
daejunpark/jsaf
third_party/pmd/src/main/java/net/sourceforge/pmd/lang/java/rule/design/AccessorClassGenerationRule.java
12208
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.java.rule.design; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import net.sourceforge.pmd.lang.java.ast.ASTAllocationExpres...
bsd-3-clause