answer stringlengths 17 10.2M |
|---|
package dr.inference.model;
import dr.util.NumberFormatter;
import dr.xml.*;
import java.util.ArrayList;
import java.util.List;
/**
* A likelihood function which is simply the product of a set of likelihood functions.
*
* @author Alexei Drummond
* @author Andrew Rambaut
* @version $Id: CompoundLikelihood.java,v 1.... |
package dr.inference.operators.hmc;
import cern.colt.matrix.DoubleFactory2D;
import cern.colt.matrix.DoubleMatrix1D;
import cern.colt.matrix.DoubleMatrix2D;
import cern.colt.matrix.impl.DenseDoubleMatrix2D;
import cern.colt.matrix.linalg.Algebra;
import dr.inference.hmc.GradientWrtParameterProvider;
import dr.inference... |
package edu.dynamic.dynamiz.controller;
import static org.junit.Assert.*;
import org.junit.Test;
import edu.dynamic.dynamiz.structure.ErrorFeedback;
import edu.dynamic.dynamiz.structure.Feedback;
import edu.dynamic.dynamiz.structure.SuccessFeedback;
import edu.dynamic.dynamiz.structure.ToDoItem;
public class Controller... |
package edu.washington.escience.myria.api;
import java.io.IOException;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import java... |
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* the project. */
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.networktables.NetworkTable;
import edu.wpi.first.wpilibj... |
package edu.wpi.first.wpilibj.templates;
/**
* The VM is configured to automatically run this class, and to call the
* functions corresponding to each mode, as described in the SimpleRobot
* documentation. If you change the name of this class or the package after
* creating this project, you must also update the ma... |
package com.google.job.data;
import com.google.common.collect.ImmutableMap;
import javax.annotation.Nullable;
import java.util.*;
/** Class for a job post. */
public final class Job {
private final String jobId;
// TODO(issue/25): merge the account stuff into job post.
private final JobStatus jobStatus;
... |
package ru.dionisius;
import java.util.LinkedList;
import java.util.List;
public class SimpleBinaryTree<E extends Comparable> implements ISimpleTree<E>, ISimpleTreeSearch<E> {
private Node<E> root;
private List<E> childrens = new LinkedList<E>();
public SimpleBinaryTree() {}
@Override
public void ad... |
package org.pentaho.cdf;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.reflect.Method;
import java.net.URLDecoder;
import java.security.InvalidParameterException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.UUID;
import javax.servlet.h... |
package raptor.connector.fics.game;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import raptor.util.RaptorStringTokenizer;
/**
* This parser is a bit unusual in that it maintains state as messages are
* processed.
*
* You can in... |
package ch.elexis.data;
import java.util.List;
import ch.rgw.tools.Money;
import ch.rgw.tools.TimeTool;
public class Eigenleistung extends VerrechenbarAdapter {
public static final String CODESYSTEM_NAME = "Eigenleistung";
public static final String TIME = "Zeit";
public static final String VK_PREIS = "VK_P... |
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.types.User;
import com.joelapenna.foursquared.location.LocationUtils;
import com.joelapenna.foursquared.util.MenuUtils;
import com.joelapenna.foursquared.util.NotificationsUtil;
import com.joelapenna.foursq... |
package com.airbnb.reair.incremental;
/**
* Class to encapsulate how the run of a replication task / job went.
*/
public class RunInfo {
public enum RunStatus {
// See similar definitions for
// {@link com.airbnb.reair.incremental.ReplicationStatus}
SUCCESSFUL,
NOT_COMPLETABLE,
FAILED,
}
pri... |
package ru.agolovin;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
/**
* File sort class.
*
* @author agolovin (agolovin@list.ru)
* @version $Id$
* @since 0.1
*/
public class FileSort {
/**
* First temporary file.
*/
private File tempOne;
/**
* Second... |
package ru.job4j.io.log;
import org.apache.log4j.BasicConfigurator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class UsageLog4j {
private static final Logger LOG = LoggerFactory.getLogger(UsageLog4j.class.getName());
public static void main(String[] args) {
BasicConfigurator.configu... |
package me.TehGoldyLockz.OlympicHeroes.listeners;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Arrow;
import org.bukkit.entity... |
package me.stefvanschie.buildinggame.managers.plots;
import me.stefvanschie.buildinggame.managers.arenas.ArenaManager;
import me.stefvanschie.buildinggame.managers.files.SettingsManager;
import me.stefvanschie.buildinggame.utils.Arena;
import me.stefvanschie.buildinggame.utils.plot.Plot;
public class PlotManager {
... |
package org.jpos.qi;
import com.vaadin.shared.ui.ContentMode;
import com.vaadin.ui.*;
import org.jpos.ee.DB;
import org.jpos.ee.Revision;
import org.jpos.ee.RevisionManager;
import java.util.List;
public class RevisionsPanel extends Panel {
private String ref;
public RevisionsPanel (String ref, DB db) {
... |
package wicket.examples.selecttag;
import java.util.ArrayList;
import java.util.Iterator;
import wicket.PageParameters;
import wicket.examples.util.NavigationPanel;
import wicket.markup.html.HtmlPage;
import wicket.markup.html.basic.Label;
import wicket.markup.html.form.DropDownChoice;
import wicket.markup.html.form.Fo... |
package com.inktomi.cirrus;
import com.inktomi.cirrus.forecast.WeatherResponse;
import com.inktomi.cirrus.forecast.Data;
import com.inktomi.cirrus.forecast.Icon;
import com.inktomi.cirrus.forecast.Parameters;
import com.inktomi.cirrus.forecast.TemperatureValue;
import com.inktomi.cirrus.forecast.TimeLayout;
import java... |
package io.bitsquare.p2p.peers;
import io.bitsquare.app.Log;
import io.bitsquare.common.Clock;
import io.bitsquare.common.Timer;
import io.bitsquare.common.UserThread;
import io.bitsquare.p2p.NodeAddress;
import io.bitsquare.p2p.network.*;
import io.bitsquare.p2p.peers.peerexchange.Peer;
import io.bitsquare.storage.Sto... |
package org.alltiny.chorus.gui.canvas;
import org.alltiny.chorus.dom.clef.Clef;
import org.alltiny.chorus.dom.Element;
import org.alltiny.chorus.dom.Note;
import org.alltiny.chorus.dom.Rest;
import org.alltiny.chorus.dom.decoration.AccidentalSign;
import org.alltiny.chorus.dom.decoration.Bound;
import org.alltiny.choru... |
package com.github.podd.client.api;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.openrdf.model.Model;
import org.openrdf.model.URI;
import org.openrdf.model.vocabulary.RDFS;
import org.openrdf.rio.RDFF... |
package replicant;
import arez.Arez;
import arez.ArezTestUtil;
import arez.Disposable;
import arez.Observer;
import arez.ObserverError;
import arez.Procedure;
import arez.SafeFunction;
import arez.SafeProcedure;
import elemental2.dom.DomGlobal;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.uti... |
package org.jetel.database;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.sql.Connection;
import java.sql.Dri... |
package com.codeandstrings.niohttp.sessions;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.ArrayList;
import java.util.Iterator;
impor... |
package org.nick.wwwjdic;
import java.util.List;
import org.nick.wwwjdic.utils.Analytics;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.text.ClipboardManager;
import android.tex... |
package org.croudtrip.trip;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.croudtrip.R;
import org.croudtrip.api.account.User;
import org.croudtrip.api.... |
package com.thoughtworks.xstream.mapper;
import com.thoughtworks.xstream.converters.SingleValueConverter;
public interface Mapper {
/**
* Place holder type used for null values.
*/
class Null {}
/**
* How a class name should be represented in its serialized form.
*/
String serialized... |
package org.jetel.component;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.io.input.NullReader;
import org.jetel.component.HttpConnector.PartWithName;
import org.jetel.data.DataRecord;
import org.je... |
// FILE: c:/projects/jetel/org/jetel/data/DelimitedDataParser.java
package org.jetel.data.parser;
import java.io.IOException;
import java.io.InputStream;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.Channels;
import java.nio.channels.ReadableB... |
package org.col.db.mapper;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Consumer;
import com.google.common.base.Preconditions;
import org.apache.ibatis.session.ResultContext;
import org.apache.ibatis.session.ResultHandler;
/**
* Mybatis result handler that offers the streamed records in... |
package org.cometd.bayeux;
public interface Channel
{
/** Constant representing the meta prefix */
public static final String META = "/meta";
/** Constant representing the handshake meta channel. */
public final static String META_HANDSHAKE = META + "/handshake";
/** Constant representing the connec... |
package fr.free.nrw.commons.upload;
import android.content.*;
import android.os.*;
import com.nostra13.universalimageloader.core.ImageLoader;
import android.net.*;
import android.support.v4.app.NavUtils;
import com.actionbarsherlock.view.MenuItem;
import android.widget.*;
import fr.free.nrw.commons.*;
import fr.free.nr... |
package net.runelite.api;
/**
* Represents a chat entity that has a name.
*/
public interface Nameable extends Comparable<Nameable>
{
/**
* The name of the player.
*
* @return the name
*/
String getName();
/**
* The previous name the player had.
*
* @return the previous ... |
package org.spine3.server;
import org.junit.Test;
import org.spine3.test.project.Project;
import org.spine3.test.project.ProjectId;
import javax.annotation.Nullable;
import static org.junit.Assert.assertEquals;
/**
* @author Alexander Litus
*/
@SuppressWarnings("InstanceMethodNamingConvention")
public class Repositor... |
package alluxio.worker.file;
import alluxio.AlluxioURI;
import alluxio.Configuration;
import alluxio.Constants;
import alluxio.Sessions;
import alluxio.exception.FileAlreadyExistsException;
import alluxio.exception.FileDoesNotExistException;
import alluxio.heartbeat.HeartbeatContext;
import alluxio.heartbeat.HeartbeatT... |
package org.openecard.sal;
import iso.std.iso_iec._24727.tech.schema.ACLList;
import iso.std.iso_iec._24727.tech.schema.ACLListResponse;
import iso.std.iso_iec._24727.tech.schema.ACLModify;
import iso.std.iso_iec._24727.tech.schema.ACLModifyResponse;
import iso.std.iso_iec._24727.tech.schema.AlgorithmInfoType;
import i... |
package com.github.weisj.darklaf.ui.menu;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.Rectangle;
import java.util.Arrays;
import javax.swing.AbstractButton;
import javax.swing.ButtonModel;
import javax.swing.Icon;
impor... |
package id.gits.basosample;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import id.gits.baso.BasoProgressView;
public class MainActivity extends AppCompatActivity implements View.OnClickListener {
BasoProgressView mBasoProgressView;
@Override
protected... |
package com.headstartech.scheelite;
import com.google.common.base.Optional;
import com.google.common.collect.Lists;
import com.headstartech.scheelite.exceptionmapper.ExceptionMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Collection;
import java.util.Collections;
import java.util.List... |
// LIFReader.java
package loci.formats.in;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
import java.util.StringTokenizer;
import java.util.Vector;
import javax.xml.parsers.DocumentBuilder;
import javax.... |
// LIFReader.java
package loci.formats.in;
import java.io.IOException;
import java.util.Arrays;
import java.util.Hashtable;
import java.util.Vector;
import loci.common.DataTools;
import loci.common.RandomAccessInputStream;
import loci.common.services.DependencyException;
import loci.common.services.ServiceFactory;
impo... |
package ome.scifio.ics;
import java.io.IOException;
import ome.scifio.io.Location;
import ome.scifio.AbstractParser;
import ome.scifio.FormatException;
import ome.scifio.SCIFIO;
import ome.scifio.io.RandomAccessInputStream;
/**
* SCIFIO file format Parser for ICS images.
*
*/
public class ICSParser extends AbstractP... |
package org.kohsuke.stapler.interceptor;
import java.io.IOException;
import java.io.PrintWriter;
import org.kohsuke.stapler.ForwardToView;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.re... |
package bbth.game;
import android.app.Activity;
import bbth.engine.core.Game;
import bbth.engine.core.GameActivity;
import bbth.engine.net.bluetooth.Bluetooth;
import bbth.engine.net.simulation.LockStepProtocol;
import bbth.game.BeatTrack.Song;
public class BBTHGame extends Game {
// This is the viewport width and ... |
package org.ocelotds.web;
import org.ocelotds.core.SessionManager;
import org.ocelotds.Constants;
import org.ocelotds.configuration.OcelotRequestConfigurator;
import org.ocelotds.core.services.CallServiceManager;
import org.ocelotds.encoders.MessageToClientEncoder;
import java.io.IOException;
import org.ocelotds.messag... |
// Revision 1.1 1999-01-31 13:33:08+00 sm11td
// Initial revision
package Debrief.Wrappers;
import java.awt.Color;
import java.awt.Font;
import java.awt.Point;
import java.beans.IntrospectionException;
import java.beans.MethodDescriptor;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;... |
// Revision 1.1 1999-01-31 13:33:08+00 sm11td
// Initial revision
package Debrief.Wrappers;
import java.awt.Color;
import java.awt.Font;
import java.awt.Point;
import java.beans.IntrospectionException;
import java.beans.MethodDescriptor;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;... |
package org.oscm.ui.beans;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.ViewScoped;
import javax.faces.event.ActionEvent;
im... |
package biomodelsim;
import gcm2sbml.gui.GCM2SBMLEditor;
import gcm2sbml.network.GeneticNetwork;
import gcm2sbml.parser.CompatibilityFixer;
import gcm2sbml.parser.GCMFile;
import gcm2sbml.parser.GCMParser;
import gcm2sbml.util.GlobalConstants;
import graph.Graph;
import java.awt.AWTError;
import java.awt.BorderLayout;
... |
package biomodelsim;
import gcm2sbml.gui.GCM2SBMLEditor;
import gcm2sbml.network.GeneticNetwork;
import gcm2sbml.parser.CompatibilityFixer;
import gcm2sbml.parser.GCMFile;
import gcm2sbml.parser.GCMParser;
import gcm2sbml.util.GlobalConstants;
import lhpn2sbml.parser.LHPNFile;
import lhpn2sbml.gui.*;
import graph.Graph... |
package risk;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class RiskBoard {
private List<Territory> territories;
private int playerCount;
/**
... |
package run;
import be.ac.ulg.montefiore.run.jahmm.ObservationDiscrete;
import entities.BOWFeatureVector;
import entities.BaselineBOWFeatureVector;
import entities.HMMFeatureVector;
import entities.HMMSequence;
import entities.NGGFeatureVector;
import entities.SequenceInstance;
import entities.WekaBOWFeatureVector;
imp... |
package students.filters;
import weka.core.Attribute;
import weka.core.Instances;
import weka.core.RevisionUtils;
import weka.filters.SimpleBatchFilter;
public class IndependentComponetFilter extends SimpleBatchFilter {
/** for serialization. */
private static final long serialVersionUID = -5416810876710954131L... |
package com.treasure_data.jdbc;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.littleshoot.proxy.HttpProxyServer;
import org.littleshoot.proxy.ProxyAuthenticator;
import org.littleshoot.proxy.impl.DefaultHttpProxyServer;
import org.slf4j.Logger;
import org.sl... |
package imagej.ops;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import imagej.module.Module;
import net.imglib2.type.numeric.real.DoubleType;
import org... |
package org.animotron.games.web;
import org.animotron.ATest;
import org.animotron.expression.JExpression;
import org.animotron.statement.compare.WITH;
import org.animotron.statement.operator.AN;
import org.animotron.statement.operator.DEF;
import org.animotron.statement.query.ANY;
import org.animotron.statement.query.G... |
package org.owasp.esapi.codecs;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
public class CodecTest extends TestCase {
private static final char[] EMPTY_CHAR_ARRAY = new char[0];
private static final Character LESS_THAN = Character.valueOf('<');
private sta... |
package test.kalang.tool;
import kalang.Script;
import kalang.tool.KalangShell;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author Kason Yang
*/
public class KalangShellTest {
public KalangShellTest() {
}
@Test
public void test(){
KalangShell shell = new KalangShell();
... |
package ua.nykyforov.geoip;
import com.maxmind.geoip2.record.Country;
import com.sun.istack.internal.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ua.nykyforov.geoip.dbip.api.DbIpClient;
import ua.nykyforov.geoip.dbip.api.GeoEntity;
import ua.nykyforov.geoip.maxmind.MaxMindGeoService;
import... |
package org.apache.jcs.access;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.Enumeration;
import java.util.StringTokenizer;
import org.apache.jcs.access.exception.CacheException;
import org.apache.jcs.engine.behavior.IElementAttribut... |
package org.joda.time;
import java.util.Locale;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* This class is a Junit unit test for DateTime.
*
* @author Stephen Colebourne
*/
public class TestDateTime_Properties extends TestCase {
// Summer time:
// 1968-02-18 to 1971-10-31 - +01:0... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hu.sch.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Transient;
/**
*
* @author hege
*/
@Embeddable
public class Szemeszter... |
package com.tpcstld.twozerogame;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawab... |
package base;
import java.util.*;
import java.io.*;
public class BaseMain {
public static BaseInjection inj=null;
private static BaseInput binput = new BaseInput();
private static boolean settedInputData = false;
//private static boolean InputCustomizable = false;
protected static void resetBaseIn... |
package gov.nih.nci.calab.ui.workflow;
/**
* This class saves user entered new Run information
* into the database.
*
* @author caLAB Team
*/
import gov.nih.nci.calab.ui.core.AbstractBaseAction;
import gov.nih.nci.calab.dto.security.SecurityBean;
import gov.nih.nci.calab.service.common.LookupService;
import gov.ni... |
package gov.nih.nci.ncicb.cadsr.loader.ui;
import gov.nih.nci.ncicb.cadsr.domain.Concept;
import gov.nih.nci.ncicb.cadsr.domain.DataElement;
import gov.nih.nci.ncicb.cadsr.domain.ObjectClass;
import gov.nih.nci.ncicb.cadsr.loader.UserSelections;
import gov.nih.nci.ncicb.cadsr.loader.event.ReviewEvent;
import gov.nih.nc... |
package com.sensei.test;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import java.net.URL;
i... |
package org.jaxen.util;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* Simple utility class that wraps an iterator around one object.
* This is a little more efficent than creating a one-object list.
*
*/
public class SingleObjectIterator implements Iterator
{
private Object object;
... |
package org.jsmpp.session;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.SocketTimeoutException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic... |
package hudson.tasks;
import hudson.AbortException;
import hudson.FilePath;
import hudson.Functions;
import hudson.Launcher;
import hudson.Util;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import hudson.model.FreeStyleBuild;
import hudson.model.FreeStyleProject;
import hudson.model.Label;
impo... |
package org.pdfsam.ui.io;
import static org.pdfsam.support.RequireUtils.requireNotNull;
import javafx.scene.control.CheckBox;
import javafx.scene.control.Tooltip;
import javafx.scene.layout.VBox;
import org.pdfsam.i18n.DefaultI18nContext;
import org.pdfsam.ui.support.Style;
/**
* Base panel with minimal output options... |
package io.tetrapod.core;
import static io.tetrapod.protocol.core.Core.UNADDRESSED;
import io.netty.channel.socket.SocketChannel;
import io.tetrapod.core.rpc.*;
import io.tetrapod.core.rpc.Error;
import io.tetrapod.core.utils.*;
import io.tetrapod.protocol.core.*;
import java.io.*;
import java.lang.management.Managemen... |
package chihane.starrysky;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.annotation.ColorInt;
import android.support.annotation.FloatRange;
import android.support.annotation.Int... |
package net.somethingdreadful.MAL.tasks;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Environment;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import com.google.gson.Gson;
import net.somethingdreadful.MAL.MALManager;
import net.somethingdreadful.MAL.PrefManager... |
package org.apache.cassandra.hirudinea;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.Iterator;
import java.nio.ByteBuffer;
import java.util.Date;
import java.lang.Math;
import org.apache.cassandra.db.*;
import org.apache.cassandra.utils.B... |
package io.tetrapod.core.web;
import static io.netty.buffer.Unpooled.copiedBuffer;
import static io.netty.buffer.Unpooled.wrappedBuffer;
import static io.netty.handler.codec.http.HttpMethod.POST;
import static io.tetrapod.protocol.core.Core.UNADDRESSED;
import io.netty.buffer.ByteBuf;
import io.netty.handler.codec.http... |
package io.spine.server.aggregate;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks a method of an aggregate as one that modifies the state of the aggregate with data
* from the passed event.
*... |
package com.rho.db.file;
import j2me.io.FileNotFoundException;
import j2me.lang.AssertMe;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Vector;
import net.rim.device.api.system.PersistentObject;
import net.rim.device.api.system.PersistentStore;
import net.rim.device.api.util.Persistable;
impo... |
package de.avgl.dmp.controller;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.Properties;
import javax.ws.rs.core.UriBuilder;
import org.glassfish.grizzly.http.server.HttpServer;
import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory;
import org.glassfis... |
package org.cinchapi.concourse;
import java.net.ConnectException;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Callable;
import javax.annotation.Nullable;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TB... |
package net.ashishb.android_time_tracker;
import android.Manifest.permission;
import android.app.ActivityManager;
import android.app.ListActivity;
import android.content.Intent;
import android.content.Context;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.graphics.drawa... |
package de.uka.ipd.sdq.beagle.core;
import org.apache.commons.lang3.Validate;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import java.util.ArrayList;
import java.util.List;
public class SeffBranc... |
// This file is part of the "OPeNDAP Web Coverage Service Project."
// Authors:
// Haibo Liu <haibo@iri.columbia.edu>
// Nathan David Potter <ndp@opendap.org>
// Benno Blumenthal <benno@iri.columbia.edu>
// This library is free software; you can redistribute it and/or
// modify it under the terms of the G... |
package org.amoeba.examples.entity;
import java.util.ArrayList;
import java.util.List;
import org.amoeba.activity.GameActivity;
import org.amoeba.entity.sprite.TextSprite;
import org.amoeba.graphics.texture.TextOptions;
import android.graphics.Color;
import android.graphics.Paint.Align;
import android.graphics.Typeface... |
package com.ibm.sk.ff.gui.client;
import static com.ibm.sk.ff.gui.common.GUIOperations.CLOSE;
import static com.ibm.sk.ff.gui.common.GUIOperations.CREATE_GAME;
import static com.ibm.sk.ff.gui.common.GUIOperations.EVENT_POLL;
import static com.ibm.sk.ff.gui.common.GUIOperations.REMOVE;
import static com.ibm.sk.ff.gui.co... |
package org.helioviewer.jhv.camera;
import java.awt.Point;
import org.helioviewer.base.logging.Log;
import org.helioviewer.base.math.GL3DMat4d;
import org.helioviewer.base.math.GL3DQuatd;
import org.helioviewer.base.math.GL3DVec2d;
import org.helioviewer.base.math.GL3DVec3d;
import org.helioviewer.base.physics.Constant... |
package org.helioviewer.jhv.camera;
import java.awt.Point;
import java.util.Date;
import org.helioviewer.jhv.base.astronomy.Sun;
import org.helioviewer.jhv.base.logging.Log;
import org.helioviewer.jhv.base.math.Mat4d;
import org.helioviewer.jhv.base.math.Quatd;
import org.helioviewer.jhv.base.math.Vec2d;
import org.hel... |
package org.helioviewer.jhv.layers;
import java.awt.Component;
import java.awt.geom.Rectangle2D;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.helioviewer.jhv.JHVGlobals;
import org.helioviewer.jhv.base.math.IcoSphere;
import org.helioviewer.jhv.base.math.Mat4;
import org.helioviewer.jhv.base.math.... |
package org.simplity.tp;
import org.simplity.kernel.Tracer;
import org.simplity.kernel.data.DataSheet;
import org.simplity.kernel.value.Value;
import org.simplity.kernel.value.ValueType;
import org.simplity.service.ServiceContext;
/**
* add a row to a data sheet using fields from the context.
*
* @author org.simplit... |
package org.dvb.event;
import java.awt.BDJHelper;
import java.util.Iterator;
import java.util.LinkedList;
import javax.tv.xlet.XletContext;
import org.davic.resources.ResourceClient;
import org.davic.resources.ResourceServer;
import org.davic.resources.ResourceStatusEvent;
import org.davic.resources.ResourceStatusListe... |
package i5.las2peer.tools;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.file.Files;
import java.nio.file.NoS... |
// Administrator of the National Aeronautics and Space Administration
// This software is distributed under the NASA Open Source Agreement
// (NOSA), version 1.3. The NOSA has been approved by the Open Source
// Initiative. See the file NOSA-1.3-JPF at the top of the distribution
// directory tree for the complete NO... |
package org.bitcoinj.evolution;
import org.bitcoinj.core.*;
import org.json.JSONObject;
import java.io.IOException;
import java.io.OutputStream;
public class CoinbaseTx extends SpecialTxPayload {
public static final int CURRENT_VERSION = 2;
long height;
Sha256Hash merkleRootMasternodeList;
Sha256Hash me... |
package BlueTurtle.warnings;
import lombok.Getter;
import lombok.Setter;
/**
* This class is used to represent a FindBugs warning.
*
* @author BlueTurtle.
*
*/
public class FindBugsWarning extends Warning {
@Getter @Setter private int lineNumber;
@Getter @Setter private String message;
@Getter @Setter ... |
package StevenDimDoors.mod_pocketDim;
import java.util.ArrayList;
import java.util.Random;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
import net.minecraft.util.Weighte... |
package org.jivesoftware.gui;
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Image;
import java.awt.Insets;
import ja... |
package authzadmin;
import authzadmin.shibboleth.ShibbolethPreAuthenticatedProcessingFilter;
import authzadmin.shibboleth.ShibbolethUserDetailService;
import authzadmin.shibboleth.mock.MockShibbolethFilter;
import authzadmin.voot.EnsureAccessFilter;
import authzadmin.voot.VootClient;
import org.slf4j.Logger;
import org... |
package com.jnhankins.jff.render.ocl;
import com.jnhankins.jff.flame.Flame;
import com.jnhankins.jff.flame.VariationDefinition;
import com.jnhankins.jff.render.FlameRenderer;
import com.jnhankins.jff.render.RendererSettings;
import com.jnhankins.jff.render.RendererTask;
import java.awt.image.BufferedImage;
import java.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.