answer
stringlengths
17
10.2M
package jsettlers.logic.movable; import java.io.IOException; import java.io.ObjectInputStream; import java.io.Serializable; import java.util.HashMap; import java.util.concurrent.ConcurrentLinkedQueue; import jsettlers.algorithms.fogofwar.IViewDistancable; import jsettlers.algorithms.path.IPathCalculatable; import jsett...
package edu.umd.cs.findbugs.gui2; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Color; import java.awt.Component; import java.awt.Container; import java.awt.Cursor; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Font; import java.awt.GridBagConstraints; import java.aw...
package joulu.collections; import joulu.equivalence.Equivalence; public class ImmutableSet<T> implements Set<T> { private final Equivalence<T> eq; private final T[] values; private static class Empty<T> implements Set<T> { @Override public int size() { return 0; } ...
package edu.umd.cs.findbugs.gui2; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Color; import java.awt.Component; import java.awt.Container; import java.awt.Cursor; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Font; import java.awt.GridBagConstraints; import java.aw...
package com.github.noxan.aves.server; import com.github.noxan.aves.net.Connection; public interface ServerHandler { public void handleData(Connection connection, Object data); }
package org.col.resources; import java.io.IOException; import java.util.Map; import java.util.Set; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import com.google.common.collect.ImmutableList; import com.google.common.colle...
package bisq.desktop.util; import bisq.desktop.components.AddressTextField; import bisq.desktop.components.AutoTooltipButton; import bisq.desktop.components.AutoTooltipCheckBox; import bisq.desktop.components.AutoTooltipLabel; import bisq.desktop.components.AutoTooltipRadioButton; import bisq.desktop.components.AutoToo...
package <%=packageName%>.web.rest.mapper; <% if (databaseType == 'sql' || databaseType == 'mongodb') { %> import <%=packageName%>.domain.Authority;<% } %> import <%=packageName%>.domain.User; import <%=packageName%>.web.rest.dto.UserDTO; import org.mapstruct.*; import java.util.List; import java.util.Set; import java.u...
package com.jcwhatever.musical; import com.jcwhatever.musical.playlists.RegionPlayList; import com.jcwhatever.musical.regions.MusicRegion; import com.jcwhatever.nucleus.Nucleus; import com.jcwhatever.nucleus.events.sounds.PlayResourceSoundEvent; import com.jcwhatever.nucleus.managed.actionbar.ActionBars; import com.jcw...
package com.sii.rental.ui.views; import javax.annotation.PostConstruct; import org.eclipse.e4.ui.di.Focus; import org.eclipse.jface.layout.GridLayoutFactory; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Group; import org.ecl...
package com.karateca.jstoolbox.joiner; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.PlatformDataKeys; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.SelectionModel; import com.intellij.openapi...
package org.jnosql.artemis.graph; import org.apache.tinkerpop.gremlin.process.traversal.P; import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal; import org.apache.tinkerpop.gremlin.structure.T; import org.apache.tinkerpop.gremlin.structure.Vertex; import org.jnosql.artemis.graph.util.TinkerPop...
package com.mebigfatguy.fbcontrib.detect; import org.apache.bcel.Constants; import org.apache.bcel.classfile.Code; import org.apache.bcel.classfile.JavaClass; import org.apache.bcel.classfile.Method; import edu.umd.cs.findbugs.BugInstance; import edu.umd.cs.findbugs.BugReporter; import edu.umd.cs.findbugs.Detector; imp...
package org.jnosql.artemis.graph; import org.apache.tinkerpop.gremlin.process.traversal.P; import org.apache.tinkerpop.gremlin.structure.T; import java.util.function.Supplier; import static java.util.Objects.requireNonNull; /** * The base conditions to {@link EdgeTraversal} and {@link EdgeUntilTraversal} */ public in...
package com.mebigfatguy.pixelle; import java.awt.Point; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.EnumMap; import java.util.Map; import org.antlr.runtime.ANTLRStringStream; imp...
package com.redpois0n.gitj.ui.components; import java.awt.Color; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.util.List; import javax.swing.JPanel; import com.redpois0n.git.Chunk; import com.redpois0n.git.CodeLi...
package com.touzbi.ansa.command; import com.touzbi.ansa.requesthandlerstrategy.BasicRequestStrategy; import com.touzbi.ansa.requesthandlerstrategy.RequestStrategy; public class HTTPRequestCommand extends AbstractCommand { private RequestStrategy requestStrategy; public HTTPRequestCommand(RequestStrategy request...
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.Tile; import com.valkryst.VTerminal.Screen; import com.valkryst.VTerminal.TileGrid; import lombok.Getter; import lombok.NonNull; import lombok.Setter; import java.awt.Dimension; import java.awt.Point; import java.util.Collections; import java.util....
package shadow.output.llvm; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Map.Entry...
package uk.ac.ebi.atlas.controllers.rest; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.gson.Gson; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import o...
package duro.runtime; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.Serializable; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Arra...
package controllers.builder; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import java.util.ArrayList; import app.UndoManager; import controllers.common.IMove; import controllers.common.MovePieceOffBoardMove; import controllers.common.MovePieceOnBoardM...
package dynamake.tools; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.MouseEvent; import java.awt.geom.Path2D; import java.util.ArrayList; import java.util.List; import javax.swing.JComponent; import javax.swing.Swing...
package org.helianto.partner.form; import org.helianto.core.Category; import org.helianto.core.Entity; import org.helianto.core.KeyType; import org.helianto.core.filter.form.CompositeEntityForm; import org.helianto.core.filter.form.KeyTypeForm; import org.helianto.partner.domain.Partner; import org.helianto.partner.dom...
// OMEXMLWriter.java package loci.formats.out; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.*; import java.util.Vector; import loci.common.*; import loci.formats.*; import loci.formats.codec.Base64Codec; import loci.formats.codec.JPEG2000Codec; import loci.formats.codec.JPEGCodec; import l...
package org.eclipse.che.ide.editor; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.Lists.newArrayList; import static java.lang.Boolean.parseBoolean; import static org.eclipse.che.ide.api.notification.StatusNotification.DisplayMode.EMERGE_MODE; import static org...
package com.plugin.gcm; import com.google.android.gcm.GCMBaseIntentService; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; import a...
package org.sagebionetworks; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Asserti...
package org.intermine.web.logic.widget; import java.util.HashMap; import java.util.List; import org.intermine.api.profile.InterMineBag; import org.intermine.metadata.Model; import org.intermine.objectstore.ObjectStore; import org.intermine.objectstore.query.BagConstraint; import org.intermine.objectstore.query.Constrai...
package edu.cmu.sphinx.frontend; import edu.cmu.sphinx.util.SphinxProperties; import java.io.IOException; import java.io.InputStream; import java.util.logging.Level; import java.util.logging.Logger; import java.util.LinkedList; import java.util.List; import java.util.Vector; import javax.sound.sampled.AudioFormat; impo...
package org.kuali.rice.krad.uif; import org.junit.Ignore; import org.junit.Test; import org.kuali.rice.krad.uif.field.DataField; import org.kuali.rice.krad.uif.field.InputField; import org.kuali.rice.krad.uif.view.InquiryView; import org.kuali.test.KRADTestCase; import org.kuali.test.TestDictionaryConfig; import java.u...
package com.intellij.codeInspection.javaDoc; import com.intellij.codeInsight.daemon.QuickFixBundle; import com.intellij.codeInsight.intention.impl.AddJavadocIntention; import com.intellij.codeInspection.*; import com.intellij.codeInspection.ui.InspectionOptionsPanel; import com.intellij.java.JavaBundle; import com.inte...
package dnss.tools.dnt.sql; import dnss.tools.dnt.DNT; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; import java.util.Iterator; import java.util.List; import java.util....
// This program is free software: you can redistribute it and/or modify // (at your option) any later version. // This program is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the package org.uma.jmetal.util.archive.impl; import org.uma.jmetal.solution....
package com.googlecode.jslint4java.cli; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import static org.junit.Assume.*; import java.nio.charset.Charset; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import com.beust.jcommander.ParameterException; ...
package org.jtrim.swing.component; import java.awt.Color; import java.awt.Graphics2D; import java.awt.GridLayout; import java.awt.image.BufferedImage; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import javax.swing.JFrame; im...
package natlab.tame.tamerplus.analysis; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.Map.Entry; import java.util.Queue; import java.util.Set; import java.util.Vector; import natlab.tame.tamerplus.utils.NodePrinter; import natlab.tame.tir.TIRArra...
package authoring.canvas; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import authoring.Workspace; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.geometry.Side; import javafx.scene.Group; import javafx.scene.Node; ...
package org.apache.lucene.ant; import java.io.File; import java.io.IOException; import junit.framework.TestCase; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.StopAnalyzer; import org.apache.lucene.queryParser.QueryParser; import org.apache.lucene.search.Hits; import org.apache.lucene.se...
package core.framework.api.http; import core.framework.api.log.ActionLogContext; import core.framework.api.util.InputStreams; import core.framework.api.util.Maps; import core.framework.api.util.StopWatch; import org.apache.http.Header; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http....
// OptionsService.java package imagej.ext.options; import imagej.AbstractService; import imagej.ImageJ; import imagej.Service; import imagej.event.EventService; import imagej.ext.InstantiableException; import imagej.ext.module.ModuleException; import imagej.ext.module.ModuleItem; import imagej.ext.plugin.IPlugin; impor...
package com.github.jsonldjava.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.StringReader; import java.io.StringWriter; import java.io.Writer; import java.net.HttpURLConnection; import java.net.Malform...
package org.javarosa.form.api; import org.javarosa.core.model.Constants; import org.javarosa.core.model.FormDef; import org.javarosa.core.model.FormIndex; import org.javarosa.core.model.ItemsetBinding; import org.javarosa.core.model.QuestionDef; import org.javarosa.core.model.QuestionString; import org.javarosa.core.mo...
package org.javarosa.xpath.expr; import org.javarosa.core.model.condition.EvaluationContext; import org.javarosa.core.model.condition.IFunctionHandler; import org.javarosa.core.model.condition.pivot.UnpivotableExpressionException; import org.javarosa.core.model.data.GeoPointData; import org.javarosa.core.model.data.Unc...
package org.verapdf.pdfa.flavours; import java.util.HashMap; import java.util.Map; import java.util.Set; /** * Enums used as id for PDF/A flavours where a flavour uniquely identifies a * specific PDF/A Standard part and associated conformance level. * * The PDF/A Specification:<br/> * ISO 19005 - Document Manageme...
package com.meedan; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.Callback...
package de.lmu.ifi.dbs.elki.utilities; import java.util.Arrays; import java.util.BitSet; import java.util.Collection; import java.util.Iterator; import java.util.SortedSet; import java.util.TreeSet; import de.lmu.ifi.dbs.elki.data.ClassLabel; import de.lmu.ifi.dbs.elki.data.RealVector; import de.lmu.ifi.dbs.elki.databa...
package de.lmu.ifi.dbs.normalization; import de.lmu.ifi.dbs.data.MetricalObject; import de.lmu.ifi.dbs.linearalgebra.Matrix; import java.util.List; /** * Normalization performs a normalization on a set of * feature vectors and is capable to transform a set of * feature vectors to the original attribute ranges. * <p...
/** * $$\\ToureNPlaner\\$$ */ package de.tourenplaner.computecore; import de.tourenplaner.server.Responder; import org.codehaus.jackson.JsonGenerationException; import org.codehaus.jackson.JsonGenerator; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.ObjectMapper; import java.io....
package bepler.lrpage.code.generator; import java.io.IOException; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import com.sun.codemodel.JBlock; import com.sun.codemodel.JClassAlreadyExistsExcep...
package dr.app.beauti.generator; import dr.app.beauti.components.ComponentFactory; import dr.app.beauti.options.*; import dr.app.beauti.types.StartingTreeType; import dr.app.beauti.types.TreePriorParameterizationType; import dr.app.beauti.types.TreePriorType; import dr.app.beauti.util.XMLWriter; import dr.evolution.uti...
package ch.ethz.inf.vs.californium.dtls; import ch.ethz.inf.vs.californium.util.DatagramReader; import ch.ethz.inf.vs.californium.util.DatagramWriter; public class AlertMessage implements DTLSMessage { // CoAP-specific constants///////////////////////////////////////// private static final int BITS = 8; // ...
package ch.unizh.ini.jaer.projects.npp; import java.awt.Color; import java.awt.Cursor; import java.awt.Font; import java.awt.Point; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseEvent; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import...
package edu.washington.escience.myria.io; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.SequenceInputStream; import java.io.Serializable; import java.net.URI; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.Objects; ...
package com.example.androidfileexplorer; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.AsyncTask; import android.os.Bundle; import android.preference...
package com.example.ime5_tp2_absences; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.example.ime5_tp2_absences.DataAdapter.DataAdapterSelected; import model.Data; import model.Seances...
package org.voltdb.compiler; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.json_voltpatches.JSONArray; import org.json_voltpatches.JSONException; import ...
package com.magneticbear.scala1; import java.util.ArrayList; import java.util.Date; import java.util.List; import android.content.Context; import android.text.format.DateFormat; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import androi...
package com.relteq.sirius.db.importer; import java.math.BigDecimal; import java.sql.Connection; import java.sql.Time; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import org.apache.torque.TorqueException; import org.apache.torque.util.Transaction; import com.relteq.siriu...
package com.teamdev.jxmaps.examples; import com.teamdev.jxmaps.ControlPosition; import com.teamdev.jxmaps.LatLng; import com.teamdev.jxmaps.Map; import com.teamdev.jxmaps.MapOptions; import com.teamdev.jxmaps.MapTypeControlOptions; import com.teamdev.jxmaps.MapTypeId; import com.teamdev.jxmaps.MapTypeStyle; import com....
package com.techcavern.wavetact.commands; import com.techcavern.wavetact.utils.GeneralRegistry; import com.techcavern.wavetact.utils.IRCUtils; import org.pircbotx.PircBotX; import org.pircbotx.hooks.ListenerAdapter; import org.pircbotx.hooks.events.MessageEvent; public class BasicChanOp extends ListenerAdapter<PircBotX...
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.Screen; import com.valkryst.VTerminal.Tile; import com.valkryst.VTerminal.builder.RadioButtonBuilder; import com.valkryst.VTerminal.palette.ColorPalette; import lombok.Getter; import lombok.NonNull; import lombok.Setter; import lombok.ToString; imp...
package dr.inference.operators; import dr.evomodel.continuous.LatentFactorModel; import dr.inference.distribution.DistributionLikelihood; import dr.inference.model.MatrixParameter; import dr.inference.model.Parameter; import dr.math.distributions.MultivariateNormalDistribution; import dr.math.distributions.NormalDistri...
package edu.ucla.cens.awserver.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Timestamp; import java.util.List; import javax.sql.DataSource; import org.apache.log4j.Logger; import org.springframework.dao.DataIntegrityViolationException; import org.sprin...
package eu.hansolo.enzo.splitflap.skin; import com.sun.javafx.scene.control.skin.BehaviorSkinBase; import eu.hansolo.enzo.splitflap.FlipEvent; import eu.hansolo.enzo.splitflap.SplitFlap; import eu.hansolo.enzo.splitflap.behavior.SplitFlapBehavior; import javafx.animation.Interpolator; import javafx.animation.KeyFrame; ...
package eu.seebetter.ini.chips.davis; import java.awt.Color; import java.awt.Font; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.awt.geom.Rectangle2D; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.Iterator; import java.util...
package com.nbusy.app; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import com.nbusy.app.data.Chat; import com.nbusy.app.data.DB; import com.nbusy.app.data.UserProfile; import com.nbusy.app.data.callbacks.CreateProfileCallback; import com.nbusy.app.data.callback...
package eu.visualize.ini.convnet; import java.awt.Color; import java.awt.Point; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import javax.swing.SwingUtilities; import com.jogamp.opengl.GL2; import com.jogamp.opengl.GLAutoDrawable; import com.jogamp.opengl.glu.GLU; import com.jogamp.o...
package com.zcsj.rockerview; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Point; import android.graphics.Re...
package me.devsaki.hentoid.util; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.res.Configuration; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff; import a...
package org.voltdb.iv2; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.TimeUnit; import org.voltcore.logging.VoltLo...
package io.bitsquare.gui.main; import com.google.inject.Inject; import io.bitsquare.alert.Alert; import io.bitsquare.alert.AlertManager; import io.bitsquare.app.BitsquareApp; import io.bitsquare.app.Log; import io.bitsquare.app.Version; import io.bitsquare.arbitration.ArbitratorManager; import io.bitsquare.arbitration....
package edu.uw.apl.tupelo.shell; import java.io.BufferedReader; import java.io.FileReader; import java.io.FileOutputStream; import java.io.InputStreamReader; import java.io.File; import java.io.IOException; import java.io.StringWriter; import java.net.InetAddress; import java.net.UnknownHostException; import java.util....
package hex.deeplearning; import hex.DataInfo; import hex.Model; import hex.SupervisedModelBuilder; import hex.deeplearning.DeepLearningModel.DeepLearningParameters.MissingValuesHandling; import hex.schemas.DeepLearningV2; import hex.schemas.ModelBuilderSchema; import water.*; import water.fvec.Frame; import water.fvec...
package org.jasig.portal.channels; import org.jasig.portal.ChannelRuntimeData; import org.jasig.portal.ChannelStaticData; import org.jasig.portal.PortalException; import org.jasig.portal.GeneralRenderingException; import org.jasig.portal.ResourceMissingException; import org.jasig.portal.ChannelRegistryManager; import o...
package org.jasig.portal.services; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.Hashtable; im...
package com.stanfy.images; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.ResponseCache; import java.net.URLConnection; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; ...
package net.katsuster.ememu.riscv.core; import net.katsuster.ememu.generic.*; public class ExecStageRVC extends Stage64 { /** * RVC * * @param c CPU */ public ExecStageRVC(RV64 c) { super(c); } /** * RVI CPU * * @return CPU */ @Override public R...
package org.lex.perf.engine; import com.lmax.disruptor.EventHandler; import org.lex.perf.api.factory.IndexType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; import java.util.*; public class EngineImpl implements Engine { private final static Logger LOGGER = LoggerFactory.getLogger(Engi...
package com.zaxxer.hikari; import java.sql.Statement; import java.util.ArrayList; import org.junit.Assert; import org.junit.Test; import com.zaxxer.hikari.mocks.StubStatement; import com.zaxxer.hikari.util.FastList; public class TestFastList { @Test public void testAddRemove() { ArrayList<Statement>...
package gov.nih.nci.calab.service.util; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.log4j.Logger; import java.util.List; /** * This class contains a set of utilities for converting Strings to other * formats or converting other formats to String. * * @author pansu * */ /* CVS $Id: ...
package org.domokit.sky.demo; import android.content.Context; import org.chromium.mojo.keyboard.KeyboardServiceImpl; import org.chromium.mojo.sensors.SensorServiceImpl; import org.chromium.mojo.system.Core; import org.chromium.mojo.system.MessagePipeHandle; import org.chromium.mojom.keyboard.KeyboardService; import org...
package org.pdxfinder; import org.pdxfinder.utils.DataProviders; import org.pdxfinder.utils.DataProviders.DataProvider; import org.pdxfinder.utils.DataProviders.DataProviderGroup; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springfra...
package ibis.ipl.benchmarks.registry; import java.text.DateFormat; import java.util.Date; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class Main { private static final Logger logger = LoggerFactory.getLogger(Main.class); private final IbisApplication[] apps; Main(int threads, boole...
package org.pdxfinder.commands; import joptsimple.OptionParser; import joptsimple.OptionSet; import org.neo4j.ogm.json.JSONArray; import org.neo4j.ogm.json.JSONObject; import org.pdxfinder.dao.OntologyTerm; import org.pdxfinder.utilities.LoaderUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.s...
package org.hsqldb_voltpatches; import java.lang.reflect.Constructor; import org.hsqldb_voltpatches.HsqlNameManager.HsqlName; import org.hsqldb_voltpatches.dbinfo.DatabaseInformation; import org.hsqldb_voltpatches.lib.FileAccess; import org.hsqldb_voltpatches.lib.FileUtil; import org.hsqldb_voltpatches.lib.HsqlArrayLis...
package org.intermine.bio.util; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import org.intermine.api.profile.InterMineBag; import org.intermine.metadata.Model; import org.intermine.objectstore.ObjectStore; import org.intermine.objectstore.query.BagConstraint; import org.intermine...
package org.intermine.bio.util; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.intermine.api.profile.InterMineBag; import org.intermine.metadata.Model; import org.intermine.objectstore.ObjectStore; import org.intermine.objec...
package de.zib.gndms.infra.configlet; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import de.zib.gndms.c3resource.C3ResourceReader; import de.zib.gndms.c3resource.jaxb.Site; import de.zib.gndms.c3resource.jaxb.Workspace; import de.zib.gndms.kit.config.MandatoryOptionMissingException; im...
package com.exedio.cope.instrument; import java.util.SortedSet; import com.exedio.cope.DateField; import com.exedio.cope.Feature; import com.exedio.cope.MandatoryViolationException; import com.exedio.cope.Settable; abstract class CopeFeature { static final String TAG_PREFIX = "cope."; static final String TAG_GE...
package org.intermine.dwr; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java....
package ccw; import java.io.File; import java.io.FileFilter; import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IProjectDescription; im...
package io.xchris6041x.devin.gui; import java.util.ArrayList; import java.util.List; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import io.xchris6041x.devin.gui.controls....
package org.xins.common.io; import java.io.File; import org.xins.common.Log; import org.xins.common.MandatoryArgumentChecker; import org.xins.common.Utils; import org.xins.common.text.FastStringBuffer; /** * File watcher thread. This thread checks if a file changed and if it has, it * notifies the listener. The check...
package org.xins.logdoc; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.WeakHashMap; /** * Utility functions related to exceptions. * * @version $Revision$ $Date$ * @author Ernst de Haan (<a href="mailto:ernst.dehaan@nl.wanadoo.com">ernst.dehaan@nl.wanadoo.com<...
// Nenya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
// $Id: SceneBlock.java,v 1.13 2003/04/28 20:27:35 mdb Exp $ package com.threerings.miso.client; import java.awt.Polygon; import java.awt.Rectangle; import java.util.Arrays; import com.samskivert.util.ArrayUtil; import com.samskivert.util.HashIntMap; import com.samskivert.util.StringUtil; import com.threerings.geom.Geo...
// Narya library - tools for developing networked games // This library is free software; you can redistribute it and/or modify it // (at your option) any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // You should ...
package org.jaxen.pattern; import java.util.LinkedList; import org.jaxen.JaxenException; import org.jaxen.JaxenHandler; import org.jaxen.expr.Expr; import org.jaxen.expr.FilterExpr; import org.jaxen.saxpath.Axis; /** SAXPath <code>XPathHandler</code> implementation capable * of building Jaxen expression trees which c...
// arch-tag: 30573332-B549-4E6F-AD59-04C6D0928419 package net.spy.memcached; import java.io.IOException; import java.net.InetSocketAddress; import java.net.SocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import ...