answer stringlengths 17 10.2M |
|---|
package org.usfirst.frc.team166.robot.subsystems;
import edu.wpi.first.wpilibj.AnalogGyro;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.PIDSourceType;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.Servo;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.comm... |
package dr.evomodel.antigenic;
import dr.inference.model.MatrixParameter;
import dr.inference.model.Parameter;
import dr.inference.model.Variable;
import dr.inference.operators.MCMCOperator;
import dr.inference.operators.SimpleMCMCOperator;
import dr.math.MathUtils;
import dr.xml.*;
import javax.lang.model.element.Elem... |
package com.minecraftuberverse.tannery;
import org.apache.logging.log4j.Logger;
import com.minecraftuberverse.tannery.proxy.CommonProxy;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml... |
package org.broadinstitute.sting.playground.gatk.walkers;
import org.broadinstitute.sting.gatk.*;
import org.broadinstitute.sting.gatk.refdata.*;
import org.broadinstitute.sting.gatk.walkers.*;
import org.broadinstitute.sting.playground.utils.*;
import org.broadinstitute.sting.playground.utils.GenotypeLikelihoods.Indel... |
package org.uwcs.choob.plugins;
import java.io.*;
import java.net.*;
import java.security.*;
import java.util.*;
import java.util.regex.*;
import org.uwcs.choob.*;
import org.uwcs.choob.support.events.*;
import org.uwcs.choob.support.*;
import org.uwcs.choob.modules.*;
import org.mozilla.javascript.*;
import org.mozill... |
package dr.evomodel.continuous;
import dr.inference.model.*;
import dr.math.distributions.NormalDistribution;
import dr.util.DataTable;
import dr.xml.*;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
/**
* @author Andrew Rambaut
* @author Marc Suchard
* @versio... |
package bisq.core.trade.protocol;
import bisq.core.offer.Offer;
import bisq.core.trade.Trade;
import bisq.core.trade.TradeManager;
import bisq.core.trade.messages.CounterCurrencyTransferStartedMessage;
import bisq.core.trade.messages.DepositTxAndDelayedPayoutTxMessage;
import bisq.core.trade.messages.TradeMessage;
impo... |
package dr.evomodel.tree;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.tree.TreeTrait;
import dr.evolution.util.Taxon;
import dr.evomodel.branchratemodel.BranchRateModel;
import dr.math.MathUtils;
import dr.inference.operators.MCMCOperator;
import dr.inference.operators.OperatorF... |
package com.redhat.ceylon.compiler.js;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.i... |
package com.sandbox.runtime;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.sandbox.runtime.converters.HttpServletConverter;
import com.sandbox.runtime.js.converters.HTTPRequestConverter;
import ... |
package com.hazelcast.core;
import org.junit.After;
import static org.junit.Assert.*;
import org.junit.Ignore;
import org.junit.Test;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
impor... |
package edu.usc.glidein.service.impl;
import java.net.URL;
import java.rmi.RemoteException;
import javax.naming.NamingException;
import org.apache.axis.MessageContext;
import org.apache.axis.message.addressing.EndpointReferenceType;
import org.globus.wsrf.ResourceContext;
import org.globus.wsrf.ResourceKey;
import org.... |
package com.sandwell.JavaSimulation;
import com.jaamsim.controllers.RenderManager;
import com.jaamsim.events.ProcessTarget;
import com.jaamsim.input.InputAgent;
import com.jaamsim.input.ValueInput;
import com.jaamsim.ui.EntityPallet;
import com.jaamsim.ui.ExceptionBox;
import com.jaamsim.ui.FrameBox;
import com.jaamsim... |
package edu.wpi.first.wpilibj.team2903.subsystems;
import edu.wpi.first.wpilibj.Jaguar;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.team2903.RobotMap;
public class Drive extends Subsystem {
public Jaguar leftFrontMotor1 = new Jaguar(RobotMap.leftFrontMotor1);
public Jaguar leftF... |
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.io.BufferedWriter;
import java.io.FileWriter;
import javax.swing.ButtonGro... |
package com.sandwell.JavaSimulation3D;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.Insets;
import java.awt.Rectangle;
import java... |
package com.cliqz.jsengine;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import android.util.Log;
import com.cliqz.jsengine.v8.V8Engine;
import com.eclipsesource.v8.V8;
import com.eclipsesource.v8.V8Array;
import com.eclipsesource... |
package peergos.shared.user.fs;
import peergos.shared.*;
import peergos.shared.cbor.*;
import peergos.shared.crypto.*;
import peergos.shared.crypto.random.*;
import peergos.shared.crypto.symmetric.*;
import peergos.shared.user.*;
import peergos.shared.util.*;
import java.util.*;
import java.util.concurrent.*;
/** An in... |
package com.sandwell.JavaSimulation3D;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GraphicsEnvironment;
import java.awt.Image;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboar... |
//TODO: Lots of stuff needs to be done with the window, but I'll settle for making it close
// automatically when the user quits. Eventually.
//TODO: Make player.role and associated variables enums.
import java.util.Scanner;
//import java.io.*;
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
impo... |
package com.senseidb.clue.commands;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.TreeMap;
import org.apache.lucene.index.AtomicReader;
import org.apache.lucene.in... |
package de.bwaldvogel.mongo.backend;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Collectors;
import de.bwaldvogel.mongo.bson.Document;
import de.bwaldvogel.mongo.exception.BadValueException;
class Projection {... |
package com.sgrailways.giftidea;
import android.R;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.v4.widget.SimpleCursorAdapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wi... |
package novoda.lib.sqliteprovider.util;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
/**
* Parsing .sql files and get single statements suitable for insertion.
*/
public class SQLFile {
private static final String STATEMENT_END_CHARACTER = ";";
private static final String LINE_COMMENT_... |
package com.sibilantsolutions.grison.demo;
import java.net.InetSocketAddress;
import javax.swing.JLabel;
import com.sibilantsolutions.grison.driver.foscam.net.FoscamSession;
import com.sibilantsolutions.grison.evt.AudioHandlerI;
import com.sibilantsolutions.grison.ui.Ui;
public class Demo
{
// final static private L... |
package com.suse.salt.netapi.client;
import com.suse.salt.netapi.AuthModule;
import com.suse.salt.netapi.calls.Call;
import com.suse.salt.netapi.calls.Client;
import com.suse.salt.netapi.calls.wheel.Key;
import com.suse.salt.netapi.client.impl.HttpClientConnectionFactory;
import com.suse.salt.netapi.config.ClientConfig... |
package org.mwg.core.chunk.heap;
import org.mwg.Constants;
import org.mwg.Graph;
import org.mwg.Type;
import org.mwg.chunk.ChunkType;
import org.mwg.chunk.StateChunk;
import org.mwg.core.CoreConstants;
import org.mwg.base.AbstractExternalAttribute;
import org.mwg.plugin.ExternalAttributeFactory;
import org.mwg.utility.... |
package com.tkhoon.framework;
import com.tkhoon.framework.bean.ActionBean;
import com.tkhoon.framework.bean.Page;
import com.tkhoon.framework.bean.RequestBean;
import com.tkhoon.framework.bean.Result;
import com.tkhoon.framework.exception.AccessException;
import com.tkhoon.framework.exception.UploadException;
import co... |
package soot.jimple;
import soot.*;
import soot.util.Chain;
import java.util.*;
/** Implementation of the Body class for the Jimple IR. */
public class JimpleBody extends StmtBody
{
/**
Construct an empty JimpleBody
**/
JimpleBody(SootMethod m)
{
super(m);
}
/**
Construct... |
package com.github.ruediste.laf.core;
import java.io.IOException;
import java.io.PrintWriter;
import javax.inject.Inject;
import javax.servlet.http.HttpServletResponse;
import com.github.ruediste.laf.core.front.ReloadCountHolder;
import com.github.ruediste.laf.core.httpRequest.HttpRequest;
import com.github.ruediste.la... |
package crazypants.enderio.fluid;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.apache.commons.lang3.StringUtils;
import crazypants.enderio.EnderIO;
import crazypants.enderio.ModObject;
import crazypants.enderio.config.Config;
import net.minecraft... |
package pt.fccn.saw.selenium;
import java.net.URL;
import java.util.concurrent.TimeUnit;
import java.util.NoSuchElementException;
import pt.fccn.saw.selenium.RetryRule;
import java.util.ArrayList;
import org.openqa.selenium.Platform;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
... |
package pt.webdetails.cda.filetests;
import java.math.BigDecimal;
import javax.swing.table.TableModel;
import org.pentaho.reporting.engine.classic.core.util.TypedTableModel;
import pt.webdetails.cda.CdaEngine;
import pt.webdetails.cda.cache.IQueryCache;
import pt.webdetails.cda.cache.TableCacheKey;
import pt.webdetails... |
package org.languagetool.language;
import org.jetbrains.annotations.NotNull;
import org.languagetool.Language;
import org.languagetool.LanguageMaintainedState;
import org.languagetool.chunking.Chunker;
import org.languagetool.chunking.GermanChunker;
import org.languagetool.languagemodel.LanguageModel;
import org.langua... |
package org.grouplens.lenskit.cursors;
import com.google.common.collect.Iterables;
import com.google.common.collect.Iterators;
import com.google.common.collect.Lists;
import org.junit.Test;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.NoSuchElementException;
import stat... |
package soot;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import soot.dava.toolkits.base.misc.PackageNamer;
import soot.options.Options;
import soot.tagkit.AbstractHost;
import soot.util.Chain;
import soot.util.HashChain;
import soot.util.Numberable;
import soot.util.NumberedString;
im... |
package de.htw_berlin.HoboOthello.GUI;
import de.htw_berlin.HoboOthello.Core.Field;
import de.htw_berlin.HoboOthello.Core.Player;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.awt.event.ComponentListener;
public class Gameview extends JFrame {
private static final long s... |
package edu.harvard.iq.dataverse;
import edu.harvard.iq.dataverse.UserNotification.Type;
import edu.harvard.iq.dataverse.authorization.Permission;
import edu.harvard.iq.dataverse.authorization.users.AuthenticatedUser;
import edu.harvard.iq.dataverse.engine.command.Command;
import edu.harvard.iq.dataverse.engine.command... |
package edu.harvard.iq.dataverse;
import edu.harvard.iq.dataverse.UserNotification.Type;
import edu.harvard.iq.dataverse.engine.command.Command;
import edu.harvard.iq.dataverse.engine.command.exception.CommandException;
import edu.harvard.iq.dataverse.engine.command.impl.CreateDataverseCommand;
import edu.harvard.iq.da... |
package edu.hm.hafner.analysis;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.UUID;
/**
* Computes old, new, and fixed issues based on the reports of two consecutive static analysis runs for t... |
package bugfree.example;
import static org.assertj.core.api.BDDAssertions.then;
import org.junit.Test;
/**
* This is an example whose goal is to show that writing the simplest code first
* and them add code only driven by additional requirements helps avoid trivial
* but dangerous bugs.
*
* @author ste
*/
public ... |
package ee.tuleva.onboarding.config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Component;
import org.springframework.web.filter.GenericFilterBean;
import ... |
package ganymedes01.etfuturum.blocks;
import ganymedes01.etfuturum.EtFuturum;
import ganymedes01.etfuturum.IConfigurable;
import ganymedes01.etfuturum.core.utils.Utils;
import ganymedes01.etfuturum.lib.RenderIDs;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
im... |
package com.github.davidmoten.jns;
import static com.github.davidmoten.jns.Util.pressureAtDepth;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.github.davidmoten.jns.CellImpl.Builder;
p... |
package org.jboss.forge.furnace.maven.plugin;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Iterator;
import java.util.ServiceLoader;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFail... |
package de.bmoth.architecture;
import guru.nidi.codeassert.config.AnalyzerConfig;
import guru.nidi.codeassert.dependency.DependencyRule;
import guru.nidi.codeassert.dependency.DependencyRuler;
import guru.nidi.codeassert.dependency.DependencyRules;
import guru.nidi.codeassert.model.ModelAnalyzer;
import org.junit.Befor... |
package info.faceland.strife.effects;
import info.faceland.strife.data.StrifeMob;
import org.bukkit.Location;
import org.bukkit.Sound;
public class PlaySound extends Effect {
private Sound sound;
private float volume;
private float pitch;
@Override
public void apply(StrifeMob caster, StrifeMob target) {
L... |
package net.imagej.ops;
import static org.junit.Assert.assertTrue;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
imp... |
package no.finn.unleash.event;
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
import static no.finn.unleash.repository.FeatureToggleResponse.Status.UNAVAILABLE;
import static org.assertj.core.api.Assertions.assertThat;
import com.github.jenspiegsa.wiremockextension.ConfigureWir... |
package org.apache.geronimo.kernel.service;
import javax.management.MBeanServer;
import javax.management.Notification;
import javax.management.ObjectName;
import org.apache.geronimo.kernel.management.State;
public class GeronimoMBeanContext {
/**
* The MBean server in which the Geronimo MBean is registered.
... |
package io.github.likcoras.asuka;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import org.pircbotx.User;
import lombok.Cleanup;
public class I... |
package io.vertx.example.kubernetes;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.http.HttpServer;
import io.vertx.core.http.HttpServerResponse;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.example.util.Runner;
import io.vertx.ext.configuration.ConfigurationS... |
package org.ngrinder.perftest.service;
import static org.ngrinder.common.util.Preconditions.checkNotEmpty;
import static org.ngrinder.common.util.Preconditions.checkNotNull;
import static org.ngrinder.common.util.Preconditions.checkNotZero;
import static org.ngrinder.model.Status.getProcessingOrTestingTestStatus;
impor... |
package org.artifactory.client;
import groovyx.net.http.HttpResponseException;
import groovyx.net.http.ResponseParseException;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.util.List;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
/**
* @author jba... |
package me.abje.lingua.interpreter.obj;
import me.abje.lingua.interpreter.Interpreter;
import me.abje.lingua.interpreter.InterpreterException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
/**
* A Lingua list. Mutable, but designed with functional ... |
package org.iq80.cli;
import com.google.common.base.Joiner;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import org.iq80.cli.GitLikeCommandParser.Builder;
import org.iq80.cli.model.GlobalMetadata;
import org.testng.annotations.Test;
impor... |
package org.kohsuke.github;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import static org.hamcrest.CoreMatchers.*;
public class GHPullRequestTest extends Abstrac... |
package net.aicomp.javachallenge2015;
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.com... |
package net.aicomp.javachallenge2015;
import java.util.ArrayList;
import java.util.Random;
import java.util.Scanner;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.DefaultParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.com... |
package net.anyflow.menton.http;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import ja... |
package net.exodiusmc.example.layers;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.image.Image;
import javafx.scene.input.KeyCode;
import javafx.scene.paint.Color;
import javafx.scene.tex... |
package org.scm4j.releaser;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.atLeast;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.verify;
impo... |
package org.caleydo.core.data.selection;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.caleydo.core.data.selection.delta.DeltaConverter;
import org.caleydo.core.data.selection.delta.SelectionDelta;
import org.caleydo.core.event.EventListenerManager.DeepScan;
import org.caleydo... |
package net.gigimoi.zombietc.tile;
import net.gigimoi.zombietc.ZombieTC;
import net.gigimoi.zombietc.util.IListenerZTC;
import net.minecraft.nbt.NBTTagCompound;
public class TileNodeDoor extends TileNode implements IListenerZTC {
public int direction;
public int animationTime;
public int animationDirection ... |
package org.caleydo.util.r.filter;
import org.caleydo.core.data.collection.Histogram;
import org.caleydo.core.data.collection.ISet;
import org.caleydo.core.data.collection.set.statistics.FoldChangeSettings;
import org.caleydo.core.data.collection.set.statistics.FoldChangeSettings.FoldChangeEvaluator;
import org.caleydo... |
package net.imagej.legacy;
import java.awt.GraphicsEnvironment;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.imagej.DatasetService;
import net.imagej.display.DatasetView;
import ne... |
package org.eclipse.scanning.server.servlet;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.eclipse.scanning.api.IScannable;
import org.eclipse.scanning.api.event.EventException;
import org.eclipse.scanning.api.event.core.IConsumerProcess;
import org.eclipse.scanning.api.event.core.... |
package org.metaborg.spoofax.core;
import org.metaborg.core.MetaborgModule;
import org.metaborg.core.action.IActionService;
import org.metaborg.core.analysis.IAnalysisService;
import org.metaborg.core.analysis.IAnalyzer;
import org.metaborg.core.build.IBuildOutputInternal;
import org.metaborg.core.build.IBuilder;
impor... |
package net.malisis.core.client.gui;
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map.Entry;
import java.util.Set;
import java.util.function.Supplier;
import org.lwjgl.input.Keyboard;
import org.lwjgl.inp... |
//$HeadURL$
package org.deegree.metadata;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import javax.xml.namespace.QName;
import javax.xml.stream.FactoryConfigurationError;
import javax.xml.stream.XMLStreamConstants;
import javax.xml.stre... |
package org.jdesktop.swingx.rollover;
import java.awt.Color;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.AbstractListModel;
import javax.swing.Action;
import javax.swing.JPopupMenu;
import javax.swing.JTree;
import javax.swing.ListModel;
import javax.swing.table.TableModel;
... |
package org.mwc.debrief.lite.graph;
import java.awt.Color;
import java.awt.Component;
import java.awt.FlowLayout;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.MouseEvent;
import ... |
package net.md_5.mc.protocol;
import java.io.DataInput;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class PacketDefinitions {
private static final Instruction[][] opCodes = new Instruction[256][];
private static final Instruction BYTE = new JumpOpCode(1);
private st... |
package org.smoothbuild.db.value;
import static com.google.common.collect.Lists.newArrayList;
import static org.testory.Testory.given;
import static org.testory.Testory.thenReturned;
import static org.testory.Testory.when;
import org.junit.Test;
import org.smoothbuild.plugin.Value;
import org.smoothbuild.testing.plugin... |
package net.mingsoft.cms.action.web;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.PageUtil;
import freemarker.core.ParseException;
import freemarker.template.MalformedTemplateNameException;
import freemarker.template.TemplateNotFoundException;
import net.mingsoft.base.constant.Const;
import net.min... |
package nl.mpi.kinnate.svg;
import java.awt.Rectangle;
import java.awt.geom.AffineTransform;
import java.util.HashSet;
import nl.mpi.arbil.ui.ArbilWindowManager;
import nl.mpi.arbil.ui.GuiHelper;
import nl.mpi.kinnate.KinTermSavePanel;
import nl.mpi.kinnate.kindata.DataTypes;
import nl.mpi.kinnate.kindata.EntityData;
i... |
package etomica.modules.glass;
import etomica.data.*;
import etomica.data.meter.*;
import etomica.data.types.DataDouble;
import etomica.data.types.DataFunction;
import etomica.data.types.DataGroup;
import etomica.data.types.DataTensor;
import etomica.integrator.IntegratorHard;
import etomica.integrator.IntegratorVeloci... |
package nl.mpi.kinnate.svg;
import java.awt.Rectangle;
import java.awt.geom.AffineTransform;
import java.util.ArrayList;
import java.util.HashSet;
import nl.mpi.arbil.util.BugCatcherManager;
import nl.mpi.arbil.util.MessageDialogHandler;
import nl.mpi.kinnate.KinTermSavePanel;
import nl.mpi.kinnate.kindata.DataTypes;
i... |
package etomica.modules.clustergenerator;
import etomica.virial.cluster.ClusterDiagram;
//import etomica.virial.simulations.GenCluster;
public class ClusterPanel extends Plot {
private double[] x;
private double[] y;
private boolean drawPoints;
private boolean drawNumbersWhite, drawNumbersBlack;
pri... |
package org.aksw.mlbenchmark.config;
import java.util.Iterator;
import org.apache.commons.configuration2.Configuration;
import org.apache.commons.lang3.StringUtils;
public class DebugUtils {
public static void printConfig(Configuration conf) {
System.out.println(configToString(conf));
}
public stati... |
package net.miz_hi.smileessence.menu;
import net.miz_hi.smileessence.activity.MainActivity;
import net.miz_hi.smileessence.core.UiHandler;
import net.miz_hi.smileessence.data.StatusModel;
import net.miz_hi.smileessence.dialog.DialogAdapter;
import android.app.Activity;
public class StatusMenuAddReply extends StatusMenu... |
package net.thegreshams.openstates4j.service;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.StringWriter;
import java.io.Writer;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Colle... |
package org.cyanogenmod.launcher.cards;
import it.gmariotti.cardslib.library.internal.Card;
import it.gmariotti.cardslib.library.internal.Card.OnUndoSwipeListListener;
import org.cyanogenmod.launcher.cardprovider.CmHomeApiCardProvider;
import org.cyanogenmod.launcher.home.api.cards.DataCard;
import android.content.Cont... |
package net.wurstclient.gui.options.zoom;
import org.lwjgl.input.Keyboard;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.wurstclient.WurstClient;
import net.wurstclient.files.ConfigFiles;
import net.wurstclient.gui.options.GuiPressAKey;
import net.wurstclient.gui.optio... |
package org.deepsymmetry.beatlink.data;
import io.kaitai.struct.ByteBufferKaitaiStream;
import org.deepsymmetry.beatlink.Util;
import org.deepsymmetry.beatlink.dbserver.BinaryField;
import org.deepsymmetry.beatlink.dbserver.Message;
import org.deepsymmetry.beatlink.dbserver.NumberField;
import org.deepsymmetry.cratedig... |
package org.voltdb.utils;
import static java.util.Objects.requireNonNull;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.file.NoSuchFileException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.I... |
package nu.validator.checker.schematronequiv;
import java.io.ByteArrayInputStream;
import java.io.StringReader;
import java.util.concurrent.ConcurrentHashMap;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;... |
package com.intellij.ide.ui.laf.intellij;
import com.intellij.ide.ui.laf.darcula.ui.DarculaButtonUI;
import com.intellij.ui.Gray;
import com.intellij.util.ui.IconCache;
import com.intellij.util.ui.JBUI;
import com.intellij.util.ui.MacUIUtil;
import com.intellij.util.ui.UIUtil;
import sun.swing.SwingUtilities2;
import j... |
package gov.nih.nci.camod.service.impl;
import gov.nih.nci.camod.Constants;
import gov.nih.nci.camod.domain.Agent;
import gov.nih.nci.camod.domain.AnimalModel;
import gov.nih.nci.camod.domain.Comments;
import gov.nih.nci.camod.domain.Log;
import gov.nih.nci.camod.domain.Person;
import gov.nih.nci.camod.domain.Publicati... |
package org.jtrfp.trcl.gui;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileInputStr... |
package nu.validator.checker.schematronequiv;
import java.util.concurrent.ConcurrentHashMap;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import java.util.Arrays;
import nu.validator.checker.AttributeUtil;
impo... |
package org.komamitsu.fluency.sender;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketTimeoutException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.nio.charset.Charset;
import java.util.Arra... |
package org.kumoricon.view.role;
import com.vaadin.data.fieldgroup.BeanFieldGroup;
import com.vaadin.data.util.BeanItem;
import com.vaadin.data.util.BeanItemContainer;
import com.vaadin.server.FontAwesome;
import com.vaadin.ui.*;
import org.kumoricon.model.role.Right;
import org.kumoricon.model.role.Role;
import org.ku... |
package it.unitn.disi.smatch.loaders.context;
import it.unitn.disi.smatch.components.ConfigurableException;
import it.unitn.disi.smatch.data.trees.Context;
import it.unitn.disi.smatch.data.trees.IContext;
import it.unitn.disi.smatch.data.trees.INode;
import it.unitn.disi.smatch.loaders.ILoader;
import org.apache.log4j.... |
package com.hypirion.beckon;
import sun.misc.Signal;
import sun.misc.SignalHandler;
import java.util.List;
import java.util.ArrayList;
import java.util.Set;
import java.util.HashSet;
import java.util.concurrent.Callable;
import clojure.lang.PersistentList;
public class SignalRegistererHelper {
/**
* A set of m... |
package org.mariadb.jdbc;
import javax.sql.*;
import java.sql.Statement;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
public class MySQLPooledConnection implements Pooled... |
package org.eclipse.oomph.setup.ui;
import org.eclipse.oomph.preferences.util.PreferencesUtil;
import org.eclipse.oomph.setup.VariableChoice;
import org.eclipse.oomph.setup.VariableTask;
import org.eclipse.oomph.setup.VariableType;
import org.eclipse.oomph.setup.internal.core.SetupCorePlugin;
import org.eclipse.oomph.s... |
package org.TexasTorque.TexasTorque2013.constants;
public class Ports
{
public static int SIDECAR_ONE = 1;
public static int SIDECAR_TWO = 2;
public static int DRIVE_CONTROLLER_PORT = 1;
public static int OPERATOR_CONTROLLER_PORT = 2;
public static int FRONT_LEFT_MOTOR_PORT = 1;
public s... |
package com.opensymphony.workflow;
import com.opensymphony.module.propertyset.PropertySet;
import com.opensymphony.module.propertyset.PropertySetManager;
import com.opensymphony.provider.BeanProvider;
import com.opensymphony.provider.bean.DefaultBeanProvider;
import com.opensymphony.util.TextUtils;
import com.opensymph... |
package org.minimalj.frontend.page;
import java.util.Optional;
import org.minimalj.frontend.Frontend.IContent;
import org.minimalj.frontend.action.Action;
import org.minimalj.security.Subject;
public interface PageManager {
public abstract void show(Page page);
public default void showDetail(Page mainPage, Page... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.