answer stringlengths 17 10.2M |
|---|
package protocolsupport.server.listeners;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerInteractEntityEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerTogg... |
// This file is part of the OpenNMS(R) Application.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// and included code are below.
// OpenNMS(R) is a registered trademark of Blast Internet Services, Inc.
// Modifications:
// Aug 28, 2004: Created this file.
// This program... |
package com.akiban.server.test.pt;
import com.akiban.server.test.ApiTestBase;
import com.akiban.ais.model.TableIndex;
import com.akiban.qp.expression.IndexBound;
import com.akiban.qp.expression.IndexKeyRange;
import com.akiban.qp.expression.RowBasedUnboundExpressions;
import com.akiban.qp.operator.API;
import com.akiba... |
package com.deepoove.poi.tl;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.util.HashMap;
import java.util.Map;
import org.junit.Before;
import org.junit.Test;
import com.deepoove.poi.XWPFTemplate;
import com.deep... |
package com.github.dakusui.crest.ut;
import com.github.dakusui.crest.Crest;
import com.github.dakusui.crest.core.Assertion;
import com.github.dakusui.crest.core.InternalUtils;
import com.github.dakusui.crest.core.Matcher;
import com.github.dakusui.crest.utils.TestBase;
import com.github.dakusui.crest.utils.printable.Pr... |
package com.itelg.xpath.helper;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import org.fest.assertions.Assertions;
import org.joda.time.DateTime;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
public c... |
package com.statemachinesystems.envy;
import com.statemachinesystems.envy.example.DummyConfigSource;
import org.junit.Before;
import org.junit.Test;
import java.io.*;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util... |
package io.usethesource.vallang;
import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Random;
import java.util.function.BiFunction;
import java.util.stream.Coll... |
package net.imagej.ops.math;
import net.imagej.ops.AbstractNamespaceTest;
import net.imagej.ops.MathOps.Abs;
import net.imagej.ops.MathOps.Add;
import net.imagej.ops.MathOps.AddNoise;
import net.imagej.ops.MathOps.And;
import net.imagej.ops.MathOps.Arccos;
import net.imagej.ops.MathOps.Arccosh;
import net.imagej.ops.Ma... |
package pro.cucumber;
import org.junit.Before;
import org.junit.Test;
import pro.cucumber.gitcli.GitCliRevisionProvider;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.regex.Pattern;
import static org.junit.Assert.assertTrue;
public abstract class RevisionProviderCon... |
package reactor.core.test;
import java.io.IOException;
import java.util.Arrays;
import org.junit.Assert;
import org.junit.Test;
import reactor.core.publisher.Flux;
import reactor.fn.Consumer;
/**
* @author Anatoly Kadyshev
* @author Brian Clozel
* @author Sebastien Deleuze
*/
public class TestSubscriberTests {
... |
package roart.service;
import roart.service.ServiceParam.Function;
import roart.util.EurekaConstants;
import roart.util.EurekaUtil;
import javax.servlet.http.*;
import java.util.Vector;
import java.util.Enumeration;
import java.util.ArrayList;
import java.util.List;
import java.io.*;
import roart.common.searchengine.Se... |
package seedu.taskboss.logic;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_TASK_DIS... |
package org.jdesktop.swingx;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.List;
import javax.swing.AbstractAction;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JPanel;
imp... |
package edu.wustl.cab2b.server.queryengine;
import edu.wustl.cab2b.common.queryengine.Cab2bQuery;
import edu.wustl.cab2b.common.queryengine.ICab2bParameterizedQuery;
import edu.wustl.common.querysuite.bizlogic.QueryBizLogic;
/**
* This class processes the Cab2bQuery object before persisting and after retreival.
* @au... |
package net.sf.j2s.core.astvisitors;
import java.util.Iterator;
import java.util.List;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.AnonymousClassDeclaration;
import org.eclipse.jdt.core.dom.Block;
import org.eclipse.jdt.core.dom.ClassInstanceCreation;
import org.eclipse.jdt.core.dom.Express... |
package cuchaz.enigma.bytecode;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javassist.CtClass;
import javassist.bytecode.AttributeInfo;
import javassist.bytecode.BadBytecode;
i... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Gomoku;
import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JOptionPane;
/**
*
* @author Administrator
*/
public class MyPanel extends javax.swing.JPanel {
private int isGo;
private int... |
package edu.bellevue.android;
import java.util.List;
import android.app.ListActivity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android... |
package edu.dynamic.dynamiz.storage;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.Stack;
import java.util.TreeMap;
import edu.dynamic.dynamiz.controller.DataFileReadWrite;
import edu.dynamic.dynamiz.parser.OptionType;
import edu.dynami... |
package org.umlg.sqlg.test.gremlincompile;
import org.apache.tinkerpop.gremlin.AbstractGremlinTest;
import org.apache.tinkerpop.gremlin.process.traversal.Path;
import org.apache.tinkerpop.gremlin.process.traversal.Traversal;
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
import or... |
package de.bastiankrol.startexplorer.preferences;
import static de.bastiankrol.startexplorer.util.Util.*;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferencePage;
import org.eclipse.jface.preference.PreferenceStore;
import org.eclipse.swt.SWT;
import org.eclipse.swt.even... |
package main.app.controllers;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXSlider;
import com.jfoenix.controls.JFXTextField;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.Tab;
import main.app.SerialCommunication;
import java.util.List;
public class Siln... |
// Class shamelessy reused from minechem
//TODO Rename to lib, and change to HxC format and then remove above comment
package HxCKDMS.gkpk.data;
public class TimeConst {
public static final int TICKS_PER_SECOND = 20;
public static final int TICKS_PER_MINUTE = TICKS_PER_SECOND * 60;
public static final int... |
package com.balancedpayments;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.balancedpayments.core.Resource;
import com.balancedpayments.core.ResourceCollection;
public class Credit extends Resource {
public Date created_at;
public Integer amount;
public String description... |
package com.box.sdk;
import java.text.ParseException;
import java.util.Date;
import com.eclipsesource.json.JsonObject;
import com.eclipsesource.json.JsonValue;
/**
* The abstract base class for types that can be added to collaborations.
*/
public abstract class BoxCollaborator extends BoxResource {
/**
* Con... |
package com.bugsnag.android;
import android.app.Activity;
import android.content.Context;
import android.os.SystemClock;
import android.util.Log;
import com.bugsnag.MetaData;
public class Bugsnag {
private static Client client;
private static final String TAG = "Bugsnag";
static long startTime = SystemClock... |
package com.music.tools;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import javax.sound.sampled.AudioFormat;
i... |
// samskivert library - useful routines for java programs
// This library is free software; you can redistribute it and/or modify it
// (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// You shoul... |
package com.scaffy.dao;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.apache.commons.beanutils.PropertyUtils;
import org.apache.commons.lang.WordUtils;
import com.scaffy.controller.MultipartResponse;
import com.scaffy.dao.bean.BeanMethod;
import com.scaffy... |
package com.web.AbhinavJava;
class Account {
private int accountId;
private String name;
private double balance;
private transient long ssn;
public void setName(String name) { this.name = name; }
public void setBalance(Double balance) { this.balance = balance; }
public void setAccountId(int ... |
package crazypants.enderio;
import java.util.ArrayList;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPla... |
package de.cronn.proxy.ssh;
import java.io.Closeable;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.jcraft.jsch.JSchException;
import com... |
package de.dhbw.vetaraus;
import norsys.netica.*;
import org.apache.commons.lang3.StringUtils;
import java.io.*;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
public class NetFactory {
private NetFactory() {
}
/**
* Create a new Netica net from an existing CSV file. Cases are l... |
package de.lessvoid.console;
import java.util.LinkedList;
import org.lwjgl.opengl.GL11;
import de.lessvoid.font.Font;
import de.lessvoid.nifty.render.spi.RenderDevice;
public class Console
{
private Font font;
private int x;
private int y;
private LinkedList<String> data = new LinkedList<String>();
private bo... |
package dta.commerce.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import dta.commerce.persistance.Produit;
import dta.commerce.persistance.User;
public class ProduitDAO implements IProduitDAO {
@PersistenceContext(unitName="my_pu") private EntityMa... |
package imcode.util;
import com.imcode.imcms.domain.dto.ImageData;
import com.imcode.imcms.domain.dto.ImageData.CropRegion;
import com.imcode.imcms.domain.dto.ImageData.RotateDirection;
import com.imcode.imcms.domain.dto.ImageFileDTO;
import com.imcode.imcms.mapping.DocumentMapper;
import com.imcode.imcms.persistence.e... |
package info.bowkett.ddt;
import org.mockito.stubbing.Answer;
import java.sql.*;
import java.util.Calendar;
import static org.mockito.BDDMockito.given;
import static org.mockito.Matchers.*;
import static org.mockito.Mockito.mock;
import static org.powermock.api.mockito.PowerMockito.when;
public class DDTFixture {
pri... |
package jena;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMeth... |
package moe.banana.jsonapi2;
import java.io.Serializable;
import java.lang.reflect.Array;
import java.util.Iterator;
public final class HasMany<T extends Resource> implements Relationship, Iterable<T>, Serializable {
public final ResourceLinkage[] linkages;
private final Class<T> type;
private final Resourc... |
package net.imagej.legacy;
import ij.Executer;
import ij.IJ;
import ij.ImageJ;
import ij.ImagePlus;
import ij.Macro;
import ij.Menus;
import ij.WindowManager;
import ij.gui.ImageWindow;
import ij.gui.Toolbar;
import ij.io.Opener;
import ij.macro.Interpreter;
import ij.plugin.Commands;
import ij.plugin.PlugIn;
import ij... |
package org.basex.query;
import static org.basex.query.QueryText.*;
import static org.basex.query.util.Err.*;
import static org.basex.util.Token.*;
import static org.basex.util.ft.FTFlag.*;
import java.io.*;
import java.util.*;
import org.basex.core.*;
import org.basex.io.*;
import org.basex.io.serial.*;
import org.bas... |
package org.broad.igv.ui;
import org.apache.log4j.Logger;
import org.broad.igv.DirectoryManager;
import org.broad.igv.Globals;
import org.broad.igv.annotations.ForTesting;
import org.broad.igv.charts.ScatterPlotUtils;
import org.broad.igv.feature.genome.GenomeManager;
import org.broad.igv.ga4gh.Ga4ghAPIHelper;
import o... |
package org.jtrfp.trcl.flow;
import java.awt.Point;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import org.apache.commons.math3.geometry.euclid... |
package org.kohsuke.github;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Date;
public class GHThread extends GHObject {
private GitHub root;
private GHRepository repository;
private Subject subject;
private String reason;
private boolean unread;
private Stri... |
package org.pcollections;
import java.io.Serializable;
import java.util.AbstractSequentialList;
import java.util.Collection;
import java.util.Iterator;
import java.util.ListIterator;
/**
* A simple persistent stack of non-null values.
*
* <p>This implementation is thread-safe (assuming Java's AbstractSequentialList ... |
package org.testng.annotations;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Mark a class or a method as part of th... |
package tigase.server;
import java.lang.management.ManagementFactory;
import java.lang.management.MemoryUsage;
import java.lang.management.OperatingSystemMXBean;
import java.lang.management.ThreadMXBean;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.LinkedList;
import java.util.List;
i... |
package webbit.netty;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelPipelineFactory;
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
import org.jboss.netty.handler.c... |
package verification.platu.stategraph;
import java.io.*;
import java.util.*;
import lpn.parser.LhpnFile;
import lpn.parser.Transition;
import verification.platu.common.PlatuObj;
import verification.platu.lpn.DualHashMap;
import verification.platu.lpn.LPN;
import verification.platu.lpn.LpnTranList;
import verification.p... |
import htsjdk.samtools.SAMRecord;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Queue;
import java.util.LinkedList;
import java.util.Collection;
import java.io.BufferedWriter;
import java.io.File... |
package org.hbase.async.test;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Method;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStream;
import java.io.I... |
package org.commcare.tasks;
import android.content.Context;
import android.os.AsyncTask;
import org.commcare.CommCareApplication;
import org.commcare.logging.AndroidLogger;
import org.commcare.models.FormRecordProcessor;
import org.commcare.android.database.user.models.FormRecord;
import org.commcare.suite.model.Profil... |
package stroom.app;
import stroom.app.guice.BootStrapModule;
import stroom.cluster.lock.impl.db.ClusterLockConfig;
import stroom.cluster.lock.impl.db.ClusterLockConfig.ClusterLockDbConfig;
import stroom.config.app.AppConfig;
import stroom.config.app.Config;
import stroom.config.common.AbstractDbConfig;
import stroom.co... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package filedemultiplexer;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStre... |
package nl.mpi.kinnate.export;
import java.awt.Component;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import nl.mpi.arbil.userstorage.SessionStorage;
import nl.mpi.arbil.util.BugCatcherManager;
import nl.mpi.arbil.util.MessageDialogHandler;
import nl.mpi.kinna... |
package org.jivesoftware.wildfire.filetransfer.spi;
import org.jivesoftware.util.CacheSizes;
import org.jivesoftware.wildfire.filetransfer.ProxyTransfer;
import java.net.Socket;
import java.util.concurrent.Future;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.DataOu... |
package foam.core;
import foam.dao.pg.IndexedPreparedStatement;
import foam.nanos.logger.Logger;
import java.lang.UnsupportedOperationException;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import javax.xml.stream.XMLStreamConstants;
import javax.xml.stream.XMLStreamException;
import ... |
package org.voltdb.utils;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Map;
import ... |
package ca.corefacility.bioinformatics.irida.ria.utilities;
import java.text.SimpleDateFormat;
/**
* This class is responsible for holding the formats of different Strings (e.g. Dates)
*
* @author Josh Adam <josh.adam@phac-aspc.gc.ca>
*/
public interface Formats {
/**
* Default format for {@link java.util.... |
package com.akiban.server.types3.mcompat.mtypes;
import com.akiban.server.types3.common.BigDecimalWrapper;
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
public class MBigDecimalWrapper implements BigDecimalWrapper {
public static final MBigDecimalWrapper ZERO = new MBigDe... |
package com.antelink.sourcesquare.client.scan;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import java.util.TreeSet;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.a... |
package com.blackberry.kafka.lowoverhead.consumer;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.zip.CRC32;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.blackberry.kafka.lowoverhead.Constants;
import com.blackberry.kafka.lowoverhead.compression.Decompressor;
import com.... |
package com.codebetyars.skyhussars.engine.physics;
import com.jme3.math.FastMath;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class SymmetricAirfoil implements Airfoil {
private final static Logger logger = LoggerFactory.getLogger(S... |
package com.comandante.creeper.server;
import com.comandante.creeper.Main;
import com.comandante.creeper.managers.GameManager;
import com.comandante.creeper.managers.SentryManager;
import com.google.common.base.Optional;
import org.apache.log4j.Logger;
import org.jboss.netty.channel.*;
import static com.comandante.cree... |
package com.continuuity.data.operation.ttqueue;
import com.continuuity.api.data.OperationException;
import com.continuuity.api.data.OperationResult;
import com.continuuity.common.conf.CConfiguration;
import com.continuuity.common.utils.ImmutablePair;
import com.continuuity.data.operation.StatusCode;
import com.continuu... |
package com.elastic.support.diagnostics.commands;
import com.elastic.support.SystemProperties;
import com.elastic.support.diagnostics.DiagnosticContext;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream;
import org.apache.commons.co... |
package com.fangxuele.tool.wechat.push.ui.listener;
import com.fangxuele.tool.wechat.push.ui.Init;
import com.fangxuele.tool.wechat.push.ui.MainWindow;
import com.fangxuele.tool.wechat.push.util.DbUtilMySQL;
import com.fangxuele.tool.wechat.push.util.SystemUtil;
import com.xiaoleilu.hutool.log.Log;
import com.xiaoleilu... |
package com.fasterxml.jackson.databind.deser.impl;
import java.io.IOException;
import java.lang.reflect.Member;
import java.util.*;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.cfg.MapperConfig;
import com.fasterxml.jackson.databind.deser.CreatorProperty;
import com.fasterxml.jackson.d... |
package com.ferreusveritas.dynamictrees.models;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import org.lwjgl.util.vector.Vector3f;
import com.ferreusveritas.dynamictrees.blocks.BlockBranch;
import com.google.common.collect.Maps;
import net.minecraft.bloc... |
package org.batfish.main;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.URISyntaxException;
import... |
package com.fincatto.documentofiscal.mdfe3.classes;
import com.fincatto.documentofiscal.DFAmbiente;
import com.fincatto.documentofiscal.DFUnidadeFederativa;
import java.util.Arrays;
public enum MDFAutorizador3 {
RS {
@Override
public String getMDFeRecepcao(DFAmbiente ambiente) {
return D... |
package com.sun.star.wizards.ui;
import com.sun.star.awt.XTextComponent;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.Exception;
import com.sun.star.wizards.common.FileAccess;
import com.sun.star.wizards.common.SystemDialog;
public class PathSelection {
UnoDialog2 CurUnoDialog;
XMultiS... |
package com.github.minaasham.offheap.largecollections;
import com.github.minaasham.offheap.largecollections.serialization.FixedSizeObjectSerializer;
import com.github.minaasham.offheap.largecollections.serialization.MemoryReader;
import com.github.minaasham.offheap.largecollections.serialization.ObjectSerializer;
impor... |
package com.github.sbugat.nqueens;
public abstract class GenericInstrumentedNQueensSolver extends GenericNQueensSolver {
/** Number of queen placements counter. */
protected long queenPlacementsCount;
/** Number of square reads counter. */
protected long squareReadsCount;
/** Number of tests done co... |
package com.kryptnostic.rhizome.hazelcast.serializers;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.Collection;
import java.util.EnumSet;
import java.util.Map;
import java.util.Set;
import org.slf4j.L... |
package com.nextcloud.android.sso.exceptions;
import android.content.Context;
import com.nextcloud.android.sso.model.ExceptionMessage;
public class UnknownErrorException extends SSOException {
public UnknownErrorException() {
super();
}
public UnknownErrorException(String message) {
super();... |
package com.persado.oss.quality.stevia.selenium.core;
import com.persado.oss.quality.stevia.annotations.AnnotationsHelper;
import com.persado.oss.quality.stevia.selenium.core.controllers.WebDriverWebController;
import com.persado.oss.quality.stevia.testng.Verify;
import org.openqa.selenium.WebDriverException;
import or... |
package com.tealcube.minecraft.bukkit.facecore.ui;
import com.google.common.base.Preconditions;
import com.tealcube.minecraft.bukkit.TextUtils;
import com.tealcube.minecraft.bukkit.mirror.ClassType;
import com.tealcube.minecraft.bukkit.mirror.Mirror;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import jav... |
package com.ziffit.autoconfigure.spring.security;
public class SecurityConstants {
public static final String AUTHORIZATION_HEADER = "Authorization";
public static final String ROLE_ANONYMOUS = "ROLE_ANONYMOUS";
public static final String ROLE_USER = "ROLE_USER";
public static final String JWT_AUTHORITI... |
package cz.cvut.fel.a4m36jee.airlines.view;
import cz.cvut.fel.a4m36jee.airlines.model.Flight;
import cz.cvut.fel.a4m36jee.airlines.model.Reservation;
import cz.cvut.fel.a4m36jee.airlines.service.FlightService;
import cz.cvut.fel.a4m36jee.airlines.service.ReservationService;
import javax.enterprise.context.RequestScope... |
package de.frosner.datagenerator.gui.main;
import javax.swing.SwingWorker;
import de.frosner.datagenerator.export.CsvExportConfiguration;
import de.frosner.datagenerator.generator.DataGeneratorService;
/**
* {@link SwingWorker} accessing the {@link DataGeneratorService} in a separate thread. It also toggles the genera... |
package middleman;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.notNullValue;
import middleman.proxy.DummyHttpServer;
import middleman.proxy.DummyHttpServer.ReceivedRequest;
import middleman.utils.Block;
import org.junit.BeforeClass;... |
package eu.musesproject.server.knowledgecompiler;
import java.util.List;
import org.apache.log4j.Logger;
import eu.musesproject.server.dataminer.DataMiner;
import eu.musesproject.server.db.handler.DBManager;
import eu.musesproject.server.entity.SecurityRules;
import eu.musesproject.server.knowledgerefinementsystem.mode... |
package pt.fccn.arquivo.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.WebElement;
/**
* Represents the page with the terms and conditions.
* @author S... |
package info.u_team.u_team_core.gui.renderer;
import java.util.function.Supplier;
import com.mojang.blaze3d.matrix.MatrixStack;
import info.u_team.u_team_core.util.RenderUtil;
import info.u_team.u_team_core.util.RenderUtil.Matrix4fExtended;
import net.minecraft.client.*;
import net.minecraft.client.gui.FontRenderer;
im... |
package io.scalecube.gateway.websocket.message;
import static com.fasterxml.jackson.core.JsonToken.VALUE_NULL;
import static io.scalecube.gateway.websocket.message.GatewayMessage.DATA_FIELD;
import static io.scalecube.gateway.websocket.message.GatewayMessage.SIGNAL_FIELD;
import static io.scalecube.gateway.websocket.me... |
package net.malisis.core.client.gui.component.interaction;
import static com.google.common.base.Preconditions.*;
import org.apache.commons.lang3.StringUtils;
import com.google.common.base.Converter;
import com.mojang.realmsclient.gui.ChatFormatting;
import net.malisis.core.client.gui.GuiRenderer;
import net.malisis.cor... |
package net.nunnerycode.bukkit.mythicdrops.items;
import net.nunnerycode.bukkit.mythicdrops.MythicDropsPlugin;
import net.nunnerycode.bukkit.mythicdrops.api.enchantments.MythicEnchantment;
import net.nunnerycode.bukkit.mythicdrops.api.items.ItemGenerationReason;
import net.nunnerycode.bukkit.mythicdrops.api.items.Mythi... |
package nl.tudelft.lifetiles.graph.models.sequence;
import java.util.Set;
import nl.tudelft.lifetiles.graph.view.Mutation;
/**
* @author Rutger van den Berg Contains a partial sequence.
*/
public class SequenceSegment implements Comparable<SequenceSegment> {
/**
* The content of this segment.
*/
pri... |
package nl.tudelft.lifetiles.graph.models.sequence;
import java.util.Iterator;
import java.util.Set;
import nl.tudelft.lifetiles.graph.view.Mutation;
/**
* @author Rutger van den Berg Contains a partial sequence.
*/
public class SequenceSegment implements Comparable<SequenceSegment> {
/**
* The content of th... |
package org.albaross.agents4j.learning.common;
import java.util.List;
import java.util.Map;
import org.albaross.agents4j.core.Agent;
import org.albaross.agents4j.learning.MDPWrapper;
import org.albaross.agents4j.learning.RLEnvironment;
import org.deeplearning4j.rl4j.mdp.MDP;
import org.deeplearning4j.rl4j.space.Discret... |
package org.eclipse.che.ide.flux.liveedit;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.che.api.machine.gwt.client.MachineManager;
import org.eclipse.che.api.machine.gwt.client.MachineServiceClient;
import org.eclipse.che.api.machine.shared.dto.MachineProcessDto;
import org.... |
package org.jbpm.simulation.impl;
import java.util.ArrayList;
import java.util.List;
import org.jbpm.simulation.AggregatedSimulationEvent;
import org.jbpm.simulation.SimulationEvent;
import org.jbpm.simulation.impl.events.AggregatedActivitySimulationEvent;
import org.jbpm.simulation.impl.events.AggregatedProcessSimulat... |
package org.mariadb.jdbc.internal.protocol;
import org.mariadb.jdbc.HostAddress;
import org.mariadb.jdbc.MariaDbConnection;
import org.mariadb.jdbc.UrlParser;
import org.mariadb.jdbc.internal.MariaDbServerCapabilities;
import org.mariadb.jdbc.internal.MyX509TrustManager;
import org.mariadb.jdbc.internal.failover.Failov... |
package org.mbari.m3.vars.annotation.commands;
import org.mbari.m3.vars.annotation.UIToolBox;
import org.mbari.m3.vars.annotation.events.AnnotationsChangedEvent;
import org.mbari.m3.vars.annotation.model.Annotation;
import org.mbari.m3.vars.annotation.model.User;
import org.mbari.m3.vars.annotation.services.ConceptServ... |
package org.neo4j.kernel.impl.transaction.xaframework;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.ReadableByteChannel;
import java.util.HashMap;
import java.util.Map;
import java.util.loggin... |
package org.neo4j.kernel.impl.transaction.xaframework;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.ReadableByteChannel;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.... |
package org.spongepowered.server.mixin.server;
import net.minecraft.crash.CrashReport;
import net.minecraft.network.NetworkSystem;
import net.minecraft.network.ServerStatusResponse;
import net.minecraft.network.play.server.SPacketTimeUpdate;
import net.minecraft.profiler.Profiler;
import net.minecraft.server.MinecraftS... |
package org.squiddev.cctweaks.core.integration.multipart;
import codechicken.lib.data.MCDataInput;
import codechicken.lib.data.MCDataOutput;
import codechicken.lib.raytracer.IndexedCuboid6;
import codechicken.lib.render.TextureUtils;
import codechicken.lib.vec.Cuboid6;
import codechicken.lib.vec.Vector3;
import codechi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.