answer
stringlengths
17
10.2M
package de.alpharogroup.crypto; import de.alpharogroup.crypto.algorithm.AesAlgorithm; import de.alpharogroup.crypto.algorithm.HashAlgorithm; import de.alpharogroup.crypto.algorithm.KeyPairGeneratorAlgorithm; import de.alpharogroup.crypto.algorithm.MacAlgorithm; import de.alpharogroup.crypto.algorithm.MdAlgorithm; impor...
package it.unisannio.srss.utils; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.nio.file.Files; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class ApkUtils { private final static Logger log = LoggerFactory.getLogger(ApkUtils.class); /** ...
package ai.grakn; import com.ldbc.driver.Db; import com.ldbc.driver.DbConnectionState; import com.ldbc.driver.DbException; import com.ldbc.driver.control.LoggingService; import com.ldbc.driver.workloads.ldbc.snb.interactive.LdbcShortQuery1PersonProfile; import com.ldbc.driver.workloads.ldbc.snb.interactive.LdbcShortQue...
package com.growthpush; import android.content.Context; import com.google.android.gms.gcm.GoogleCloudMessaging; import com.google.android.gms.iid.InstanceID; import com.growthbeat.Growthbeat; import com.growthbeat.GrowthbeatThreadExecutor; import com.growthbeat.Logger; import com.growthbeat.Preference; import com.growt...
package org.perfmon4j; import junit.framework.TestCase; import junit.framework.TestSuite; import junit.textui.TestRunner; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Level; import org.apache.log4j.Logger; public class ThreadTraceMonitorTest extends TestCase { public static final String TEST_A...
package com.jolbox.bonecp; import java.io.PrintWriter; import java.io.Serializable; import java.sql.Connection; import java.sql.SQLException; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import javax.sql.DataSource; import org.slf4j.Logger; import org.slf4j....
package roart.controller; import java.io.BufferedWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.u...
/** * Container for routig configs * * @author ab */ package btools.router; import java.util.ArrayList; import java.util.List; import btools.mapaccess.*; import btools.expressions.*; public final class RoutingContext implements DistanceChecker { public void setAlternativeIdx( int idx ) { if ( idx < 0 ) idx ...
package ictk.boardgame.chess.ui; /** This is a visual representation of a chess board. The interface can be * extended by both GUI (Graphic) and CLI (command line) classes. */ public interface ChessBoardDisplay { /** no coordinates to appear around the boarders of the board */ public static int NO_COORDINA...
package ch.elexis.data; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import ch.elexis.core.data.beans.ContactBean; import ch.elexis.core.model.ILabItem; import ch.elexis.core.mode...
package org.drools.ide.editors; import java.awt.BorderLayout; import java.awt.Frame; import java.io.Reader; import org.drools.RuleBase; import org.drools.RuleBaseFactory; import org.drools.compiler.DrlParser; import org.drools.compiler.PackageBuilder; import org.drools.ide.DroolsIDEPlugin; import org.drools.ide.builder...
package dynamake.transcription; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io....
package com.malhartech.engine; import com.malhartech.api.Context; import com.malhartech.api.DAGContext; import com.malhartech.api.Operator; import com.malhartech.util.AttributeMap; import com.malhartech.util.CircularBuffer; import java.io.IOException; import java.util.Collection; import java.util.Map; import java.util....
package ch.elexis.data; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import ja...
package com.github.s4ke.moar.regex; import java.util.regex.Pattern; import com.github.s4ke.moar.MoaMatcher; import com.github.s4ke.moar.MoaPattern; import com.github.s4ke.moar.moa.Moa; import com.github.s4ke.moar.regex.parser.RegexLexer; import com.github.s4ke.moar.regex.parser.RegexParser; import com.github.s4ke.moar....
package etomica.integrator; import etomica.action.AtomActionRandomizeVelocity; import etomica.atom.AtomLeafAgentManager; import etomica.atom.AtomLeafAgentManager.AgentSource; import etomica.atom.IAtom; import etomica.atom.IAtomKinetic; import etomica.atom.IAtomList; import etomica.box.*; import etomica.data.DataSourceS...
package org.appspot.apprtc; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Point; import android.media.AudioManager; import android.os.Bundle; import android.util.Log; import android.view.WindowManager; import a...
package bingoserver.network; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author 15096134 */ public class ClientReceiver implements Runnable { private final ServerSocket serverSock; private final Cl...
package org.flymine.web.widget; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.flymine.model.genomic.Gene; import org.flymine.model.genomic.Organism; import org.flymine.model.genomic.Protein; import org.flymine.model.genomic.ProteinDomain; import org.intermine.bio.web.logic.B...
package it.polimi.ingsw.game; import it.polimi.ingsw.exception.DebugException; import it.polimi.ingsw.exception.DefenseException; import it.polimi.ingsw.exception.IllegalStateOperationException; import it.polimi.ingsw.game.card.object.ObjectCard; import it.polimi.ingsw.game.card.object.ObjectCardBuilder; import it.poli...
package org.intermine.util; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import java.sql.SQLException; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; ...
package au.gov.amsa.gt; import static java.lang.Double.parseDouble; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import jav...
package org.intermine.web; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.ArrayList; import java.util.Map; /** * A template query, which consists of a PathQuery, description, category, * short name. * * @author Mark Woodbridge * @author Thomas Riley */ public class Te...
package com.couchbase.cblite.testapp.tests; import java.net.URL; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.Observable; import java.util.Observer; import java.util.concurrent.CountDownLatch; import junit.framework.Assert; import android.util.Log; import com.couchbase.cbli...
package com.couchbase.lite.replicator; import com.couchbase.lite.CouchbaseLiteException; import com.couchbase.lite.Database; import com.couchbase.lite.Document; import com.couchbase.lite.Emitter; import com.couchbase.lite.LiteTestCase; import com.couchbase.lite.LiveQuery; import com.couchbase.lite.Mapper; import com.co...
package h2o.common.util.io; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; public class CharsetWrapper { public static final CharsetWrapper UNSET = new CharsetWrapper(null); public final String charset; public CharsetWrapper(String charset) { ...
package steamcondenser.steam.community; import java.io.IOException; import java.util.ArrayList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.SA...
package com.intuit.karate; import com.intuit.karate.core.MatchType; import com.intuit.karate.core.FeatureContext; import com.intuit.karate.core.ScenarioContext; import com.intuit.karate.exception.KarateException; import static com.intuit.karate.ScriptValue.Type.*; import com.intuit.karate.core.Engine; import com.intuit...
package samples.expert; import static water.util.MRUtils.sampleFrame; import hex.deeplearning.DeepLearning; import water.Job; import water.TestUtil; import water.fvec.Frame; import water.util.Log; import java.util.Random; /** * Runs a neural network on the MNIST dataset. */ public class DeepLearningMnist extends Job ...
package app.hongs.serv.matrix; import app.hongs.Cnst; import app.hongs.Core; import app.hongs.HongsException; import app.hongs.action.ActionHelper; import app.hongs.action.FormSet; import app.hongs.action.NaviMap; import app.hongs.db.DB; import app.hongs.db.Model; import app.hongs.db.Table; import app.hongs.db.util.Fet...
package astava.java.gen; import astava.core.Node; import astava.core.Tuple; import astava.java.*; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import static astava.java.Factory.*; import static astava.java.Factory.compareRhs; import static astava.java.Factory.logicalRhs; public...
package org.flymine.objectstore.query; import org.apache.log4j.Logger; import java.util.List; import java.util.AbstractList; import java.util.ArrayList; import java.util.Collections; import java.util.Map; import java.util.NoSuchElementException; import java.util.Iterator; import org.flymine.objectstore.ObjectStore; imp...
// Install the Java helper library from twilio.com/docs/java/install import com.twilio.Twilio; import com.twilio.rest.chat.v2.service.channel.Message; public class Example { // Find your Account Sid and Token at twilio.com/user/account public static final String ACCOUNT_SID = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; ...
package de.tum.in.jrealityplugin; import java.awt.Color; import java.util.ArrayList; import java.util.Hashtable; import java.util.Stack; import de.cinderella.api.cs.CindyScript; import de.cinderella.api.cs.CindyScriptPlugin; import de.cinderella.math.Vec; import de.tum.in.jrealityplugin.jogl.JOGLViewer; /** * Implemen...
package psidev.psi.mi.jami.xml; import psidev.psi.mi.jami.model.CvTerm; import javax.xml.bind.annotation.*; import java.util.Collection; /** * The experiment/participant host organism * * @author Marine Dumousseau (marine@ebi.ac.uk) * @version $Id$ * @since <pre>22/07/13</pre> */ @XmlAccessorType(XmlAccessType.PU...
package com.intellij.compiler; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.application.ex.PathManagerEx; import com.intellij.openapi.compiler.*; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.p...
package org.jboss.remoting3; import java.util.Iterator; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.Collections; import java.util.IdentityHashMap; import java.io.Serializable; /** * An immutable map of options to option values. No {@code null} keys or values are permitted...
package org.jsecurity.authc; /** * An AuthenticationModule is an {@link Authenticator} that can support specific types of * {@link AuthenticationToken AuthenticationToken}s. An implementation of this class can be used * in any JSecurity compatible PAM (Pluggable Authentication Module) implementation. * * @author ...
package it.geosolutions.jaiext.crop; import it.geosolutions.jaiext.mosaic.ImageMosaicBean; import it.geosolutions.jaiext.mosaic.MosaicOpImage; import it.geosolutions.jaiext.range.Range; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.RenderingHints.Key; import java.awt.geom.Rectangle2D; impor...
package cucumber.runtime.jython; import cucumber.api.DataTable; import cucumber.api.Scenario; import cucumber.runtime.Backend; import cucumber.runtime.CucumberException; import cucumber.runtime.Glue; import cucumber.runtime.UnreportedStepExecutor; import cucumber.runtime.io.Resource; import cucumber.runtime.io.Resource...
package org.simplity.service.test; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.Se...
package com.github.kevinsawicki.http; import static java.net.HttpURLConnection.HTTP_BAD_REQUEST; import static java.net.HttpURLConnection.HTTP_CREATED; import static java.net.HttpURLConnection.HTTP_INTERNAL_ERROR; import static java.net.HttpURLConnection.HTTP_NOT_FOUND; import static java.net.HttpURLConnection.HTTP_NOT...
package com.github.kevinsawicki.http; import static com.github.kevinsawicki.http.HttpRequest.get; import static com.github.kevinsawicki.http.HttpRequest.post; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.As...
package perf.server.config; public class JobFSConfig { private String jobResourceMonitoringFile; private String runsPath; private String runPath; private String runFile; private String jobRunNameFile; private String jobsPath; private String jobPath; private String jobStatusFile; priv...
package kcl.teamIndexZero.traffic.log; import kcl.teamIndexZero.traffic.log.fileIO.FileInput; import kcl.teamIndexZero.traffic.log.fileIO.FileOutput; import kcl.teamIndexZero.traffic.log.microLogger.MicroLogger; import kcl.teamIndexZero.traffic.log.outputs.Output; import kcl.teamIndexZero.traffic.log.outputs.Output_TER...
package com.google.refine.browsing.facets; import java.util.Properties; import java.util.regex.Pattern; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONWriter; import com.google.refine.browsing.FilteredRecords; import com.google.refine.browsing.FilteredRows; import com.google.refine.brows...
package org.slf4j; import java.io.IOException; import java.net.URL; import java.util.Arrays; import java.util.Enumeration; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.slf4j.event.SubstituteLoggingEvent; import org.slf4j.helpers.NOPLoggerFactory; import org.slf4j.helpers.Subst...
package org.neo4j.impl.shell.apps; import java.lang.reflect.Array; import java.rmi.RemoteException; import java.util.regex.Pattern; import org.neo4j.api.core.Direction; import org.neo4j.api.core.Node; import org.neo4j.api.core.NotFoundException; import org.neo4j.api.core.Relationship; import org.neo4j.api.core.Relation...
package etomica.cavity; import etomica.action.BoxImposePbc; import etomica.action.BoxInflate; import etomica.action.activity.ActivityIntegrate; import etomica.atom.AtomType; import etomica.box.Box; import etomica.config.ConfigurationLattice; import etomica.data.*; import etomica.data.history.HistoryCollapsingDiscard; i...
package ru.stqa.pft.sandbox; public class Point { public double x; public double y; public Point(double x, double y) { this.x = x; this.y = y; } public double distanceTo(Point p2) { double dx = p2.x - this.x; double dy = p2.y - this.y; double distance = Math.sqrt(dx * dx + dy * dy); return distance; ...
import uk.co.uwcs.choob.*; import uk.co.uwcs.choob.modules.*; import uk.co.uwcs.choob.support.*; import uk.co.uwcs.choob.support.events.*; import java.util.*; import java.util.regex.*; import java.text.*; /** * Choob link plugin * * @author Tim Retout <tim@retout.co.uk> * */ public class OldLink { public int i...
package net.gini.android; import android.content.Context; import android.content.SharedPreferences; import android.content.res.AssetManager; import com.android.volley.Cache; import com.android.volley.DefaultRetryPolicy; import com.android.volley.RequestQueue; import com.android.volley.toolbox.BasicNetwork; import com.a...
package claw.wani.transformation.sca; import claw.tatsu.xcodeml.abstraction.AssignStatement; import claw.tatsu.xcodeml.xnode.common.Xcode; import claw.tatsu.xcodeml.xnode.common.Xnode; import java.util.*; /** * Class representing a set of contiguous statements that can be wrapped in * a do statement and should vector...
package verification.platu.logicAnalysis; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Stack; ...
package ru.regenix.jphp.runtime.invoke; import ru.regenix.jphp.common.Messages; import ru.regenix.jphp.exceptions.CompileException; import ru.regenix.jphp.exceptions.FatalException; import ru.regenix.jphp.runtime.env.Environment; import ru.regenix.jphp.runtime.env.TraceInfo; import ru.regenix.jphp.runtime.env.message.N...
package hex.ensemble; import hex.DistributionFactory; import hex.Model; import hex.ModelBuilder; import hex.ensemble.Metalearner.Algorithm; import hex.genmodel.utils.DistributionFamily; import hex.glm.GLM; import hex.glm.GLMModel; import hex.glm.GLMModel.GLMParameters; import water.exceptions.H2OIllegalArgumentExceptio...
package soot.jimple.infoflow.cfg; import java.util.Collections; import soot.Body; import soot.Local; import soot.Scene; import soot.SootClass; import soot.SootField; import soot.SootMethod; import soot.Type; import soot.Unit; import soot.VoidType; import soot.jimple.IntConstant; import soot.jimple.Jimple; import soot.j...
package net.cryp7.range.hello; import java.io.File; public class NativeOutput { public NativeOutput() { int meaning = 42; output(); } /* end default c-tor */ private native int output(); static { try { System.loadLibrary("liboutput.so"); Sy...
package org.hibersap.bapi; import org.hibersap.annotations.BapiStructure; import org.hibersap.annotations.Convert; import org.hibersap.annotations.Parameter; import org.hibersap.conversion.CharConverter; /** * Standard BAPI structure for return values * * @author Carsten Erker */ @BapiStructure public class BapiRet...
package com.github.enanomapper; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.StringReader; import java.util.Iterator; import java.util.Set; import org.junit.Assert; import org.junit.Test; import org.semanticweb.owlapi.model.IRI; import org.semanticweb.owlapi.model.OWLClass; import or...
package com.lesstif.jira.project; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.Map; import org.apache.commons.configuration.ConfigurationException; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.lesstif.jira...
package com.neo4j.docker; import com.neo4j.docker.utils.HostFileSystemOperations; import com.neo4j.docker.utils.PwGen; import com.neo4j.docker.utils.SetContainerUser; import com.neo4j.docker.utils.TestSettings; import org.junit.Assume; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assumptions; i...
package com.neo4j.docker; import com.neo4j.docker.utils.HostFileSystemOperations; import com.neo4j.docker.utils.PwGen; import com.neo4j.docker.utils.SetContainerUser; import com.neo4j.docker.utils.TestSettings; import org.junit.Assume; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assumptions; i...
package de.bmoth.typechecker; import org.junit.Test; import java.util.Map; import static de.bmoth.typechecker.TestTypechecker.getFormulaTypes; import static org.junit.Assert.assertEquals; public class RelationsTest { private static final String INTEGER = "INTEGER"; private static final String POW_INTEGER = "POW...
package org.it4y.net.netlink; import org.junit.Assert; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.nio.ByteBuffer; public class NlMessageTest { private Logger logger= LoggerFactory.getLogger(NlMessageTest.class); @Test public void testNlErrorMessage() throws E...
package org.redisson; import static org.assertj.core.api.Assertions.assertThat; import java.util.concurrent.BrokenBarrierException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import java.u...
package net.sourceforge.jtds.test; import java.sql.*; /** * @version 1.0 */ public class ResultSetTest extends TestBase { public ResultSetTest(String name) { super(name); } /** * Test BIT data type. */ public void testGetObject1() throws Exception { boolean data = true; ...
package org.apache.commons.collections; import junit.framework.*; import java.util.List; import java.util.Collection; import java.util.Arrays; import java.util.ArrayList; import java.util.Iterator; /** * Tests base {@link java.util.List} methods and contracts. * <p> * To use, simply extend this class, and implement ...
package org.xins.tests.client; import com.mycompany.allinone.capi.CAPI; import com.mycompany.allinone.capi.DefinedTypesResult; import com.mycompany.allinone.capi.SimpleTypesResult; import com.mycompany.allinone.types.Salutation; import com.mycompany.allinone.types.TextList; import java.io.File; import java.io.IOExcepti...
package org.newdawn.slick; import org.newdawn.slick.font.Glyph; import org.newdawn.slick.font.GlyphPage; import org.newdawn.slick.font.HieroSettings; import org.newdawn.slick.opengl.Texture; import org.newdawn.slick.opengl.TextureImpl; import org.newdawn.slick.opengl.renderer.Renderer; import org.newdawn.slick.opengl.r...
package uk.me.steev.java.heating.io.http; import java.io.IOException; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.eclipse.jetty.server.AbstractNCSARequestLog; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletHandler; import org.eclipse....
package us.corenetwork.tradecraft; import org.bukkit.Bukkit; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.entity.CreatureSpawnEvent; import org.bukkit.event.ent...
package com.splicemachine.derby.hbase; import java.io.IOException; import org.apache.derby.drda.NetworkServerControl; import org.apache.hadoop.hbase.CoprocessorEnvironment; import org.apache.hadoop.hbase.coprocessor.BaseRegionObserver; import org.apache.log4j.Logger; import com.splicemachine.derby.logging.DerbyOutputLo...
package com.DroneSimulator; import java.io.IOException; import nl.fcdonders.fieldtrip.bufferclient.*; public class BufferReader implements Runnable { private Screen screen; Header hdr; BufferClientClock c; public BufferReader(Screen s) { this.screen = s; connectBuffer(); } privat...
package org.cocos2d.opengl; import java.util.Collections; import java.util.Map; import java.util.Map.Entry; import java.util.WeakHashMap; import java.util.concurrent.ConcurrentLinkedQueue; import javax.microedition.khronos.opengles.GL10; import org.cocos2d.nodes.CCDirector; /** * This class performs tasks on the side...
package com.cloud.storage; import java.net.URI; import java.net.UnknownHostException; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.Enumeration;...
package common.templates; import com.github.jknack.handlebars.Helper; import com.github.jknack.handlebars.Options; import io.sphere.sdk.models.Base; import org.apache.commons.lang3.StringUtils; import org.yaml.snakeyaml.Yaml; import org.yaml.snakeyaml.error.YAMLException; import play.Logger; import javax.annotation.Nul...
package bndtools.m2e; import java.util.Arrays; import java.util.List; import java.util.Set; import org.apache.maven.lifecycle.MavenExecutionPlan; import org.apache.maven.plugin.MojoExecution; import org.apache.maven.project.MavenProject; import org.bndtools.api.Logger; import org.eclipse.core.resources.IFolder; import ...
package scal.io.liger.av; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.SurfaceTexture; import android.graphics.drawable.Drawable; import android.media.AudioManager; import andr...
package TestCases; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import roomSync.*; public class OfficeTesting { SRO sro; StudentOffice officeInstance; Office office; ...
package solver.variables; import org.testng.Assert; import org.testng.annotations.Test; import solver.Cause; import solver.Solver; import solver.constraints.binary.Absolute; import solver.constraints.binary.EqualX_YC; import solver.constraints.binary.GreaterOrEqualX_YC; import solver.constraints.nary.AllDifferent; impo...
package com.restfb; import static com.restfb.logging.RestFBLogger.CLIENT_LOGGER; import static com.restfb.util.EncodingUtils.decodeBase64; import static com.restfb.util.StringUtils.*; import static com.restfb.util.UrlUtils.urlEncode; import static java.lang.String.format; import static java.net.HttpURLConnection.*; imp...
package org.jasig.portal.channels.wsrp; import java.io.PrintWriter; import java.util.Collections; import java.util.Enumeration; import java.util.HashMap; import java.util.Locale; import java.util.Map; import org.jasig.portal.ChannelCacheKey; import org.jasig.portal.ChannelRuntimeData; import org.jasig.portal.ChannelRun...
package org.apache.batik.css; import java.io.StringReader; import org.apache.batik.css.value.ValueFactory; import org.apache.batik.css.value.ValueFactoryMap; import org.w3c.css.sac.CSSException; import org.w3c.css.sac.DocumentHandler; import org.w3c.css.sac.InputSource; import org.w3c.css.sac.LexicalUnit; import org.w3...
package io.spine.server.stand; import com.google.common.collect.Collections2; import com.google.common.collect.ImmutableCollection; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.protobuf.Any...
package scalac.symtab.classfile; import scala.tools.util.Position; import scalac.*; import scalac.atree.AConstant; import scalac.symtab.*; import scalac.util.*; import java.util.*; public class AttributeParser implements ClassfileConstants { /** the classfile input buffer */ protected AbstractFileReader in...
package com.evolveum.midpoint.schema.xjc.schema; import com.evolveum.midpoint.prism.PrismContainer; import com.evolveum.midpoint.prism.PrismObject; import com.evolveum.midpoint.prism.PrismReferenceValue; import com.evolveum.midpoint.schema.xjc.PrefixMapper; import com.evolveum.midpoint.schema.xjc.PrismForJAXBUtil; impo...
package com.mesmotronic.plugins; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.PluginResult; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaWebView; import org.json.JSONArray; import org.json.JSONException; import android.app....
package com.couchbase.lite; import com.couchbase.lite.internal.Body; import com.couchbase.lite.internal.RevisionInternal; import com.couchbase.lite.mockserver.MockDispatcher; import com.couchbase.lite.mockserver.MockDocumentGet; import com.couchbase.lite.mockserver.MockHelper; import com.couchbase.lite.mockserver.MockP...
package edu.umd.cs.findbugs; import static org.junit.Assert.assertFalse; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit.Assert; import org.junit.Assume; import org.junit.Before; import org.junit.Test; import edu.umd.cs.findbug...
package api.web.gw2.mapping.core; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Type; import java.net.MalformedURLException; import java.time.Duration; import java.time.ZonedDateTime; import java.util....
package ca.cumulonimbus.pressurenetsdk; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Date; import android.content.Context; import android.location.Location; import android.location.LocationListener; ...
package com.redhat.ceylon.model.typechecker.model; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.isNameMatching; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.isOverloadedVersion; import static com.redhat.ceylon.model.typechecker.model.ModelUtil.isResolvable; import java.util.Arr...
package com.super2k.tiledspriteengine; import com.nucleus.camera.ViewFrustum; import com.nucleus.geometry.Mesh; import com.nucleus.geometry.VertexBuffer; import com.nucleus.opengl.GLES20Wrapper; import com.nucleus.opengl.GLException; import com.nucleus.opengl.GLUtils; import com.nucleus.renderer.BaseRenderer; import co...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.toscana.controller.admin; /** * * @author Arandi */ public class AdminViewController { }
package com.vaadin.terminal.gwt.client.ui; import java.util.Date; import com.google.gwt.dom.client.Node; import com.google.gwt.event.dom.client.BlurEvent; import com.google.gwt.event.dom.client.BlurHandler; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.event.dom.client.ChangeHandler; import ...
package com.ForgeEssentials.AreaSelector; import java.io.Serializable; public abstract class AreaBase implements Serializable { // only really used for copying.. the points it was defined from. private Point start; // start selection private Point end; // end selection // used for pretty much everything...
package com.firefly.net; public class Config { private int timeout = 60 * 1000; // asynchronous I/O thread pool settings private int asynchronousCorePoolSize = Runtime.getRuntime().availableProcessors(); private int asynchronousMaximumPoolSize = Runtime.getRuntime().availableProcessors() * 2; privat...
package cpw.mods.fml.client; import java.io.IOException; import java.io.InputStream; import java.lang.Thread.UncaughtExceptionHandler; import java.util.Iterator; import java.util.Properties; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import javax.imageio.ImageIO; import net...
// BioRadReader.java package loci.formats.in; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.StringTokenizer; import java.util.Vector; import loci.common.Location; import loci.common.RandomAccessInputStream; import loci.common.XMLTools; import loci.formats.FilePattern; import...