answer
stringlengths
17
10.2M
package ilg.gnuarmeclipse.debug.gdbjtag.jlink.ui; import ilg.gnuarmeclipse.debug.gdbjtag.jlink.Activator; import ilg.gnuarmeclipse.debug.gdbjtag.jlink.ConfigurationAttributes; import ilg.gnuarmeclipse.debug.gdbjtag.jlink.PreferenceConstants; import ilg.gnuarmeclipse.debug.gdbjtag.jlink.SharedStorage; import ilg.gnuarme...
package uk.ac.ebi.gxa.index.builder.service; import com.google.common.base.Function; import com.google.common.primitives.Longs; import it.uniroma3.mat.extendedset.FastSet; import ucar.ma2.ArrayFloat; import uk.ac.ebi.gxa.index.builder.IndexAllCommand; import uk.ac.ebi.gxa.index.builder.IndexBuilderException; import uk....
package uk.ac.ebi.gxa.index.builder.service; import com.google.common.collect.HashMultiset; import com.google.common.collect.Multiset; import ucar.ma2.ArrayFloat; import uk.ac.ebi.gxa.index.builder.IndexAllCommand; import uk.ac.ebi.gxa.index.builder.IndexBuilderException; import uk.ac.ebi.gxa.index.builder.UpdateIndexF...
package game; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Scanner; import engine.*; public class Story { public Story() { String gamePath = System.getProperty("user.dir"); String dataP...
package som.interpreter.nodes; import java.lang.reflect.Field; import java.util.Arrays; import com.oracle.truffle.api.dsl.TypeSystemReference; import com.oracle.truffle.api.frame.FrameSlot; import com.oracle.truffle.api.instrumentation.InstrumentableFactory.WrapperNode; import com.oracle.truffle.api.nodes.Node; import ...
package to.etc.webapp.qsql; import java.math.*; import java.sql.*; import java.util.*; import javax.annotation.*; import org.slf4j.*; import to.etc.util.*; import to.etc.webapp.query.*; public class JdbcUtil { static public final Logger LOG = LoggerFactory.getLogger(JdbcUtil.class); private JdbcUtil() {} st...
package test.blog.distrib; import static org.junit.Assert.assertEquals; import org.junit.Test; import blog.distrib.Poisson; /** * Unit Tests for Poisson Distribution */ public class TestPoisson implements TestDistributions { private final double ERROR = 10e-5; public void testDistributionRun(Poisson poiss) { ...
package org.pentaho.di.ui.spoon.trans; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.dialogs.MessageDialogWithToggle; im...
package io.ipfs.api; import io.ipfs.api.cbor.*; import io.ipfs.cid.*; import io.ipfs.multihash.Multihash; import io.ipfs.multiaddr.MultiAddress; import org.junit.*; import java.io.*; import java.nio.file.*; import java.util.*; import java.util.function.*; import java.util.stream.*; import static org.junit.Assert.assert...
package org.ensembl.healthcheck.testcase.generic; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.ensembl.healthcheck.DatabaseRegistryEntry; import org.ensembl.healthcheck.DatabaseType; import org.ensembl.healthcheck.ReportManager; import org.ensembl.healthcheck.testcase.Sin...
package org.dspace.curate; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; im...
package org.ensembl.healthcheck.testcase.generic; import java.sql.Connection; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.ensembl.healthcheck.DatabaseRegistryEntry; import org.ensembl.healthcheck.DatabaseType; import org.ensembl.healthcheck.ReportManager; import org.ensembl.hea...
package com.atlassian.jira.plugins.dvcs.dao; import static org.mockito.Mockito.*; import java.util.Date; import java.util.Map; import com.atlassian.jira.plugins.dvcs.model.DefaultProgress; import org.mockito.ArgumentMatcher; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.mockito.invocation.I...
package com.kierdavis.kmail; import java.lang.InterruptedException; import java.lang.Runnable; import java.lang.Thread; import java.util.LinkedList; import java.util.Queue; public class MailDispatcher implements Runnable { private KMail plugin; private Queue<Message> queue; public MailDispatcher(KMail plugi...
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id: GridSphereServlet.java 4956 2006-07-26 16:15:56Z novotny $ */ package org.gridlab.gridsphere.servlets; import org.gridlab.gridsphere.core.persistence.PersistenceManagerFactory; import org.gridlab.gridsphere.core.persistence.hibernate.DBT...
package org.jsecurity.authc.support; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.jsecurity.SecurityManager; import org.jsecurity.authc.AuthenticationException; import org.jsecurity.authc.AuthenticationInfo; import org.jsecurity.authc.AuthenticationToken; import org.js...
/* * $Id: BaseArticleMetadataExtractor.java,v 1.4 2011-03-13 22:04:55 tlipkis Exp $ */ package org.lockss.extractor; import java.io.*; import org.lockss.util.*; import org.lockss.daemon.*; import org.lockss.plugin.*; /** Base class for metadata extractors that return a single ArticleMetadata * or null. This was the...
package org.nerdcircus.android.klaxon.pageparser; import android.content.ContentValues; import android.telephony.SmsMessage; import android.util.Log; import org.nerdcircus.android.klaxon.Alert; import org.nerdcircus.android.klaxon.Pager.Pages; public class Standard { /* The Standard Sms Parser * * Message...
package org.opencms.search.solr; import org.opencms.file.CmsObject; import org.opencms.file.CmsProperty; import org.opencms.file.CmsResource; import org.opencms.file.types.CmsResourceTypeXmlContent; import org.opencms.file.types.CmsResourceTypeXmlPage; import org.opencms.main.CmsLog; import org.opencms.main.OpenCms; im...
package org.opencms.search.solr; import org.opencms.file.CmsObject; import org.opencms.file.CmsProperty; import org.opencms.file.CmsResource; import org.opencms.main.CmsException; import org.opencms.main.CmsLog; import org.opencms.main.OpenCms; import org.opencms.search.I_CmsSearchDocument; import org.opencms.search.ex...
package org.pentaho.di.trans.steps.webservices; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.net.UnknownHostException; import java.text.DecimalFormat; import java.text.ParseException; import jav...
package pitt.search.semanticvectors; import java.util.ArrayList; import java.util.Enumeration; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Pattern; import java.util.regex.Matcher; /** * This class contains methods for manipulating queries, e.g., taking * a list of queryterm...
package de.gurkenlabs.utiliti.swing; import de.gurkenlabs.utiliti.Style; import javax.swing.*; import javax.swing.text.*; import java.awt.*; import java.awt.geom.Rectangle2D; import java.io.PrintWriter; import java.io.StringWriter; import java.text.MessageFormat; import java.util.logging.Level; import java.util.logging...
package com.filestack.util; import com.filestack.errors.InternalException; import java.io.IOException; import okhttp3.MediaType; import okhttp3.ResponseBody; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import retrofit2.Response; public class TestRetry...
package gui; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.util.Iterator; import java.util.Timer; import java.util.TimerTask; import model.Card; import model.CardDatabase; import model.Contract; import model.Direction; import model.Game; import model.Player; import model.Suit; import mod...
package com.github.nsnjson.decoding; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.node.*; import com.github.nsnjson.AbstractFormatTest; import org.junit.*; import static com.github.nsnjson.format.Format.*; public class DecoderTest extends AbstractFormatTest { @Test public void ...
package VASSAL.counters; import java.awt.Component; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.Shape; import java.io.IOException; import java.util.Arrays; import java.util.List; import javax.swing.BoxLayout; import javax.swing.JPanel; import javax.swing.KeyStroke; import VASSAL.build.GameModul...
package org.traccar.protocol; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import org.junit.Test; public class V680ProtocolDecoderTest { @Test public void testDecode() throws Exception { V680ProtocolDecoder decoder = new V680ProtocolDecoder(null); deco...
package org.jgroups.tests; import org.jgroups.ExtendedReceiverAdapter; import org.jgroups.Global; import org.jgroups.JChannel; import org.jgroups.util.Util; import org.testng.annotations.AfterMethod; import org.testng.annotations.Test; import java.util.Arrays; import java.util.concurrent.CountDownLatch; import java.uti...
package com.tyleryates.util; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import org.jetbrains.annotations.Contract; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; ...
package nl.siegmann.ehcachetag; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.servlet.ServletRequest; import javax.servlet.http.HttpServletRequest; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.BodyTagSupport; import ja...
package de.bwaldvogel; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.net.InetSocketAddress; impo...
package com.technicolor.eloyente; import hudson.Extension; import hudson.model.AbstractProject; import hudson.model.Descriptor; import hudson.model.Item; import hudson.model.Items; import hudson.model.Project; import hudson.triggers.Trigger; import hudson.triggers.TriggerDescriptor; import hudson.util.FormValidation; i...
/** @@author A0142130A **/ package guitests; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.List; import java.util.Optional; import java.util.logging.Level; import java.util.logging.Logger; import org.junit.After; import org.junit.Test; import seedu.taskell.TestApp; import seedu...
package io.vertx.blog.first; import io.vertx.core.DeploymentOptions; import io.vertx.core.Vertx; import io.vertx.core.json.Json; import io.vertx.core.json.JsonObject; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.junit.After; import org....
package com.oldterns.vilebot.handlers.user; import ca.szc.keratin.bot.annotation.HandlerContainer; import ca.szc.keratin.core.event.message.recieve.ReceivePrivmsg; import net.engio.mbassy.listener.Handler; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.E...
package mho.haskellesque.math; import mho.haskellesque.iterables.ExhaustiveProvider; import mho.haskellesque.iterables.IterableUtils; import mho.haskellesque.ordering.Ordering; import org.jetbrains.annotations.NotNull; import org.junit.Test; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arra...
package mho.wheels.iterables; import mho.wheels.misc.Readers; import mho.wheels.random.IsaacPRNG; import org.jetbrains.annotations.NotNull; import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import java.math.BigInteger; import java.util.Arrays; import java.util.Collections...
package org.mvel.tests.main; import static org.mvel.MVEL.parseMacros; import junit.framework.TestCase; import org.mvel.*; import org.mvel.optimizers.OptimizerFactory; import static org.mvel.MVEL.*; import org.mvel.debug.DebugTools; import org.mvel.debug.Debugger; import org.mvel.debug.Frame; import org.mvel.integration...
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> package com.sharefile.api.models; import java.io.InputStream; import java.util.ArrayList; import java.net.URI; import java.util....
package org.parceler; import android.os.Parcelable; import android.util.SparseArray; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import java.util.*; import static org.junit.Assert.assertEquals; /** * @author John Ericks...
package org.mvel.tests.main; import junit.framework.TestCase; import org.mvel.*; import static org.mvel.MVEL.*; import org.mvel.ast.WithNode; import org.mvel.debug.DebugTools; import org.mvel.debug.Debugger; import org.mvel.debug.Frame; import org.mvel.integration.Interceptor; import org.mvel.integration.ResolverTools;...
package sotechat.controller; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import o...
package trinity.tests; import com.google.common.io.CharStreams; import org.junit.AfterClass; import org.junit.Ignore; import org.junit.Test; import trinity.Trinity; import java.io.InputStreamReader; import java.io.PrintWriter; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; impo...
package org.apache.james.smtpserver; import java.io.*; import java.net.*; import java.text.*; import java.util.*; import org.apache.avalon.interfaces.*; import org.apache.james.*; import org.apache.java.lang.*; import org.apache.java.io.CharTerminatedInputStream; import javax.mail.*; import javax.mail.internet.*; /** ...
package hu.rijkswaterstaat.rvaar; import android.content.Intent; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.ImageButton; publi...
package ch.frontg8.lib; import java.util.ArrayList; import ch.frontg8.bl.Contact; import ch.frontg8.bl.Message; public class TestDataHandler { public static ArrayList<Contact> getContacts() { final ArrayList<Contact> contactList = new ArrayList<>(); contactList.add(new Contact("Ueli")); cont...
package com.cg.watbalance; import android.app.Dialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import andr...
package com.example.baard; import android.content.SharedPreferences; import android.graphics.Typeface; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.s...
package com.l904.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.ArrayList; import java.util.List; public class DbController { private stat...
package de.sopa.scene; import de.sopa.LevelFileHandler; import de.sopa.manager.ResourcesManager; import de.sopa.model.GameFieldHandler; import org.andengine.engine.camera.hud.HUD; import org.andengine.engine.handler.timer.ITimerCallback; import org.andengine.engine.handler.timer.TimerHandler; import org.andengine.entit...
package com.davemorrissey.labs.subscaleview.decoder; import android.app.ActivityManager; import android.content.ContentResolver; import android.content.Context; import android.content.pm.PackageManager; import android.content.res.AssetFileDescriptor; import android.content.res.AssetManager; import android.content.res.R...
package org.commcare.logic; import android.support.annotation.NonNull; import org.commcare.views.widgets.WidgetFactory; import org.javarosa.core.model.FormIndex; import org.javarosa.form.api.FormController; import org.javarosa.form.api.FormEntryController; /** * Wrapper around FormController to handle Android-specific...
package org.commcare.views.widgets; import android.content.Context; import android.util.TypedValue; import android.view.Gravity; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.CheckBox; import android.widget.LinearLayout; import android.widget.TextView; import org.co...
/* @java.file.header */ package org.gridgain.grid.kernal.processors.portable; import org.gridgain.grid.portable.*; import org.jetbrains.annotations.*; import java.util.*; /** * Portable object implementation. */ class GridPortableObjectImpl implements GridPortableObject { private final GridPortableContext ctx; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.dreamoval.motech.imp.util; import com.dreamoval.motech.core.manager.CoreManager; import com.dreamoval.motech.core.model.IncMessageFormParameterStatus; import com.dreamoval.motech.core.model.IncMessageFormStat...
package name.abuchen.portfolio.ui.views.earnings; import java.time.LocalDate; import java.util.List; import java.util.stream.Collectors; import org.eclipse.jface.layout.GridDataFactory; import org.eclipse.jface.layout.GridLayoutFactory; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclip...
package org.navalplanner.web.reports; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Set; import net.sf.jasperreports.engine.JRDataSource; import net.sf.jasperreports.engine.JREmptyDataSource; import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource; import org.joda...
package org.opennms.netmgt.ping; import java.net.InetAddress; import org.apache.log4j.Category; import org.opennms.core.concurrent.BarrierSignaler; import org.opennms.core.utils.ThreadCategory; import org.opennms.protocols.icmp.ICMPEchoPacket; public class SinglePingResponseCallback implements PingResponseCallback { ...
package org.opennms.web.svclayer.support; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.TreeSet; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionExc...
package cn.cerc.ui.parts; import cn.cerc.ui.core.HtmlWriter; import cn.cerc.ui.other.UrlMenu; import java.util.ArrayList; import java.util.List; public class UISheetHelp extends UISheet { private String content; private UrlMenu operaUrl; private List<String> lines = new ArrayList<>(); @Deprecated pu...
package edu.umd.cs.findbugs.detect; import java.util.HashSet; import org.apache.bcel.classfile.Code; import org.apache.bcel.classfile.CodeException; import org.apache.bcel.classfile.Constant; import org.apache.bcel.classfile.ConstantClass; import org.apache.bcel.classfile.ConstantPool; import org.apache.bcel.classfile....
package plugin.google.maps; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.os.Build.VERSION; import android.view.Gravity; impo...
package org.ai4fm.proofprocess.isabelle.core.parse; import isabelle.Markup; import isabelle.Pretty; import isabelle.XML.Elem; import isabelle.XML.Text; import isabelle.XML.Tree; import isabelle.scala.ScalaCollections; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Ha...
package org.eclipse.mylyn.internal.tasks.ui.editors; import java.util.Calendar; import java.util.Date; import org.eclipse.jface.layout.GridDataFactory; import org.eclipse.mylyn.internal.provisional.commons.ui.CommonImages; import org.eclipse.mylyn.internal.provisional.commons.ui.DatePicker; import org.eclipse.mylyn.int...
package pl.rafalmag.ev3.clock; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.URL; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ThreadFactory; import lejos.hardware...
package de.evoila.cf.broker.configuration; import de.evoila.cf.broker.bean.RabbitMQCredentials; import org.springframework.amqp.core.AmqpAdmin; import org.springframework.amqp.rabbit.connection.CachingConnectionFactory; import org.springframework.amqp.rabbit.core.RabbitAdmin; import org.springframework.amqp.rabbit.core...
package org.ossmeter.platform.vcs.git; import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Scanner; import org.eclipse.jgit.api.Git; import org.eclipse.jgit.diff.DiffEntry; import org.eclipse.jgit.diff.DiffEntry.ChangeType; imp...
package com.redhat.ceylon.eclipse.core.builder; import static com.redhat.ceylon.compiler.typechecker.model.Util.formatPath; import static com.redhat.ceylon.eclipse.core.vfs.ResourceVirtualFile.createResourceVirtualFile; import java.util.Arrays; import java.util.List; import org.eclipse.core.resources.IFile; import org....
package com4j.tlbimp; import com4j.Com4jObject; import com4j.NativeType; import com4j.tlbimp.def.ICoClassDecl; import com4j.tlbimp.def.IConstant; import com4j.tlbimp.def.IDispInterfaceDecl; import com4j.tlbimp.def.IEnumDecl; import com4j.tlbimp.def.IImplementedInterfaceDecl; import com4j.tlbimp.def.IInterfaceDecl; impo...
package com.thoughtworks.xstream.core; import com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider; import com.thoughtworks.xstream.converters.reflection.ReflectionProvider; import java.lang.reflect.Field; import java.security.AccessControlException; import java.text.AttributedString; import java.u...
package org.eclipse.xtext.naming; import java.util.Collections; import org.eclipse.emf.ecore.EObject; import org.eclipse.xtext.util.IResourceScopeCache; import org.eclipse.xtext.util.PolymorphicDispatcher; import org.eclipse.xtext.util.SimpleAttributeResolver; import org.eclipse.xtext.util.Strings; import org.eclipse.x...
package org.jkiss.dbeaver.ext.db2.model.plan; import org.jkiss.dbeaver.model.DBPNamedObject; import org.jkiss.dbeaver.model.exec.jdbc.JDBCResultSet; import org.jkiss.dbeaver.model.impl.jdbc.JDBCUtils; import java.util.HashMap; import java.util.Map; /** * DB2 EXPLAIN_ARGUMENT table * * @author Denis Forveille */ pub...
package com.matthewtamlin.spyglass.processors.code_generation; import com.matthewtamlin.spyglass.processors.annotation_utils.CallHandlerAnnotationUtil; import com.matthewtamlin.spyglass.processors.annotation_utils.ValueHandlerAnnotationUtil; import com.matthewtamlin.spyglass.processors.grouper.TypeGrouper; import com.m...
package com.tinkerpop.rexster.gremlin.converter; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.blueprints.impls.tg.TinkerGraph; import com.tinkerpop.blueprints.impls.tg.TinkerGraphFactory; import com.tinkerpop.blueprints.util.io.graphson.GraphSONMode; import com.tinkerpop.pipes.util.structures.Table; imp...
package codechicken.lib.asm; import codechicken.lib.asm.ModularASMTransformer.MethodInjector; import net.minecraft.launchwrapper.IClassTransformer; import java.util.Map; public class RenderHookTransformer implements IClassTransformer { private ModularASMTransformer transformer = new ModularASMTransformer(); pub...
package com.indexdata.sling.auth; import io.vertx.core.json.DecodeException; import io.vertx.core.json.Json; import io.vertx.ext.web.RoutingContext; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.logging.Level; import java.util.logging.Logger; /** * A dummy auth mod...
package org.jimmutable.storage; import org.jimmutable.core.utils.Validator; import org.jimmutable.core.objects.common.Kind; /** * * @author andrew.towe This class is the parent of our file storage handlers. It * is designed to handle all updates, insertions, checking of existence, * listing of objec...
package competitive.programming.timemanagement; import static org.junit.Assert.fail; import org.junit.Test; public class TimerTest { @Test public void nonStartedTimerDoesNotTimeout() { Timer timer = new Timer(); try { timer.timeCheck(); sleep(1); timer.timeChe...
package org.commcare.session; import org.commcare.suite.model.ComputedDatum; import org.commcare.suite.model.Detail; import org.commcare.suite.model.EntityDatum; import org.commcare.suite.model.Entry; import org.commcare.suite.model.FormEntry; import org.commcare.suite.model.FormIdDatum; import org.commcare.suite.model...
package org.securegraph.elasticsearch; import org.elasticsearch.action.admin.indices.create.CreateIndexResponse; import org.elasticsearch.action.admin.indices.mapping.put.PutMappingResponse; import org.elasticsearch.action.admin.indices.status.IndicesStatusResponse; import org.elasticsearch.action.index.IndexResponse; ...
package com.litle.magento.selenium; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.tex...
package org.commcare.session; import org.commcare.suite.model.ComputedDatum; import org.commcare.suite.model.Detail; import org.commcare.suite.model.EntityDatum; import org.commcare.suite.model.Entry; import org.commcare.suite.model.FormEntry; import org.commcare.suite.model.FormIdDatum; import org.commcare.suite.model...
package banner.util; import edu.stanford.nlp.parser.metrics.Eval; import java.io.*; import java.util.Arrays; import java.util.*; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.security.SecureRandom; public class BannerAnnotatorVis { ...
package com.frostwire.jlibtorrent; import com.frostwire.jlibtorrent.swig.session_settings; import com.frostwire.jlibtorrent.swig.settings_pack; /** * @author gubatron * @author aldenml */ public final class SessionSettings { private final session_settings s; public SessionSettings(session_settings s) { ...
package com.io7m.jpismo.examples.lwjgl30; import java.awt.Font; import java.awt.GraphicsEnvironment; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Properties;...
package com.madphysicist.tools.util; /** * A utility library for manipulating enums. * <p> * This class can not be instantiated. * * @author Joseph Fox-Rabinovitz * @version 1.0.0, 20 June 2013 * @since 1.0.0 */ public class EnumUtilities { /** * Private constructor to prevent the class from being inst...
package com.valkryst.VTerminal.component; import com.valkryst.VRadio.Radio; import com.valkryst.VTerminal.AsciiCharacter; import com.valkryst.VTerminal.AsciiString; import com.valkryst.VTerminal.Panel; import com.valkryst.VTerminal.builder.component.TextAreaBuilder; import lombok.Getter; import lombok.Setter; import ja...
package com.zdonnell.geneticcars; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.Body; import com.badlogic.gdx.physics.box2d.BodyDef; import com.badlogic.gdx.physics.box2d.FixtureDef; import com.badlogic.gdx.physics.box2d.PolygonShape; import com.badlogic.gdx.physics.box2d.World; import jav...
package org.ow2.proactive.scripting; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.io.PrintWriter; import java.io.Reader; import java.io.Seria...
package com.nt.jdbc; public class proj1 { public static void main(String[] args) { System.out.println("dev1 created"); } }
package de.bitdroid.flooding.ods; import java.net.URL; import java.util.HashSet; import java.util.Map; import java.util.Set; import android.content.Context; import android.content.SharedPreferences; public final class OdsSourceManager { private static final String PREFS_NAME = "de.bitdroid.flooding.ods.OdsSourceMan...
package de.fhpotsdam.unfolding.utils; import java.util.List; import processing.core.PApplet; import processing.core.PFont; import processing.core.PImage; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.events.EventDispatcher; import de.fhpotsdam.unfolding.events.MapEvent; import de.fhpotsdam.u...
package dr.evomodel.antigenic; import dr.evolution.util.*; import dr.inference.model.*; import dr.math.MathUtils; import dr.math.distributions.NormalDistribution; import dr.util.*; import dr.xml.*; import java.io.*; import java.util.*; import java.util.logging.Logger; /** * @author Andrew Rambaut * @author Trevor Bed...
package dr.evomodel.antigenic; import dr.evolution.util.*; import dr.inference.model.*; import dr.math.MathUtils; import dr.math.LogTricks; import dr.math.distributions.NormalDistribution; import dr.util.*; import dr.xml.*; import java.io.*; import java.util.*; import java.util.logging.Logger; /** * @author Andrew Ram...
package dr.evomodel.antigenic; import dr.evolution.util.*; import dr.inference.model.*; import dr.math.MathUtils; import dr.math.distributions.NormalDistribution; import dr.util.*; import dr.xml.*; import java.io.*; import java.util.*; import java.util.logging.Logger; /** * @author Andrew Rambaut * @author Trevor Bed...
package edu.iu.grid.oim.servlet; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import javax.servlet.Servlet; import javax.servlet.ServletException; import javax.se...
package edu.wustl.xipHost.application; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java....
package gov.nih.nci.calab.ui.security; import org.apache.log4j.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action...
package org.xins.server; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.TimeZone; import javax.se...