answer
stringlengths
17
10.2M
package org.usfirst.frc4959.StaleyRobotics2014.commands; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.Relay; import edu.wpi.first.wpilibj.command.Command; import org.usfirst.frc4959.StaleyRobotics2014.Robot; import org.usfirst.frc4959.StaleyRobotics2014.RobotMap; /** * @author Lucas Wyland, ...
package verification.platu.markovianAnalysis; import java.util.HashMap; import java.util.concurrent.Semaphore; import lpn.parser.Transition; import verification.platu.project.PrjState; import verification.platu.stategraph.State; public class ProbGlobalState extends PrjState { private int color; private double c...
package com.fi.fimanagment; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickL...
package org.apache.mesos.hdfs; import com.google.inject.Inject; import com.google.protobuf.ByteString; import com.google.protobuf.InvalidProtocolBufferException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.mesos.MesosSchedulerDriver; import org.apache.mesos.Pro...
package com.fsck.k9; import android.app.Application; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.PowerManager; import android.os.PowerManager.WakeLock; ...
package com.fsck.k9.preferences; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteStatement; import android.util.Log; import com.fsck.k9.K9; ...
package com.soundcloud.api; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.apache.http.client.methods.HttpGet; import org.json.JSONObject; import org.junit....
package com.googlecode.ant_deb_task; import org.apache.tools.ant.*; import org.apache.tools.ant.taskdefs.Tar; import org.apache.tools.ant.types.*; import java.io.*; import java.util.*; import java.util.regex.*; import java.security.MessageDigest; /** * Task that creates a Debian package. * * @antTaskName deb */ pub...
package de.micromata.jira.rest; import static org.junit.Assert.assertTrue; import java.net.URI; import java.net.URISyntaxException; import java.util.Map; import org.junit.*; import de.micromata.jira.rest.domain.TransitionBean; import de.micromata.jira.rest.util.RestException; @Ignore public class TestIssueTransition { ...
package ch.uzh.csg.reimbursement.service; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.is; import static org.mockito.BDDMockito.given; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.ut...
package com.icecondor.eaglet.api; import java.net.URI; import java.net.URISyntaxException; import java.util.concurrent.ExecutionException; import org.json.JSONObject; import android.os.Handler; import android.util.Log; import com.icecondor.eaglet.Constants; import com.koushikdutta.async.future.Future; import com.koushi...
package com.cloudmine.api.integration; import com.cloudmine.api.CMFile; import com.cloudmine.api.rest.CMFileMetaData; import com.cloudmine.api.rest.CMStore; import com.cloudmine.api.rest.callbacks.CMObjectResponseCallback; import com.cloudmine.api.rest.callbacks.FileCreationResponseCallback; import com.cloudmine.api.re...
package fr.ens.transcriptome.nividic.om; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.text.ParseException; import java.util.List; import junit.framework.TestCase; import fr.ens.transcriptome.nividic.om.design.Design; import fr.ens.transcriptome.nividic.om.design.DesignFactory; import fr...
package com.lesfurets.maven.partial.core; import static java.util.stream.Collectors.toSet; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; import java.util.stream.Collectors; import org.eclipse.jgit.api.Gi...
package gov.usgs.cida.wqp.service; import static gov.usgs.cida.wqp.exception.WqpExceptionId.METHOD_PARAM_EMPTY; import static gov.usgs.cida.wqp.exception.WqpExceptionId.METHOD_PARAM_NULL; import static gov.usgs.cida.wqp.exception.WqpExceptionId.URL_PARSING_EXCEPTION; import static org.junit.Assert.assertEquals; import ...
package hdm.pk070.jscheme.environment; import hdm.pk070.jscheme.error.SchemeError; import hdm.pk070.jscheme.obj.SchemeObject; import hdm.pk070.jscheme.obj.type.SchemeInteger; import hdm.pk070.jscheme.obj.type.SchemeSymbol; import hdm.pk070.jscheme.util.ReflectionUtils; import org.junit.After; import org.junit.Before; i...
package mkl.testarea.pdfbox2.content; import java.awt.Color; import java.io.File; import java.io.IOException; import org.apache.pdfbox.cos.COSArray; import org.apache.pdfbox.cos.COSBoolean; import org.apache.pdfbox.cos.COSDictionary; import org.apache.pdfbox.cos.COSFloat; import org.apache.pdfbox.cos.COSInteger; import...
package kuleuven.group2.data.updating; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import kuleuven.group2.data.TestDatabase; import kuleuven.group2.data.updating.TestResultUpdater; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit....
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.Bytes; import org.jetbrains.annotations.NotNull; import org.junit.Assert; import org.junit.Test; import java.time.*; import java.util.UUID; import static net.openhft.chronicle.bytes.NativeBytes.nativeBytes; import static org.junit.Assert.assertEqual...
package nl.thehyve.ocdu.validators; import nl.thehyve.ocdu.TestUtils; import nl.thehyve.ocdu.models.OCEntities.Subject; import nl.thehyve.ocdu.models.OcDefinitions.MetaData; import nl.thehyve.ocdu.models.OcDefinitions.SiteDefinition; import nl.thehyve.ocdu.models.errors.ValidationErrorMessage; import nl.thehyve.ocdu.so...
package com.qozix.layouts; import java.lang.ref.WeakReference; import java.util.HashSet; import android.content.Context; import android.graphics.Point; import android.graphics.Rect; import android.os.Handler; import android.os.Message; import android.view.MotionEvent; import android.view.VelocityTracker; import android...
package org.fiware.apps.marketplace.it; import static org.assertj.core.api.Assertions.assertThat; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.ws.rs.client.Client; import javax.w...
package org.influxdb.querybuilder; import static org.influxdb.querybuilder.BuiltQuery.QueryBuilder.*; import static org.influxdb.querybuilder.time.DurationLiteral.HOUR; import static org.junit.jupiter.api.Assertions.assertEquals; import org.influxdb.dto.Query; import org.junit.jupiter.api.Test; public class SelectionSu...
package org.csveed.bean.conversion; import org.csveed.bean.BeanInstructions; import org.csveed.bean.BeanParser; import org.csveed.bean.BeanProperties; import org.csveed.common.Column; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; ...
package org.nextrtc.server.dao.provider; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.isEmptyOrNullString; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import...
package org.grouplens.grapht.util; import javax.inject.Provider; /** * A class with several inner classes implementing Provider for testing * purposes. */ public class TestingProviders { public static class Target implements Cloneable{} public static class GenericTarget<T>{} /* * The simplest form o...
package org.iiitb.os.os_proj; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.iiitb.os.os_proj.db.MongoConnectivity; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Ignore; imp...
package org.numenta.nupic.unit.encoders; import org.junit.Test; import org.numenta.nupic.Parameters; import org.numenta.nupic.Parameters.KEY; import org.numenta.nupic.encoders.CategoryEncoder; import org.numenta.nupic.encoders.DecodeResult; import org.numenta.nupic.encoders.EncoderResult; import org.numenta.nupic.encod...
package org.red5.client.net.rtmp; import java.io.File; import java.io.FileInputStream; import java.nio.ByteBuffer; import java.util.Arrays; import org.apache.commons.codec.binary.Hex; import org.apache.mina.core.buffer.IoBuffer; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit....
// OO jDREW - An Object Oriented extension of the Java Deductive Reasoning Engine for the Web // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FO...
package org.apache.commons.collections; import java.util.*; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit Tests for <code>MultiHashMap</code>. * */ public class TestMultiHashMap extends TestMap { public TestMultiHashMap(String testName) { s...
package org.smoothbuild.fs.mem; import javax.inject.Singleton; import org.smoothbuild.fs.base.FileSystem; import com.google.inject.AbstractModule; public class InMemoryFileSystemModule extends AbstractModule { @Override protected void configure() { bind(InMemoryFileSystem.class).in(Singleton.class); bind(Fi...
package org.perl6.nqp.sixmodel.reprs; import java.math.BigInteger; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.perl6.nqp.runtime.ThreadContext; import org.perl6.nqp.sixmodel.REPR; import org.perl6.nqp.sixmodel....
package com.thoughtworks.acceptance; import java.math.BigDecimal; import java.math.BigInteger; public class BasicTypesTest extends AbstractAcceptanceTest { public void testPrimitiveNumbers() { assertBothWays(new Integer(99), "<int>99</int>"); assertBothWays(new Integer(-99), "<int>-99</int>"); ...
package bot; import java.io.IOException; import java.io.PrintStream; import java.net.Socket; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.Provider; import java.security.SecureRandom; import java.security.Security; import java.security.cert.CertificateE...
package nars.logic.nal7; import com.google.common.collect.Lists; import nars.core.Memory; import nars.core.Parameters; import nars.io.Symbols; import nars.logic.*; import nars.logic.entity.*; import nars.logic.nal1.Inheritance; import nars.logic.nal2.Similarity; import nars.logic.nal4.Product; import nars.logic.nal5.Co...
package nl.esciencecenter.ncradar; public class ParameterValues { private final int AREACELL; private final double AZIMMAX; private final double AZIMMIN; private final double CLUTPERCCELL; private final double DBZCELL; private final double DBZCLUTTER; private final double DBZFACTOR; priv...
package org.wyona.yanel.servlet; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintWriter; import java.net.URL; import java.util.Calendar; import java.util.Enumeration; ...
package org.intermine.api.profile; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; import org.apache.tools.ant.BuildException; import org.intermine.api.template.TemplateQuery; import org.interm...
package com.cloud.api; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.cloud.agent.AgentManager; import com.cloud.async.AsyncJobManager; import com.cloud.async.AsyncJobVO; import com.cloud.configuration.ConfigurationService; import com.cloud.configuration.ResourceCount.ResourceType; ...
package SurveyBot; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import org.javarosa.core.model.FormDef; import org.javarosa.core.model.FormIndex; import org.javarosa.core.model.data.AnswerDataFactory; import org.javarosa.core.model.data.IAnswerData; import org.javarosa.core...
package org.intermine.web; import org.intermine.metadata.ClassDescriptor; import org.intermine.metadata.FieldDescriptor; import org.intermine.metadata.Model; import org.intermine.metadata.PrimaryKey; import org.intermine.metadata.PrimaryKeyUtil; import org.intermine.metadata.ReferenceDescriptor; import org.intermine.mo...
package org.intermine.web; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.intermine.objectstore.query.ResultsRow; import org.intermine.metadata.ClassDescriptor; import org.intermine.metadata.FieldDescriptor; ...
package jadx.gui.ui.dialog; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.awt.event.MouseAdapter; import java.awt.event.Mous...
package com.wavefront.ingester; import java.util.Map; import java.util.logging.Logger; import java.util.logging.Level; import javax.annotation.Nullable; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelInitializer; i...
package org.voltdb.jni; import junit.framework.TestCase; import org.voltdb.LegacyHashinator; import org.voltdb.ParameterSet; import org.voltdb.TheHashinator.HashinatorConfig; import org.voltdb.TheHashinator.HashinatorType; import org.voltdb.VoltDB; import org.voltdb.VoltTable; import org.voltdb.VoltType; import org.vol...
package alluxio.shell.command; import alluxio.AlluxioURI; import alluxio.client.FileSystemTestUtils; import alluxio.client.WriteType; import alluxio.shell.AbstractAlluxioShellTest; import org.junit.Assert; import org.junit.Test; /** * Tests the "pin" and "unpin" commands. */ public class PinCommandTest extends Abstra...
package com.cjmalloy.torrentfs.model; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import com.cjmalloy.torrentfs.extension.Extension; import com.cjmalloy.torrentfs.extension.Extension.ExtensionFactory; import com.cjm...
package functionalTests.security.ruleCheck; import java.security.Policy; import org.objectweb.proactive.ActiveObjectCreationException; import org.objectweb.proactive.api.ProActiveObject; import org.objectweb.proactive.api.ProDeployment; import org.objectweb.proactive.core.ProActiveException; import org.objectweb.proact...
package org.webrtc; import android.content.Context; import android.os.Handler; import android.os.SystemClock; import android.view.Surface; import android.view.WindowManager; import org.webrtc.CameraEnumerationAndroid.CaptureFormat; import org.webrtc.Logging; import java.io.IOException; import java.nio.ByteBuffer; impor...
package com.caseystella.analytics.outlier; import backtype.storm.task.OutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.topology.base.BaseRichBolt; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Tuple; import com.case...
package hudson.plugins.scm.koji.model; import hudson.plugins.scm.koji.Constants; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import java.util.Optional; @XmlAccessorType(XmlAccessType.FIELD) public class RPM implements jav...
package com.tightdb; import static org.testng.AssertJUnit.*; import org.testng.annotations.Test; import java.util.Date; public class JNIQueryTest { Table table; void init() { table = new Table(); TableSpec tableSpec = new TableSpec(); tableSpec.addColumn(ColumnType.ColumnTypeInt, "number...
package tlc2.debug; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Stack; import java.util.concurrent.CompletableFuture; import java.util.concurrent.Executors; import java.util.logging.Logger; import org.eclipse.lsp4j.debug.Breakpoint; import o...
package PageGuest; import Configuration.Configuration; import QueueHandlers.JMSStack; import QueueHandlers.ResultQueue; import Util.CurrencyHelper; import Util.DatetimeHelper; import Util.StringHelper; import com.teamdev.jxbrowser.chromium.*; import com.teamdev.jxbrowser.chromium.dom.*; import com.teamdev.jxbrowser.chr...
package to.etc.domui.component.layout; import to.etc.domui.component.buttons.*; import to.etc.domui.dom.html.*; import to.etc.domui.state.*; public class ButtonBar extends Table { private final TD m_center; public ButtonBar() { setCssClass("ui-buttonbar"); setCellSpacing("0"); setCellPad...
package edu.cs4730.fitdemo; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.But...
package com.backendless.push; import android.app.AlarmManager; import android.app.IntentService; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.SystemClock; import android.util.Lo...
package com.itti7.itimeu; import android.app.Activity; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import a...
package com.ecyrd.jspwiki.providers; import java.lang.ref.SoftReference; import java.util.Properties; import java.util.Collection; import java.util.HashMap; import java.util.Date; import java.util.ArrayList; import java.util.Iterator; import java.io.IOException; import org.apache.log4j.Category; import com.ecyrd.jspwik...
package com.gmail.harleenssahni.mbr; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import android.app.ListActivity; import android.content.BroadcastReceiver; import an...
package com.haxademic.sketch.render; import com.haxademic.core.app.P; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.constants.AppSettings; import com.haxademic.core.draw.context.DrawUtil; import com.haxademic.core.draw.context.OpenGLUtil; public class ConcentricCubes extends PAppletHax { publi...
// Package package com.hp.hpl.jena.ontology; // Imports import java.io.*; import java.util.*; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.xerces.util.XMLChar; import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.util.*; import com.hp.hpl.jena.vocabulary.O...
package com.lekebilen.quasseldroid; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Observable; import java.util.Observer; public class BufferCollection extends Observable implements Observer { private HashMap<I...
package com.projects.gui.panel; import com.projects.gui.SubscribedView; import com.projects.models.PowerPlant; import com.projects.models.WorldTimer; import com.projects.systems.simulation.SimulationStatus; import com.projects.systems.simulation.World; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPa...
package com.twu.biblioteca.Biblioteca; import com.twu.biblioteca.Library.Library; import com.twu.biblioteca.Menu.MainMenu; public class BibliotecaApp { public static void main(String[] args) { Library library = new Library(); MainMenu launch = new MainMenu(library); launch.mainMenu(); } ...
package com.tzapps.tzpalette.ui; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget...
package com.xruby.runtime.builtin; import com.xruby.runtime.lang.*; import com.xruby.runtime.value.*; class Array_length extends RubyNoArgMethod { protected RubyValue run(RubyValue receiver, RubyBlock block) { RubyArray value = (RubyArray) receiver; return ObjectFactory.createFixnum(value.size()); ...
package lombok.javac.apt; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Reader; import java.io.StringReader; import java.io.Writer; import java.net.URI; imp...
package net.simpvp.Misc; import java.text.SimpleDateFormat; import java.util.Date; import java.util.UUID; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.util.regex.Pattern; import java.util.regex.Matcher; import org.bukkit.ChatColor; impo...
package dae.animation.rig; import dae.prefabs.Prefab; import dae.prefabs.standard.PrefabPlaceHolder; /** * Defines a call back for PrefabPlaceHolder objects. * @author Koen Samyn */ public interface PrefabPlaceHolderCallback { /** * Called when the actual prefab has been found. * @param actualPrefab th...
package data_structure; import java.util.*; public class TwoSumIIIDataStructureDesign { //TAG: LinkedIn //TAG: Data structure //Difficulty: Easy /** * 170. Two Sum III - Data structure design * Design and implement a Q1TwoSum class. It should support the following operations: add and find. ...
package de.gurkenlabs.litiengine.gui; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Image; import java.awt.geom.Point2D; import java.awt.image.BufferedImage; import java.text.MessageFormat; import javax.swing.JLabel; import de.gurkenlabs.litiengine.graphics.ImageCache; import de.gurkenlabs.litiengi...
package de.lmu.ifi.dbs.elki.persistent; /** * Page file statistic utility functions. * * @author Erich Schubert * * @apiviz.landmark * * @apiviz.uses PageFileStatistics oneway - - analyses */ public final class PageFileUtil { /** * Append the page file statistics to the output buffer. * * @param buff...
package test.ccn.data.content; import java.io.IOException; import javax.xml.stream.XMLStreamException; import com.parc.ccn.config.ConfigurationException; import com.parc.ccn.data.ContentName; import com.parc.ccn.data.ContentObject; import com.parc.ccn.data.content.CollectionData; import com.parc.ccn.data.security.Publi...
package org.intermine.web; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.Collection; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.actions.LookupDispatchAction; import ...
package org.intermine.web; import javax.servlet.ServletContext; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSessionListener; import javax.servlet.http.HttpSessionEvent; import java.util.HashMap; /** * Perform InterMine-specific actions when a Session is constructed or destroyed * @author Mark...
package dr.app.beauti.priorsPanel; import dr.app.beauti.options.Parameter; import dr.app.beauti.types.PriorType; import dr.app.beauti.util.PanelUtils; import dr.app.gui.components.RealNumberField; import dr.app.util.OSType; import dr.math.distributions.*; import jam.panels.OptionsPanel; import javax.swing.*; import jav...
package alfredo.sprite; import alfredo.geom.Point; /** * Sprites are containers that have their own position and direction. They can be used * to build constructs of multiple other Entities, such as Skeletons. * @author TheMonsterFromTheDeep */ public class Sprite extends Entity { protected Point position; ...
package org.zstack.identity; import org.hibernate.exception.ConstraintViolationException; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.springframework.transaction....
package dr.evomodel.tree; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintWriter; import java.util.Date; import java.util.logging.Logger; import dr.app.beast.BeastVersion; import dr.evomodel.coalescent.GMRFSkyrideLikelihood; import dr.inference.loggers.Log...
package dr.evomodel.treelikelihood; import dr.evolution.alignment.PatternList; import dr.evolution.tree.Tree; import dr.evolution.util.TaxonList; import dr.inference.model.AbstractModel; import dr.inference.model.Model; import dr.inference.model.Parameter; import dr.inference.model.Variable; import java.util.HashMap; i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.isi.pegasus.planner.refiner; import edu.isi.pegasus.planner.classes.ADag; import edu.isi.pegasus.planner.classes.Job; import edu.isi.pegasus.planner.partitioner.graph.Adapter; import edu.isi.pegasus.planner.p...
package io.perfmark.impl; import io.perfmark.Impl; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicLong; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nullable; final class SecretPerfMarkImpl { public static final class PerfMarkImp...
/** * Expression.java * * Wrapper for JEval * * @author Agent Team */ package edu.wheaton.simulator.expression; import java.util.HashMap; import java.util.Map; import java.util.NoSuchElementException; import java.util.regex.Pattern; import net.sourceforge.jeval.EvaluationException; import net.sourceforge.jeval.Ev...
package com.cordovaplugincamerapreview; import android.Manifest; import android.content.pm.PackageManager; import android.app.FragmentManager; import android.app.FragmentTransaction; import android.hardware.Camera; import android.util.DisplayMetrics; import android.util.Log; import android.util.TypedValue; import andro...
package com.just.agentweb; import android.content.Intent; import android.os.Bundle; import android.support.annotation.ColorInt; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.View; import android.view.ViewGroup; import a...
package org.broadinstitute.sting.utils; public class QualityUtils { private QualityUtils() {} static public double qualToProb(byte qual) { return 1.0 - Math.pow(10.0, ((double) qual)/-10.0); } static public byte probToQual(double prob) { return (byte) Math.round(-10.0*Math.log10(1.0 - pr...
package org.codepond.wizardroid; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentManager.OnBackStackChangedListener; import android.support.v4.app.FragmentStatePagerAdapter; import android.suppor...
package org.yamcs.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Locale; import java.util.TimeZone; imp...
package org.burntgameproductions.PathToMani.menu; import com.badlogic.gdx.Input; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.math.Rectangle; import org.burntgameproductions.PathToMani.GameOptions; import org.burntgameproductions.PathToMani.ManiApp...
package org.modmine.web; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.s...
package injection; import injection.InjectorParseException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Writer; import java.util.*; import java.lang.reflect.Modifier; import persistence.Attribute; import persistence.AttributeValue; import persistence.ConstraintVio...
package fr.utc.assos.uvweb.io.base; import android.app.Activity; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.actionbar...
package injection; import java.io.IOException; import java.io.Writer; import java.util.*; import java.lang.reflect.Modifier; import persistence.SystemException; import persistence.UniqueViolationException; public final class Instrumentor implements InjectionConsumer { private final Writer output; /** * Hol...
package free.giTorto.operations; import com.google.refine.browsing.Engine; import com.google.refine.browsing.FilteredRows; import com.google.refine.browsing.RowVisitor; import com.google.refine.expr.EvalError; import com.google.refine.history.Change; import com.google.refine.history.HistoryEntry; import com.google.refi...
package com.github.gtache.settings.gui; import com.github.gtache.client.MessageDialog; import com.github.gtache.client.languageserver.serverdefinition.*; import com.github.gtache.settings.LSPState; import com.github.gtache.utils.Utils; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.ui.ComboB...
package org.intermine.web; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java...
package gov.nih.nci.nautilus.test; import gov.nih.nci.nautilus.criteria.ArrayPlatformCriteria; import gov.nih.nci.nautilus.criteria.AssayPlatformCriteria; import gov.nih.nci.nautilus.criteria.CloneOrProbeIDCriteria; import gov.nih.nci.nautilus.criteria.Constants; import gov.nih.nci.nautilus.criteria.CopyNumberCriteria;...
package codeOrchestra.colt.as; import codeOrchestra.colt.as.controller.COLTAsController; import codeOrchestra.colt.as.logging.transport.LoggerServerSocketThread; import codeOrchestra.colt.as.model.COLTAsProject; import codeOrchestra.colt.as.model.ModelStorage; import codeOrchestra.colt.as.model.util.ProjectImporter; im...