answer stringlengths 17 10.2M |
|---|
package com.google.typography.font.tools.fontinfo;
import com.google.typography.font.sfntly.Font;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.ParameterException;
import java.io.IOException;
/**
* This is the main class for the command-line version of the font info tool
*
* @author Han-Wen Yeh... |
package com.jwetherell.algorithms.data_structures;
import java.security.InvalidParameterException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
public ... |
package com.mebigfatguy.fbcontrib.detect;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.bcel.Constants;
import org.apache.bcel.classfile.Code;
import org.apache.bcel.classfile.Field;
import org.apache.bcel.classfile.JavaClass;
import org.apache.bcel.ge... |
package com.temporaryteam.treenote.controller;
import com.temporaryteam.treenote.importer.WebImporter;
import com.temporaryteam.treenote.io.ExportException;
import com.temporaryteam.treenote.io.ExportStrategy;
import com.temporaryteam.treenote.io.ExportStrategyHolder;
import com.temporaryteam.treenote.io.DocumentFormat... |
package dyvilx.tools.compiler.ast.header;
import dyvil.reflect.Modifiers;
import dyvil.source.FileSource;
import dyvil.source.position.SourcePosition;
import dyvilx.tools.compiler.DyvilCompiler;
import dyvilx.tools.compiler.ast.attribute.AttributeList;
import dyvilx.tools.compiler.ast.classes.IClass;
import dyvilx.tool... |
package plugin.google.maps;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.gr... |
package org.monarchinitiative.exomiser.core.model;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.monarchinitiative.exomiser.core.model.AllelePosition.*;
/**
* @author Jules Jacobsen <j.jac... |
package org.appwork.utils.swing;
import java.util.ArrayList;
import java.util.HashMap;
import javax.swing.JTree;
import javax.swing.tree.TreePath;
import org.appwork.utils.logging.Log;
public class TreeModelStateSaver {
protected JTree tree;
/**
* Stores for each node the expanded state
*/
private... |
package org.bouncycastle.cms;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.security.Provider;
import java.security.SecureRandom;
imp... |
package org.epics.pvmanager.service;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
/**
*
* @author carcassi
*/
public class ServiceRegistry {
private final static ServiceRegistry registry =... |
package de.uni.freiburg.iig.telematik.swat.workbench;
import de.invation.code.toval.graphic.dialog.MessageDialog;
import de.invation.code.toval.misc.wd.ComponentListener;
import de.invation.code.toval.misc.wd.ProjectComponentException;
import de.uni.freiburg.iig.telematik.swat.workbench.components.SwatComponentType;
im... |
package dr.app.beagle.evomodel.utilities;
import dr.app.beagle.evomodel.treelikelihood.MarkovJumpsBeagleTreeLikelihood;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.tree.TreeTrait;
import dr.inference.loggers.LogColumn;
import dr.inference.loggers.Loggable;
import dr.inference.lo... |
package dr.app.beauti.options;
import dr.app.beauti.types.ClockType;
import dr.app.beauti.types.OperatorType;
import dr.app.beauti.types.PriorScaleType;
import dr.evolution.datatype.DataType;
import dr.evomodelxml.tree.RateStatisticParser;
import java.util.List;
/**
* @author Andrew Rambaut
* @author Walter Xie
* @v... |
package dr.evomodel.beagle.treelikelihood;
import dr.evolution.alignment.PatternList;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.util.TaxonList;
import dr.evomodel.branchratemodel.BranchRateModel;
import dr.evomodel.branchratemodel.DefaultBranchRateModel;
import dr.evomodel.sit... |
package dr.evomodel.coalescent;
import dr.evolution.coalescent.IntervalType;
import dr.evolution.coalescent.TreeIntervals;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evomodel.tree.TreeModel;
import dr.evomodelxml.coalescent.GMRFSkyrideLikelihoodParser;
import dr.inference.model.Likelihoo... |
package picodedTests.struct;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertNull;
import java.util.ArrayList;
import java.util.List;
import java.util.... |
package org.eclipse.persistence.tools.history;
import java.util.*;
import org.eclipse.persistence.history.*;
import org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform;
import org.eclipse.persistence.internal.helper.*;
import org.eclipse.persistence.internal.history.*;
import org.eclipse.persistence.mapp... |
package dr.evomodel.coalescent;
import dr.evolution.coalescent.Coalescent;
import dr.evolution.coalescent.DemographicFunction;
import dr.evolution.coalescent.ScaledDemographic;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.util.Units;
import dr.evomodel.tree.TreeModel;
import dr.e... |
package org.schoellerfamily.gedbrowser.writer.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import org.apache.commons.io.FileUtils;
import org.apache.... |
package edu.mit.streamjit.impl.distributed.runtimer;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import com.google.commo... |
package edu.ucla.cens.awserver.jee.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.ServletReque... |
package com.oracle.graal.hotspot.meta;
import static com.oracle.graal.api.code.MemoryBarriers.*;
import static com.oracle.graal.api.meta.DeoptimizationAction.*;
import static com.oracle.graal.api.meta.DeoptimizationReason.*;
import static com.oracle.graal.api.meta.LocationIdentity.*;
import static com.oracle.graal.hots... |
package fi.cie.chiru.servicefusionar.serviceApi;
import java.util.Vector;
import android.content.Intent;
import commands.Command;
import util.Log;
import util.Vec;
import worldData.World;
import fi.cie.chiru.servicefusionar.ServiceFusionSetup;
import fi.cie.chiru.servicefusionar.calendar.ServiceFusionCalendar;
import f... |
package org.voltdb.export;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.Iterator;
import java.util.Set;
import org.voltcore.utils.DeferredSerialization;
import org.voltcore.utils.Pair;
import com.google_voltpatches.common.collect.BoundType;
import com.google_voltpatches.common.collect.Discre... |
package com.heroku.api.request;
import com.heroku.api.*;
import com.heroku.api.connection.Connection;
import com.heroku.api.connection.HttpClientConnection;
import com.heroku.api.exception.RequestFailedException;
import com.heroku.api.http.Http;
import com.heroku.api.http.HttpUtil;
import com.heroku.api.request.addon.A... |
package com.facebook.imagepipeline.nativecode;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Rect;
import android.os.Build;
import com.facebook.common.internal.DoNotStrip;
import com.facebook.common.internal.Preconditions;
import com.facebook.common.internal.Throwables;
... |
package gov.nih.nci.calab.service.search;
import gov.nih.nci.calab.db.DataAccessProxy;
import gov.nih.nci.calab.db.IDataAccess;
import gov.nih.nci.calab.dto.search.WorkflowResultBean;
import gov.nih.nci.calab.service.util.CalabComparators;
import gov.nih.nci.calab.service.util.CalabConstants;
import gov.nih.nci.calab.s... |
package com.intellij.structuralsearch;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInsight.daemon.impl.HighlightInfo;
import com.intellij.codeInsight.template.JavaCodeContextType;
import com.intellij.codeInsight.template.TemplateContextType;
import com.intellij.dupLocator.iterators.NodeItera... |
package gov.nih.nci.cananolab.ui.document;
import gov.nih.nci.cananolab.dto.common.LabFileBean;
import gov.nih.nci.cananolab.dto.common.PublicationBean;
import gov.nih.nci.cananolab.dto.common.ReportBean;
import gov.nih.nci.cananolab.dto.common.UserBean;
import gov.nih.nci.cananolab.dto.particle.ParticleBean;
import go... |
package be.ibridge.kettle.core.dialog;
import java.util.ArrayList;
import org.eclipse.swt.SWT;
import be.ibridge.kettle.core.GUIResource;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.ShellAdapter;
import org.eclipse.swt.events.ShellEvent;
import org.ecl... |
package com.java110.event.service.api;
import com.java110.common.constant.CommonConstant;
import com.java110.common.constant.ResponseConstant;
import com.java110.common.constant.ServiceCodeConstant;
import com.java110.common.exception.BusinessException;
import com.java110.common.exception.ListenerExecuteException;
impo... |
package gov.nih.nci.rembrandt.web.struts.form;
import gov.nih.nci.caintegrator.dto.critieria.AgeCriteria;
import gov.nih.nci.caintegrator.dto.critieria.ChemoAgentCriteria;
import gov.nih.nci.caintegrator.dto.critieria.DiseaseOrGradeCriteria;
import gov.nih.nci.caintegrator.dto.critieria.GenderCriteria;
import gov.nih.n... |
package org.jenkinsci.plugins.pipeline.maven;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.Serializable;
import java.net.URL;
import java.nio.charset.Charset;
import java.securit... |
package shortestpathprocessor;
import facilitymanager.FacilityManager;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.HashSet;
/**
*
* @author Camille Rose and Edmund Wright
*/
public class ShortestPathProcessor {
private static ShortestPathProcessor instance;
// this is used in mapPa... |
package edu.arizona.kfs.fp.batch.service.impl;
import edu.arizona.kfs.fp.batch.dataaccess.TransactionPostingDao;
import edu.arizona.kfs.fp.batch.service.BankDocumentService;
import edu.arizona.kfs.fp.batch.service.BankParametersAccessService;
import edu.arizona.kfs.fp.businessobject.BankTransaction;
import edu.arizona.... |
package net.sf.picard.reference;
import net.sf.picard.PicardException;
import net.sf.picard.io.IoUtil;
import net.sf.samtools.SAMFileHeader;
import net.sf.samtools.SAMSequenceDictionary;
import net.sf.samtools.SAMTextHeaderCodec;
import net.sf.samtools.util.AsciiLineReader;
import java.io.File;
import java.io.FileInput... |
package com.bio4j.angulillos;
import com.bio4j.angulillos.TypedEdge.Type.*;
public abstract class TwitterGraph <
I extends UntypedGraph<RV,RVT, RE,RET>,
RV, RVT,
RE, RET
>
implements
TypedGraph<
TwitterGraph<I,RV,RVT,RE,RET>,
I, RV,RVT, RE,RET
>
{
protected I rawGraph = null;
public TwitterGraph(I... |
package com.daspilker.mvnrepo;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import static org.junit.Assert.assertEquals;
import static org.openqa.selenium.By.linkText... |
package com.zandero.rest;
import com.zandero.rest.test.TestHtmlRest;
import com.zandero.rest.test.TestPostRest;
import com.zandero.rest.test.TestRest;
import com.zandero.rest.test.json.Dummy;
import com.zandero.rest.writer.TestCustomWriter;
import com.zandero.rest.writer.TestDummyWriter;
import com.zandero.utils.extra.... |
package nl.mpi.kinnate.svg;
import java.awt.geom.AffineTransform;
import java.net.URI;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Map.Entry;
import nl.mpi.kinnate.kindata.EntityData;
import nl.mpi.kinnate.kindata.Gr... |
package info.u_team.u_team_test2;
import org.apache.logging.log4j.*;
import info.u_team.u_team_core.util.verify.JarSignVerifier;
import net.minecraftforge.fml.common.Mod;
@Mod(TestMod2.MODID)
public class TestMod2 {
public static final String MODID = "uteamtest2";
public static final Logger LOGGER = LogManager.... |
package Command.RestrictedModule;
import Command.Command;
import Config.Emoji;
import Config.Info;
import Config.Prefix;
import Main.*;
import java.awt.Color;
import java.io.*;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.c... |
package io.burt.jmespath;
import org.junit.Before;
import org.junit.Test;
import org.junit.Ignore;
import java.util.Collections;
import java.util.Map;
import java.util.HashMap;
import io.burt.jmespath.Query;
import io.burt.jmespath.ast.JmesPathNode;
import io.burt.jmespath.ast.FieldNode;
import io.burt.jmespath.ast.Cha... |
package com.reactnativenavigation.views.touch;
import android.graphics.Rect;
import android.support.annotation.VisibleForTesting;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import com.reactnativenavigation.parse.params.Bool;
import com.reactnativenavigation.parse.params.Nu... |
package HxCKDMS.HxCWorldGen.items;
import HxCKDMS.HxCWorldGen.libs.Colours;
import HxCKDMS.HxCWorldGen.libs.Reference;
import HxCKDMS.HxCWorldGen.libs.TextureHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.mine... |
package functionalTests;
import java.io.File;
import java.io.IOException;
import java.util.Timer;
import java.util.TimerTask;
import org.apache.log4j.Logger;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.objectweb.proactive.core.util.OperatingSystem;
public class FunctionalTest {
static fina... |
package amerifrance.guideapi.proxy;
import amerifrance.guideapi.api.GuideAPI;
import amerifrance.guideapi.api.IGuideItem;
import amerifrance.guideapi.api.impl.Book;
import amerifrance.guideapi.api.impl.abstraction.CategoryAbstract;
import amerifrance.guideapi.api.impl.abstraction.EntryAbstract;
import amerifrance.guide... |
package nl.topicus.jdbc;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.lang.reflect.Field;
imp... |
package ai.elimu.rest.v2.aragon;
import ai.elimu.model.enums.Environment;
import ai.elimu.util.JsonLoader;
import ai.elimu.web.context.EnvironmentContextLoaderListener;
import org.apache.log4j.Logger;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.sp... |
package ch.openech.model;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.SortedSet;
import java.util.TreeSet;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
imp... |
package aperf.api.spawnlimit;
import aperf.APerf;
import aperf.api.SpawnLimitRegistrar;
import aperf.api.exceptions.FilterException;
import aperf.api.filter.JsonFilterMarshaler;
import com.google.gson.JsonObject;
public class JsonSpawnLimitMarshaler {
public static ISpawnLimit unmarshal(JsonObject jsonObject) {
... |
package com.matthewtamlin.android_utilities.library.helpers;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import static android.net.ConnectivityManager.TYPE_MOBILE;
import static android.net.ConnectivityManager.TYPE_WIFI;
import static com.matthewtamlin.java_ut... |
package com.akiban.server.api;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.BlockingQueue;
import java.... |
package com.example.showmewhatisay;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.speech.RecognitionListener;
import android.speech.RecognizerIntent;
import android.speech.SpeechRecognizer;
import android.util.Log;... |
package cn.cerc.mis.core;
import cn.cerc.core.IHandle;
import cn.cerc.db.core.IAppConfig;
import cn.cerc.db.core.ServerConfig;
import cn.cerc.mis.config.IAppStaticFile;
import cn.cerc.mis.other.BufferType;
import cn.cerc.mis.other.MemoryBuffer;
import cn.cerc.mis.page.JspPage;
import cn.cerc.mis.page.RedirectPage;
impo... |
package br.com.samuelweb.nfe.dom;
import br.com.samuelweb.certificado.Certificado;
import br.com.samuelweb.nfe.util.ConstantesUtil;
import br.com.samuelweb.nfe.util.Estados;
import br.com.samuelweb.nfe.util.ProxyUtil;
public class ConfiguracoesWebNfe implements ConfiguracoesNfe {
private Estados estado;
private... |
package org.lightgbm.predict4j;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URLDecoder;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.junit.Test;
import org.lightgbm.predict4j.Boosting;
import org.lightgbm.predict4j.OverallConfig;
import org.ligh... |
package org.webrtc;
import android.opengl.GLES11Ext;
import android.opengl.GLES20;
import org.webrtc.GlShader;
import org.webrtc.GlUtil;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.util.Arrays;
import java.util.IdentityHashMap;
import java.util.Map;
/**
* Helper class to draw a quad that cover... |
package com.blog.start.jpa.service;
import com.blog.start.jpa.entity.Blog;
import com.blog.start.jpa.entity.Item;
import com.blog.start.jpa.entity.Role;
import com.blog.start.jpa.entity.User;
import com.blog.start.jpa.repositorie.BlogRepository;
import com.blog.start.jpa.repositorie.ItemRepository;
import com.blog.star... |
package com.flashmath.activity;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
imp... |
package plugins;
import models.Difficulty;
import models.Game;
import models.Mode;
import models.Score;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.List;
import static java.awt.Color.DARK_GRAY;
import static java.awt.Font.BOLD;
import static java.awt.Font.PLAIN;
import static java.awt.Rende... |
package org.littleshoot.proxy;
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.conn.params.ConnRoutePNames;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.util.EntityUtils;
import org.junit.After;
i... |
package org.eclipse.birt.report.model.core;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import org.eclipse.birt.report.model.api.DesignElementHandle... |
// modification, are permitted provided that the following conditions are
// met:
// documentation and/or other materials provided with the distribution.
// Neither the name of the Drew Davidson nor the names of its contributors
// may be used to endorse or promote products derived from this software
// "AS IS" AND ANY... |
package com.akiban.qp.persistitadapter;
import com.akiban.ais.model.*;
import com.akiban.qp.exec.UpdatePlannable;
import com.akiban.qp.exec.UpdateResult;
import com.akiban.qp.expression.IndexBound;
import com.akiban.qp.expression.IndexKeyRange;
import com.akiban.qp.operator.*;
import com.akiban.qp.row.Row;
import com.a... |
package com.rafkind.paintown.animator;
import java.util.List;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Vector;
import com.rafkind.paintown.animator.events.*;
import com.rafkind.paintown.Token;
import com.rafkind.paintown.exception.*;
import com.rafkind.paintown.Lambda1;
import java.awt.im... |
/* @java.file.header */
package org.gridgain.grid.kernal.processors.continuous;
import org.gridgain.grid.*;
import org.gridgain.grid.events.*;
import org.gridgain.grid.kernal.*;
import org.gridgain.grid.kernal.managers.communication.*;
import org.gridgain.grid.kernal.managers.deployment.*;
import org.gridgain.grid.kern... |
package com.budthapa.controller;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.security.access.annotation.Secured;
import org.springframework.s... |
package com.fsck.k9.preferences;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;... |
package com.akiban.server.service.dxl;
import com.akiban.ais.model.AkibanInformationSchema;
import com.akiban.ais.model.GroupIndex;
import com.akiban.ais.model.Index;
import com.akiban.ais.model.TableName;
import com.akiban.server.api.DDLFunctions;
import com.akiban.server.api.DMLFunctions;
import com.akiban.server.err... |
package se.jaklec.hal.json;
import org.junit.Before;
import org.junit.Test;
import org.skyscreamer.jsonassert.JSONAssert;
import org.skyscreamer.jsonassert.JSONCompareMode;
import java.net.URI;
public class HalBuilderTest {
private Greeter greeter;
@Before
public void setUp() {
greeter = new Greeter... |
package org.geotools.http;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.net.InetAddress;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Logger;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons... |
package com.haxademic.core.draw.image;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.nio.ByteBuffer;
import com.haxademic.core.app.P;
import com.haxademic.core.draw.color.ColorHax;
import com.haxademic.core.draw.context.DrawUtil;
import com.haxademic.core.math.MathUtil;
import processing.c... |
//@@author A0147984L
package seedu.address.model.task;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.text.ParseException;
import java.util.Calendar;
import org.junit.After;
import org.junit.BeforeClass;
import org.junit.Ru... |
package com.booking.replication.applier;
import static com.codahale.metrics.MetricRegistry.name;
import static org.apache.kafka.common.protocol.Protocol.BROKER;
import com.booking.replication.Configuration;
import com.booking.replication.Metrics;
import com.booking.replication.augmenter.AugmentedRow;
import com.booking... |
package org.jdesktop.swingx;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.text.SimpleDateFormat;
import java.util.Cal... |
package com.cloudcoders.gestaca.ui;
import com.cloudcoders.gestaca.model.Course;
import com.cloudcoders.gestaca.model.Student;
import java.util.List;
import java.util.Scanner;
public class CommandLine implements View {
private List<Course> courseList;
private Scanner scanner;
private String dni;
public ... |
package com.humbughq.mobile;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Callable;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
import... |
package com.ibm.nmon.gui.main;
import java.util.List;
import java.io.File;
import java.util.prefs.Preferences;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JOptionPane;
import java.awt.BorderLayout;
import java.awt.GraphicsConfiguration;
import java.awt.Graphic... |
package com.cobalt.cdpipeline.servlet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.*;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.net.URI;
import java.util.Ha... |
package com.jme.scene.model.XMLparser;
import com.jme.util.LittleEndien;
import com.jme.system.JmeException;
import com.jme.system.DisplaySystem;
import com.jme.math.Vector3f;
import com.jme.math.Vector2f;
import com.jme.scene.Node;
import com.jme.scene.TriMesh;
import com.jme.scene.state.MaterialState;
import com.jme.... |
package com.dnw.depmap.resource;
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.eclipse.core.filebuffers.FileBuffers;
import org.eclipse.core.filebuffers.ITextFileBuffer;
import org.eclipse.core... |
package com.dtstack.logstash.assembly;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
imp... |
package com.edicatad.emvi.handlers;
import net.minecraftforge.event.world.ChunkWatchEvent.UnWatch;
import net.minecraftforge.event.world.ChunkWatchEvent.Watch;
import net.minecraftforge.fml.common.FMLLog;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import n... |
package com.sebnarware.avalanche;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.util.Log;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapView;
import com.google.android.maps.Overlay;
public class Pol... |
package com.elmakers.mine.bukkit.item;
import com.elmakers.mine.bukkit.block.MaterialAndData;
import com.elmakers.mine.bukkit.utility.CompatibilityUtils;
import com.elmakers.mine.bukkit.utility.InventoryUtils;
import com.elmakers.mine.bukkit.utility.NMSUtils;
import net.md_5.bungee.api.ChatColor;
import org.bukkit.conf... |
package it.gruppometa.cordova;
import java.io.File;
import java.util.Locale;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.PluginResult;
import org.json.JSONArray;
import... |
package com.elmakers.mine.bukkit.plugins.magic;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.b... |
package com.evapps.Controller;
import com.evapps.Entity.History;
import com.evapps.Entity.Product;
import com.evapps.Entity.Receipt;
import com.evapps.Entity.User;
import com.evapps.Service.CRUD.CreateDataService;
import com.evapps.Service.CRUD.DeleteDataService;
import com.evapps.Service.CRUD.ReadDataService;
import c... |
package org.traccar.protocol;
import org.traccar.helper.TestDataManager;
import java.nio.ByteOrder;
import org.jboss.netty.buffer.ChannelBuffers;
import static org.junit.Assert.assertNull;
import org.junit.Test;
import org.traccar.helper.ChannelBufferTools;
import static org.traccar.helper.DecoderVerifier.verify;
publi... |
/*/ Mirror Core Feature Release 001
* Adding photo size selections
*
* wckd Development
* Brett Crawford
* 2013/06/22
*/
package com.wckd_dev.mirror.core;
import java.util.Scanner;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Dialog;
import android.content.ContentVal... |
package com.github.abel533.mapper;
import org.apache.ibatis.builder.StaticSqlSource;
import org.apache.ibatis.executor.keygen.KeyGenerator;
import org.apache.ibatis.executor.keygen.NoKeyGenerator;
import org.apache.ibatis.executor.keygen.SelectKeyGenerator;
import org.apache.ibatis.mapping.*;
import org.apache.ibatis.r... |
package com.evanlennick.retry4j;
import com.evanlennick.retry4j.config.RetryConfig;
import com.evanlennick.retry4j.exception.RetriesExhaustedException;
import com.evanlennick.retry4j.exception.UnexpectedException;
import com.evanlennick.retry4j.listener.RetryListener;
import java.util.ArrayList;
import java.util.List;
... |
package com.github.angelndevil2.dsee;
import lombok.Getter;
import javax.management.MBeanServer;
import javax.naming.InitialContext;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.lang.instrument.Instrumentation;
import java.lang.reflect.InvocationTargetExcepti... |
package plugin.google.maps;
import java.io.ByteArrayOutputStream;
import org.apache.cordova.CallbackContext;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Point;
import android.util.Base... |
/*
* $Id: SimulatedPlugin.java,v 1.14 2003-08-06 06:29:18 tlipkis Exp $
*/
package org.lockss.plugin.simulated;
import java.util.*;
import org.lockss.app.*;
import org.lockss.daemon.*;
import org.lockss.plugin.*;
import org.lockss.plugin.base.*;
import org.lockss.util.*;
import org.lockss.test.*;
/**
* SimulatedPlug... |
package com.evokly.kafka.connect.mqtt;
import org.apache.kafka.connect.source.SourceRecord;
import org.apache.kafka.connect.source.SourceTask;
import org.eclipse.paho.client.mqttv3.MqttCallback;
import org.eclipse.paho.client.mqttv3.MqttClient;
import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
import org.eclips... |
package com.github.davidmoten.rx.slf4j;
import java.text.DecimalFormat;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicLong;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rx.Notification;
import rx.Observable;
import rx.functions.Action1;
import rx.functions.Func1;
impo... |
package com.github.escortkeel.circle;
import com.github.escortkeel.circle.event.IRCConnectionEstablishedEvent;
import com.github.escortkeel.circle.event.IRCWelcomeEvent;
import com.github.escortkeel.circle.event.IRCConnectionClosedEvent;
import com.github.escortkeel.circle.event.IRCErrorEvent;
import com.github.escortk... |
package com.imcode.imcms.domain.dto;
import com.imcode.imcms.model.Template;
import com.imcode.imcms.model.TemplateGroup;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.