code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package 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...
sergv/jscheme
src/jscheme/JScheme.java
Java
bsd-3-clause
23,965
/* * 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...
yuripourre/etyllica-physics
src/main/java/org/dyn4j/collision/broadphase/BroadphaseDetector.java
Java
bsd-3-clause
7,243
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...
groupon/monsoon
intf/src/main/java/com/groupon/lex/metrics/SynchronousGroupGenerator.java
Java
bsd-3-clause
853
/* * 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...
lottie-c/spl_tests_new
src/java/cz/cuni/mff/spl/utils/ssh/SshReconnectingSession.java
Java
bsd-3-clause
7,212
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 ...
pparkkin/eta
rts/src/eta/runtime/thunk/ApV.java
Java
bsd-3-clause
347
/** * 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...
ndexbio/ndex-rest
src/main/java/org/ndexbio/task/NdexTaskProcessor.java
Java
bsd-3-clause
2,543
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...
groupon/monsoon
exporter/src/main/java/com/groupon/lex/metrics/json/JsonTags.java
Java
bsd-3-clause
903
/******************************************************************************* * 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. **********************************************...
NCIP/c3pr
codebase/projects/core/test/src/java/edu/duke/cabig/c3pr/MayoSpecificRegistryUseCaseTest.java
Java
bsd-3-clause
44,705
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...
NUBIC/psc-mirror
domain/src/test/java/edu/northwestern/bioinformatics/studycalendar/domain/tools/hibernate/ScheduledActivityStateTypeTest.java
Java
bsd-3-clause
6,590
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. */...
ffurkanhas/dungeon
src/main/java/org/mafagafogigante/dungeon/game/LocationPreset.java
Java
bsd-3-clause
2,633
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(...
Flash3388/FlashLib
flashlib.vision.core/src/main/java/com/flash3388/flashlib/vision/SourcePoller.java
Java
bsd-3-clause
788
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...
emabrey/SleekSlick2D
slick/src/main/java/org/newdawn/slick/SavedState.java
Java
bsd-3-clause
5,505
/** * 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 ...
erwin1/gluon-samples
spring-motd/client/src/main/java/com/gluonhq/spring/motd/client/service/Service.java
Java
bsd-3-clause
2,745
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...
intarsys/runtime
src/de/intarsys/tools/locator/ZipFileLocator.java
Java
bsd-3-clause
3,058
// 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...
vanadium/intellij-vdl-plugin
gen/io/v/vdl/psi/impl/VdlTagImpl.java
Java
bsd-3-clause
933
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 ...
smaccm/smaccm
fm-workbench/trusted-build/edu.umn.cs.crisys.tb/src/edu/umn/cs/crisys/topsort/TopologicalSort.java
Java
bsd-3-clause
2,087
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...
GameRevision/GWLP-R
protocol/src/main/java/gwlpr/protocol/gameserver/outbound/P455_InformationChat.java
Java
bsd-3-clause
655
// 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...
vanadium/intellij-vdl-plugin
gen/io/v/vdl/psi/impl/VdlFunctionLitImpl.java
Java
bsd-3-clause
1,102
/** * 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...
hyperverse/mini2Dx
core/src/main/java/org/mini2Dx/core/graphics/ShapeTextureCache.java
Java
bsd-3-clause
6,063
/*------------------------------------------------------------------------- * * Copyright (c) 2004-2014, PostgreSQL Global Development Group * * *------------------------------------------------------------------------- */ package org.postgresql.jdbc2; import java.lang.reflect.Method; import java.sql.SQLException; imp...
ekoontz/pgjdbc
org/postgresql/jdbc2/EscapedFunctions.java
Java
bsd-3-clause
25,872
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...
jjfiv/coop
src/main/java/edu/umass/cs/jfoley/coop/conll/classifier/SparseFloatFeatures.java
Java
bsd-3-clause
712
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...
Nelspike/UniversityStuff
Spam ID3/src/Row.java
Java
bsd-3-clause
760
/* * $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...
luttero/Maud
src/gov/noaa/pmel/sgt/PlotMark.java
Java
bsd-3-clause
7,985
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...
oracle-adf/PaaS-SaaS_UIAccelerator
OSCProxyClient/src/com/oracle/ptsdemo/oscproxyclient/types/ProcessOpportunityResponse.java
Java
bsd-3-clause
1,912
// $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...
fresskarma/tinyos-1.x
tools/java/net/tinyos/message/ByteArray.java
Java
bsd-3-clause
2,317
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...
jeanlazarou/straight
src/com/ap/straight/unsupported/AbstractStatement.java
Java
bsd-3-clause
1,965
/*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...
NCIP/calims
calims2-model/src/java/gov/nih/nci/calims2/domain/inventory/l10n/ContainerQuantityBundle.java
Java
bsd-3-clause
789
/* * 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...
jolting/cs263
project/src/main/java/project/GetPCD.java
Java
bsd-3-clause
8,756
/* $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...
vivo-project/Vitro
api/src/main/java/edu/cornell/mannlib/vitro/webapp/modelaccess/impl/keys/OntModelKey.java
Java
bsd-3-clause
1,164
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....
pohh-mell/BeerHousePOS
src/ee/ut/math/tvt/salessystem/service/HibernateDataService.java
Java
bsd-3-clause
1,610
/** * 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...
NCIP/caintegrator
caintegrator-war/src/gov/nih/nci/caintegrator/application/query/GenomicQueryHandler.java
Java
bsd-3-clause
17,653
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( ...
dougqh/JAK
net.dougqh.jak.core/src/net/dougqh/jak/TypeDescriptor.java
Java
bsd-3-clause
1,479
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...
dimitarp/basex
basex-core/src/main/java/org/basex/query/util/pkg/PkgComponent.java
Java
bsd-3-clause
445
/* * 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...
kstreee/infer
infer/tests/endtoend/objc/BlockCaptureCXXRefTest.java
Java
bsd-3-clause
1,797
/******************************************************************************* * 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 *********************************...
Caleydo/caleydo
org.caleydo.ui/src/org/caleydo/core/view/opengl/picking/IPickingLabelProvider.java
Java
bsd-3-clause
691
/** *============================================================================ * 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...
NCIP/cagrid-core
integration-tests/projects/sdk42StyleTests/src/org/cagrid/tests/data/styles/cacore42/story/SDK42DataServiceSystemTests.java
Java
bsd-3-clause
4,639
// 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...
endlessm/chromium-browser
chrome/android/javatests/src/org/chromium/chrome/browser/SafeBrowsingTest.java
Java
bsd-3-clause
4,607
/* * 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...
tarchan/NanikaKit
src/com/mac/tarchan/nanika/shell/NanikaCanvas.java
Java
bsd-3-clause
4,436
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...
xiGUAwanOU/Ingwer
src/test/java/net/xiguawanou/ingwer/TestUtility.java
Java
bsd-3-clause
381
/** * 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...
OBHITA/Consent2Share
ThirdParty/logback-audit/audit-client/src/main/java/ch/qos/logback/audit/client/joran/action/AuditorAction.java
Java
bsd-3-clause
1,850
/*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...
NCIP/calims
calims2-util/test/unit/java/gov/nih/nci/calims2/util/enumeration/I18nTestEnumeration.java
Java
bsd-3-clause
777
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...
cyclus/cyclist2
cyclist/src/edu/utexas/cycic/ConnectorLine.java
Java
bsd-3-clause
2,469
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() ...
Team2168/FRC2014_Main_Robot
src/org/team2168/commands/intake/IntakeSingleBall.java
Java
bsd-3-clause
688
/** * 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...
sebastiangraf/treetank
interfacemodules/jax-rx/src/test/java/org/treetank/service/jaxrx/util/DOMHelper.java
Java
bsd-3-clause
3,354
/*================================================================================ 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 ...
mikem2005/vijava
src/com/vmware/vim25/VmConfigInfo.java
Java
bsd-3-clause
3,563
/* * 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...
Kendanware/onegui
onegui-core/src/main/java/com/kendanware/onegui/core/Validation.java
Java
bsd-3-clause
3,116
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...
NUBIC/psc-mirror
web/src/main/java/edu/northwestern/bioinformatics/studycalendar/web/accesscontrol/PscAuthorizedCommand.java
Java
bsd-3-clause
783
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(); ...
martijnvermaat/network-programming
assignment-3/Room.java
Java
bsd-3-clause
840
/* 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...
Parrot-Developers/libARDiscovery
JNI/java/com/parrot/arsdk/ardiscovery/ARDiscoveryDeviceService.java
Java
bsd-3-clause
8,864
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...
magicDGS/gatk
src/test/java/org/broadinstitute/hellbender/tools/funcotator/dataSources/gencode/GencodeFuncotationUnitTest.java
Java
bsd-3-clause
18,552
/** * 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...
daejunpark/jsaf
third_party/pmd/src/main/java/net/sourceforge/pmd/lang/java/rule/design/AccessorClassGenerationRule.java
Java
bsd-3-clause
12,208
// // Copyright 2016, Yahoo Inc. // Copyrights licensed under the New BSD License. // See the accompanying LICENSE file for terms. // package github.com.jminusminus.core.stream; public class Readable { // Jmm Readable wraps https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html protected java.io....
jminusminus/core
stream/Readable.java
Java
bsd-3-clause
2,510
package org.gearman; import org.gearman.JobServerPoolAbstract.ConnectionController; import org.gearman.core.GearmanConnection; import org.gearman.core.GearmanPacket; import org.gearman.core.GearmanPacket.Magic; import org.gearman.util.ByteArray; /** * The {@link GearmanJob} implementation for the {@link GearmanFunct...
fwix/java-gearman
src/org/gearman/WorkerJob.java
Java
bsd-3-clause
3,036
package picard.fingerprint; import htsjdk.samtools.metrics.MetricsFile; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import picard.cmdline.CommandLineProgramTest; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util....
broadinstitute/picard
src/test/java/picard/fingerprint/CalculateFingerprintMetricsTest.java
Java
mit
3,721
package com.pie.tlatoani.WebSocket; import com.pie.tlatoani.Core.Skript.MundoPropertyExpression; import com.pie.tlatoani.Core.Static.OptionalUtil; import mundosk_libraries.java_websocket.WebSocket; /** * Created by Tlatoani on 9/3/17. */ public class ExprWebSocketID extends MundoPropertyExpression<WebSocket, String...
TlatoaniHJ/MundoSK
src/com/pie/tlatoani/WebSocket/ExprWebSocketID.java
Java
mit
522
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.kusto.v2019_05_15.implementation; import java.ut...
selvasingh/azure-sdk-for-java
sdk/kusto/mgmt-v2019_05_15/src/main/java/com/microsoft/azure/management/kusto/v2019_05_15/implementation/DatabasePrincipalListResultInner.java
Java
mit
1,165
package ar.com.javacuriosities.ws.gen.service.jaxws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlRootElement(name = "getIpA...
ldebello/javacuriosities
JavaEE/JavaWebServices/JAX-WS/WSGenBasics/src/main/java/ar/com/javacuriosities/ws/gen/service/jaxws/GetIpAddressResponse.java
Java
mit
962
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockitousage.annotation; import org.fest.assertions.Assertions; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import or...
CyanogenMod/android_external_mockito
test/org/mockitousage/annotation/MockInjectionUsingConstructorTest.java
Java
mit
3,568
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2019_08_01; import com.microsoft.azure....
navalev/azure-sdk-for-java
sdk/network/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/network/v2019_08_01/Probe.java
Java
mit
1,770
/* * MIT License * * Copyright (c) 2016 BotMill.io * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
Aurasphere/facebot
src/main/java/co/aurasphere/botmill/fb/FbBotMillServlet.java
Java
mit
8,084
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.datatransfer.*; import java.awt.dnd.*; import java.awt.event.*; import java.io.IOException; import java.util.*; import java.util.List; import javax.activation.*; import javax.swing.*; impo...
mhcrnl/java-swing-tips
DnDReorderTable/src/java/example/MainPanel.java
Java
mit
7,343
package de.justsoftware.toolbox.testng; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.google.common.collect.FluentIterable; import com.google.common.collect.Iterat...
bjrke/just-java-toolbox
just-java-test-toolbox/src/main/java/de/justsoftware/toolbox/testng/DataProviders.java
Java
mit
3,248
import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVRecord; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.Reader; /** * Created by Linty on 2/12/2017. * 用 apache的 commons-csv 的公共类,编写一个适用于用例中读取Csv的方法 */ public class CsvUtility { ...
lintyleo/seleniumpro
SealSelenium/src/main/java/CsvUtility.java
Java
mit
1,057
/* * Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io> * All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package io.proleap.cobol.asg.metamodel.identification; import io.proleap.cobol.asg.metamodel...
uwol/cobol85parser
src/main/java/io/proleap/cobol/asg/metamodel/identification/ProgramIdParagraph.java
Java
mit
685
package it.gemmed.database; import it.gemmed.resource.Iscrizione; import java.sql.Array; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; /** * Crea una nuova iscrizione all'interno del database. Sono richiesti solo i campi * not NULL, per settare gli altri ca...
manuel-zulian/Match-Point
trunk/src/java/it/gemmed/database/CreateIscrizioneDatabase.java
Java
mit
1,902
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.storage.blob.changefeed.models; import com.azure.core.util.ExpandableStringEnum; import java.util.Collection; /** * This class represents the different BlobChangefeedEventTypes. */ public final class ...
selvasingh/azure-sdk-for-java
sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/models/BlobChangefeedEventType.java
Java
mit
1,274
/* 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 distribu...
klinker41/Android-TextView-LinkBuilder
library/src/main/java/com/klinker/android/link_builder/TouchableSpan.java
Java
mit
3,202
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.policy.v2018_05_01; import java.util.Collection;...
navalev/azure-sdk-for-java
sdk/policy/mgmt-v2018_05_01/src/main/java/com/microsoft/azure/management/policy/v2018_05_01/PolicyType.java
Java
mit
1,356
package net.fortytwo.smsn.brain.model; import net.fortytwo.smsn.SemanticSynchrony; import net.fortytwo.smsn.brain.BrainTestBase; import net.fortytwo.smsn.brain.model.entities.Atom; import net.fortytwo.smsn.brain.model.pg.PGAtom; import org.junit.Test; import java.io.IOException; import java.util.Collection; import s...
joshsh/extendo
brain/src/test/java/net/fortytwo/smsn/brain/model/GetAtomsByAcronymTest.java
Java
mit
2,472
/* * 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 threads; import java.awt.BorderLayout; import java.awt.Container; import java.awt.Graphics; import java.awt.Graphics2D; import...
devopsmwas/javapractice
NetBeansProjects/practice/src/threads/Bounce.java
Java
mit
4,470
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.containerregistry.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; import com...
martinsawicki/azure-sdk-for-java
azure-mgmt-containerregistry/src/main/java/com/microsoft/azure/management/containerregistry/implementation/WebhookEventInfoImpl.java
Java
mit
1,154
package com.blebail.components.core.security.cryptography; import org.apache.commons.codec.digest.DigestUtils; public class Md5 implements DigestAlgorithm { @Override public String digest(final String data) { return DigestUtils.md5Hex(data); } @Override public String toString() { ...
Daeliin/rest-framework
components-core/src/main/java/com/blebail/components/core/security/cryptography/Md5.java
Java
mit
366
/* * This file is part of Prism, licensed under the MIT License (MIT). * * Copyright (c) 2015 Helion3 http://helion3.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without rest...
Stonebound/Prism
src/main/java/com/helion3/prism/util/BlockUtil.java
Java
mit
6,277
package com.rohos.logon1; /* * Copyright 2014 Tesline-Service SRL. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); */ import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view....
AlexShilon/RohosLogonMobile
Android/RohosLogonKey/src/main/java/com/rohos/logon1/HelpActivity.java
Java
mit
1,571
package org.spongycastle.openssl.jcajce; import java.io.IOException; import java.io.OutputStream; import java.security.AlgorithmParameterGenerator; import java.security.AlgorithmParameters; import java.security.GeneralSecurityException; import java.security.Provider; import java.security.SecureRandom; import javax.cr...
open-keychain/spongycastle
pkix/src/main/java/org/spongycastle/openssl/jcajce/JceOpenSSLPKCS8EncryptorBuilder.java
Java
mit
6,994
package io.proleap.vb6.ast.statements; import java.io.File; import org.junit.Test; import io.proleap.vb6.runner.VbParseTestRunner; import io.proleap.vb6.runner.impl.VbParseTestRunnerImpl; public class DoLoopTest { @Test public void test() throws Exception { final File inputFile = new File("src/test/resources/io...
uwol/vb6parser
src/test/java/io/proleap/vb6/ast/statements/DoLoopTest.java
Java
mit
461
package domain; import java.io.Serializable; import java.sql.Timestamp; /** * 全体系统消息 * Created by sibyl.sun on 16/2/22. */ public class Msg implements Serializable { private static final long serialVersionUID = 1L; private long msgId;//消息id private String msgTitle; //消息标题 private String msgContent;...
howenkakao/style-web
app/domain/Msg.java
Java
mit
2,436
package rres.knetminer.datasource.server; import static uk.ac.ebi.utils.exceptions.ExceptionUtils.getSignificantMessage; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Arrays; import java.util.Collections; i...
AjitPS/KnetMiner
server-base/src/main/java/rres/knetminer/datasource/server/KnetminerServer.java
Java
mit
15,807
/* AdMobAdsListener.java Copyright 2015 AppFeel. All rights reserved. http://www.appfeel.com AdMobAds Cordova Plugin (com.admob.google) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software wi...
QuantumRand/admob-google-cordova
src/android/AdMobAdsAdListener.java
Java
mit
4,742
/***************************************************************************** * This file is part of the Prolog Development Tool (PDT) * * Author: Andreas Becker, Ilshat Aliev * WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start * Mail: pdt@lists.iai.uni-bonn.de * Copyright (C): 2013, CS Dept. III, Universit...
TeamSPoon/logicmoo_base
prolog/logicmoo/pdt_server/pdt.graphicalviews/src/org/cs3/pdt/graphicalviews/internal/ui/PredicatesListDialog.java
Java
mit
2,350
package com.ocdsoft.bacta.swg.shared.collision; /** * Created by crush on 8/13/2014. */ public class DoorInfo { public String frameAppearance; public String doorAppearance; public String doorAppearance2; public boolean doorFlip2; //public Vector delta; public float openTime; public float...
bacta/pre-cu
src/main/java/com/ocdsoft/bacta/swg/shared/collision/DoorInfo.java
Java
mit
672
package net.bitm.items; import net.bitm.creativeTab; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.item.ItemHoe; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class nythoe extends ItemHoe{ public nythoe(ToolMaterial par2ToolMaterial) { supe...
xbony2/Bitm
src/main/java/net/bitm/items/nythoe.java
Java
mit
613
package wordsegm; import java.util.ArrayList; public class Preprocess { public ArrayList<String> pretreat(String str, int maxSize) { ArrayList<String> prepare = new ArrayList<String>(); str = str.replaceAll("[\\pP¡®¡¯¡°¡±]", ""); char[] strChars = str.toCharArray(); for(int index = 0; index < strChars.len...
lkmcl37/Simple-WordSeg-Greedy-Algorithm
Preprocess.java
Java
mit
595
/* * Date: September 1st 2014 * Author: Adil Imroz * Twitter handle: @adilimroz * Organization: Moolya Software Testing Pvt Ltd * License Type: MIT */ package utils; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.List...
YagneshShah/SeleniumLearnExploreContribute
orangeHRM/src/utils/ReportParseGoogleUpdate.java
Java
mit
9,210
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.containerservice.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; i...
Azure/azure-sdk-for-java
sdk/resourcemanagerhybrid/azure-resourcemanager-containerservice/src/main/java/com/azure/resourcemanager/containerservice/models/Code.java
Java
mit
1,061
package automortar.sample.rest; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import javax.inject.Inject; import autodagger.AutoExpose; import automortar.sample.app.App; import automortar.sample.app.DaggerScope; import retrofit.RestAdapter; import retrofit.converter.GsonConverter; /** * Created ...
lukaspili/Auto-Mortar
sample/src/main/java/automortar/sample/rest/RestClient.java
Java
mit
909
/* * Copyright 2005 Joe Walker * * 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...
TheOpenCloudEngine/metaworks
metaworks-dwr/core/impl/main/java/org/directwebremoting/export/Data.java
Java
mit
5,172
package saberapplications.pawpads.service; import android.app.IntentService; import android.content.ActivityNotFoundException; import android.content.Intent; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.os.Handler; import android.webkit...
castaway2000/Pawpads
app/src/main/java/saberapplications/pawpads/service/FileDownloadService.java
Java
mit
4,649
package com.yunstudio.struts.listener; import javax.servlet.http.HttpSessionAttributeListener; import javax.servlet.http.HttpSessionBindingEvent; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; import com.yunstudio.service.AdminService; public class SessionListener implemen...
binghuo365/csustRepo
trunk/src/com/yunstudio/struts/listener/SessionListener.java
Java
mit
1,268
package leetcode221_230; import java.util.ArrayList; import java.util.List; /**Given a sorted integer array without duplicates, return the summary of its ranges. For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"]. * Created by eugene on 16/4/23. */ public class SummaryRanges { public List<String> su...
Ernestyj/JStudy
src/main/java/leetcode221_230/SummaryRanges.java
Java
mit
1,582
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.sql.v2017_03_01_preview; import java.util.Collec...
selvasingh/azure-sdk-for-java
sdk/sql/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sql/v2017_03_01_preview/DatabaseStatus.java
Java
mit
3,401
/** * This class is generated by jOOQ */ package de.piratenpartei.berlin.ldadmin.dbaccess.generated.tables.records; /** * This class is generated by jOOQ. */ @javax.annotation.Generated(value = { "http://www.jooq.org", "3.4.4" }, comments = "This class is generated by jOOQ") @java.la...
plattformbrandenburg/ldadmin
src/main/java/de/piratenpartei/berlin/ldadmin/dbaccess/generated/tables/records/BattleParticipantRecord.java
Java
mit
3,599
package chihane.jdaddressselector; import java.util.List; import chihane.jdaddressselector.model.City; import chihane.jdaddressselector.model.County; import chihane.jdaddressselector.model.Province; import chihane.jdaddressselector.model.Street; public interface AddressProvider { void provideProvinces(AddressRec...
chihane/JDAddressSelector
library/src/main/java/chihane/jdaddressselector/AddressProvider.java
Java
mit
680
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.puntodeventa.global.Entity; import java.io.Serializable; import java.math.BigInteger; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Embeddable; /** * * @author ...
lalongooo/POSSpring
src/main/java/com/puntodeventa/global/Entity/CredAmortPK.java
Java
mit
2,149
/* ConnectionErrorView.java Copyright (c) 2017 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.manager.setting; import android.content.Context; import androidx.annotation.Nullable; import android.util.AttributeSet; import android.v...
TakayukiHoshi1984/DeviceConnect-Android
dConnectManager/dConnectManager/dconnect-manager-app/src/main/java/org/deviceconnect/android/manager/setting/ConnectionErrorView.java
Java
mit
3,763
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
rokn/Count_Words_2015
testing/droolsjbpm-integration-master/kie-server-parent/kie-server-api/src/main/java/org/kie/server/api/model/instance/TaskAttachmentList.java
Java
mit
1,582
package integration; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static com.codeborne.selenide.CollectionCondition.empty; import static com.codeborne.selenide.Condition.cssClass; import static com.codeborne.selenide.Condition.value; import ...
codeborne/selenide
src/test/java/integration/ReplacingElementTest.java
Java
mit
1,651
/* * Copyright 2010-2017 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 "l...
loremipsumdolor/CastFast
src/com/amazonaws/internal/config/SignerConfig.java
Java
mit
1,109
/* * Encog(tm) Core v3.2 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2013 Heaton Research, 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 ...
ladygagapowerbot/bachelor-thesis-implementation
lib/Encog/src/main/java/org/encog/engine/network/activation/ActivationClippedLinear.java
Java
mit
2,484
package May2021Leetcode; import java.util.HashMap; public class _0621TaskScheduler2 { // https://leetcode.com/discuss/interview-question/432086/Facebook-or-Phone-Screen-or-Task-Scheduler/394783 public static void main(String[] args) { System.out.println(leastInterval(new int[] { 1, 1, 2, 1 }, 2)); } public stat...
darshanhs90/Java-InterviewPrep
src/May2021Leetcode/_0621TaskScheduler2.java
Java
mit
711