answer stringlengths 17 10.2M |
|---|
package org.openntf.domino.utils;
import java.util.TreeSet;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.openntf.domino.ACL;
import org.openntf.domino.Database;
import org.openntf.domino.Document;
import org.openntf.domino.Item;
import org.openntf.domino.Name;
import org.openntf.domino.Ses... |
package mb.statix.spec;
import java.util.Optional;
import javax.annotation.Nullable;
import org.immutables.serial.Serial;
import org.immutables.value.Value;
import mb.nabl2.terms.unification.u.IUnifier;
import mb.nabl2.terms.unification.ud.Diseq;
import mb.statix.solver.IConstraint;
import mb.statix.solver.IState;
impo... |
package com.nordnetab.chcp.js;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.nordnetab.chcp.events.IPluginEvent;
import org.apache.cordova.PluginResult;
import java.util.Map;
import java.util.... |
/*
* $Id: TdbOut.java,v 1.8 2015-02-03 23:43:47 thib_gc Exp $
*/
package org.lockss.tdb;
import java.io.*;
import java.util.*;
import org.apache.commons.cli.*;
import org.lockss.tdb.AntlrUtil.SyntaxError;
import org.lockss.util.StringUtil;
public class TdbOut {
/**
* <p>
* Key for the style option ({@value}).... |
package org.nutz.http;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.nutz.json.Json;
import org.nutz.lang.ContinueLoop;
import org.nutz.lang.Each;
i... |
package org.osgi.test.director;
import java.io.InterruptedIOException;
import java.net.*;
import java.util.*;
import org.osgi.framework.BundleContext;
import org.osgi.test.service.RemoteService;
/**
* The Discovery class keeps track remote services on the local net and
* registers these in the registry.
*
* A local... |
package VASSAL.build;
import VASSAL.build.module.Chatter;
import VASSAL.build.module.PrototypeDefinition;
import java.util.ArrayList;
import java.util.HashMap;
import VASSAL.build.widget.PieceSlot;
import VASSAL.counters.BasicPiece;
import VASSAL.counters.Decorator;
import VASSAL.counters.GamePiece;
import VASSAL.count... |
package be.ibridge.kettle.trans.step.fileinput;
import java.io.File;
import java.io.FilenameFilter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import java.util.regex.Pattern;
import be.ibridge.kettle.core.Const;
import be.ibridge.... |
package com.github.ukasiu.phpass;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.util.Arrays;
public class PHPass {
private static String itoa64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZab... |
package ca.eandb.jmist.framework.material;
import java.io.Serializable;
import ca.eandb.jmist.framework.Painter;
import ca.eandb.jmist.framework.Random;
import ca.eandb.jmist.framework.ScatteredRay;
import ca.eandb.jmist.framework.ScatteredRayRecorder;
import ca.eandb.jmist.framework.SurfacePoint;
import ca.eandb.jmist... |
package parser.commands;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.AbstractMap.SimpleEntry;
import java.util.Enumeration;
import java.util.ArrayList;
import java.util.List;
import java.util.Map.Entry;
import java.util.ResourceBundle;
import java.util.Scanner;
import java.util.regex.Pat... |
package peer;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.List;
import java.util.Random;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import multicast.search.message.RemoteMulticastMessage;
import peer.message.ACKM... |
package com.afollestad.silk.fragments;
import android.os.Bundle;
import android.view.View;
import com.afollestad.silk.cache.SilkCacheManager;
/**
* A {@link SilkFeedFragment} that automatically caches loaded feeds locally and loads them again later.
* <p/>
* The class of type T must implement Serializable, otherwise... |
// Connect SDK Sample App by LG Electronics
// To the extent possible under law, the person who associated CC0 with
// to the sample app.
package com.connectsdk.sampler.fragments;
import java.util.Locale;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.TimeUnit;
import android.content... |
package com.edinarobotics.zed.commands;
import com.edinarobotics.utils.pid.PIDConfig;
import com.edinarobotics.utils.pid.PIDTuningManager;
import com.edinarobotics.zed.Components;
import com.edinarobotics.zed.subsystems.DrivetrainRotation;
import com.edinarobotics.zed.subsystems.Lifter;
import com.edinarobotics.zed.vis... |
package com.j256.ormlite.android;
import android.test.AndroidTestCase;
import com.j256.ormlite.android.apptools.OpenHelperManager;
import com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper;
import com.j256.ormlite.support.DatabaseConnection;
public class AndroidConnectionSourceTest extends AndroidTestCase {
... |
package com.normalexception.forum.rx8club.html;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import ch.boye.httpclientandroidlib.HttpEntity;
import ch.boye.httpclientandroidlib.HttpResponse;
import ch.boye.ht... |
package com.redhat.ceylon.compiler.typechecker.analyzer;
import com.redhat.ceylon.compiler.typechecker.context.Context;
import com.redhat.ceylon.compiler.typechecker.model.BottomType;
import com.redhat.ceylon.compiler.typechecker.model.Declaration;
import com.redhat.ceylon.compiler.typechecker.model.Import;
import com.... |
package com.team254.frc2015.behavior.routines;
import com.team254.frc2015.behavior.Commands;
import com.team254.frc2015.behavior.RobotSetpoints;
import edu.wpi.first.wpilibj.Timer;
import java.util.Optional;
public class CanGrabRoutine extends Routine {
public enum States {
START, OPENING_FLAPS, MOVE_CARRIA... |
package de.geeksfactory.opacclient.storage;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import de.geeksfactory.opacclient.obje... |
package de.hotware.blockbreaker.android;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import java.util.Random;
import org.andengine.engine.camera.Camera;
import org.andengine.engine.camera.hud.HUD;
import org.andengine.engine.handler.timer.ITimerCallback;
import org.andengine.eng... |
package de.lmu.ifi.dbs.elki.visualization.svg;
import java.util.BitSet;
import org.w3c.dom.Element;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.ifi.dbs.elki.distance.distancevalue.NumberDistance;
import de.lmu.ifi.dbs.elki.math.linearalgebra.Vector;
import de.lmu.ifi.dbs.elki.visualization.projections.P... |
package de.mrapp.android.preference;
import android.annotation.TargetApi;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.DialogInterface.OnDismissListener;
import android.content.res.TypedA... |
package edu.afs.subsystems.autoranger;
import edu.wpi.first.wpilibj.command.PIDSubsystem;
import edu.wpi.first.wpilibj.AnalogChannel;
import edu.afs.robot.RobotMap;
import edu.afs.subsystems.drivesubsystem.DrivePIDSubsystem;
/**
*
* @author User
*/
public class AutoRangerPIDSubsystem extends PIDSubsystem {
// PI... |
package se.fnord.katydid.examples;
import java.nio.ByteBuffer;
import static se.fnord.katydid.DataTesters.*;
import org.junit.Test;
import se.fnord.katydid.DataAsserts;
import se.fnord.katydid.DataTester;
public class TestDiameter {
private static int AVP_SIZE = 8;
private static int AVP_VENDOR_SIZE = 12;
p... |
package gov.nih.nci.ncicb.cadsr.loader.ui;
import gov.nih.nci.ncicb.cadsr.loader.UserSelections;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import gov.nih.nci.ncicb.cadsr.loader.util.*;
/**
* Wizard step to choose run mode
*
* @author <a href="mailto:chris.ludet@oracle.com">Christophe Ludet</a... |
// $Id: DropBoardView.java,v 1.9 2004/10/21 18:07:37 mdb Exp $
// 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 o... |
package fr.paris.lutece.util.datatable;
import fr.paris.lutece.portal.service.util.AppLogService;
import fr.paris.lutece.portal.web.constants.Parameters;
import fr.paris.lutece.portal.web.util.LocalizedDelegatePaginator;
import fr.paris.lutece.portal.web.util.LocalizedPaginator;
import fr.paris.lutece.util.ReferenceLis... |
package org.apache.james.transport.mailets;
import org.apache.james.util.RFC822DateFormat;
import org.apache.mailet.GenericMailet;
import org.apache.mailet.Mail;
import org.apache.mailet.MailAddress;
import org.apache.mailet.MailetException;
import javax.mail.Address;
import javax.mail.Message;
import javax.mail.Messag... |
package org.jdesktop.swingx.tree;
import java.awt.ComponentOrientation;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Graphics;
import javax.swing.Icon;
import javax.swing.JTree;
import javax.swing.tree.DefaultTreeCellEditor;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tr... |
package org.jivesoftware.messenger.net;
import org.jivesoftware.util.LocaleUtils;
import org.jivesoftware.util.Log;
import org.jivesoftware.messenger.*;
import org.jivesoftware.messenger.audit.Auditor;
import org.jivesoftware.messenger.auth.UnauthorizedException;
import java.io.EOFException;
import java.io.InputStreamR... |
package org.jivesoftware.openfire.session;
import org.jivesoftware.openfire.Connection;
import org.jivesoftware.openfire.SessionManager;
import org.jivesoftware.openfire.StreamID;
import org.jivesoftware.openfire.XMPPServer;
import org.jivesoftware.openfire.auth.AuthToken;
import org.jivesoftware.openfire.auth.Unauthor... |
package org.opentdc.events.mongo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.logging.Logger;
import javax.servlet.ServletContext;
import org.bson.Document;
import org.bson.types.ObjectId;
import org.opentdc.mongo.AbstractMongodbServiceProvider;
import org.opentdc.events.E... |
package jp.ne.sakura.kkkon.android.reinstallapk;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import andro... |
package aeronicamc.mods.mxtune.caches;
import aeronicamc.libs.mml.util.TestData;
import aeronicamc.mods.mxtune.config.MXTuneConfig;
import aeronicamc.mods.mxtune.util.MXTuneRuntimeException;
import net.minecraftforge.fml.LogicalSide;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
im... |
package aeronicamc.mods.mxtune.events;
import aeronicamc.mods.mxtune.Reference;
import aeronicamc.mods.mxtune.init.ModBlocks;
import aeronicamc.mods.mxtune.init.ModItems;
import aeronicamc.mods.mxtune.items.StageToolItem;
import aeronicamc.mods.mxtune.render.ModRenderType;
import aeronicamc.mods.mxtune.render.StageArea... |
package co.phoenixlab.discord.api;
import co.phoenixlab.discord.api.entities.*;
import com.google.common.eventbus.EventBus;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
im... |
package co.phoenixlab.discord.api;
import co.phoenixlab.discord.api.entities.Channel;
import co.phoenixlab.discord.api.entities.Server;
import co.phoenixlab.discord.api.entities.User;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import ... |
package com.almondtools.regexbench;
import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
import static java.util.stream.Collectors.toMap;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.file.Files;
... |
package com.celements.web.service;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.xwiki.component.annotation.ComponentRole;
import org.xwiki.model.EntityType;
import org.xwiki.model.reference.AttachmentReference;
import org.xwiki.model.reference.DocumentReference;
import org.xwiki.model.... |
package com.conveyal.r5.api.util;
import java.io.Serializable;
import java.util.Set;
/**
* Information about Bike rental station
*/
public class BikeRentalStation implements Serializable {
//@notnull
public String id;
public String name;
//Coordinates @notnull
public float lat, lon;
public int... |
package com.orhanobut.wasp;
import com.orhanobut.wasp.http.Body;
import com.orhanobut.wasp.http.BodyMap;
import com.orhanobut.wasp.http.Header;
import com.orhanobut.wasp.http.Path;
import com.orhanobut.wasp.http.Query;
import com.orhanobut.wasp.http.RetryPolicy;
import com.orhanobut.wasp.parsers.Parser;
import com.orha... |
package com.ctrip.zeus.tag.impl;
import com.ctrip.zeus.dal.core.*;
import com.ctrip.zeus.exceptions.ValidationException;
import com.ctrip.zeus.tag.PropertyBox;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.*;
@Component("propertyBox")
public class DefaultPropertyBox... |
package com.foodrater.verticles;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.http.HttpServerResponse;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.core.logging.LoggerFactory;
import io.vertx.ext.mongo.MongoClient;
import io.vertx.ext.web.Router;
import io.ve... |
package com.github.ferstl;
import java.util.IntSummaryStatistics;
import java.util.OptionalDouble;
import java.util.OptionalInt;
import java.util.PrimitiveIterator.OfInt;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.ForkJoinTask;
import java.util.function.BiConsumer;
import java.util.function.I... |
package com.gmail.nossr50.listeners;
import java.util.Iterator;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Item;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Playe... |
package com.google.common.html.plugin.js;
import java.io.File;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import org.apache.commons.io.output.ByteArrayOutputStream;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.... |
package com.infogen.server.cache;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.apache.logging.log4j.LogManager;
i... |
package com.lothrazar.samspowerups;
import java.util.ArrayList;
import java.util.List;
import com.lothrazar.samspowerups.block.*;
import com.lothrazar.samspowerups.command.*;
import com.lothrazar.samspowerups.modules.*;
import com.lothrazar.samspowerups.net.*;
import com.lothrazar.samspowerups.gui.GUIHandler;
import co... |
package com.metaweb.gridworks.expr;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import org.python.core.Py;
import org.python.core.PyException;
import org.python.core.PyFunction;
import org.python.core.PyNone;
import org.python.core.PyOb... |
package com.siemens.ct.exi.types;
import java.util.HashMap;
import java.util.Map;
import javax.xml.namespace.QName;
import com.siemens.ct.exi.Constants;
import com.siemens.ct.exi.context.QNameContext;
import com.siemens.ct.exi.datatype.BinaryBase64Datatype;
import com.siemens.ct.exi.datatype.BinaryHexDatatype;
import c... |
package com.socrata.balboa.server.rest;
import com.socrata.balboa.metrics.Metrics;
import com.socrata.balboa.metrics.data.DataStore;
import com.socrata.balboa.metrics.data.DataStoreFactory;
import com.socrata.balboa.metrics.data.DateRange;
import com.socrata.balboa.metrics.impl.MessageProtos;
import com.socrata.balboa.... |
package com.tagtraum.jipes.audio;
import javax.sound.sampled.AudioFormat;
import java.util.Arrays;
public class MultiBandSpectrum extends AbstractAudioSpectrum implements Cloneable {
private static final double LOG2 = Math.log(2.0);
private int numberOfBands;
private float[] bandBoundariesInHz;
/**
... |
package org.lucene.analysis.vi;
import org.apache.lucene.analysis.Tokenizer;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.tokenattributes.TypeAttribute;
import org.elasticsearch.common.collect.Li... |
package org.onedatashare.server.module;
import com.box.sdk.*;
import org.onedatashare.server.model.core.Stat;
import org.onedatashare.server.model.credential.EndpointCredential;
import org.onedatashare.server.model.credential.OAuthEndpointCredential;
import org.onedatashare.server.model.error.ODSAccessDeniedException;
... |
package org.owasp.esapi.reference;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
impo... |
package org.appwork.swing.exttable.columns;
import java.awt.Rectangle;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map.Entry;
import javax.swing.BorderFactory;
import javax.swing.JComponent;
import javax.swing.JProgressBar;
import javax.swing.border.CompoundBorder;
import org.appwork.swing.ext... |
package org.pentaho.agilebi.pdi.modeler;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import org.apache.commons.lang.StringUtils;
import org.apache.... |
package org.picocontainer;
import org.jetbrains.annotations.NotNull;
import java.io.PrintStream;
import java.io.PrintWriter;
/**
* Superclass for all Exceptions in PicoContainer. You can use this if you want to catch all exceptions thrown by
* PicoContainer. Be aware that some parts of the PicoContainer API will also... |
package com.jaguarlandrover.pki;
import android.content.Context;
import android.security.KeyPairGeneratorSpec;
import android.util.Log;
import org.spongycastle.asn1.ASN1ObjectIdentifier;
import org.spongycastle.asn1.pkcs.PKCSObjectIdentifiers;
import org.spongycastle.asn1.x500.X500Name;
import org.spongycastle.asn1.x50... |
package com.intellij.util.io;
import com.intellij.openapi.util.io.FileUtil;
import gnu.trove.TIntIntHashMap;
import org.jetbrains.annotations.Nullable;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.Arrays;
class IntToIntBtree {
static final int VERSION = 2;
static fin... |
package com.alibaba.json.bvt.parser;
import java.util.List;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.alibaba.fastjson.util.TypeUtils;
pu... |
package com.emc.mongoose.system;
import com.emc.mongoose.config.TimeUtil;
import com.emc.mongoose.item.op.OpType;
import com.emc.mongoose.params.Concurrency;
import com.emc.mongoose.params.EnvParams;
import com.emc.mongoose.params.ItemSize;
import com.emc.mongoose.params.RunMode;
import com.emc.mongoose.params.StorageT... |
package de.fhg.ids.comm;
import de.fhg.ids.comm.client.ClientConfiguration;
import de.fhg.ids.comm.client.IdscpClient;
import org.asynchttpclient.ws.WebSocket;
import javax.xml.bind.DatatypeConverter;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
... |
package org.jdesktop.swingx;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Insets;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
public class WrapLayout extends FlowLayout {
private static final long serialVersionUID... |
package com.lamfire.chimaera.test.server;
import com.lamfire.chimaera.ChimaeraOpts;
import com.lamfire.chimaera.ChimaeraServer;
import com.lamfire.chimaera.bootstrap.ChimaeraBootstrap;
import com.lamfire.logger.Logger;
public class TestChimaeraServer {
private static final Logger LOGGER = Logger.getLogger(TestChima... |
package semanticMarkup.ling.learn.knowledge;
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import semanticMarkup.know.lib.WordNetPOSKnowledgeBase;
import semanticMarkup.ling.learn.Configuration;
import sem... |
import com.sun.star.beans.*;
import com.sun.star.container.*;
import com.sun.star.lang.WrappedTargetException;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.lang.XSingleServiceFactory;
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.Exception;
import com.sun.star.uno.UnoRuntime;
impor... |
package com.jetbrains.python.psi.impl;
import com.intellij.codeInsight.completion.CompletionUtil;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.NotNullLazyValue;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.*;
import com.intellij.psi.scope.PsiScopeProcessor;
import com.intel... |
package org.rabix.tests;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java... |
package outbackcdx;
import org.apache.commons.lang.StringUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import outbackcdx.auth.Permit;
import java.io.*;
import java.nio.charset.Charset;
import java.util.*;
import static java.... |
package resources;
import java.util.List;
import resources.objects.creature.CreatureObject;
import services.galaxy.TravelService.TravelInfo;
public final class TravelPoint {
private final String name;
private final Location location;
private final List<TravelInfo> allowedRoutesForPoint;
private final in... |
package fr.obeo.tools.stuart.jira;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Exe... |
package com.stripe.functional;
import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertNull;
import static junit.framework.TestCase.assertTrue;
import com.stripe.BaseStripeTest;
import com.stripe.Stripe;
import com.stripe.exception.StripeException;
import com.stripe.model.Balan... |
package com.vryba.selenium;
import com.vryba.selenium.pageObjects.HomePage;
import com.vryba.selenium.pageObjects.NavigationBar;
import com.vryba.selenium.pageObjects.QuestionsPage;
import com.vryba.selenium.utilities.TestBase;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import o... |
package de.ganskef.test;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.chann... |
package de.railroad.rasproc.tools;
import static org.junit.Assert.fail;
import java.io.EOFException;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
public class ToolsTest
{
@Before
public void setUp() throws Exception
{
}
@Test
public void testGetUInt32() throws EOFE... |
package junitparams;
import static junitparams.JUnitParamsRunner.*;
import static org.junit.Assert.*;
import java.lang.reflect.*;
import org.junit.*;
import org.junit.internal.matchers.*;
import org.junit.rules.*;
import org.junit.runner.*;
import org.junit.runners.model.*;
@RunWith(JUnitParamsRunner.class)
public clas... |
package mho.wheels.math;
import mho.wheels.iterables.ExhaustiveProvider;
import mho.wheels.iterables.IterableProvider;
import mho.wheels.iterables.IterableUtils;
import mho.wheels.iterables.RandomProvider;
import mho.wheels.structures.Pair;
import mho.wheels.structures.Triple;
import org.jetbrains.annotations.NotNull;
... |
package net.bramp.ffmpeg;
import com.google.common.collect.ImmutableList;
import com.google.common.io.ByteStreams;
import com.google.common.io.CountingOutputStream;
import net.bramp.ffmpeg.builder.FFmpegBuilder;
import net.bramp.ffmpeg.fixtures.Samples;
import net.bramp.ffmpeg.job.FFmpegJob;
import net.bramp.ffmpeg.pro... |
package no.cantara.process.worker;
import org.hyperic.sigar.ProcCpu;
import org.hyperic.sigar.ProcCred;
import org.hyperic.sigar.Sigar;
import org.hyperic.sigar.SigarException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.Test;
import java.io.IOException;
import java.io.InputSt... |
package no.priv.garshol.duke.integration;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import org.junit.Rule;
import org.junit.Test;
import org.junit.Before;
import org.junit.rules.TemporaryFolder;
import static org.junit.Assert.fail;
import static org.junit.Assert.assert... |
package org.graphwalker.core.model;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import static org.hamcrest.core.Is.is;
/**
* @author Nils Olsson
*/
public class EdgeTest {
@Test
public void create() {
Edge edge = new Edge()
.setGuard(new Guard("script"))
... |
package org.jenkins;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
@RunWith(Spr... |
package org.tendiwa.lexeme;
import com.google.common.collect.ImmutableSet;
import java.util.stream.IntStream;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.junit.Test;
import org.tendiwa.lexeme.implementations.English;
/**
* @since 0.1
*/
public final class ParsedLexemeTest {
@Te... |
package utils;
import java.io.File;
import java.lang.reflect.Field;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import org.junit.Assert;
import org.junit.BeforeClass;
impo... |
package tk.wurst_client.features.mods;
import net.minecraft.block.Block;
import net.minecraft.block.BlockCocoa;
import net.minecraft.block.BlockCrops;
import net.minecraft.block.BlockGrass;
import net.minecraft.block.BlockSapling;
import net.minecraft.block.BlockStem;
import net.minecraft.block.IGrowable;
import net.mi... |
package spms.controls;
import java.util.HashMap;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.anno... |
package org.terasology.math;
import com.google.common.collect.Maps;
import org.joml.Math;
import org.joml.Vector3fc;
import org.joml.Vector3ic;
import org.terasology.math.geom.Vector3f;
import org.terasology.math.geom.Vector3i;
import java.util.EnumMap;
/**
* An enumeration of the axis of the world from the player per... |
package org.apache.pig.spark;
import static org.apache.pig.builtin.mock.Storage.bag;
import static org.apache.pig.builtin.mock.Storage.tuple;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List... |
package net.sf.farrago.fennel;
import java.util.Arrays;
/**
* FennelPseudoUuid represents universal unique identifiers (UUIDs). UUIDs
* are generated via Fennel (via {@link FennelPseudoUuidGenerator}) in a way
* that abstracts away OS and hardware dependencies.
*
* <p>Depends on Fennel's libfarrago.
*
* @author... |
package com.valkryst.VTerminal.samples;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.builder.PanelBuilder;
import com.valkryst.VTerminal.builder.component.LabelBuilder;
import com.valkryst.VTerminal.component.Label;
import com.valkryst.VTerminal.component.Screen;
import com.valkryst.VTerminal.font... |
package org.opencms.search.solr;
import org.opencms.file.CmsObject;
import org.opencms.file.CmsProject;
import org.opencms.file.CmsResource;
import org.opencms.file.collectors.CmsSolrCollector;
import org.opencms.file.collectors.I_CmsResourceCollector;
import org.opencms.main.OpenCms;
import org.opencms.search.CmsSearc... |
package com.gani.lib.http;
import android.content.Context;
import com.gani.lib.json.GJsonObject;
import com.gani.lib.logging.GLog;
import com.gani.lib.ui.alert.ToastUtils;
import org.json.JSONException;
import java.io.IOException;
import java.io.Serializable;
public abstract class GHttpError<HR extends GHttpResponse> i... |
package hex.schemas;
import hex.deeplearning.DeepLearning;
import hex.deeplearning.DeepLearningModel.DeepLearningParameters;
import water.api.API;
import water.api.KeyV1.ModelKeyV1;
import water.api.SupervisedModelParametersSchema;
import water.fvec.Frame;
import java.util.Random;
public class DeepLearningV2 extends Su... |
package ai.h2o.automl;
import hex.*;
import water.*;
import water.api.schemas3.KeyV3;
import water.exceptions.H2OIllegalArgumentException;
import water.util.Log;
import water.util.TwoDimTable;
import java.text.SimpleDateFormat;
import java.util.*;
import static water.DKV.getGet;
import static water.Key.make;
/**
* Uti... |
package com.getbeamapp.transit;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.getbeamapp.transit.prompt.TransitChromeClient;
import junit.framework.TestCase;
import android.os.ConditionVariable;
public class MainTest extends... |
package sample.hazelcast;
import com.hazelcast.config.ClasspathXmlConfig;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class Main {
public static void ma... |
package mil.nga.giat.mage.sdk.login;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.preference.PreferenceManager;
import android.util.Log;
import com.google.common.base.Predicate;
import com.google.gson.Gson;
import org.apache.ht... |
package org.ccnx.ccn.io;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.util.Arrays;
import javax.crypto.Cipher;
import org.ccnx.ccn.CCNHandle;
import org.ccnx.ccn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.