answer stringlengths 17 10.2M |
|---|
package org.zstack.image;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.transaction.annotation.Transactional;
import org.zstack.core.Platform;
import org.zstack.core.asyncbatch.AsyncBatchRunner;
import org.zstack.core.asyncbatch.Lo... |
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class RampOptionsPanel extends OptionsPanel {
JComboBox drop;
RampSimulator rs;
public RampOptionsPanel(RampSimulator rs){
this.rs = rs;
this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS))... |
package com.cloud.api.commands;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import com.cloud.api.BaseCmd;
import com.cloud.api.ServerApiException;
import com.cloud.dc.DataCenterVO;
import com.cloud.exception.InvalidParameterValueException;
import com.cloud.ex... |
package io.lefty.hbase;
import com.google.protobuf.ByteString;
import io.grpc.Status;
import io.grpc.StatusRuntimeException;
import io.grpc.stub.StreamObserver;
import io.lefty.hbase.proto.HBaseProto.Column;
import io.lefty.hbase.proto.HBaseProto.ColumnQualifier;
import io.lefty.hbase.proto.HBaseProto.Columns;
import i... |
package io.spine.server.entity;
import io.spine.annotation.Experimental;
import io.spine.annotation.Internal;
import io.spine.base.EntityState;
import io.spine.core.Event;
import io.spine.core.Version;
import io.spine.logging.Logging;
import io.spine.system.server.event.MigrationApplied;
import org.checkerframework.che... |
package io.spine.server.event;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Optional;
import com.google.common.base.Predicates;
import com.google.protobuf.TextFormat;
import io.grpc.ServerServiceDefinition;
import io.grpc.stub.StreamObserver;
import io.spine.base.Event;
import i... |
package io.spine.server.event;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Optional;
import com.google.common.base.Predicates;
import com.google.protobuf.TextFormat;
import io.grpc.ServerServiceDefinition;
import io.grpc.stub.StreamObserver;
import io.spine.base.Event;
import i... |
package org.xbill.DNS;
import java.io.*;
import java.util.*;
/**
* A DNS Zone. This encapsulates all data related to a Zone, and provides
* convenient lookup methods.
*
* @author Brian Wellington
*/
public class Zone implements Serializable {
private static final long serialVersionUID = -9220510891189510942L;
/**... |
package motocitizen.startup;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.PopupMenu;
import android.support.v7.widget.PopupMenu.OnMenuItemCli... |
package dk.aau.sw402F15.CodeGenerator;
import dk.aau.sw402F15.Symboltable.Scope;
import dk.aau.sw402F15.Symboltable.ScopeDepthFirstAdapter;
import dk.aau.sw402F15.Symboltable.Symbol;
import dk.aau.sw402F15.Symboltable.SymbolArray;
import dk.aau.sw402F15.Symboltable.SymbolFunction;
import dk.aau.sw402F15.Symboltable.Typ... |
package dr.app.beagle.evomodel.treelikelihood;
import beagle.*;
import dr.evolution.alignment.PatternList;
import dr.evolution.tree.NodeRef;
import dr.evolution.tree.Tree;
import dr.evolution.util.TaxonList;
import dr.app.beagle.evomodel.parsers.TreeLikelihoodParser;
import dr.app.beagle.evomodel.sitemodel.BranchSiteMo... |
package dr.app.beagle.evomodel.treelikelihood;
import beagle.Beagle;
import beagle.BeagleFactory;
import beagle.BeagleFlag;
import beagle.InstanceDetails;
import beagle.ResourceDetails;
import dr.app.beagle.evomodel.parsers.TreeLikelihoodParser;
import dr.app.beagle.evomodel.sitemodel.BranchSubstitutionModel;
import dr... |
package dr.app.beagle.evomodel.treelikelihood;
import beagle.*;
import dr.app.beagle.evomodel.parsers.TreeLikelihoodParser;
import dr.app.beagle.evomodel.sitemodel.BranchSiteModel;
import dr.app.beagle.evomodel.sitemodel.SiteRateModel;
import dr.app.beagle.evomodel.substmodel.EigenDecomposition;
import dr.evolution.ali... |
package edu.wheaton.simulator.datastructures.expression;
import edu.wheaton.simulator.datastructures.Primitive;
import edu.wheaton.simulator.datastructures.Value;
import edu.wheaton.simulator.gridentities.GridEntity;
import net.sourceforge.jeval.EvaluationException;
import net.sourceforge.jeval.Evaluator;
public final ... |
package eu.ydp.empiria.player.client.gin.module;
import com.google.gwt.inject.client.AbstractGinModule;
import com.google.gwt.xml.client.Element;
import com.google.inject.Key;
import com.google.inject.Provider;
import com.google.inject.Singleton;
import com.google.inject.TypeLiteral;
import eu.ydp.empiria.player.client... |
package duro.reflang;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Stack;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.P... |
package omniSpectrum.Quizzium.Controllers;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.... |
package duro.reflang;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Hashtable;
import java.util.Stack;
import java.util.stream.Collectors;
import org.antlr.v4.runtime.ANTLRErrorListener;
import org.antlr.v4.runtime.ANTLRInputStream;
import ... |
package duro.reflang;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutput... |
package dynamake.models;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
... |
package io.flutter.app;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import io.flutter.plugin.platform.PlatformPlugin;
import io.flutter.view.FlutterMain;
import io.flutter.view.FlutterView;
... |
package me.exphc.EnchantMore;
import java.util.Random;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.util.HashSet;
import java.util.UUID;
import java.util.Iterator;
import ja... |
package com.intellij.ide.util;
import com.intellij.ide.IconUtilEx;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.impl.ModuleUtil;
import com.intellij.openapi.roots.*;
import com.intellij.openapi.util.IconLoader;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.PsiElem... |
package net.fortuna.ical4j.model.property;
import java.io.IOException;
import java.net.URISyntaxException;
import java.text.ParseException;
import net.fortuna.ical4j.model.Date;
import net.fortuna.ical4j.model.DateTime;
import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.ParameterList;
import net... |
package gov.nih.nci.calab.service.submit;
import gov.nih.nci.calab.db.DataAccessProxy;
import gov.nih.nci.calab.db.IDataAccess;
import gov.nih.nci.calab.domain.Keyword;
import gov.nih.nci.calab.domain.nano.characterization.Characterization;
import gov.nih.nci.calab.domain.nano.particle.Nanoparticle;
import gov.nih.nci.... |
package gov.nih.nci.cananolab.ui.common;
/**
* This class submits PointOfContact and assigns visibility
*
* @author tanq, pansu
*/
import gov.nih.nci.cananolab.domain.common.Organization;
import gov.nih.nci.cananolab.domain.common.PointOfContact;
import gov.nih.nci.cananolab.dto.common.OtherPointOfContactsBean;
imp... |
package gov.nih.nci.cananolab.ui.common;
/**
* This class submits PointOfContact and assigns visibility
*
* @author tanq
*/
import gov.nih.nci.cananolab.domain.common.PointOfContact;
import gov.nih.nci.cananolab.domain.common.PointOfContact;
import gov.nih.nci.cananolab.domain.particle.NanoparticleSample;
import go... |
package gov.nih.nci.cananolab.ui.particle;
/**
* This class sets up different input forms for different types of physical composition,
* and allow users to submit data for physical compositions and update composing elements of each
* physical composition.
*
* @author pansu
*/
/* CVS $Id: NanoparticleEntityAction.... |
// XSL : not found (java.io.FileNotFoundException: (Bad file descriptor))
// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xsl
package gov.nih.nci.nautilus.ui.struts.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import ... |
package org.rstudio.studio.client.rmarkdown.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.rstudio.core.client.Debug;
import com.google.gwt.regexp.shared.MatchResult;
import com.google.gwt.regexp.shared.RegExp;
public class YamlTree
{
private clas... |
package info.guardianproject.otr.app.im.plugin.xmpp;
import info.guardianproject.otr.app.im.engine.Address;
import info.guardianproject.otr.app.im.engine.ChatGroupManager;
import info.guardianproject.otr.app.im.engine.ChatSession;
import info.guardianproject.otr.app.im.engine.ChatSessionManager;
import info.guardianpro... |
package org.xins.client;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.InetAddress;
import java.net.MalformedURLException;
import java.net.UnknownHostException;
import java.net.URL;
import java.util.Iterator;
import java.util.Map;
import ja... |
package org.xins.client;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.InetAddress;
import java.net.MalformedURLException;
import java.net.UnknownHostException;
import java.net.URL;
import java.util.Iterator;
import java.util.Map;
import ja... |
package edu.rpi.rocs.client.ui.coursesearch;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.TreeSet;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt... |
package fr.jayasoft.ivy.parser;
import java.io.IOException;
import java.net.URL;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xm... |
package fr.paris.lutece.portal.service.admin;
import fr.paris.lutece.portal.business.rbac.AdminRole;
import fr.paris.lutece.portal.business.rbac.RBAC;
import fr.paris.lutece.portal.business.regularexpression.RegularExpression;
import fr.paris.lutece.portal.business.right.Level;
import fr.paris.lutece.portal.business.ri... |
package org.apache.fop.render.rtf.rtflib.rtfdoc;
import java.util.Vector;
import java.util.Hashtable;
import java.io.IOException;
/**
* Singelton of the RTF color table.
* This class was created for <fo:basic-link> tag processing.
* @author <a href="mailto:a.putz@skynamics.com">Andreas Putz</a>
*/
public class RtfC... |
package org.apache.velocity.runtime.loader;
import java.io.File;
import java.io.FileInputStream;
import java.util.Hashtable;
import org.apache.velocity.Template;
import org.apache.velocity.runtime.Runtime;
/**
* This is a simple template file loader.
* Currently it only supports a single path to templates.
* That'l... |
package org.jivesoftware.wildfire.privacy;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
import org.jivesoftware.database.DbConnectionManager;
import org.jivesoftware.util.Log;
import java.io.StringReader;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.u... |
package org.helioviewer.gl3d.model.image;
import java.awt.Graphics;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import javax.media.opengl.GL;
import org.helioviewer.base.logging.Log;
import org.helioviewer.base.physics.Constants;
import org.helioviewer.gl3d.camera.GL3DCamera;
import org.he... |
package jp.gr.java_conf.neko_daisuki.android.animator;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Reader;
import java... |
package com.pqbyte.coherence;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.Body;
import com.... |
package net.coobird.paint.brush;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import net.coobird.paint.BlendingMode;
/**
*
* @author coobird
*
*/
public abstract class Brush
{
protected BufferedImage brush;
protected BufferedImage thumbBru... |
package hudson.model;
import com.thoughtworks.xstream.XStream;
import hudson.CopyOnWrite;
import hudson.FeedAdapter;
import hudson.XmlFile;
import org.kohsuke.stapler.export.ExportedBean;
import org.kohsuke.stapler.export.Exported;
import hudson.model.Descriptor.FormException;
import hudson.scm.ChangeLogSet;
import hud... |
package net.kopeph.ld31.entity;
import net.kopeph.ld31.LD31;
import net.kopeph.ld31.Level;
import net.kopeph.ld31.graphics.Node;
import net.kopeph.ld31.graphics.Renderable;
import net.kopeph.ld31.graphics.Trace;
import net.kopeph.ld31.spi.PointPredicate;
import net.kopeph.ld31.util.Pointer;
import net.kopeph.ld31.util.... |
package hudson.scm;
import static hudson.Util.fixNull;
import hudson.FilePath;
import hudson.FilePath.FileCallable;
import hudson.Launcher;
import hudson.Proc;
import hudson.Util;
import static hudson.Util.fixEmpty;
import hudson.model.AbstractBuild;
import hudson.model.AbstractModelObject;
import hudson.model.Abstract... |
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class LuhnValidatorTest {
@Test
public void testThatSingleDigitStringIsNotValid() {
assertFalse(new LuhnValidator().isValid("1"));
}
@Ignore
@Test
... |
package algorithms.imageProcessing.features;
import algorithms.imageProcessing.CannyEdgeFilterAdaptive;
import algorithms.imageProcessing.ColorHistogram;
import algorithms.imageProcessing.EdgeFilterProducts;
import algorithms.imageProcessing.GreyscaleImage;
import algorithms.imageProcessing.Image;
import algorithms.ima... |
/*
* Series.java
*
* A Series is a data series in a chart; its view is a Category object.
* The data are cached and then transferred to an OpenGL device.
*
* Semester project Matthias Schrag, HS07
*/
package net.sf.jaer.util.chart;
import com.sun.opengl.util.BufferUtil;
import java.nio.BufferOverflowException;
i... |
package app.android.simpleflashcards.ui;
import java.util.HashMap;
import java.util.Map;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.MenuInflater;
import android.view.MenuItem... |
package allbegray.slack.rtm;
import allbegray.slack.exception.SlackException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
im... |
package br.com.sistemaescolar.controller;
import javax.inject.Inject;
import br.com.caelum.vraptor.Controller;
import br.com.caelum.vraptor.Path;
import br.com.caelum.vraptor.Result;
@Controller
public class IndexController {
private final Result result;
/**
* @deprecated CDI eyes only
*/
protecte... |
package br.gov.mj.sislegis.app.web;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.u... |
package opensesim.world;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
import opensesim.util.idgenerator.IDGenerator;
import opensesim.util.idgenerator.LongIDGenerator;
import opensesim.util.scheduler.EventLi... |
package cat.nyaa.nyaautils.exhibition;
import cat.nyaa.nyaacore.LanguageRepository;
import cat.nyaa.nyaacore.cmdreceiver.Arguments;
import cat.nyaa.nyaacore.cmdreceiver.CommandReceiver;
import cat.nyaa.nyaacore.cmdreceiver.SubCommand;
import cat.nyaa.nyaautils.NyaaUtils;
import org.bukkit.GameMode;
import org.bukkit.Ma... |
package org.neo4j.kernel.ha.zookeeper;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.List;
import org.apache.zookeeper.CreateMode;
import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;
import org.apache.zookeeper.ZooDefs;
i... |
package ch.unibas.dmi.dbis.reqman.storage;
import ch.unibas.dmi.dbis.reqman.data.Catalogue;
import ch.unibas.dmi.dbis.reqman.data.Course;
import ch.unibas.dmi.dbis.reqman.data.Group;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.util.FileUtils;
... |
package cgeo.geocaching.connector.gc;
import org.eclipse.jdt.annotation.NonNull;
import java.util.Locale;
import java.util.regex.Pattern;
public final class GCConstants {
static final String GC_URL = "https:
private static final String GC_TILE_URL = "https://tiles.geocaching.com/";
/** Live Map */
final... |
package org.basex.query.up;
import static org.basex.query.up.UpdateFunctions.*;
import java.util.LinkedList;
import java.util.List;
import org.basex.data.Data;
import org.basex.data.MemData;
import org.basex.data.Nodes;
import org.basex.query.QueryException;
import org.basex.query.item.DBNode;
import org.basex.query.it... |
package org.eigenbase.trace;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.eigenbase.oj.rel.JavaRelImplementor;
import org.eigenbase.oj.stmt.OJPreparingStmt;
import org.eigenbase.relopt.RelOptPlanner;
import org.eigenbase.oj.util.OJClassMap;
/**
* Contains all of the {@link java.util.logg... |
package cgeo.geocaching.connector.lc;
import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.R;
import cgeo.geocaching.SearchResult;
import cgeo.geocaching.connector.AbstractConnector;
import cgeo.geocaching.connector.capability.ISearchByCenter;
import cgeo.geocaching.connector.capability.ISearchByGeocode;
impo... |
package org.bdgp.OpenHiCAMM;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringJoiner;
public class Processes {
public static int getPid() {
try {
java.lang.management.RuntimeMXBean runtime = java.lang.management.ManagementFactory.getRuntimeMXBean();
... |
package com.ciandt.techgallery.service;
import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
import com.google.api.client.http.javanet.NetHttpTransport;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.google.api.server.spi.response.BadRequestException;
import com.google.api.server... |
package cgeo.geocaching.utils;
import org.xml.sax.XMLReader;
import android.text.Editable;
import android.text.Html.TagHandler;
import android.text.Spanned;
import android.text.style.StrikethroughSpan;
public class UnknownTagsHandler implements TagHandler {
private enum ListType {
Ordered, Unordered
}
... |
package org.exist.config;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.lang.annotation.Annotati... |
package org.exist.dom;
import java.util.Iterator;
import org.apache.log4j.Logger;
import org.exist.numbering.NodeId;
import org.exist.xquery.Constants;
import org.exist.xquery.Expression;
import org.exist.xquery.XPathException;
import org.exist.xquery.value.AbstractSequence;
import org.exist.xquery.value.Item;
import o... |
package org.exist.dom;
import org.exist.numbering.NodeId;
import org.exist.util.ArrayUtils;
import org.exist.util.FastQSort;
import org.exist.util.hashtable.ObjectHashSet;
import org.exist.xquery.Constants;
import org.exist.xquery.Expression;
import org.exist.xquery.XPathException;
import org.exist.xquery.value.Item;
i... |
package com.davidbracewell.apollo.ml.embedding;
import com.davidbracewell.apollo.affinity.Similarity;
import com.davidbracewell.apollo.linalg.DenseVector;
import com.davidbracewell.apollo.linalg.ScoredLabelVector;
import com.davidbracewell.apollo.linalg.Vector;
import com.davidbracewell.apollo.linalg.VectorStore;
impor... |
package org.ethereum.core;
import org.ethereum.config.SystemProperties;
import org.ethereum.crypto.HashUtil;
import org.ethereum.crypto.SHA3Helper;
import org.ethereum.db.BlockStore;
import org.ethereum.db.ByteArrayWrapper;
import org.ethereum.listener.EthereumListener;
import org.ethereum.manager.AdminInfo;
import org... |
package com.elmakers.mine.bukkit.plugins.magic.wand;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import java.util.UUID;
import org.apache.commons.lang.Array... |
package org.javacc.parser;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
public class ParseEngine extends JavaCCGlobals {
static private java.io.PrintWriter ostr;
static private int gensymindex = 0;
static private int indentamt;... |
package org.ethereum.db;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spongycastle.util.encoders.Hex;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Concurrent... |
package com.ferreusveritas.dynamictrees.trees;
import java.util.List;
import com.ferreusveritas.dynamictrees.ModBlocks;
import com.ferreusveritas.dynamictrees.ModConstants;
import com.ferreusveritas.dynamictrees.api.TreeHelper;
import com.ferreusveritas.dynamictrees.api.network.MapSignal;
import com.ferreusveritas.dyna... |
package etomica.graphics;
import etomica.action.IAction;
import etomica.action.SimulationRestart;
import etomica.action.activity.Controller;
import etomica.box.Box;
import etomica.graphics.DisplayPlot.PopupListener;
import etomica.integrator.Integrator;
import etomica.integrator.IntegratorBox;
import etomica.integrator... |
package com.fincatto.nfe310.assinatura;
import com.fincatto.nfe310.NFeConfig;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import javax.xml.crypto.dsig.*;
import javax.xml.crypto.dsig.dom.DOMSignContext;
import javax.xml.crypto.dsig.dom.DOMValidat... |
// $Id: QuoteClient.java,v 1.11 2006/05/03 08:45:19 belaban Exp $
package org.jgroups.demos;
import org.jgroups.*;
import org.jgroups.blocks.GroupRequest;
import org.jgroups.blocks.RpcDispatcher;
import org.jgroups.util.Rsp;
import org.jgroups.util.RspList;
import java.awt.*;
import java.awt.event.ActionEvent;
import j... |
package com.foundationdb.sql.pg;
import com.foundationdb.qp.operator.QueryBindings;
import com.foundationdb.server.error.IsolationLevelIgnoredException;
import com.foundationdb.server.error.NoSuchSchemaException;
import com.foundationdb.server.error.UnsupportedConfigurationException;
import com.foundationdb.server.erro... |
package com.jme3.util;
import java.lang.ref.PhantomReference;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* GLObjectManager tracks all GLObjects used by the Renderer. Using a
* <code>Reference... |
package org.jgroups.protocols;
import org.jgroups.Event;
import org.jgroups.Message;
import org.jgroups.annotations.Property;
import org.jgroups.annotations.Unsupported;
import org.jgroups.stack.Protocol;
import org.jgroups.util.TimeScheduler;
import java.util.Collections;
import java.util.LinkedList;
import java.util.... |
package org.jgroups.protocols;
import org.jgroups.*;
import org.jgroups.annotations.*;
import org.jgroups.conf.PropertyConverters;
import org.jgroups.stack.AckReceiverWindow;
import org.jgroups.stack.AckSenderWindow;
import org.jgroups.stack.Protocol;
import org.jgroups.stack.StaticInterval;
import org.jgroups.util.*;
... |
// This Source Code Form is subject to the terms of the Mozilla Public //
package com.github.tiwindetea.dungeonoflegend.model;
import com.github.tiwindetea.dungeonoflegend.events.living_entities.LivingEntityCreationEvent;
import com.github.tiwindetea.dungeonoflegend.events.living_entities.LivingEntityDeletionE... |
package org.jrobin.core;
import java.io.IOException;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import sun.nio.ch.DirectBuffer;
/**
* JRobin backend whic... |
/*
* $Id: PollManager.java,v 1.95 2003-05-07 22:12:38 claire Exp $
*/
package org.lockss.poller;
import java.io.*;
import java.net.*;
import java.security.*;
import java.util.*;
import org.lockss.app.*;
import org.lockss.daemon.*;
import org.lockss.plugin.*;
import org.lockss.protocol.*;
import org.lockss.protocol.Pro... |
package etomica.virial;
import etomica.atom.AtomArrayList;
import etomica.potential.PotentialPolarizable;
public class ClusterSumPolarizable implements ClusterAbstract, java.io.Serializable {
/**
* Constructor for ClusterSum.
*/
public ClusterSumPolarizable(ClusterBonds[] subClusters, double[] subClus... |
package com.underlegendz.underactivity;
import android.os.Bundle;
import android.support.annotation.ColorInt;
import android.support.annotation.DrawableRes;
import android.support.annotation.IntDef;
import android.support.annotation.LayoutRes;
import android.support.annotation.MenuRes;
import android.support.annotation... |
/*
* $Id: ProxyManager.java,v 1.8 2003-04-14 23:14:52 tal Exp $
*/
package org.lockss.proxy;
import java.util.*;
import org.lockss.app.*;
import org.lockss.util.*;
import org.lockss.daemon.*;
import org.lockss.jetty.*;
import org.mortbay.util.*;
import org.mortbay.http.*;
import org.mortbay.http.handler.*;
/** LOCKSS... |
package com.kryptnostic.storage.v2.http;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import retrofit.http.Body;
import retrofit.http.GET;
import retrofit.http.POST;
import retrofit.http.Path;
import com.kryptnostic.storage.v2.models.ObjectMetadataNode;
import com.kryptnostic.v2.constants.Names;
/... |
package org.eclipse.collections.impl.utility;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;... |
package org.mapyrus.function;
import java.util.StringTokenizer;
import org.mapyrus.Argument;
import org.mapyrus.Constants;
import org.mapyrus.ContextStack;
import org.mapyrus.MapyrusException;
import org.mapyrus.font.StringDimension;
/**
* Function breaking string into several lines at word boundaries to
* avoid stri... |
package org.myrobotlab.service;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.Timer;
import java.util.TimerTask;
import org.myrobotlab.framework.Service;
import org.myrobotlab.framework.ServiceType;
import org.myrobotlab.fra... |
package com.minelittlepony.model.components;
import com.minelittlepony.model.AbstractPonyModel;
import com.minelittlepony.model.capabilities.IModelPegasus;
import com.minelittlepony.render.model.PlaneRenderer;
public class ModelBatWing<T extends AbstractPonyModel & IModelPegasus> extends ModelWing<T> {
public Model... |
package org.myrobotlab.service;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.HashSet;
import org.myrobotlab.fileLib.FileIO;
import org.myrobotlab.framework.Service;
import org.myrobotlab.logging.Level;
import org.myrobotlab.logging.LoggerFactory;
import org.myrobotlab.logg... |
package com.github.valdr;
import com.github.valdr.model.a.TestModelWithASingleAnnotatedMember;
import com.google.common.collect.Lists;
import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.junit.Test;
import java.util.Collections;
import java.util.List;
import java.ut... |
package org.myrobotlab.service;
import org.myrobotlab.framework.Peers;
import org.myrobotlab.framework.Service;
import org.myrobotlab.framework.Status;
import org.myrobotlab.logging.Level;
import org.myrobotlab.logging.LoggerFactory;
import org.myrobotlab.logging.Logging;
import org.myrobotlab.logging.LoggingFactory;
i... |
/**
*
* FileServiceImpl.java
*
* @author echeng (table2type.pl)
*
* the FileService Implmentation
*
*
**/
package edu.yu.einstein.wasp.service.impl;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
im... |
package com.mscott.timer.controller;
import com.mscott.timer.scheduling.TurnOverListener;
import com.mscott.timer.scheduling.TurnScheduler;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.Initializ... |
package org.myrobotlab.service;
import org.myrobotlab.framework.Service;
import org.myrobotlab.framework.repo.ServiceType;
import org.myrobotlab.logging.Level;
import org.myrobotlab.logging.LoggerFactory;
import org.myrobotlab.logging.Logging;
import org.myrobotlab.logging.LoggingFactory;
import org.myrobotlab.openni.O... |
package com.continuuity.metrics.guice;
import com.continuuity.common.conf.Constants;
import com.continuuity.http.HttpHandler;
import com.continuuity.metrics.data.DefaultMetricsTableFactory;
import com.continuuity.metrics.data.MetricsTableFactory;
import com.continuuity.metrics.query.BatchMetricsHandler;
import com.cont... |
package com.pidanic.saral.visitor;
import com.pidanic.saral.domain.*;
import com.pidanic.saral.domain.block.Function;
import com.pidanic.saral.domain.expression.ArrayRef;
import com.pidanic.saral.domain.expression.Expression;
import com.pidanic.saral.domain.expression.VariableRef;
import com.pidanic.saral.domain.expres... |
package com.bradmcevoy.http;
import com.bradmcevoy.common.StringSplitUtils;
import java.util.Map;
import org.apache.commons.codec.binary.Base64;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Holds authentication information for a request
*
* There are two sets of information:
* - that which is pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.