answer stringlengths 17 10.2M |
|---|
package md2k.mCerebrum.cStress.Features;
import md2k.mCerebrum.cStress.Library;
import md2k.mCerebrum.cStress.Autosense.AUTOSENSE;
import md2k.mCerebrum.cStress.Autosense.SensorConfiguration;
import md2k.mCerebrum.cStress.Structs.DataPoint;
import md2k.mCerebrum.cStress.Structs.Intercepts;
import md2k.mCerebrum.cStress... |
package org.encog.neural.prune;
import junit.framework.TestCase;
import org.encog.engine.network.flat.FlatNetwork;
import org.encog.neural.networks.BasicNetwork;
import org.encog.neural.networks.XOR;
import org.encog.neural.networks.structure.NetworkCODEC;
import org.encog.util.simple.EncogUtility;
import org.junit.Ass... |
package picoded.struct;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.doCallRealMethod;
import static org.mockito.Mockito.mock;
import static org.mockito.... |
package org.bouncycastle.cert.test;
import java.math.BigInteger;
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.SecureRandom;
import java.security.Security;
import java.security.S... |
package hudson.cli;
import hudson.Extension;
import hudson.Functions;
import hudson.Launcher;
import static hudson.cli.CLICommandInvoker.Matcher.*;
import hudson.model.AbstractBuild;
import hudson.model.Action;
import hudson.model.BuildListener;
import hudson.model.Executor;
import hudson.model.FileParameterDefinition;... |
package gov.nih.nci.calab.dto.function;
import gov.nih.nci.calab.domain.nano.function.Antibody;
public class AntibodyBean extends AgentBean {
private String name;
private String species;
public AntibodyBean() {
super();
// TODO Auto-generated constructor stub
}
public AntibodyBean(An... |
package gov.nih.nci.calab.ui.core;
/**
* This class initializes session data to prepopulate the drop-down lists required
* in different view pages.
*
* @author pansu
*/
/* CVS $Id: InitSessionAction.java,v 1.13 2006-04-17 19:55:47 pansu Exp $ */
import gov.nih.nci.calab.dto.administration.AliquotBean;
import gov.n... |
package io.flutter.editor;
import com.intellij.AppTopics;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.command.WriteCommandAction;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Document;... |
package io.flutter.logging;
import com.google.common.annotations.VisibleForTesting;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSyntaxException;
import com.intellij.execution.ui.ConsoleView;
import com.intellij.execution.ui.Consol... |
// $Id: PuzzleCodes.java,v 1.2 2004/07/17 00:24:31 ray Exp $
package com.threerings.puzzle.data;
import com.threerings.presents.data.InvocationCodes;
import com.threerings.util.MessageBundle;
/**
* Constants relating to the puzzle services.
*/
public interface PuzzleCodes extends InvocationCodes
{
/** The message... |
// $Id: ResourceBundle.java,v 1.28 2004/07/03 03:21:05 mdb Exp $
package com.threerings.resource;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration;
import java.u... |
package org.apache.commons.beanutils;
import java.beans.IndexedPropertyDescriptor;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;... |
package org.dellroad.stuff.sql;
import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.NClob;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMe... |
package org.jivesoftware.spark.ui;
import org.jivesoftware.resource.Res;
import org.jivesoftware.smack.packet.Presence;
import org.jivesoftware.spark.PresenceManager;
import org.jivesoftware.spark.SparkManager;
import org.jivesoftware.spark.Workspace;
import org.jivesoftware.spark.component.VerticalFlowLayout;
import o... |
package org.orbeon.oxf.xforms.xbl;
import org.dom4j.Document;
import org.dom4j.Element;
import org.orbeon.oxf.common.OXFException;
import org.orbeon.oxf.common.ValidationException;
import org.orbeon.oxf.pipeline.api.PipelineContext;
import org.orbeon.oxf.util.PropertyContext;
import org.orbeon.oxf.xforms.*;
import org.... |
package org.apollo.io.player.impl;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import org.apollo.game.model.Appearance;
import org.apollo.game.model.Item;
import org.apollo.gam... |
/*
* @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a>
* @version $Id: SportletContext.java 5032 2006-08-17 18:15:06Z novotny $
*/
package org.gridsphere.portlet.impl;
import org.gridsphere.portlet.*;
import org.gridsphere.portlet.service.PortletService;
import org.gridsphere.portlet.service.PortletServi... |
package org.metawatch.manager.widgets;
import java.util.ArrayList;
import java.util.Map;
import org.metawatch.manager.FontCache;
import org.metawatch.manager.MetaWatchService;
import org.metawatch.manager.MetaWatchService.GeolocationMode;
import org.metawatch.manager.MetaWatchService.Preferences;
import org.metawatch.m... |
package org.nutz.resource.impl;
import java.io.File;
import java.io.FileFilter;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.regex.Pattern;
import org.nutz.lang.util.Disks;
import org.nutz.lang.util.FileVis... |
package org.reprap.geometry.polygons;
import java.util.List;
import java.util.ArrayList;
import org.reprap.geometry.LayerRules;
import org.reprap.geometry.polygons.PolygonAttributes;
import org.reprap.gui.STLObject;
import org.reprap.Attributes;
import org.reprap.Extruder;
import org.reprap.Preferences;
import org.repr... |
package org.torproject.jtor.crypto;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import org.torproject.jtor.TorException;
import org.torproject.jtor.data.HexDigest;
/**
* This class wraps th... |
package logic;
import io.Exporter;
import io.Importer;
import java.text.SimpleDateFormat;
import java.util.*;
import controller.SystemMessage;
import storage.*;
public class Logic {
private static String MESSAGE_TASK_NOT_DELETED = "The task indicated cannot be deleted as it does not exist.";
private static Stri... |
package com.faveset.khttp;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
class HttpConnectionParser {
private static final Charset US_ASCII_CHARSET = Charset.forName("US-ASCII");
/**
* @return null if a line has yet to be parsed from buf, in which cas... |
package algorithms.graphs;
import algorithms.util.PairInt;
import gnu.trove.list.TFloatList;
import gnu.trove.list.array.TFloatArrayList;
import gnu.trove.map.TIntObjectMap;
import gnu.trove.map.hash.TIntObjectHashMap;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java... |
package ch.tkuhn.memetools;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.FileVisitOption;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Pa... |
package clarity.decoder.prop;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import clarity.decoder.EntityBitStream;
import clarity.model.Prop;
import clarity.model.PropFlag;
public class FloatDecoder implements PropDecoder<Float> {
private static final int COORD_INTEGER_BITS = 14;
private static final ... |
package com.celements.parents;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xwiki.bridge.DocumentAccessBridge;
import org.xwiki.component.annotation.Component;
import org.xwiki.component.annotation.Requirement;
import org.xwiki.model.reference.Do... |
package com.cflint.plugins.core;
import java.util.regex.Pattern;
public class ValidName {
public static final int MIN_VAR_LENGTH = 3;
public static final int MAX_VAR_LENGTH = 20;
public static final int MAX_VAR_WORDS = 4;
public static final int MIN_METHOD_LENGTH = 3;
public static final int MAX_MET... |
package com.eaw1805.events;
import com.eaw1805.data.constants.NationConstants;
import com.eaw1805.data.constants.RegionConstants;
import com.eaw1805.data.constants.ReportConstants;
import com.eaw1805.data.constants.VPConstants;
import com.eaw1805.data.managers.GameManager;
import com.eaw1805.data.managers.ReportManager... |
package com.emailclue.api;
import com.emailclue.api.jackson.ObjectMapperProvider;
import org.glassfish.jersey.jackson.JacksonFeature;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
public class EmailClueConfig {
public final String target;
private... |
package com.eqt.tfi.index;
import java.io.IOException;
import org.apache.blur.mapreduce.lib.BaseBlurMapper;
import org.apache.blur.mapreduce.lib.BlurOutputFormat;
import org.apache.blur.mapreduce.lib.BlurRecord;
import org.apache.blur.mapreduce.lib.BlurMutate.MUTATE_TYPE;
import org.apache.blur.thirdparty.thrift_0_9_0.... |
package com.fielo.deploy.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import ja... |
package com.github.mmonkey.Relay;
public enum Carriers {
EMAIL ("Email",
new String[] {""}),
AIRCEL ("Aircel",
new String[] {"@aircel.co.in", "@airsms.com"}),
AIRFIRE_MOBILE ("Airfire Mobile",
new String[] {"@sms.airfiremobile.com"}),
AIRTEL ("Airtel",
new String[] {"... |
package com.github.msemys.esjc;
import com.github.msemys.esjc.operation.*;
import com.github.msemys.esjc.subscription.MaximumSubscribersReachedException;
import com.github.msemys.esjc.subscription.PersistentSubscriptionDeletedException;
import java.util.concurrent.CompletableFuture;
import static com.github.msemys.esjc... |
package com.hh.adapters;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.Text... |
package com.jmsql.characters;
import java.util.HashSet;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.jmsql.jconsole.ConsoleConstant;
import com.jmsql.jconsole.Jconsole;
import com.jmsql.utils.db.DbUtils;
import com.jmsql.utils.db.MetadataProcessor;
public class CharacterTAB ... |
package com.kodcu.component;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Node;
import javafx.scene.control.Label;
import javafx.scene.control.MenuItem;
import javafx.scene.control.Tooltip;
public class MenuItemBuilt {
private MenuItem menuItem;
public MenuItemBuilt(Men... |
package com.nutscape.mc.nunuubot;
import java.io.*;
import java.nio.file.Paths;
import java.nio.file.Files;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.Map;
import java.util.HashMap;
import j... |
package com.rarchives.ripme.ui;
import java.awt.*;
import java.awt.TrayIcon.MessageType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.F... |
package com.yahoo.memory;
import static com.yahoo.memory.UnsafeUtil.unsafe;
import java.nio.ByteBuffer;
/**
* Acquires access to a ByteBuffer.
*
* @author Lee Rhodes
* @author Praveenkumar Venkatesan
*/
final class AccessByteBuffer {
static final ByteBuffer ZERO_DIRECT_BUFFER = ByteBuffer.allocateDirect(0);
pr... |
package de.slikey.effectlib;
import de.slikey.effectlib.util.Disposable;
import de.slikey.effectlib.util.DynamicLocation;
import de.slikey.effectlib.util.ParticleEffect;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMa... |
package fi.tekislauta.webserver;
import com.google.gson.Gson;
import fi.tekislauta.db.Database;
import fi.tekislauta.db.objects.BoardDao;
import fi.tekislauta.db.objects.PostDao;
import fi.tekislauta.models.Board;
import fi.tekislauta.models.Post;
import fi.tekislauta.models.Result;
import static spark.Spark.*;
import ... |
package main.java.gui.application;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.rmi.RemoteException;
import main.java.game.ExceptionEndGame;
import main.java.game.ExceptionForbiddenAction;
import main.java.game.ExceptionGameHasNotStarted;
import m... |
package hudson.plugins.git.util;
import hudson.Util;
import hudson.model.AbstractBuild;
import hudson.model.Action;
import hudson.model.Api;
import hudson.plugins.git.Branch;
import hudson.plugins.git.Revision;
import java.io.Serializable;
import java.util.HashMap;
import java.util.IdentityHashMap;
import java.util.Map... |
package im.dadoo.gale.http.aop;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
i... |
package info.danidiaz.xanela.testapp;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JDialog;
import javax.swing.JFrame;
import j... |
package info.faceland.strife;
import com.comphenix.xp.lookup.LevelingRate;
import com.tealcube.minecraft.bukkit.facecore.logging.PluginLogger;
import com.tealcube.minecraft.bukkit.facecore.plugin.FacePlugin;
import com.tealcube.minecraft.bukkit.facecore.shade.config.MasterConfiguration;
import com.tealcube.minecraft.bu... |
package jce.generators;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import org.apache.log4j.LogManager;
import org.apache... |
package textgen;
import java.util.AbstractList;
import java.util.NoSuchElementException;
/** A class that implements a doubly linked list
*
* @author UC San Diego Intermediate Programming MOOC team
*
* @param <E> The type of the elements stored in the list
* @author Iliass
*/
public class MyLinkedList<E> extends ... |
package me.zbl.fullstack.utils;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.Signature;
import org.aspectj.lang.reflect.MethodSignature;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
public class AspectUtil {
public static Annotation getAnnotation(ProceedingJoinPoint... |
package org.jasig.portal;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import org.jasig.portal.groups.IEntityGroup;
import org.jasig.portal.groups.IGroupMember;
import org.jasig.portal.security.IPerson;
import org.jasig.portal.services.GroupService;
im... |
package mil.dds.anet.database;
import java.sql.SQLException;
import java.time.Instant;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import javax.ws.rs.WebApplicationException;
import javax.ws.... |
package org.jfree.chart.plot;
import java.io.ObjectStreamException;
import java.io.Serializable;
/**
* Used to indicate the location of an axis on a {@link PolarPlot}.
*
* @since 1.0.14
*/
public final class PolarAxisLocation implements Serializable {
/** For serialization. */
private static final long seri... |
package mingzuozhibi.config;
import mingzuozhibi.service.AmazonDiscsSpider;
import mingzuozhibi.service.SakuraSpeedSpider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.spring... |
package net.sf.jabref.collab;
import javax.swing.JComponent;
import javax.swing.JScrollPane;
import net.sf.jabref.gui.BasePanel;
import net.sf.jabref.model.database.KeyCollisionException;
import net.sf.jabref.model.entry.IdGenerator;
import net.sf.jabref.logic.l10n.Localization;
import net.sf.jabref.model.database.Bibt... |
package nl.vu.datalayer.hbase;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;
public class RetrieveURI {
public static vo... |
package nova.sample.block;
import nova.core.block.Block;
import nova.core.block.component.StaticBlockRenderer;
import nova.core.component.renderer.ItemRenderer;
import nova.core.game.Game;
import nova.core.inventory.Inventory;
import nova.core.inventory.InventorySimple;
import nova.core.network.Packet;
import nova.core... |
package code;
import java.util.Scanner;
/**
*
* @author reginamjr.14
*/
public class Code {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner var = new Scanner (System.in);
// TODO code application logic here
System.out.println(... |
package org.apache.batik.apps.svgbrowser;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import ... |
package org.b3log.symphony.cache;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import ... |
package org.codehaus.mojo.build;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util... |
package jpt.app01;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.concurrent.Executors;
import com.sun.net.httpserver.HttpServer;
import java.util.concurrent.ExecutorService;
import java.util.logging.Logger;
public class Main {
private static final Logger LOG = Logger.getLogger(Main.c... |
package org.fakekoji.http;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
import com.sun.net.httpserver.HttpServer;
import hudson.plugins.scm.koji.NotProcessedNvrPredicate;
import hudson.plugins.scm.koji.client.BuildMatcher;
import hudson.plugins.scm.koji.client.GlobPredicate;
im... |
package com.poseidon;
import com.poseidon.controller.PoseidonApplicationTests;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.F... |
package org.headstar.scheelite;
import com.google.common.base.Optional;
import static com.google.common.base.Preconditions.checkNotNull;
class Transition<T, U> {
private final State<T, U> fromState;
private final State<T, U> toState;
private final Optional<? extends Action<T>> action;
private final Opti... |
package org.irmacard.api.common;
import com.google.gson.JsonSyntaxException;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SigningKeyResolver;
import org.irmacard.api.common.exceptions.ApiError;
import org.irmacard.api.common.exceptions.ApiException;
import org.irmacard.api.common.u... |
package org.javaee7.websocket.bingo;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.websocket.EncodeException;
import javax.websocket.OnClose;
import javax.websocket.OnMessage;
import javax.websocket.OnOpen;
import javax.websocket.Session;
impor... |
package com.yagadi.enguage.util;
// todo: remove use of ArrayList??? or use in throughout??? or LinkedList?
import java.util.ArrayList;
import java.util.Iterator;
import java.util.ListIterator;
import java.util.TreeSet;
public class Strings extends ArrayList<String> implements Comparable<Strings> {
public static fi... |
package org.jrivets.collection;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* Ring Buffer is a container with fixed capacity and FIFO discipline: elements
* can be added to the end of the buffer and removed ... |
package authenticator;
import static org.junit.Assert.*;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.List;
import javax.crypto.Ba... |
package org.lightmare.cache;
import java.util.Collection;
import java.util.Iterator;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.glassfish.jersey.server.model.Resource;
import org.lightmare.rest.RestConfig;
import org.lightmare.rest.provider... |
package org.lightmare.utils.fs;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import org.lightmare.cache.DeployData;
import org.lightmare.utils.CollectionUtils;
import org.lightmare.utils.ObjectUtils;
/**
* Utility class for directory watch service
*
* @author levan
* @since 0.0.45-SNAPSHOT
... |
package com.queen.acceptance;
import com.airhacks.afterburner.injection.Injector;
import com.google.code.tempusfugit.temporal.WaitFor;
import com.queen.counter.clock.ClockView;
import com.queen.di.SpringApplicationConfiguration;
import com.tngtech.java.junit.dataprovider.DataProvider;
import com.tngtech.java.junit.data... |
package org.openforis.ceo.local;
import static org.openforis.ceo.utils.JsonUtils.findInJsonArray;
import static org.openforis.ceo.utils.JsonUtils.getNextId;
import static org.openforis.ceo.utils.JsonUtils.intoJsonArray;
import static org.openforis.ceo.utils.JsonUtils.mapJsonFile;
import static org.openforis.ceo.utils.J... |
package com.siftscience;
import com.siftscience.model.ApplyDecisionFieldSet;
import okhttp3.HttpUrl;
import okhttp3.mockwebserver.MockResponse;
import okhttp3.mockwebserver.MockWebServer;
import okhttp3.mockwebserver.RecordedRequest;
import org.junit.Assert;
import org.junit.Test;
import org.skyscreamer.jsonassert.JSON... |
package org.owasp.esapi.codecs;
public class MySQLCodec extends Codec {
public static final int MYSQL_MODE = 0;
public static final int ANSI_MODE = 1;
private int mode = 0;
/**
* Instantiate the MySQL codec
*
* @param mode
* Mode has to be one of {MYSQL_MODE|ANSI_MODE} to... |
package com.tomgibara.storage;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.Collections;
import org.junit.Test;
public class StorageTest {
@Test
public void testSm... |
package org.pharmgkb.parser.vcf;
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.ListMultimap;
import org.apache.commons.io.IOUtils;
import org.pharmgkb.parser.vcf.model.*;
import org.slf4j.Logger;
... |
package org.teachingextensions.logo;
import java.awt.Toolkit;
import java.net.URL;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
public class Sound
{
/**
* Plays a beep through your speakers. BEEP!<br>
* <b>Example:</b> {@code Sound.playBe... |
package dk.heatless.regex2string;
import org.testng.annotations.*;
import static org.mockito.Mockito.*;
import static org.testng.Assert.*;
import org.mockito.ArgumentMatcher;
import org.mockito.Matchers;
public class RuleTest {
Condition mockPre, mockPost;
SubstringGenerator mockGen;
Rule r;
class NotOb... |
package org.yetiz.utils.hbase;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.apache.commons.collections.map.UnmodifiableMap;
import org.apache.hado... |
package net.reini.junit5;
import static org.junit.Assert.assertNotNull;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import net.reini.Context;
@ExtendWith(Test... |
package seedu.address.logic.parser;
import seedu.address.logic.commands.*;
import seedu.address.commons.util.StringUtil;
import seedu.address.commons.exceptions.IllegalValueException;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static seedu.address.commons.core.Messages.ME... |
package org.animotron.interpreter;
import static org.animotron.Expression.s;
import static org.animotron.Expression.text;
import java.io.IOException;
import javax.xml.stream.XMLStreamException;
import org.animotron.ATest;
import org.animotron.Expression;
import org.animotron.graph.GraphSerializer;
import org.animotron.... |
package seedu.ezdo.logic.parser;
import java.util.regex.Pattern;
import seedu.ezdo.logic.parser.ArgumentTokenizer.Prefix;
/**
* Contains Command Line Interface (CLI) syntax definitions common to multiple commands
*/
public class CliSyntax {
/* Prefix definitions */
public static final Prefix PREFIX_PRIORITY =... |
package org.cojen.tupl.rows;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import org.cojen.tupl.*;
import org.cojen.tupl.core.Utils;
import static org.cojen.tupl.TestUtils.*;
/**
*
*
* @author Brian S O'Neill
*/
public class IndexLockTest {
public static void main(... |
package signature;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* The base class for signatures that are created from a vertex of a graph. A
* concrete derived class will implement the methods (getConnecte... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.text.NumberFormat;
import java.util.Objects;
import javax.swing.*;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableCellEditor;
import javax.swing.table.TableModel;
... |
package tech.greenfield.vertx.irked;
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpServer;
import io.vertx.core.http.HttpServerRequest;
import tech.greenfield.vertx.irked.exceptions.InvalidRouteConfiguration;
/**
* Helper for creating Irked routers
* @author odeda
*/
public ... |
package org.redmine.ta;
import org.junit.*;
import org.redmine.ta.RedmineManager.INCLUDE;
import org.redmine.ta.beans.*;
import org.redmine.ta.internal.logging.Logger;
import org.redmine.ta.internal.logging.LoggerFactory;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.*;
import static ... |
package ru.stqa.ol.sel3.litecart;
import org.junit.Assert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.testng.annotations.Test;
import java.util.List;
import static org.openqa.selenium.support.ui.ExpectedConditions.javaScriptThrowsNoExceptions;
import static org.openqa.selenium.supp... |
package ctrlpack.litemod;
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import net.minecraft.client.settings.KeyBinding;
import com.mumfrey.liteloader.transformers.Obfuscated;
public abstract class KeyBindingOverlay implements IKeyBinding {
@SuppressWarnings("unused")
private static KeyBinding ... |
package uk.gov.register.views;
import org.jvnet.hk2.annotations.Service;
import uk.gov.organisation.client.GovukOrganisation;
import uk.gov.organisation.client.GovukOrganisationClient;
import uk.gov.register.configuration.*;
import uk.gov.register.core.*;
import uk.gov.register.resources.Pagination;
import uk.gov.regis... |
package uk.org.cowgill.james.jircd;
import java.io.File;
import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
import org.apache.mina.core.service.IoAcceptor;
/**
* The main IRC Server class
*
* Controls the server and contains the main global data
*
* @author James
*/
public final class Server
{
/**
... |
package org.jdesktop.swingx;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.logging.Logger;
import javax.swing.AbstractAction;... |
package mondrian.olap.fun;
import mondrian.calc.Calc;
import mondrian.calc.ExpCompiler;
import mondrian.calc.IntegerCalc;
import mondrian.calc.ListCalc;
import mondrian.calc.impl.AbstractListCalc;
import mondrian.mdx.ResolvedFunCall;
import mondrian.olap.*;
import java.util.List;
/**
* Definition of the <code>TopCount... |
package info.tregmine.currency;
import info.tregmine.database.ConnectionPool;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Lis... |
package edu.teco.dnd.eclipse.deployView;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import ja... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package getsurface;
import java.net.URI;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map.Entry;
import jolie.lang.NativeType;
import jolie.lang.parse.ast.InputPortInfo;
import jolie.lang.parse... |
package uk.ac.imperial.pseye;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeSupport;
import net.sf.jaer.aemonitor.AEListener;
import net.sf.jaer.aemonitor.AEMonitorInterface;
import net.sf.jaer.aemonitor.AEPacketRaw;
import net.sf.jaer.chip.AEChip;
import net.sf.jaer.hardwareinterface.HardwareI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.