answer stringlengths 17 10.2M |
|---|
package replicant;
import arez.ArezContext;
import arez.Disposable;
import arez.annotations.Action;
import arez.annotations.ContextRef;
import arez.annotations.Observable;
import arez.annotations.PreDispose;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
im... |
package soot.jimple.toolkits.annotation.logic;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import soot.Unit;
import soot.jimple.Stmt;
import soot.toolkits.graph.UnitGraph;
/**
* A (natural) loop in Jimple. A back-edge (t,h) is a control-flog edge for which
... |
package br.org.cesar.gporpino.fluentandroid.database.direct;
import android.database.Cursor;
import android.util.Log;
import br.org.cesar.gporpino.fluentandroid.FluentAndroid;
import br.org.cesar.gporpino.fluentandroid.FluentUtils;
import br.org.cesar.gporpino.fluentandroid.database.FluentCursor;
import br.org.cesar.gp... |
package org.geogit.cli.test.functional;
import static org.geogit.cli.test.functional.GlobalState.currentDirectory;
import static org.geogit.cli.test.functional.GlobalState.geogit;
import static org.geogit.cli.test.functional.GlobalState.geogitCLI;
import static org.geogit.cli.test.functional.GlobalState.homeDirectory;
... |
//Contributors: BH, HC, TL
package team.sprocket.subsystems;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.Subsystem;
import team.sprocket.main.RobotMap;
import team.sprocket.commands.CommandBase;
public class MecanumDriveTrain extends Subsystem {
private final Victor v_FrontLeftDriveTra... |
package org.voovan.network;
import org.voovan.network.exception.SocketDisconnectByRemote;
import org.voovan.tools.ByteBufferChannel;
import org.voovan.tools.TByteBuffer;
import org.voovan.tools.TEnv;
import org.voovan.tools.log.Logger;
import javax.net.ssl.*;
import javax.net.ssl.SSLEngineResult.HandshakeStatus;
import... |
package com.twitter.intellij.pants.projectview;
import com.intellij.icons.AllIcons;
import com.intellij.ide.projectView.PresentationData;
import com.intellij.ide.projectView.ProjectView;
import com.intellij.ide.projectView.ProjectViewNode;
import com.intellij.ide.projectView.ViewSettings;
import com.intellij.ide.projec... |
package test.dr.distibutions;
import dr.math.distributions.GammaDistribution;
import dr.math.functionEval.GammaFunction;
import junit.framework.TestCase;
public class GammaDistributionTest extends TestCase{
GammaDistribution gamma;
public void setUp(){
gamma = new GammaDistribution(1.0,1.0);
}
/... |
package com.valkryst.VTerminal.builder.component;
import com.valkryst.VRadio.Radio;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.component.LoadingBar;
import lombok.Getter;
import lombok.Setter;
import java.awt.*;
public class LoadingBarBuilder extends ComponentBuilder<LoadingBar, LoadingBarBuilde... |
package com.jcabi.immutable;
import com.jcabi.aspects.Tv;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
/**
* Test case for {@link ArrayMap}.
* @author Yegor Bugayenko (yegor@woquo.com)
... |
package com.vtence.mario;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriverException;
import static org.hamcrest.Matchers.containsString;
import static org.hamcrest.Matchers.equalTo;
public class DynamicHtmlTest extends WebTest {
@Test
public void assertingAnElementExist... |
package dk.itu.kelvin.math;
// JUnit annotations
import org.junit.Test;
// JUnit assertions
import static org.junit.Assert.assertTrue;
public final class HaversineTest {
/**
* Test the distance between two specified coordinates.
*/
@Test
public void testDistance() {
final double lat1 = 55.659890;
fi... |
package io.openshift.booster;
import io.restassured.RestAssured;
import io.restassured.response.Response;
import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.openshift.client.*;
import org.arquillian.cube.openshift.impl.enricher.AwaitRoute;
import org.arquillian.cube.openshift.impl.enricher.RouteURL;
im... |
package junit.tests.framework;
import junit.framework.AssertionFailedError;
import junit.framework.ComparisonFailure;
import junit.framework.TestCase;
public class AssertTest extends TestCase {
/* In the tests that follow, we can't use standard formatting
* for exception tests:
* try {
* ... |
package org.junit.tests;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import java.util.List;
import org.hamcrest.Matcher;
import org.junit.Test;
import org.junit.internal.matchers.TypeSafeMatcher;
import org.junit.runner.Description;
import org.junit.runner.JUnitCore;
import o... |
package org.myrobotlab.service;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import org.junit.Test;
import org.myrobotlab.math.interfaces.Mapper;
import org.myrobotl... |
package seedu.taskitty.testutil;
import com.google.common.io.Files;
import guitests.guihandles.TaskCardHandle;
import javafx.geometry.Bounds;
import javafx.geometry.Point2D;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyCodeCombination;
import javaf... |
package org.jdesktop.swingx;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.util.logging.Logger;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.BorderFactory;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.Swin... |
package de.Zorro.VierGewinnt.Main;
import java.awt.Desktop;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Prin... |
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Primes {
private Map<Long,List<Long>> known = new HashMap<>();
private long current = 2;
public long next() {
while (known.containsKey(current)) {
for (Long prime : known.get(c... |
package JpAws;
import datameer.awstasks.aws.ec2.InstanceGroup;
import datameer.awstasks.aws.ec2.ssh.SshClient;
import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
public class WorkerThread extends Thread {
public static final String JARNAME = "jpregel-aw... |
package analysis;
import analysis.bars.Bar;
import analysis.bars.BarLexer;
import analysis.bars.BarNote;
import analysis.harmonic.ChordDegree;
import analysis.harmonic.ChordDegreeSequenceExtractor;
import analysis.harmonic.HarmonicProcessor;
import analysis.metadata.MetadataExtractor;
import jm.music.data.Score;
import... |
public class Verifier
{
public static final String INPUT_SIGNAL_1 = "03036732577212944063491565474664";
public static final int[] SIGNAL_1_RESULT = {8, 4, 4, 6, 2, 0, 2, 6};
public static final String INPUT_SIGNAL_2 = "02935109699940807407585447034323";
public static final int[] SIGNAL_2_RESULT = {7, 8,... |
package com.cowbell.cordova.geofence;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.json.JSONArra... |
package eco;
/**
* This class describes the international market for wheat,
* it manages wheat reserve goals and sells or buys to
* meet it.
*
* @Author phil
*/
public class Economy {
private static int treasury = 0;
private static int wheatPrice = 10;
public static int buyWheat(int ammount){
int ne... |
package edu.stuy;
import edu.stuy.commands.*;
import edu.stuy.commands.tuning.ShooterManualSpeed;
import edu.stuy.subsystems.Shooter;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.DriverStationEnhancedIO;
import edu.wpi.first.wpilibj.DriverStationEnhancedIO.EnhancedIOException;
import edu.wpi... |
package cn.jmessage.phonegap;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Environment;
import android.text.TextUtils;
import android.util.Log;
import com.google.gson.Gson;
import org.apache.cordov... |
package edu.stuy;
import edu.stuy.commands.*;
import edu.stuy.subsystems.Flywheel;
import edu.stuy.util.InverseDigitalIOButton;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.DriverStationEnhancedIO;
import edu.wpi.first.wpilibj.DriverStationEnhancedIO.EnhancedIOException;
import edu.wpi.first... |
package edu.stuy;
import edu.stuy.commands.*;
import edu.stuy.subsystems.Flywheel;
import edu.stuy.util.InverseDigitalIOButton;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.DriverStationEnhancedIO;
import edu.wpi.first.wpilibj.DriverStationEnhancedIO.EnhancedIOException;
import edu.wpi.first... |
/*
* The main area for game logic.
*/
package engine;
import celestial.Ship.Ship;
import com.jme3.asset.AssetManager;
import com.jme3.bullet.BulletAppState;
import com.jme3.input.InputManager;
import com.jme3.input.KeyInput;
import com.jme3.input.RawInputListener;
import com.jme3.input.controls.ActionListener;
import... |
package mtr.data;
import io.netty.buffer.Unpooled;
import mtr.Registry;
import mtr.TrigCache;
import mtr.block.*;
import mtr.entity.EntitySeat;
import mtr.mappings.Utilities;
import mtr.path.PathData;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.nbt.CompoundTag;
import n... |
package de.mrapp.android.adapter.list.sortable;
import java.util.Comparator;
/**
* Defines the interface, an adapter, whose underlying data is managed as a
* sortable list of arbitrary items, must implement. Such an adapter's purpose
* is to provide the underlying data for visualization using a {@link ListView}
* w... |
package thinwire.render.web;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.net.SocketTimeoutException;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* @author Joshua J. Gertzen
*/
... |
package dr.inference.model;
import dr.util.NumberFormatter;
import dr.xml.Reportable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.*;
/**
* A likelihood function which is simply the product of a set of likelihood functions.
*
* @author Alexei Drummond
*... |
package es.minetsii.MiningCrates;
import org.bukkit.plugin.java.JavaPlugin;
public class MiningCrates extends JavaPlugin {
public static String prefix = "f[eMCratesPf] ";
public static String use_Permission = "tempperm.use";
@Override
public void onEnable() {
getConfig().options().header(
... |
package org.voltdb.client;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.ReentrantLock;
import j... |
package com.codex.hackerrank;
import java.util.Comparator;
import java.util.PriorityQueue;
import java.util.Scanner;
public class MedianUpdates {
class MyComparator implements Comparator<Integer> {
@Override
public int compare(Integer o1, Integer o2) {
return o1 > o2 ? -1 : (o1 == o2 ? 0... |
package dr.evomodel.continuous;
import dr.evolution.tree.NodeAttributeProvider;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evomodel.branchratemodel.BranchRateModel;
import dr.evomodel.tree.TreeModel;
import dr.inference.model.*;
import dr.inference.loggers.LogColumn;
import dr.inference.... |
package dr.inference.operators.repeatedMeasures;
import dr.evolution.tree.TreeTrait;
import dr.evomodel.treedatalikelihood.TreeDataLikelihood;
import dr.evomodel.treedatalikelihood.continuous.ContinuousTraitPartialsProvider;
import dr.evomodel.treedatalikelihood.continuous.IntegratedFactorAnalysisLikelihood;
import dr.... |
package experimentalcode.erich.approxknn;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import de.lmu.ifi.dbs.elki.algorithm.outlier.KNNOutlier;
import de.lmu.ifi.dbs.elki.algorithm.outlier.lof.LOF;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.ifi.dbs.elki.data.type.T... |
package fr.adrienbrault.idea.symfony2plugin.routing;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.psi.*;
import com.jetbrains.php.lang.psi.elements.StringLiteralExpression;
import fr.adrienbrault.idea.symfony2plugin.Symfony2ProjectComponent;
import org.jetbrains.annotations.NotNull;
import ... |
package de.htwg.gobang.ui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.AbstractButton;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swi... |
import java.util.*;
/**
* Your implementation of a naive bayes classifier. Please implement all four methods.
*/
public class NaiveBayesClassifierImpl implements NaiveBayesClassifier {
private static final double DELTA = 0.00001;
private int vocabularySize;
private SpamProbability totalProbability;
pr... |
package imj3.tools;
import static net.sourceforge.aprog.tools.Tools.baseName;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.util.Date;
import javax.imageio.ImageIO;
import imj2.draft.AutoCloseableImageWriter;
import imj3.core.Image2D;
impor... |
package io.branch.referral;
import java.util.Collection;
import java.util.Iterator;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.Semaphore;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.content.Context;
import android.net.Uri;
imp... |
package net.hyperic.sigar.cmd;
import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.SigarNotImplementedException;
/**
* Show process command line arguments.
*/
public class ShowArgs extends SigarCommandBase {
public ShowArgs(Shell shell) {
super(shell);
}
public ShowArgs() {
s... |
package gov.nih.nci.calab.service.submit;
import gov.nih.nci.calab.db.DataAccessProxy;
import gov.nih.nci.calab.db.IDataAccess;
import gov.nih.nci.calab.domain.Keyword;
import gov.nih.nci.calab.domain.nano.characterization.physical.composition.CarbonNanotubeComposition;
import gov.nih.nci.calab.domain.nano.characteriza... |
package gov.nih.nci.calab.service.submit;
import gov.nih.nci.calab.db.DataAccessProxy;
import gov.nih.nci.calab.db.HibernateDataAccess;
import gov.nih.nci.calab.db.IDataAccess;
import gov.nih.nci.calab.domain.Instrument;
import gov.nih.nci.calab.domain.InstrumentConfiguration;
import gov.nih.nci.calab.domain.Keyword;
i... |
import vtk.vtkNativeLibrary;
import vtk.vtkSphereSource;
import vtk.vtkPolyDataMapper;
import vtk.vtkRenderWindow;
import vtk.vtkRenderWindowInteractor;
import vtk.vtkRenderer;
import vtk.vtkActor;
public class FullScreen
{
// Load VTK library and print which library was not properly loaded
static
{
... |
package gov.nih.nci.cananolab.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.lang.reflect... |
package grafica;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.Box;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.text.PlainDocumen... |
package eu.verdelhan.ta4j;
/**
* An operation of a {@link Trade trade}.
* <p>
* The operation is defined by:
* <ul>
* <li>the index (in the {@link TimeSeries time series}) it is executed
* <li>a {@link OperationType type} (BUY or SELL)
* </ul>
*/
public class Operation {
/** Type of the operation */
pri... |
package test;
import java.io.*;
import junit.framework.*;
import aQute.bnd.osgi.resource.*;
import aQute.bnd.osgi.resource.FilterParser.Expression;
public class FilterParserTest extends TestCase {
FilterParser fp = new FilterParser();
public void testNestedAnd() throws IOException {
aQute.bnd.osgi.resou... |
package test;
import static org.junit.Assert.*;
import java.util.Random;
import org.junit.BeforeClass;
import org.junit.Test;
import markovChords.Chord;
public class ChordTest {
protected static Chord chord;
protected static int rand_note, rand_octave;
protected static Chord.Tonality rand_tone;
@BeforeC... |
package gov.nih.nci.cananolab.ui.particle;
/**
* This class sets up the submit a new nanoparticle sample page and submits a new nanoparticle sample
*
* @author pansu
*/
/* CVS $Id: SubmitNanoparticleAction.java,v 1.12 2008-04-21 23:12:02 pansu Exp $ */
import gov.nih.nci.cananolab.dto.common.UserBean;
import gov.ni... |
package gov.nih.nci.cananolab.ui.particle;
/**
* This class sets up the submit a new nanoparticle sample page and submits a new nanoparticle sample
*
* @author pansu
*/
/* CVS $Id: SubmitNanoparticleAction.java,v 1.20 2008-04-30 22:11:25 pansu Exp $ */
import gov.nih.nci.cananolab.dto.common.UserBean;
import gov.ni... |
package gov.nih.nci.cananolab.ui.publication;
import gov.nih.nci.cananolab.domain.common.Author;
import gov.nih.nci.cananolab.dto.common.PublicationBean;
import gov.nih.nci.cananolab.dto.common.UserBean;
import gov.nih.nci.cananolab.exception.ExperimentConfigException;
import gov.nih.nci.cananolab.exception.Publication... |
package org.rstudio.studio.client.workbench.ui;
import com.google.gwt.animation.client.Animation;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JsArrayString;
import com.google.gwt.dom.client.Element;
import com.google.gwt.event.logical.shared.SelectionEvent;
import com.google.gwt.event.l... |
package info.guardianproject.otr.app.im.plugin.xmpp;
import info.guardianproject.otr.app.im.engine.Address;
import info.guardianproject.otr.app.im.engine.ChatGroupManager;
import info.guardianproject.otr.app.im.engine.ChatSession;
import info.guardianproject.otr.app.im.engine.ChatSessionManager;
import info.guardianpro... |
package info.guardianproject.otr.app.im.plugin.xmpp;
import info.guardianproject.otr.TorProxyInfo;
import info.guardianproject.otr.app.im.R;
import info.guardianproject.otr.app.im.app.DatabaseUtils;
import info.guardianproject.otr.app.im.app.ImApp;
import info.guardianproject.otr.app.im.engine.Address;
import info.guar... |
package thredds.client.catalog;
import org.jdom2.Namespace;
import thredds.client.catalog.builder.AccessBuilder;
import thredds.client.catalog.builder.CatalogBuilder;
import thredds.client.catalog.builder.CatalogRefBuilder;
import thredds.client.catalog.builder.DatasetBuilder;
import ucar.nc2.time.CalendarDate;
import ... |
package com.liveramp.kafka_service.consumer.utils;
import java.util.List;
import java.util.Map;
import com.clearspring.analytics.stream.cardinality.HyperLogLogPlus;
import com.google.common.collect.Lists;
import kafka.utils.Json;
import org.json.JSONException;
import org.json.JSONObject;
import com.liveramp.commons.col... |
// Narya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
// Nenya library - tools for developing networked games
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You should ... |
package net.kaleidos.hibernate.usertype;
import java.sql.Array;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.hibernate.HibernateException;
import grails.util.GrailsWebUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
impo... |
package org.apache.bcel.verifier.structurals;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import org.apache.bcel.generic.ATHROW;
import org.apache.bcel.generic.BranchInstruction;
import org.apache.bcel.generic.GotoInstruction;
import org.apache.bcel.generic.Instruction;
import org.... |
package org.jivesoftware.messenger.component;
import org.dom4j.Element;
import org.dom4j.io.XPPPacketReader;
import org.jivesoftware.messenger.*;
import org.jivesoftware.messenger.auth.AuthFactory;
import org.jivesoftware.messenger.auth.UnauthorizedException;
import org.jivesoftware.util.LocaleUtils;
import org.jivesof... |
package org.jivesoftware.openfire.commands.admin.user;
import org.dom4j.Element;
import org.jivesoftware.openfire.XMPPServer;
import org.jivesoftware.openfire.commands.AdHocCommand;
import org.jivesoftware.openfire.commands.SessionData;
import org.jivesoftware.openfire.component.InternalComponentManager;
import org.jiv... |
package org.jivesoftware.spark.ui.conferences;
import org.jivesoftware.resource.Res;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smackx.Form;
import org.jivesoftware.smackx.FormField;
import org.jivesoftware.smackx.ServiceDiscoveryManager;
import org.jivesoftware.smackx.muc.MultiUserChat;
impor... |
package org.testng.internal.remote;
import java.net.Socket;
/**
* <code>SocketLinkedBlockingQueue</code> is a wrapper on LinkedBlockingQueue so
* we may factor out code common to JDK14 and JDK5+ using different implementation
* of LinkedBlockingQueue
*
* @author cquezel
* @since 5.2
*/
public class SocketLinkedB... |
package org.helioviewer.gl3d.model.image;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import javax.media.opengl.GL;
import javax.swing.JFrame;
import javax.swing.JPanel;
import org.helioviewer.base.logging.Log;
import org.helioviewer.base.ph... |
package com.izforge.izpack.panels;
import net.n3.nanoxml.XMLElement;
import com.izforge.izpack.installer.AutomatedInstallData;
import com.izforge.izpack.installer.PanelAutomation;
import com.izforge.izpack.installer.PanelAutomationHelper;
import com.izforge.izpack.installer.Unpacker;
import com.izforge.izpack.util.Abst... |
package acmi.l2.clientmod.unreal;
import acmi.l2.clientmod.io.ObjectInput;
import acmi.l2.clientmod.io.ObjectInputStream;
import acmi.l2.clientmod.io.ObjectOutput;
import acmi.l2.clientmod.io.*;
import acmi.l2.clientmod.unreal.annotation.Bytecode;
import acmi.l2.clientmod.unreal.annotation.NameRef;
import acmi.l2.clien... |
package au.com.agic.apptesting.steps;
import au.com.agic.apptesting.State;
import au.com.agic.apptesting.exception.WebElementException;
import au.com.agic.apptesting.utils.AutoAliasUtils;
import au.com.agic.apptesting.utils.FeatureState;
import au.com.agic.apptesting.utils.GetBy;
import au.com.agic.apptesting.utils.Sim... |
package bakersoftware.maven_replacer_plugin;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.mav... |
package cn.kunter.common.generator.main;
import java.util.List;
import cn.kunter.common.generator.entity.Table;
import cn.kunter.common.generator.make.GetTableConfig;
import cn.kunter.common.generator.make.MakeBaseXml;
import cn.kunter.common.generator.make.MakeEntity;
import cn.kunter.common.generator.make.MakeExample... |
package codechicken.lib.render.buffer;
import codechicken.lib.math.MathHelper;
import codechicken.lib.texture.TextureUtils;
import codechicken.lib.vec.uv.UV;
import codechicken.lib.util.VectorUtils;
import codechicken.lib.util.VertexDataUtils;
import codechicken.lib.vec.Vector3;
import com.google.common.collect.Immutab... |
package com.akiban.sql.optimizer.plan;
import com.akiban.sql.optimizer.plan.JoinNode.JoinType;
import java.util.Iterator;
import java.util.NoSuchElementException;
/** Joins within a single {@link TableGroup} represented as a tree
* whose structure mirrors that of the group.
* This is an intermediate form between the ... |
package com.antew.redditinpictures.sqlite;
import android.net.Uri;
import android.provider.BaseColumns;
import com.antew.redditinpictures.pro.BuildConfig;
public class RedditContract {
private RedditContract() {
}
;
public static final String CONTENT_AUTHORITY =
"com.antew.redditinpictures." + B... |
package com.bakerbeach.market.core.api.model;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
public interface ShopContext {
static final String FLASH_TYPE = "FLASH";
static final String REGULAR_TYPE = "REGULAR";
String getShopType();
void setShopType(String t... |
package com.cisco.trex.stateful.api.lowlevel;
/** Java implementation for TRex python sdk ASTFCmdRecv class */
public class ASTFCmdRecv extends ASTFCmd {
private static final String NAME = "rx";
/**
* construct
*
* @param minBytes minimal receive bytes
* @param clear true if clear data
*/
public AS... |
package com.evanzeimet.testidmapper;
import java.util.List;
public abstract class AbstractTestIdMapper<ReferrerType, ReferencePersistenceType, ReferenceTestType, ReferencePersistenceIdType> {
private IdProducer<ReferrerType, ReferencePersistenceType, ReferenceTestType, ReferencePersistenceIdType> idProducer;
pr... |
package com.foundationdb.sql.pg;
import com.foundationdb.ais.model.AkibanInformationSchema;
import com.foundationdb.sql.server.ServerServiceRequirements;
import com.foundationdb.sql.server.ServerSessionBase;
import com.foundationdb.sql.server.ServerSessionMonitor;
import com.foundationdb.sql.server.ServerStatement;
imp... |
package com.github.liosha2007.groupdocs.common;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import android.util.Base64;
import com.google.gson.Gson;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.HttpClient;
import org.apache.http.client.method... |
package com.indeed.proctor.webapp.jobs;
import com.google.common.base.CharMatcher;
import com.google.common.base.Joiner;
import com.google.common.base.Strings;
import com.google.common.base.Throwables;
import com.google.common.collect.ImmutableMap;
import com.indeed.proctor.common.EnvironmentVersion;
import com.indeed.... |
package ru.job4j.start;
import ru.job4j.models.Item;
/**
*
* class StartUi.
* auhtor IndyukovS
* version 0.1
*/
public class StartUi {
/**
* @param;
*/
private ConsoleInput input;
/**
* @param;
*/
private Tracker tracker;
/**
* @param add.
*/
private static final int ADD = 0;
/**
* @param add.
*/
privat... |
package gc;
public class GcTest {
// DisableExplicitGC gc API
// -verbose:gc -XX:+DisableExplicitGC
public static void main(String[] args) {
{
// 64M
byte[] buff = new byte[1024 * 1024 * 64];
}
System.gc();
}
} |
package com.laytonsmith.core.events.drivers;
import com.laytonsmith.PureUtilities.Common.StringUtils;
import com.laytonsmith.PureUtilities.Vector3D;
import com.laytonsmith.PureUtilities.Version;
import com.laytonsmith.abstraction.MCEntity;
import com.laytonsmith.abstraction.MCHanging;
import com.laytonsmith.abstraction... |
package com.mcjty.rftools.dimension;
import com.mcjty.rftools.RFTools;
import com.mcjty.rftools.dimension.world.types.FeatureType;
import com.mcjty.rftools.dimension.world.types.StructureType;
import com.mcjty.rftools.dimension.world.types.TerrainType;
import com.mcjty.rftools.items.dimlets.DimletType;
import com.mcjty... |
package com.netflix.priam.defaultimpl;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.services... |
package com.nirmata.workflow.details;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.nirmata.workflow.WorkflowManager;
import com.nirmata.workflow.details.internalmodels.RunnableTask;
import com.nirmata.workflow.executor.TaskExecution;
import com.nirmata.workflow... |
package com.ociweb.gl.impl.http.server;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ociweb.gl.api.FailablePayloadReading;
import com.ociweb.gl.api.HeaderReader;
import com.ociweb.gl.api.Payloadable;
import com.ociweb.gl.impl.PayloadReader;
import com.ociweb.pronghorn.network.config.HTTPContentTy... |
package com.primetoxinz.stacksonstacks.logic;
import com.primetoxinz.stacksonstacks.SoS;
import com.primetoxinz.stacksonstacks.capability.IIngotCount;
import com.primetoxinz.stacksonstacks.capability.IngotCapabilities;
import com.primetoxinz.stacksonstacks.capability.IngotCountProvider;
import com.primetoxinz.stacksons... |
package com.slyak.spring.jpa;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.AfterAdvice;
import org.springframework.aop.framework.ProxyFactory;
import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.c... |
package com.sri.ai.grinder.sgdpllt.library.bounds;
import static com.sri.ai.expresso.helper.Expressions.apply;
import static com.sri.ai.expresso.helper.Expressions.makeSymbol;
import static com.sri.ai.expresso.helper.Expressions.parse;
import static com.sri.ai.grinder.helper.GrinderUtil.getIndexExpressionsOfFreeVariabl... |
package com.tickets.web.controller;
import com.tickets.business.entities.MovieOnShow;
import com.tickets.business.services.MovieOnShowService;
import com.tickets.web.controller.response.RestResponse;
import com.tickets.web.util.DateUtil;
import com.tickets.web.util.LogUtil;
import org.slf4j.Logger;
import org.slf4j.Log... |
package com.tinkerpop.rexster.extension;
import com.tinkerpop.blueprints.pgm.Edge;
import com.tinkerpop.blueprints.pgm.Element;
import com.tinkerpop.blueprints.pgm.Graph;
import com.tinkerpop.blueprints.pgm.Vertex;
import com.tinkerpop.gremlin.jsr223.GremlinScriptEngine;
import com.tinkerpop.rexster.ElementJSONObject;
... |
package com.twocentsforthoughts.dropzone.client;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.twocentsforthoughts.dropzone.client.event.DropzoneEventHandler;
import com.twocentsforth... |
package com.xtremelabs.robolectric.shadows;
import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import com.xtremelabs.robolectric.internal.Implementation;
import com.xtremelabs.robolectric.internal... |
package com.yahoo.sketches.quantiles;
import com.yahoo.memory.Memory;
import com.yahoo.memory.WritableMemory;
/**
* @author Jon Malkin
*/
public abstract class UpdateDoublesSketch extends DoublesSketch {
UpdateDoublesSketch(final int k) {
super(k);
}
/**
* Wrap this sketch around the given non-compact Me... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.