answer stringlengths 17 10.2M |
|---|
package net.spy.memcached;
import java.nio.ByteBuffer;
import java.net.SocketAddress;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.Callable;
import jav... |
package net.spy.memcached;
import java.net.SocketAddress;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionE... |
package org.hfeng.leet.util;
import org.hamcrest.collection.IsIterableContainingInOrder;
import org.junit.Assert;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import static org.junit.Assert.assertEquals;
public class TreeNodeHelper {
public static TreeNode ... |
package org.apache.commons.lang;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.math.BigInteger;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit tests {@link org.apache.commons.lang.NumberUtils}.
*
* @author <a href="mailto:rand_mc... |
package org.apache.commons.lang;
import java.util.Arrays;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
/**
* Unit tests {@link org.apache.commons.lang.StringUtils}.
*
* @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
* @autho... |
package uk.org.ownage.dmdirc.ui.components;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.ArrayList;
import java.util.Date;
i... |
package org.strongback.drive;
import org.strongback.annotation.Experimental;
import org.strongback.command.Command;
import org.strongback.command.Requirable;
import org.strongback.components.AngleSensor;
import org.strongback.components.Motor;
import org.strongback.components.Stoppable;
import org.strongback.function.D... |
package afc.ant.modular;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.PropertyHelper;
import org.apache.tools.ant.types.Path;
import junit.framework.TestCase;
// TODO test multiple classp... |
package alluxio;
import alluxio.client.file.FileSystemMasterClient;
import com.google.common.base.Function;
import com.google.common.base.Throwables;
import java.util.Random;
/**
* Util methods for writing integration tests.
*/
public final class IntegrationTestUtils {
/**
* Convenience method for calling {@link... |
package com.intellij.ide.actions;
import com.intellij.CommonBundle;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.help.HelpManager;
import com.intellij.openapi.util.IconLoader;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
public clas... |
package com.intellij.util;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.impl.ApplicationInfoImpl;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.*;
import com.intellij.openapi.util.registry.Registry;
import com.intellij.openapi.util... |
package org.mockito.runners;
import static org.mockito.Mockito.*;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.model.InitializationError;
import org.mockito.Mock;
import org.mockito.internal.debugging.DebuggingInfo;
import org.mockito.interna... |
/*
* $Id: TestGenericFileCachedUrlSet.java,v 1.34 2003-04-30 23:44:22 tal Exp $
*/
package org.lockss.plugin;
import java.io.*;
import java.util.*;
import java.net.MalformedURLException;
import org.lockss.daemon.*;
import org.lockss.repository.*;
import org.lockss.state.*;
import org.lockss.test.*;
import org.lockss.... |
package com.zc741.thinking;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.os... |
package am.userInterface.vertex;
import java.io.Serializable;
import javax.swing.tree.DefaultMutableTreeNode;
import am.GlobalStaticVariables;
import am.app.ontology.Node;
import com.hp.hpl.jena.ontology.OntModel;
/**
* Vertex class contains all the information about the node or vertex of the XML tree.
* Some of the ... |
package yuku.alkitab.base.sync;
import android.support.annotation.NonNull;
import com.google.gson.Gson;
import yuku.alkitab.base.S;
import yuku.alkitab.base.U;
import yuku.alkitab.base.model.SyncShadow;
import yuku.alkitab.base.util.Sqlitil;
import yuku.alkitab.model.Label;
import yuku.alkitab.model.Marker;
import yuku... |
package at.GT.GoogleAuthentication;
import java.io.IOException;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEnti... |
package imj2.tools;
import static java.lang.Math.pow;
import static java.lang.Math.round;
import static java.lang.Math.sqrt;
import static net.sourceforge.aprog.swing.SwingTools.horizontalBox;
import static net.sourceforge.aprog.swing.SwingTools.show;
import static net.sourceforge.aprog.tools.Tools.array;
import static... |
package com.ehpefi.iforgotthat;
import android.content.ContentValues;
import android.content.Context;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
/**
* Performs CRUD operations on lists in the 'I Forgot T... |
/*
* $Log: Misc.java,v $
* Revision 1.27 2009-12-28 12:53:07 m168309
* cosmetic changes
*
* Revision 1.26 2009/12/24 08:27:55 Peter Leeuwenburgh <peter.leeuwenburgh@ibissource.org>
* added methods getResponseBodySizeWarnByDefault and getResponseBodySizeErrorByDefault
*
* Revision 1.25 2009/11/12 12:36:04 ... |
package org.pentaho.ui.xul.gwt.tags;
import com.allen_sauer.gwt.dnd.client.DragContext;
import com.allen_sauer.gwt.dnd.client.VetoDragException;
import com.allen_sauer.gwt.dnd.client.drop.AbstractPositioningDropController;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Event;
import com.google... |
package xml2jsontest;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import xml2json.Xml2Json;
public class Xml2JsonTest {
String stringXML;
String stringJson;
@Before
public void setUp() throws Exception {
stringXML = "<?xml ver... |
/**
* @author anusio
*/
package metodos;
public class Metodos {
private Funcao funcao;
private Exibir exibir;
private double tol = .0000001;
private int max_interacao = 100;
public Metodos(Funcao fun) {
funcao = fun;
}
public Metodos(Funcao fun, Exibir e) {
funcao = fun;
... |
package org.commcare.util;
import org.commcare.applogic.CommCareAlertState;
import org.commcare.applogic.CommCareFirstStartState;
import org.commcare.applogic.CommCareHomeState;
import org.commcare.applogic.CommCareLoginState;
import org.commcare.cases.model.Case;
import org.commcare.core.properties.CommCareProperties;... |
package com.exedio.cope;
final class ItemWithoutJavaClass extends Item
{
ItemWithoutJavaClass(final SetValue[] setValues, final Type<? extends Item> type)
{
super(setValues, type);
assert type!=null;
}
ItemWithoutJavaClass(final int pk, final Type<? extends Item> type)
{
supe... |
// This file is part of the Ouzel engine.
package org.ouzelengine;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.SurfaceHolder;
public class MainActivity extends Activity implements SurfaceHolder.Callback
{
... |
package simpleapdu;
import applets.EC_Consts;
import applets.SimpleECCApplet;
import javacard.framework.ISO7816;
import javacard.security.CryptoException;
import javacard.security.KeyPair;
import javax.smartcardio.ResponseAPDU;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOExce... |
package sockets;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.Socket;
import java.util.ArrayList;
import java.util.List;
public class SocketManager {
public final Sock... |
package soot;
import soot.jimple.*;
/**
* UnitPrinter implementation for normal (full) Jimple, Grimp, and Baf
*/
public class BriefUnitPrinter extends LabeledUnitPrinter {
public BriefUnitPrinter( Body body ) {
super(body);
}
private boolean baf;
public void startUnit( Unit u ) {
super.s... |
package src.controller;
import java.util.ArrayList;
import src.model.MapEntity_Relation;
/**
*
* @author JohnReedLOL
*/
abstract public class Entity extends DrawableThing {
// Converts an entity's name [which must be unique] into a unique base 35 number
private static final long serialVersionUID = Long.parse... |
package cs201.gui.transit;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Point;
import java.util.Stack;
import javax.swing.JOptionPane;
import cs201.gui.ArtManager;
import cs201.gui.CityPanel;
import cs201.helper.Constants;
import cs201.helper.transit.MovementDirection;
import cs201.helper.transit.... |
package dataAccessLayer;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Date;
import businessLogicLayer.Log;
import constants.DalEnum;
import constants.Severity;
import serviceLayer.CtrlLog;
public class DataBaseAccess {
public static Connection getConnecti... |
package de.lmu.ifi.dbs.algorithm;
import de.lmu.ifi.dbs.data.DoubleVector;
import de.lmu.ifi.dbs.database.Database;
import de.lmu.ifi.dbs.distance.LocallyWeightedDistanceFunction;
import de.lmu.ifi.dbs.pca.CorrelationPCA;
import de.lmu.ifi.dbs.preprocessing.CorrelationDimensionPreprocessor;
import de.lmu.ifi.dbs.utilit... |
package de.otori.engine;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
public abstract class FraktalProgram implements Renderable, KeyListener, MouseListener, MouseMotionListener {
... |
package pokerth_test;
import java.net.Socket;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Collection;
import org.junit.Test;
import pokerth_protocol.*;
import pokerth_proto... |
package ublu.command;
import ublu.util.ArgArray;
import ublu.util.DataSink;
import com.ibm.as400.access.AS400SecurityException;
import com.ibm.as400.access.ErrorCompletingRequestException;
import com.ibm.as400.access.ObjectDoesNotExistException;
import com.ibm.as400.access.RequestNotSupportedException;
import java.io.F... |
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.net.URI;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.IOUtils;
import org.apach... |
package mondrian.util;
import mondrian.olap.Util;
import java.util.*;
import junit.framework.TestCase;
/**
* Test case for {@link ObjectPool}.
*
* @version $Id$
* @author Richard Emberson
*/
public class ObjectPoolTest extends TestCase {
public ObjectPoolTest() {
super();
}
public ObjectPoolTes... |
package dr.xml;
import org.w3c.dom.NamedNodeMap;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
public abstract class AbstractXMLObjectParser implements XMLObjectParser {
public final Object parseXMLObject(XMLObject xo, String id, ObjectStore store, boole... |
package view;
import java.util.ArrayList;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.scene.shape.Shape;
impo... |
package pokemon.launcher;
import java.util.Vector;
import pokemon.annotations.Tps;
import pokemon.controle.Cinematique;
import pokemon.controle.JoueurController;
import pokemon.controle.MenuListener;
import pokemon.modele.ChangeMapException;
import pokemon.modele.Combat;
import pokemon.modele.Direction;
import pokemon.... |
package dronemis.openCV;
import java.awt.image.BufferedImage;
import java.awt.image.DataBufferByte;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
public class ImageProcessor {
public BufferedImage toBufferedImage(Mat matrix){
int type = BufferedImage.TYPE_BYTE_GRAY;
if ( matrix.channels... |
/* ConfigFile.java */
package droplauncher.config;
import droplauncher.debugging.Debugging;
import droplauncher.tools.MainTools;
import droplauncher.tools.MemoryFile;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.io.File;
import java.io.IOException;
import java.util.Arr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.stuy.subsystems;
import edu.stuy.RobotMap;
import edu.stuy.commands.Autonomous;
import edu.stuy.commands.DriveManualJoystickControl;
import edu.stuy.util.VictorRobotDrive;
import edu.wpi.first.wpilibj.*;
impo... |
import java.util.*;
public class Verifier
{
public static final String EXAMPLE_DATA = "example.txt";
public static final long EXAMPLE_ADDRESS_1 = 7;
public static final long EXAMPLE_VALUE_1 = 0;
public static final long EXAMPLE_ADDRESS_2 = 8;
public static final long EXAMPLE_VALUE_2 = 64;
public... |
package bresenham;
/**
* @author Mario
*/
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Insets;
import javax.swing.JPanel;
import javax.swing.JFrame;
import java.util.Random;
public class Bresenham extends JPanel {
public static JPanel panel ... |
package tla2sany.modanalyzer;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Hashtable;
import tla2sany.semantic.AbortException;
import tla2sany.semantic.Errors;
import tla2sany.semantic.ExternalModuleTable;
import tla2sany.st.TreeNode;
import tla2sany.utilities.Vector;
import util.ToolIO;
pub... |
package tlc2.tool.distributed;
import java.io.File;
import java.io.IOException;
import tlc2.TLCGlobals;
import tlc2.tool.Action;
import tlc2.tool.StateVec;
import tlc2.tool.TLCState;
import tlc2.tool.TLCStateInfo;
import tlc2.tool.Tool;
import tlc2.tool.WorkerException;
import tlc2.util.FP64;
import tlc2.value.Value;
i... |
package algorithms.imageProcessing;
import algorithms.MultiArrayMergeSort;
import algorithms.compGeometry.clustering.KMeansPlusPlus;
import algorithms.imageProcessing.util.MatrixUtil;
import algorithms.misc.Histogram;
import algorithms.misc.HistogramHolder;
import algorithms.misc.MiscMath;
import algorithms.util.PairIn... |
package rabbit;
public class CommandCreator {
public String createCommand(String userCommand) {
String[] tokens = userCommand.split("\\s+");
switch(tokens[0]) {
case "security":
switch (tokens[1]) {
case "tls":
return "nmap --s... |
package battleships.gui.panels;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JPanel;
import translator.CoordinateTranslator;
import translator.TranslatorAdapter;
import battleships.backend.Settings;
import battleships.gui.BattleShipsInputUnit;
import battleships.gui.listeners.BattleshipsDeplo... |
package org.parser.marpa;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;
/**
* Test Application
*/
public class AppParse {
/**
* @param args arguments, unused
*/
public static void main(String[] args) {
AppLogger eslifLogger1 = new AppLogger();
AppLogger eslifLog... |
package ca.eandb.jmist.framework.job;
import ca.eandb.jdcp.job.AbstractParallelizableJob;
import ca.eandb.jdcp.job.TaskWorker;
import ca.eandb.jmist.framework.Display;
import ca.eandb.jmist.framework.Emitter;
import ca.eandb.jmist.framework.Intersection;
import ca.eandb.jmist.framework.Lens;
import ca.eandb.jmist.frame... |
package ca.eandb.jmist.framework.job;
import ca.eandb.jdcp.job.AbstractParallelizableJob;
import ca.eandb.jdcp.job.TaskWorker;
import ca.eandb.jmist.framework.Display;
import ca.eandb.jmist.framework.Emitter;
import ca.eandb.jmist.framework.Intersection;
import ca.eandb.jmist.framework.Lens;
import ca.eandb.jmist.frame... |
package com.axelby.podax;
import android.bluetooth.BluetoothClass;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
// catch all of our... |
package com.codeup.auth.filters;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
public class AuthenticationFilter implements Filter {
private String redirectTo;
public void do... |
package com.beetle.voip;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.util.Log;
import com.beetle.im.IMService;
import com.beetle.im.RTMessage;
import com.beetle.im.RTMessageO... |
package com.kickstarter.libs;
import android.content.pm.PackageInfo;
import android.support.annotation.NonNull;
import com.kickstarter.BuildConfig;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import java.util.Locale;
public final class Release {
private final PackageInfo packageInfo;
public Re... |
package beast.evolution.likelihood;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import beast.core.Description;
import beast.core.Input;
import beast.core.State;
import beast.core.util.Log;
import beast.evolution.alignment.Alignment;
... |
package com.pae14_1;
import android.app.ProgressDialog;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.support.v7.app.AppCompatActivi... |
package com.hp.hpl.jena.graph.test;
import com.hp.hpl.jena.util.HashUtils;
import com.hp.hpl.jena.util.iterator.*;
import com.hp.hpl.jena.graph.*;
import com.hp.hpl.jena.graph.query.*;
import com.hp.hpl.jena.mem.GraphMem;
import com.hp.hpl.jena.shared.*;
import java.util.*;
/**
AbstractTestGraph provides a bunch of... |
package com.jaselogic.adamsonelearn;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import org.jsoup.select.Elements;
import com.jaselogic.adamsonelearn.DocumentManager.DocumentCookie;
import... |
package com.quirkygaming.propertylib;
import java.io.Serializable;
import com.quirkygaming.propertylib.PropertyObserver.EventType;
/**
* An extension of Property<T> with the addition of a set method.
*
* @author Chandler Griscom
* @version 1.0
*/
public class MutableProperty<T> extends BoundProperty<T> implements... |
package com.speedment.codegen.java.models;
import com.speedment.codegen.base.CodeModel;
import com.speedment.codegen.java.interfaces.Annotable;
import com.speedment.codegen.java.interfaces.Dependable;
import com.speedment.codegen.java.interfaces.Documentable;
import com.speedment.codegen.java.interfaces.Fieldable;
impo... |
package com.valkryst.VTerminal.builder;
import com.valkryst.VJSON.VJSONParser;
import com.valkryst.VTerminal.component.Button;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.json.simple.JSONObject;
@Data
@NoArgsConstructor
public class ButtonBuilder extends ComponentBuilder<Button> implements VJSONPars... |
package com.wolfesoftware.mipsos.assembler;
import java.io.*;
import java.util.*;
import com.wolfesoftware.mipsos.common.*;
public class Assembler
{
private static final String blankBinAddr = " ";
private static final String blankBinWord = " ";
/**
* calls assemble() with opti... |
package com.SamB440.AdvancementGUI;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bungee.chat.ComponentSerializer;
import org.bukkit.Bukkit;
import org.bukkit.Namespac... |
package snake;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.image.BufferedImage;
import javax.swing.JPanel;
/**
* @author Aaron
* @author Ryan
*
*/
@SuppressWarnings("serial"... |
package team353;
import battlecode.common.*;
import java.util.*;
public class RobotPlayer {
public static class smuConstants {
public static int roundToLaunchAttack = 1600;
public static int roundToDefendTowers = 500;
public static int roundToFormSupplyConvoy = 400; // roundToBuildSOLDIERS;
... |
package org.apache.james.smtpserver;
import org.apache.avalon.cornerstone.services.connection.ConnectionHandler;
import org.apache.avalon.cornerstone.services.scheduler.PeriodicTimeTrigger;
import org.apache.avalon.cornerstone.services.scheduler.Target;
import org.apache.avalon.cornerstone.services.scheduler.TimeSchedu... |
package com.ecyrd.jspwiki.render;
import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Constructor;
import java.util.Collection;
import java.util.Iterator;
import java.util.Properties;
import org.apache.log4j.Logger;
import com.ecyrd.jspwiki.TextUtil;
import com.ecyrd.jspwiki.WikiContext;
i... |
package com.michaldabski.filemanager;
import java.io.File;
import java.util.ArrayList;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.... |
package com.phantommentalists.Twenty14;
/**
*
*
* and open the template in the editor.
*
*/
import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.Relay;
/**
*
* ChopSticks allocation
*
* @author mburt001
*
*/
public class ChopSticks {
public Relay left;
public Relay right;
public So... |
package com.phantommentalists.Twenty14;
/*
* Parameters allocation
*/
public class Parameters {
public static final int frontDriveCanId = -1;
public static final int frontLeftSteeringCanId = -1;
public static final int frontRightCanId = -1;
public static final int rearCanId = -1;
public static fin... |
package com.scorpius_enterprises.io.iqm;
import com.scorpius_enterprises.log.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.LinkedList;
/**
* {@link IqmLoader com.scorpius_enterprises.io.iqm.IqmLoader}
*
* @author Scorple
* @si... |
package com.thaiopensource.relaxng;
/**
* A skeleton implementation of <code>Schema</code>.
*
* @author <a href="mailto:jjc@jclark.com">James Clark</a>
*/
public abstract class AbstractSchema implements Schema {
/**
* Calls <code>createValidator(null)</code>.
*/
public ValidatorHandler createValidator() {... |
package com.wakatime.intellij.plugin;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.channels.Channels;
import j... |
package com.xtuple.packworkflow.main;
import com.google.android.glass.app.Card;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
//import android.view.GestureDetector;
import android.view.KeyEvent;
import android.view.MotionEv... |
package me.nallar.patched.world;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import com.google.common.collect.ImmutableSetMultimap;
import javassist.is.faulty.ThreadLocals;
import me.nallar.tickthreading.Log;
... |
package org.nohope.typetools;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.Period;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;
import java.util.Date;
import java.util.Gregor... |
package org.pwd.web.audit;
import org.pwd.domain.audit.Audit;
import org.pwd.domain.audit.AuditRepository;
import org.pwd.domain.audit.WebsiteAudit;
import org.pwd.domain.audit.WebsiteAuditRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import... |
package dr.app.beauti.treespanel;
import dr.app.beauti.BeautiFrame;
import dr.app.tools.TemporalRooting;
import dr.evolution.tree.Tree;
import dr.gui.chart.*;
import dr.gui.tree.JTreeDisplay;
import dr.gui.tree.SquareTreePainter;
import dr.stats.Regression;
import javax.swing.*;
import java.awt.*;
/**
* @author Andrew... |
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 replicant;
import javax.annotation.Nonnull;
import org.realityforge.braincheck.BrainCheckConfig;
import static org.realityforge.braincheck.Guards.*;
/**
* Provide access to global configuration settings.
*/
public final class Replicant
{
private Replicant()
{
}
/**
* Return true if zones are enable... |
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 org.fxmisc.richtext;
import java.util.regex.Pattern;
// For multi-character line terminators, it is important that any subsequence
// is also a valid line terminator, because we support splicing text at any
// position, even within line terminators.
public enum LineTerminator {
CR("\r"),
LF("\n"),
C... |
package org.klomp.snark;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.StringTokenizer;
import net.i2p.crypto.SHA1;
/**
* Maintains pieces on disk. Can be used to store and retrieve pieces... |
package dr.inference.operators;
import dr.inference.model.Bounds;
import dr.inference.model.Parameter;
import dr.inferencexml.operators.RandomWalkOperatorParser;
import dr.math.MathUtils;
import dr.util.Transform;
import java.util.ArrayList;
import java.util.List;
/**
* A generic random walk operator for use with a mu... |
package saschpe.poker.activity;
import android.content.Intent;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.LinearSnapHelper;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.S... |
package dr.inference.operators;
import dr.inference.model.Bounds;
import dr.inference.model.Parameter;
import dr.inferencexml.operators.RandomWalkOperatorParser;
import dr.math.MathUtils;
import dr.util.Transform;
import java.util.ArrayList;
import java.util.List;
/**
* A generic random walk operator for use with a mu... |
package edacc.configurator.aac.racing;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import org.rosuda.JRI.Rengine;
import edacc.api.API;
import edacc.configurator.aac.AAC;
import edacc.configu... |
package de.diddiz.utils.sql.databases;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
/**
* A simple class containing a {@link Connection}. {@code SimpleDatabase} is meant to be used for local databases like sqlite or H2.
*
* Sub-classes should add... |
package de.kuehweg.sqltool.itrysql;
import de.kuehweg.sqltool.common.DialogDictionary;
import de.kuehweg.sqltool.common.FileUtil;
import de.kuehweg.sqltool.common.ProvidedAudioClip;
import de.kuehweg.sqltool.common.RomanNumber;
import de.kuehweg.sqltool.common.UserPreferencesManager;
import de.kuehweg.sqltool.common.sq... |
package de.lmu.ifi.dbs.algorithm;
import de.lmu.ifi.dbs.algorithm.result.CorrelationAnalysisSolution;
import de.lmu.ifi.dbs.data.RealVector;
import de.lmu.ifi.dbs.database.Database;
import de.lmu.ifi.dbs.distance.Distance;
import de.lmu.ifi.dbs.linearalgebra.LinearEquation;
import de.lmu.ifi.dbs.linearalgebra.Matrix;
i... |
package de.ust.skill.common.java.internal;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.Semaphore;
impor... |
package httpserv;
import com.sun.net.httpserver.Headers;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import com.sun.net.httpserver.HttpServer;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.InetSock... |
package snowballmadness;
import java.util.*;
import com.google.common.base.*;
import org.bukkit.*;
import org.bukkit.entity.*;
import org.bukkit.event.entity.*;
import org.bukkit.inventory.*;
import org.bukkit.plugin.Plugin;
import org.bukkit.scheduler.BukkitRunnable;
/**
* This class is the base class that hosts the ... |
package edu.rpi.cct.misc.indexing;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.Field.Store;
import org.apache.lucene.index.IndexReader;
impo... |
package edu.washington.escience.myria;
import java.io.Serializable;
import java.util.Objects;
import java.util.regex.Pattern;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Preconditions;
/**
* This class holds the key that identifies a relation. The notation is user.program.relati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.