answer stringlengths 17 10.2M |
|---|
package com.docusign.esign.client;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.datatype.joda.*;
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
import com.sun.jersey.api.client.Client;... |
package com.facebook.litho;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrap... |
package com.infogen.server.model;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.atomic.LongAdder;
import org.apache.log4j.Logger;
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TCompactProtocol;
import org.apac... |
package com.tale.controller;
import com.blade.ioc.annotation.Inject;
import com.blade.jdbc.core.Take;
import com.blade.jdbc.model.Paginator;
import com.blade.kit.StringKit;
import com.blade.mvc.Const;
import com.blade.mvc.annotation.*;
import com.blade.mvc.http.Request;
import com.blade.mvc.http.Response;
import com.bl... |
package com.tomgibara.hashing;
import java.math.BigInteger;
import com.tomgibara.streams.AbstractWriteStream;
final class MurmurIntHash implements Hash<MurmurIntHash.MurmurStream> {
static final int c1 = 0xcc9e2d51;
static final int c2 = 0x1b873593;
private static MurmurIntHash instance = new MurmurIntHash(... |
package com.vzome.core.editor;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.OutputStream;
import java.io.StringWriter;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.A... |
package com.wizzardo.http.websocket;
import java.util.ArrayList;
import java.util.List;
public class Message {
private List<Frame> frames = new ArrayList<>();
public boolean isComplete() {
if (frames.isEmpty())
return false;
Frame frame = frames.get(frames.size() - 1);
return... |
package controller;
import handler.ConfigHandler;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Tooltip;
import javafx.scene.image.Image;
import javafx.stage.FileChoos... |
package de.braintags.vertx.util.url;
import java.net.URI;
import java.net.URISyntaxException;
import org.apache.commons.lang3.StringUtils;
public class UrlUtil {
private UrlUtil() {
}
public static String concatPaths(final String... paths) {
return concatPaths(false, paths);
}
public static String concatP... |
package de.retest.recheck;
import java.util.List;
import org.aeonbits.owner.Config.Sources;
import org.aeonbits.owner.ConfigCache;
import org.aeonbits.owner.ConfigFactory;
import org.aeonbits.owner.Mutable;
import de.retest.recheck.configuration.ProjectRootFinderUtil;
@Sources( "file:${projectroot}/.retest/retest.prope... |
package edu.hm.hafner.analysis;
import java.io.Serializable;
import java.util.Optional;
import java.util.UUID;
import org.apache.commons.lang3.StringUtils;
import edu.hm.hafner.util.PathUtil;
import edu.hm.hafner.util.TreeString;
import edu.hm.hafner.util.TreeStringBuilder;
import edu.hm.hafner.util.VisibleForTesting;
... |
package edu.hm.hafner.analysis;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Parses an input stream for compiler warnings or issues from a static analysis tool using the provided regular
* expression. Normally, this base class should not directly be extended. Rather... |
package eu.bitwalker.useragentutils;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Enum constants for most common browsers, including e-mail clients and bots.
* @author harald
*
*/
public enum Browser {
/**
* Outlook email client
... |
package eu.eumssi.managers.uima;
import static org.apache.uima.fit.factory.AnalysisEngineFactory.createEngineDescription;
import static org.apache.uima.fit.factory.AnalysisEngineFactory.createEngine;
import static org.apache.uima.fit.util.JCasUtil.select;
import java.io.IOException;
import java.io.InputStream;
import j... |
package hudson.plugins.perforce;
import com.tek42.perforce.Depot;
import com.tek42.perforce.PerforceException;
import com.tek42.perforce.model.Changelist;
import com.tek42.perforce.model.Counter;
import com.tek42.perforce.model.Label;
import com.tek42.perforce.model.Workspace;
import com.tek42.perforce.parse.Counters;
... |
package imagej.ops;
import imagej.command.CommandInfo;
import imagej.command.CommandModuleItem;
import imagej.command.CommandService;
import imagej.module.Module;
import imagej.module.ModuleInfo;
import imagej.module.ModuleItem;
import imagej.module.ModuleService;
import java.lang.reflect.Type;
import java.util.ArrayLi... |
package invtweaks.container;
import invtweaks.InvTweaksConst;
import invtweaks.api.container.ContainerSection;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.inventory.GuiContainerCreative;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.inventory.Container;
import net.mi... |
package io.leangen.graphql.util;
import io.github.classgraph.ClassGraph;
import io.github.classgraph.ClassInfo;
import io.github.classgraph.ScanResult;
import io.leangen.geantyref.GenericTypeReflector;
import io.leangen.graphql.annotations.GraphQLIgnore;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import j... |
package io.scalecube.gateway;
import com.codahale.metrics.Counter;
import com.codahale.metrics.Meter;
import io.scalecube.services.metrics.Metrics;
public class GatewayMetrics {
public static final String METRIC_CONNECTIONS = "connections";
public static final String METRIC_REQUESTS = "requests";
public static fi... |
package it.geosolutions.geonetwork;
import it.geosolutions.geonetwork.op.GNMetadataAdmin;
import it.geosolutions.geonetwork.op.GNLogin;
import it.geosolutions.geonetwork.op.GNMetadataInsert;
import it.geosolutions.geonetwork.exception.GNLibException;
import it.geosolutions.geonetwork.exception.GNServerException;
import... |
package land.face.strife.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;
import land.face.strife.StrifePlugin;
import land.face.strife.data.St... |
package main.java.com.bag.client;
import bftsmart.communication.client.ReplyReceiver;
import bftsmart.reconfiguration.util.RSAKeyLoader;
import bftsmart.tom.ServiceProxy;
import bftsmart.tom.core.messages.TOMMessage;
import bftsmart.tom.core.messages.TOMMessageType;
import bftsmart.tom.util.TOMUtil;
import com.esoteric... |
package main.java.com.bag.client;
import bftsmart.communication.client.ReplyReceiver;
import bftsmart.reconfiguration.util.RSAKeyLoader;
import bftsmart.tom.ServiceProxy;
import bftsmart.tom.core.messages.TOMMessage;
import bftsmart.tom.core.messages.TOMMessageType;
import bftsmart.tom.util.TOMUtil;
import com.esoteric... |
package net.atos.entng.rss.parser;
import java.io.IOException;
import java.io.StringReader;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.AsyncResult;
import io.vertx.core.... |
package net.darkhax.bookshelf.lib;
import java.util.Random;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class Constants {
// Mod Constants
public static final String MOD_ID = "bookshelf";
public static final String MOD_NAME = "Bookshelf";
public static fina... |
package net.gtaun.wl.chat;
import net.gtaun.util.event.EventManager;
import net.gtaun.wl.chat.impl.ChatChannelServiceImpl;
import net.gtaun.wl.common.WlPlugin;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
*
* @author MK124
*/
public class ChatChannelPlugin extends WlPlugin
{
public static fina... |
package net.imagej.ops.image;
import net.imagej.ImgPlus;
import net.imagej.ops.AbstractNamespace;
import net.imagej.ops.Namespace;
import net.imagej.ops.OpMethod;
import net.imagej.ops.Ops;
import net.imagej.ops.image.cooccurrencematrix.MatrixOrientation;
import net.imagej.ops.special.computer.UnaryComputerOp;
import n... |
package net.minecraftforge.fluids;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.block.BlockLiquid;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.SoundEvent... |
package nl.dykam.dev.spector;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.entity.EntityDamageByEntityEvent;
import org.b... |
package nl.mpi.kinnate.svg;
import java.awt.Cursor;
import java.awt.Point;
import java.awt.event.MouseEvent;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.HashSet;
import org.w3c.dom.events.Event;
import org.w3c.dom.events.EventListener;
import org.apache.batik.dom.events.DOMMouseEvent;
impo... |
package org.apdplat.word.corpus;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.nio.file.FileSystem;
import java.nio.file.FileSyste... |
package org.broad.igv.session;
import org.apache.log4j.Logger;
import org.broad.igv.feature.RegionOfInterest;
import org.broad.igv.feature.genome.GenomeManager;
import org.broad.igv.lists.GeneList;
import org.broad.igv.prefs.Constants;
import org.broad.igv.prefs.PreferencesManager;
import org.broad.igv.track.AttributeM... |
package org.cs4j.core.mains;
import org.cs4j.core.SearchDomain;
import org.cs4j.core.domains.*;
import java.io.*;
public class DomainsCreation {
public static SearchDomain createGridPathFindingInstanceFromAutomaticallyGenerated(String instance) throws FileNotFoundException {
InputStream is = new FileInputSt... |
package org.dita.dost.reader;
import org.dita.dost.log.MessageUtils;
import org.dita.dost.module.ChunkModule.ChunkFilenameGenerator;
import org.dita.dost.module.ChunkModule.ChunkFilenameGeneratorFactory;
import org.dita.dost.module.GenMapAndTopicListModule.TempFileNameScheme;
import org.dita.dost.util.DitaClass;
import... |
package org.experiment.TREC;
import java.io.File;
import java.io.PrintWriter;
import java.io.BufferedReader;
import java.io.FileReader;
import java.nio.file.Paths;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.index.DirectoryReader;
imp... |
package org.globsframework.utils;
public class NanoChrono {
private long start;
public NanoChrono() {
start = System.nanoTime();
}
public static NanoChrono start() {
return new NanoChrono();
}
public void reset() {
start = System.nanoTime();
}
public double getAnd... |
package org.hyperfresh.mc.liquidf;
import org.hyperfresh.mc.liquidf.enums.LqClickEvent;
import org.hyperfresh.mc.liquidf.enums.LqColor;
import org.hyperfresh.mc.liquidf.enums.LqFormat;
import org.hyperfresh.mc.liquidf.enums.LqHoverEvent;
import java.util.ArrayList;
import java.util.List;
/**
* Builds up a chat message... |
package org.jboss.threads;
import java.util.concurrent.RejectedExecutionException;
class RejectingExecutor implements DirectExecutor {
static final RejectingExecutor INSTANCE = new RejectingExecutor();
private final String message;
private RejectingExecutor() {
message = null;
}
RejectingExe... |
package org.jcodec.api.transcode;
import static org.jcodec.common.io.NIOUtils.readableFileChannel;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import net.sourceforge.jaad.aac.AACException;
... |
package org.jtrfp.trcl.obj;
import org.apache.commons.math3.geometry.euclidean.threed.Vector3D;
import org.jtrfp.trcl.Camera;
import org.jtrfp.trcl.NormalMap;
import org.jtrfp.trcl.OverworldSystem;
import org.jtrfp.trcl.RenderMode;
import org.jtrfp.trcl.SpacePartitioningGrid;
import org.jtrfp.trcl.Triangle;
import org.... |
package org.lantern;
import java.io.IOException;
import java.net.Socket;
import java.net.URI;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.PriorityBlockingQueue;
import java.util.conc... |
package org.lantern.http;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
i... |
package org.mitre.synthea.engine;
import com.google.gson.JsonObject;
import com.google.gson.internal.LinkedTreeMap;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.apache.commons.csv.CSVFormat;
impo... |
package org.scribe.oauth;
import org.scribe.builder.api.DefaultApi20;
import org.scribe.model.OAuthConfig;
import org.scribe.model.OAuthConstants;
import org.scribe.model.OAuthRequest;
import org.scribe.model.Response;
import org.scribe.model.Token;
import org.scribe.model.Verifier;
public class OAuth20ServiceImpl impl... |
package org.signaut.common.couchdb;
import java.util.HashMap;
import java.util.Map;
import org.codehaus.jackson.annotate.JsonAnyGetter;
import org.codehaus.jackson.annotate.JsonAnySetter;
import org.codehaus.jackson.annotate.JsonProperty;
public class Document {
@JsonProperty("_attachments")
private Map<String,... |
package org.txazo.jvm.assembly;
public class AssemblyTest {
// VM Args: -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly -XX:+DebugNonSafepoints -XX:PrintAssemblyOptions=intel -XX:CompileCommand=compileonly,org/txazo/jvm/assembly/AssemblyTest::main
public static void main(String[] args) {
int a = 1;
... |
package org.yinwang.pysonar.ast;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.yinwang.pysonar.Binding;
import org.yinwang.pysonar.Indexer;
import org.yinwang.pysonar.Scope;
import org.yinwang.pysonar.types.FunType;
import org.yinwang.pysonar.types.Type;
import java.uti... |
package reborncore.api.items;
import net.minecraft.inventory.Inventory;
import net.minecraft.item.ItemStack;
import reborncore.common.util.ItemUtils;
public class InventoryUtils {
public static ItemStack insertItemStacked(Inventory inventory, ItemStack input, boolean simulate) {
ItemStack stack = input.copy... |
package ru.org.linux.topic;
import org.springframework.web.util.UriComponentsBuilder;
import ru.org.linux.comment.CommentFilter;
public class TopicLinkBuilder {
private final Topic topic;
private final int page;
private final boolean showDeleted;
private final boolean lastmod;
private final Integer comment;
... |
package seedu.tache.logic.parser;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Deque;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.re... |
package seedu.task.model.task;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import seedu.address.commons.exceptions.IllegalValueException;
/**
* Represents a Task Start DateTime in the task book.
* Guarantees: immutable; is valid as declared in {@link #isValidDateTime(Str... |
package squire.controllers;
import com.sun.scenario.Settings;
import google.mobwrite.ShareJTextComponent;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import... |
package tech.greenfield.vertx.irked;
import java.util.*;
import java.util.Map.Entry;
import java.util.stream.Stream;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.http.HttpServerRequest;
import io.vertx.core.http.HttpServerResponse;
import io.vertx.core.jso... |
package uk.ac.soton.ecs.comp3005;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.u... |
package za.redbridge.simulator;
import java.util.HashMap;
import java.util.Map;
import za.redbridge.simulator.phenotype.Phenotype;
public class FitnessStats {
private final Map<Phenotype,Double> phenotypeFitnesses = new HashMap<>();
private double teamFitness = 0.0;
private final double totalResourceValue;
... |
package net.sourceforge.jtds.jdbcx;
import java.io.*;
import java.sql.*;
import java.util.*;
import javax.naming.*;
import javax.sql.*;
import net.sourceforge.jtds.jdbc.*;
/**
* A plain <code>DataSource</code> implementation.
*
* @author Alin Sinplean
* @since jTDS 0.3
*/
public class TdsDataSource
implements Con... |
package storm;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.networktables.NetworkTable;
import storm.interfaces.*;
import storm.modules.*;
public abstract class RobotState {
/*
private static RobotState instance;
public static RobotState getInstance() {
if (instance == null)
... |
package sys.dht;
import static sys.dht.catadupa.Config.Config;
import static sys.utils.Log.Log;
import org.hamcrest.Factory;
import sys.dht.api.DHT;
import sys.dht.catadupa.Node;
import sys.dht.discovery.Discovery;
import sys.dht.impl.DHT_ClientStub;
import sys.dht.impl.DHT_NodeImpl;
import sys.net.api.Endpoint;
import... |
package tankattack;
import Sprites.*;
import java.util.*;
import javafx.animation.*;
import javafx.event.*;
import javafx.geometry.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.scene.image.*;
import javafx.scene.input.*;
import javafx.scene.layout.*;
import javafx.scene.paint.*;
import javafx.s... |
package com.melodies.bandup;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.TextInputLayout;
import android.support.v7.app.AppCompatActivity;
import android.text.E... |
package com.wsfmn.model;
import com.wsfmn.controller.HabitHistoryController;
import java.util.ArrayList;
import java.util.List;
public class HabitList {
private ArrayList<Habit> habits;
public HabitList() {
this.habits = new ArrayList<Habit>();
}
public HabitList(ArrayList<Habit> habits) {
... |
package org.openlmis.core;
import android.app.Application;
import android.content.Context;
import com.crashlytics.android.Crashlytics;
import com.crashlytics.android.core.CrashlyticsCore;
import io.fabric.sdk.android.Fabric;
import roboguice.RoboGuice;
public class LMISApp extends Application {
private static Conte... |
package backend;
import java.util.ArrayList;
import org.json.JSONObject;
import backend.Series;
import networking.Access;
public class BackEnd {
static ArrayList<Series> series;
Access a;
public BackEnd()
{
a=new Access();
series = getSeries();
}
public static void main(String []... |
package bamboo.task;
import bamboo.util.Urls;
import com.codepoetics.protonpack.StreamUtils;
import org.apache.commons.lang.StringUtils;
import org.archive.io.ArchiveReader;
import org.archive.io.ArchiveRecord;
import org.archive.io.ArchiveRecordHeader;
import java.io.*;
import java.nio.charset.StandardCharsets;
import... |
package org.jetel.data.parser;
import java.io.IOException;
import java.io.InputStream;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.Channels;
import java.nio.channels.FileChannel;
import java.nio.channels.ReadableByteChannel;
import java.nio.c... |
package org.jetel.database;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;
import org.jetel.data.DataRecord;
import org.jetel.data.HashKey;
import org.jetel.data.RecordKey;
import org.jetel.data.lookup.LookupTable;
import org.jetel.exception.ComponentNo... |
package com.netflix.spinnaker.fiat.config;
import com.netflix.spinnaker.fiat.roles.github.GitHubProperties;
import com.netflix.spinnaker.fiat.roles.github.client.GitHubClient;
import com.netflix.spinnaker.fiat.roles.github.client.GitHubMaster;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j... |
package collabode;
import java.io.IOException;
import java.util.Hashtable;
import net.appjet.ajstdlib.execution;
import org.eclipse.core.resources.*;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.preferences.InstanceScope;
import org.ecl... |
package me.oskarmendel.view;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.beans.property.SimpleStringProperty;
import javafx.fxml.FXML;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableRow;
import javafx.scene.control.TableView;
import javafx.scene.layout.Ancho... |
package com.ecyrd.jspwiki.xmlrpc;
import com.ecyrd.jspwiki.*;
import com.ecyrd.jspwiki.attachment.Attachment;
import junit.framework.*;
import java.util.*;
import org.apache.xmlrpc.*;
public class RPCHandlerTest extends TestCase
{
TestEngine m_engine;
RPCHandler m_handler;
Properties m_props;
static fin... |
import java.io.*;
import org.xbill.DNS.*;
/** @author Brian Wellington <bwelling@xbill.org> */
public class dig {
static Name name = null;
static int type = Type.A, dclass = DClass.IN;
static void
usage() {
System.out.println("Usage: dig [@server] name [<type>] [<class>] " +
"[options]");
S... |
package org.commcare.android.util;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Display;
import android.view.WindowManager;
import org.commcare.dalvik.preferences.DeveloperPreferenc... |
package org.commcare.android.view;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Paint.Align;
import android.os.Build;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebView;
... |
package dr.evomodel.sitemodel;
import dr.evomodel.substmodel.FrequencyModel;
import dr.evomodel.substmodel.SubstitutionModel;
import dr.inference.model.AbstractModel;
import dr.inference.model.Model;
import dr.inference.model.Parameter;
import dr.inference.model.Variable;
import dr.math.distributions.GammaDistribution;... |
package dr.inference.hawkes;
import dr.inference.hmc.GradientWrtParameterProvider;
import dr.inference.model.*;
import dr.xml.*;
/**
* @author Andrew Holbrook
* @author Xiang Ji
* @author Marc Suchard
*/
public class HawkesLikelihood extends AbstractModelLikelihood implements Reportable,
GradientWrtParamete... |
package dr.inference.markovchain;
import dr.inference.model.Likelihood;
import dr.inference.model.Model;
import dr.inference.model.CompoundLikelihood;
import dr.inference.operators.*;
import dr.inference.prior.Prior;
import java.util.ArrayList;
/**
* A concrete markov chain. This is final as the only things that shoul... |
package me.coley.recaf.config.impl;
import com.eclipsesource.json.Json;
import com.eclipsesource.json.JsonValue;
import me.coley.logging.Level;
import me.coley.recaf.config.Conf;
import me.coley.recaf.config.Config;
/**
* Options for user-interface.
*
* @author Matt
*/
public class ConfDisplay extends Config {
... |
package edu.wheaton.simulator.entity; |
package edu.wheaton.simulator.entity;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.google.common.collect.HashBiMap;
import com.google.common.collect.ImmutableList;
import net.sourceforge.jeval.EvaluationExce... |
package edu.wustl.xipHost.gui;
import javax.swing.*;
import edu.wustl.xipHost.application.Application;
import edu.wustl.xipHost.application.ApplicationManagerFactory;
import edu.wustl.xipHost.avt2ext.AVTPanel;
import edu.wustl.xipHost.caGrid.GridPanel;
import edu.wustl.xipHost.dicom.DicomPanel;
import edu.wustl.xipHost... |
package org.genericsystem.cv.application;
import org.genericsystem.cv.AbstractApp;
import org.genericsystem.cv.Img;
import org.genericsystem.cv.utils.NativeLibraryLoader;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import org.opencv.core.Point;
import org.opencv.core.Range;
i... |
// NavigableImagePanel.java
package imagej.gui.swing.display;
import imagej.IntCoords;
import imagej.RealCoords;
import imagej.display.EventDispatcher;
import imagej.display.MouseCursor;
import imagej.display.NavigableImageCanvas;
import imagej.event.EventSubscriber;
import imagej.event.Events;
import imagej.tool.event... |
package hex.deeplearning;
import java.util.*;
import org.junit.BeforeClass;
import org.junit.Test;
import water.*;
import water.fvec.Frame;
import water.fvec.NFSFileVec;
import water.parser.ParseDataset;
import water.util.Log;
import static hex.deeplearning.DeepLearningModel.DeepLearningParameters;
import static org.ju... |
package net.runelite.http.service.feed;
import com.google.common.hash.HashCode;
import com.google.common.hash.Hasher;
import com.google.common.hash.Hashing;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import lombok.extern.slf4j.Slf4j;
import net.runelite.http.api.feed.FeedIt... |
package org.innovateuk.ifs.form.resource;
import java.util.Optional;
/**
* This enum marks sections as a given type.
*/
public enum SectionType {
FINANCE(),
PROJECT_COST_FINANCES(FINANCE),
PROJECT_LOCATION(FINANCE),
ORGANISATION_FINANCES(FINANCE),
FUNDING_FINANCES(FINANCE),
OVERVIEW_FINANCES()... |
package org.intermine.modelproduction;
import java.net.URISyntaxException;
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.TreeSet;
import org.apache.commons.lang.StringUtils;
import org.apache.lo... |
package autoChirp;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import ja... |
package meizhuo.org.lightmeeting.acty;
import org.apache.http.Header;
import org.json.JSONException;
import org.json.JSONObject;
import butterknife.InjectView;
import butterknife.OnClick;
import android.app.ActionBar;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import android.... |
package org.intermine.web.struts;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import o... |
package org.javarosa.demo.shell;
import java.util.Hashtable;
import javax.microedition.midlet.MIDlet;
import org.javarosa.activity.splashscreen.SplashScreenActivity;
import org.javarosa.communication.http.HttpTransportModule;
import org.javarosa.communication.http.HttpTransportProperties;
import org.javarosa.communicat... |
package org.eclipse.jetty.server;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.net.SocketException;
import java.util.concurrent.Exchanger;
import java.util.concurrent.TimeUnit;
import javax.net.ssl.SSLException;
import javax.servlet.ServletExce... |
package net.viperfish.journal.secureProvider;
import java.io.File;
import java.security.SecureRandom;
import net.viperfish.journal.framework.Configuration;
import net.viperfish.journal.secureAlgs.MacDigester;
import net.viperfish.journal.secureAlgs.Macs;
import net.viperfish.journal.streamCipher.StreamCipherEncryptor;
... |
package apps;
import fos.drv.blk.Floppy;
import fos.drv.chr.Tty;
import java.io.IOException;
/**
*
* @author igel
*/
public class hello {
protected static String about = "falseOS ia a true operating system based on java\n\t[writted by Vakhurin Sergey aka igel]\n";
protected static String uc = "Unknown comman... |
package com.intellij.codeInspection.ex;
import com.intellij.analysis.AnalysisScope;
import com.intellij.analysis.AnalysisUIOptions;
import com.intellij.analysis.PerformAnalysisInBackgroundOption;
import com.intellij.codeInsight.daemon.impl.LocalInspectionsPass;
import com.intellij.codeInspection.*;
import com.intellij.... |
/*
* Thibaut Colar Feb 5, 2010
*/
package net.colar.netbeans.fan.parboiled;
import org.parboiled.BaseParser;
import org.parboiled.Rule;
import org.parboiled.support.Cached;
import org.parboiled.support.Leaf;
@SuppressWarnings(
{
"InfiniteRecursion"
})
public class FantomParser extends BaseParser<Object>
{
pub... |
package net.maizegenetics.pipeline;
import java.awt.Frame;
import java.io.BufferedReader;
import java.io.File;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.u... |
package net.p316.news.newscat.util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import net.p316.news.newscat.data.NcTitle;
public class MySQLConnector
{
static final String JDBC_DRIVER = "c... |
package net.wimpi.modbus.io;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;
import java.util.Timer;
import java.util.TimerTask;
import net.wimpi.modbus.Modbus;
import net.wimpi.modbus.ModbusIOException;
import net.wimpi.modbus.msg.ModbusMessage;
impo... |
package org.apache.xerces.impl.v2.identity;
/**
* Schema key reference identity constraint.
*
* @author Andy Clark, IBM
* @version $Id$
*/
public class KeyRef
extends IdentityConstraint {
// Data
/** The index of the key (or unique) being referred to. */
protected IdentityConstraint fKey;
// th... |
package org.appwork.storage.jackson;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import org.appwork.storage.JSONMapper;
import org.appwork.storage.JSonMapperException;
import org.appwork.storage.JsonSerializer;
import org.appwork.storage.TypeRef;
import ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.