answer stringlengths 17 10.2M |
|---|
package org.jgroups.protocols.pbcast;
import org.jgroups.*;
import org.jgroups.protocols.PingData;
import org.jgroups.util.Promise;
import org.jgroups.util.Util;
import org.jgroups.util.Digest;
import org.jgroups.util.MutableDigest;
import java.util.*;
/**
* Client part of GMS. Whenever a new member wants to join a gr... |
package org.openchaos.android.fooping;
import org.openchaos.android.fooping.service.PingService;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import an... |
package org.shotlogger.example;
import org.shotlogger.Log;
/**
*
* @author shotbygun
*/
public class RandomShitGenerator implements Runnable {
int loops, sleep, i;
String name;
public RandomShitGenerator(String name, int loops, int sleep) {
this.name = name;
this.loops = loops;
th... |
package org.vitrivr.cineast.core.util.dsp.fft;
import org.vitrivr.cineast.core.util.dsp.fft.windows.WindowFunction;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* @author rgasser
* @version 1.0
* @created 04.02.17
*/
public class STFT {
/** Sampli... |
package jade.core.messaging;
//#MIDP_EXCLUDE_FILE
import java.util.Date;
import jade.domain.FIPAAgentManagement.Envelope;
import jade.core.VerticalCommand;
import jade.core.AgentContainer;
import jade.core.Filter;
import jade.core.AID;
import jade.lang.acl.ACLMessage;
import jade.lang.acl.ACLCodec;
import jade.lang.acl... |
package fr.jayasoft.ivy.util;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Stack;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import fr.jayasoft.ivy.Artifact;
import fr.jayasoft.... |
package org.apache.lucene.search;
import java.io.IOException;
import java.util.Vector;
import org.apache.lucene.index.IndexReader;
/** A Query that matches documents matching boolean combinations of other
queries, typically {@link TermQuery}s or {@link PhraseQuery}s.
*/
public class BooleanQuery extends Query {
p... |
package org.joda.time.field;
import java.util.Locale;
import org.joda.time.DateTimeField;
import org.joda.time.DateTimeFieldType;
import org.joda.time.DurationField;
import org.joda.time.ReadablePartial;
/**
* BaseDateTimeField provides the common behaviour for DateTimeField
* implementations.
* <p>
* This class sh... |
package org.jsimpledb.kv.sql;
import com.google.common.base.Preconditions;
import java.io.Closeable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.concurrent.Fut... |
/*
* Este codigo pertenece a miguel.navarrovera@gmail.com
* Su uso esta prohibido para uso comercial.
* Si tienes interes en usarlo, ponte en contacto conmigo, Gracias. :D
*/
package org.mig.java.Commands;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.... |
package krasa.grepconsole.grep;
import com.intellij.execution.ExecutionHelper;
import com.intellij.execution.impl.ConsoleViewImpl;
import com.intellij.execution.ui.ConsoleView;
import com.intellij.execution.ui.RunContentDescriptor;
import com.intellij.openapi.project.Project;
import com.intellij.ui.AppUIUtil;
import co... |
package com.haulmont.cuba.web;
import com.haulmont.cuba.core.global.*;
import com.haulmont.cuba.core.sys.AppContext;
import com.haulmont.cuba.gui.AppConfig;
import com.haulmont.cuba.security.global.LoginException;
import com.haulmont.cuba.security.global.UserSession;
import com.haulmont.cuba.web.exception.*;
import com... |
package ameba.http.session;
import ameba.core.Requests;
import ameba.mvc.assets.AssetsResource;
import ameba.util.Cookies;
import ameba.util.Times;
import com.google.common.base.Charsets;
import com.google.common.hash.Hashing;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.annotation.Priority;
im... |
package cn.effine.contants;
public class PageConstants {
private PageConstants(){}
public static final String SIGNUP = "signup";
} |
package com.airbnb.plog;
import com.google.common.cache.*;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageDecoder;
import lombok.extern.slf4j.Slf4j;
import java.util.List;
/* TODO(pierre): much more instrumentation */
@Slf4j
public class PlogDefragmenter extends MessageToMe... |
package com.annimon.ownlang.lib;
import com.annimon.ownlang.exceptions.TypeException;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Objects;
import java.util.function.Consumer;
/**
*
* @author aNNiMON
*/
public class MapValue implements Value, Iterable<Map.Entry<Va... |
package com.attask.jenkins;
import hudson.*;
import hudson.model.*;
import hudson.tasks.*;
import hudson.tasks.Messages;
import hudson.util.ListBoxModel;
import jenkins.model.Jenkins;
import net.sf.json.JSONObject;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.DataBoundConstructor;
import org.ko... |
package com.easycamera;
import android.graphics.SurfaceTexture;
import android.hardware.Camera;
import android.view.SurfaceHolder;
import java.io.IOException;
public class DefaultEasyCamera implements EasyCamera {
private Camera camera;
public static final EasyCamera open() {
return new DefaultEasyCamer... |
package com.extjs.selenium.button;
import com.extjs.selenium.ExtJsComponent;
import com.extjs.selenium.Utils;
import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebDriverConfig;
import com.sdl.selenium.web.WebLocator;
import org.apache.log4j.Logger;
import org.openqa.selenium.Keys;
public class Button ... |
package ru.kru.nick;
import ru.kru.nick.deck.Deck;
import javax.persistence.*;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.regex.MatchResult;
@Entity
@Table(name = "PLAYERS")
public class Player {
Long id;
Date registerDate;
HashMap<Player, Statistics> statistics... |
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
package com.google.sps.data;
import com.google.api.gax.rpc.FixedHeaderProvider;
import com.google.api.gax.rpc.HeaderProvider;
import com.google.api.gax.rpc.InvalidArgumentEx... |
package com.jayson.utils.jpeg;
import com.jayson.utils.Historgram;
import java.io.BufferedOutputStream;
import java.io.Closeable;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintStream;
import java.util.HashMap;
import java.util.Map;
import java.util... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
// This file is part of the Kaltura Collaborative Media Suite which allows users
// to do with audio, video, and animation what Wiki platfroms allow them to do with
// text.
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// T... |
package com.liminghuang.queue;
import java.util.Stack;
/**
* ProjectName: example
* PackageName: com.liminghuang
* Description:
* .
* <p>
* CreateTime: 2017/8/15 22:33
* Modifier: Adaministrator
* ModifyTime: 2017/8/15 22:33
* Comment:
*
* @author Adaministrator
*/
public class StackQueue {
private Stac... |
package com.mythicmc.mythic.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Logger {
public static boolean showThread = true;
private static SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
public static void info(String format, Object...objects) {
logf("info", ... |
package com.socrata.datasync;
import com.google.common.net.HttpHeaders;
import com.socrata.datasync.config.userpreferences.UserPreferences;
import org.apache.commons.net.util.Base64;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.Us... |
package com.tomgibara.storage;
/**
* Exposes methods for manipulating mutability.
*
* @author Tom Gibara
*
* @param <T> the underlying type
*/
public interface Mutability<T> {
/**
* Whether the object is mutable.
*
* @return true if mutable, false otherwise
*/
boolean isMutable();
... |
package com.untamedears.humbug;
import org.bukkit.craftbukkit.v1_6_R3.entity.CraftHorse;
import net.minecraft.server.v1_6_R3.AttributeInstance;
import net.minecraft.server.v1_6_R3.AttributeRanged;
import net.minecraft.server.v1_6_R3.EntityHorse;
import net.minecraft.server.v1_6_R3.GenericAttributes;
import net.minecraf... |
package de.domisum.lib.auxilium.util;
import de.domisum.lib.auxilium.util.java.annotations.API;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* PlaceHolderReplacer.
* <p>
* Replaces placeholders in strings with suppl... |
package de.mxro.maven.tools;
import static org.joox.JOOX.$;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileFilter;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import ... |
package eu.lp0.cursus.db.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import eu.lp0.cursus.db.DatabaseSession;
import eu... |
package hudson.remoting;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
/**
* {@link InputStream} that reads bits from an exported
* {@link InputStream} on a remote machine.
*
* <p>
* TODO: pre-fetch bytes in advance
*
* @author Kohsuke Kawaguchi... |
package io.taig.android.dp;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.*;
import android.os.Build;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.Colo... |
package javaslang.collection;
import javaslang.Tuple2;
import javaslang.Kind;
import javaslang.algebra.Monoid;
import javaslang.control.Match;
import javaslang.control.None;
import javaslang.control.Option;
import javaslang.control.Some;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.*;
impo... |
package me.coley.recaf.ui;
import javafx.application.Platform;
import javafx.scene.control.*;
import javafx.stage.FileChooser;
import javafx.stage.Window;
import me.coley.recaf.control.gui.GuiController;
import me.coley.recaf.decompile.DecompileImpl;
import me.coley.recaf.plugin.PluginsManager;
import me.coley.recaf.pl... |
package me.mgerdes.raytracer.World;
import me.mgerdes.raytracer.Color.RGBColor;
import me.mgerdes.raytracer.GeometricObjects.GeometricObject;
import me.mgerdes.raytracer.GeometricObjects.Sphere;
import me.mgerdes.raytracer.Light.Light;
import me.mgerdes.raytracer.Light.PointLight;
import me.mgerdes.raytracer.Material.M... |
package mil.dds.anet.utils;
import com.codahale.metrics.MetricRegistry;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import mil.dds.anet.AnetObjectEngine;
import mil.... |
package mx.nic.rdap.db.model;
import java.io.IOException;
import java.net.IDN;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.InetAddress;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
impor... |
package net.bootsfaces.render;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
import javax.faces.component.UIForm;
import net.bootsfaces.component.ajax.AJAXRenderer;
import net.bootsfaces.component.form.Form;
publi... |
package net.darkhax.tesla.lib;
import java.util.ArrayList;
import java.util.List;
import net.darkhax.tesla.api.ITeslaHandler;
import net.darkhax.tesla.capability.TeslaStorage;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.... |
package net.sf.jabref.gui;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.event.PopupMenuEvent;
import javax.swing.event.PopupMenuListener;
import net.sf.jabref.*;
import net.sf.jabref.groups.*;
import net.sf.jabref.groups.structur... |
package org.basex.http.restxq;
import static org.basex.http.restxq.RestXqText.*;
import static org.basex.query.QueryText.*;
import static org.basex.util.Token.*;
import java.util.*;
import java.util.regex.*;
import org.basex.http.*;
import org.basex.query.util.inspect.*;
import org.basex.query.value.item.*;
import org.... |
package org.cobbzilla.util.http;
import lombok.Cleanup;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.ArrayUtils;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHeaders;
imp... |
package org.embulk.output;
import java.io.File;
import java.io.IOException;
import java.io.FileInputStream;
import com.google.api.client.http.FileContent;
import com.google.api.client.http.InputStreamContent;
import java.util.ArrayList;
import java.util.List;
import java.util.Iterator;
import java.util.HashMap;
import ... |
package org.jtrfp.trcl.core;
import java.util.concurrent.Callable;
import com.jogamp.opengl.GLAutoDrawable;
import com.jogamp.opengl.GLContext;
import com.jogamp.opengl.GLRunnable;
import com.jogamp.opengl.awt.GLCanvas;
public class GLFutureTask<V> extends TRFutureTask<V> implements GLRunnable {
private final GLCan... |
package org.jtrfp.trcl.mem;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.jtrfp.trcl.core.IndexPool;
import org.jtrfp.trcl.core.IndexPool.GrowthBehavior;
import org.jtrfp.trcl.gpu.GLProgram;
import org.jtrfp.trcl.gpu.GLUniform;
import org.jtrfp.trcl.gpu.GPU;
import org.jtrfp.trcl.gpu.MemoryUsageHin... |
package org.jtrfp.trcl.obj;
import org.apache.commons.math3.geometry.euclidean.threed.Vector3D;
import org.jtrfp.trcl.Controller;
import org.jtrfp.trcl.RenderMode;
import org.jtrfp.trcl.Triangle;
import org.jtrfp.trcl.beh.Behavior;
import org.jtrfp.trcl.beh.CollisionBehavior;
import org.jtrfp.trcl.core.TR;
import org.j... |
package org.lantern;
import java.io.IOException;
import org.lantern.state.StaticSettings;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Inject;
import com.google.inject.Singleton;
@Singleton
public class ChromeBrowserService implements BrowserService {
private final Logger log = ... |
package org.lightmare.deploy;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
i... |
package org.ndexbio.model.object;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
@JsonIgnoreProperties(ignoreUnknow... |
package org.scijava.console;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Map;
import org.scijava.command.CommandInfo;
import org.scijava.log.LogService;
import org.scijava.module.ModuleInfo;
import org.scijava.module.ModuleItem;
/**
* Helper class for {@link Conso... |
package org.spongepowered.mod;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.ChatComponentText;
import net.minecraft... |
package pl.koziolekweb.sqrlaw.utils;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Random;
import java.util.stream.Collectors;
/**
* TODO write JAVADOC!!!
* User: koziolek
*/
public interface Dice {
public static final Dice K4 = () -> 4;
public static final Dice K6 = () -> 6;
... |
package redis.clients.jedis;
import static redis.clients.jedis.Protocol.toByteArray;
import static redis.clients.jedis.Protocol.Command.*;
import static redis.clients.jedis.Protocol.Keyword.LIMIT;
import static redis.clients.jedis.Protocol.Keyword.NO;
import static redis.clients.jedis.Protocol.Keyword.ONE;
import stati... |
package seedu.address.model;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Optional;
import java.util.function.Predicate;
import java.util.logging.Logger;
import javafx.collections.ObservableList;
import seedu.address.commons.core.ComponentManager;
import seedu.address.commons.core.LogsCente... |
package seedu.geekeep.ui;
import java.util.Date;
import java.util.logging.Logger;
import org.controlsfx.control.StatusBar;
import com.google.common.eventbus.Subscribe;
import javafx.fxml.FXML;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.Region;
import seedu.geekeep.commons.core.LogsCenter;
import ... |
package stsc.storage;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.Path;
import java.util.Set;
import java.util.TimeZone;
import com.google.common.collect.Sets;
import stsc.common.stocks.UnitedFormatStock;
import stsc.common.storage.StockStorage;
/**
* StockStorageFactory is a fac... |
package teetime.framework;
import java.util.Collection;
import java.util.List;
import teetime.framework.signal.ISignal;
import teetime.framework.validation.InvalidPortConnection;
/**
* Represents a minimal stage that composes several other stages.
*
* @since 1.1
* @author Christian Wulf
*
*/
@SuppressWarnings("PM... |
package tigase.conf;
import tigase.db.AuthRepository;
import tigase.db.AuthRepositoryMDImpl;
import tigase.db.DBInitException;
import tigase.db.RepositoryFactory;
import tigase.db.TigaseDBException;
import tigase.db.UserRepository;
import tigase.db.UserRepositoryMDImpl;
import tigase.db.comp.ComponentRepository;
import... |
package com.exedio.cope;
public class EnumTest extends AbstractLibTest
{
static final Model MODEL = new Model(EnumItem.TYPE, EnumItem2.TYPE);
EnumItem item;
EnumItem2 item2;
private static final EnumItem.Status status1 = EnumItem.Status.status1;
private static final EnumItem2.Status state1 = EnumIte... |
package water.rapids;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import water.*;
import water.fvec.Frame;
import water.fvec.NFSFileVec;
import water.fvec.Vec;
import water.parser.ParseDataset;
import water.parser.ParseSetup;
import water.rapids.ast.AstRoot;
import water.rapids.ast.par... |
package h2o.dao;
import h2o.common.util.ioc.ButterflyFactory;
import h2o.common.util.ioc.Factory;
public final class DbConfigProvider {
public static Factory getDbConfig() {
ButterflyFactory dbButterflyFactory = new ButterflyFactory( "db" , "db.bcs");
Factory factory = dbButterflyFactory.silentlyGet... |
package wraith.library.LWJGL;
public class Camera extends Object3D{
public float goalX, goalY, goalZ, goalRX, goalRY, goalRZ, goalSX, goalSY, goalSZ;
public float cameraSpeed = 1;
public Camera(float fov, float aspect, float near, float far){ MatrixUtils.setupPerspective(fov, aspect, near, far); }
publi... |
package alien4cloud.paas.cloudify3.blueprint;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.List;
import jav... |
package com.creativemd.littletiles.common.structure;
import java.util.ArrayList;
import java.util.List;
import com.creativemd.creativecore.common.utils.ColorUtils;
import com.creativemd.creativecore.common.utils.ColoredCube;
import com.creativemd.littletiles.client.tiles.LittleRenderingCube;
import com.creativemd.littl... |
package com.planet_ink.coffee_mud.Behaviors;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.CMSecurity.DbgFlag;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.pla... |
package com.foundationdb.sql.optimizer.rule;
import com.foundationdb.ais.model.Column;
import com.foundationdb.ais.model.ColumnContainer;
import com.foundationdb.ais.model.Routine;
import com.foundationdb.qp.operator.QueryContext;
import com.foundationdb.server.error.AkibanInternalException;
import com.foundationdb.ser... |
package com.github.davidmoten.rx2.internal.flowable;
import java.io.IOException;
import java.io.InputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.util.concurrent.Callable;
import com.github.davidmoten.rx2.Bytes;
import... |
package com.github.frankfarrell.snowball.controller;
import com.github.frankfarrell.snowball.exceptions.AlreadyExistsException;
import com.github.frankfarrell.snowball.exceptions.NotFoundException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cache.interceptor.CacheOperationInvoke... |
package com.github.kongchen.swagger.docgen.spring;
import com.github.kongchen.swagger.docgen.reader.AbstractReader;
import com.wordnik.swagger.annotations.ApiOperation;
import com.wordnik.swagger.converter.ModelConverters;
import com.wordnik.swagger.jaxrs.ext.AbstractSwaggerExtension;
import com.wordnik.swagger.jaxrs.e... |
package com.gmail.at.zhuikov.aleksandr.driveddoc.service;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.logging.Logger;
import javax.inject.Singleton;
import org.apache.commons.compress.utils.IOUtils;
import com.google.appengine... |
package de.espend.idea.shopware.inspection.quickfix;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.ScrollType;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.inte... |
package edu.ucar.unidata.rosetta.repository.wizard;
import edu.ucar.unidata.rosetta.domain.MetadataProfile;
import org.apache.commons.io.FilenameUtils;
import org.apache.log4j.Logger;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.w3c.dom.*;
import org.xml.... |
package info.u_team.u_team_core.intern.discord;
import info.u_team.u_team_core.UCoreMod;
import info.u_team.u_team_core.intern.config.ClientConfig;
import info.u_team.u_team_core.intern.discord.DiscordRichPresence.*;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.player.ClientPlayerEntity;
im... |
package io.github.lukehutch.fastclasspathscanner.scanner;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler;
import io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxClas... |
package nom.bdezonia.zorbage.type.data.float64.real;
import nom.bdezonia.zorbage.groups.G;
//note that many implementations of tensors on the internet treat them as generalized matrices.
//they do not worry about upper and lower indices or even matching shapes. They do element by
//element ops like sin() of each elem.
... |
package nu.studer.teamcity.buildscan.internal;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Charsets;
import jetbrains.buildServer.ArtifactsConstants;
import jetbrains.buildServer.serverSide.SBuild;
import nu.studer.teamcity.buildscan.BuildScanDataStore;
import nu.studer.teamcit... |
package org.jenkinsci.plugins.ghprb.extensions.comments;
import hudson.Extension;
import hudson.FilePath;
import hudson.model.Build;
import hudson.model.Run;
import hudson.model.TaskListener;
import org.apache.commons.io.FileUtils;
import org.jenkinsci.plugins.ghprb.Ghprb;
import org.jenkinsci.plugins.ghprb.extensions.... |
package org.spongepowered.common.mixin.core.entity;
import static com.google.common.base.Preconditions.checkNotNull;
import com.flowpowered.math.vector.Vector3d;
import net.minecraft.block.state.IBlockState;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.Entity;
import net.minecraft.ent... |
package org.ucombinator.jaam.visualizer.controllers;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.control.Label;
import javafx.scene.control.MenuItem;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.paint.Color;
import javafx.scene.sh... |
// MinimumWriter.java
import loci.common.services.ServiceFactory;
import loci.formats.*;
import loci.formats.meta.IMetadata;
import loci.formats.services.OMEXMLService;
import ome.xml.model.enums.DimensionOrder;
import ome.xml.model.enums.PixelType;
import ome.xml.model.primitives.PositiveInteger;
public class MinimumW... |
package net.java.sip.communicator.impl.protocol.icq;
import java.util.*;
import net.java.sip.communicator.impl.protocol.gibberish.*;
import net.java.sip.communicator.service.protocol.*;
import net.java.sip.communicator.service.protocol.event.*;
import net.java.sip.communicator.util.*;
import net.kano.joscar.flap.*;
imp... |
package net.java.sip.communicator.impl.protocol.sip;
import gov.nist.javax.sip.address.*;
import gov.nist.javax.sip.header.*;
import gov.nist.javax.sip.message.*;
import net.java.sip.communicator.impl.protocol.sip.net.*;
import net.java.sip.communicator.impl.protocol.sip.security.*;
import net.java.sip.communicator.ser... |
package org.mtransit.parser.ca_gtha_go_transit_train;
import java.util.HashSet;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.mtransit.parser.DefaultAgencyTools;
import org.mtransit.parser.Utils;
import org.mtransit.parser.... |
package dk.statsbiblioteket.newspaper.md5checker;
import org.testng.Assert;
import org.testng.annotations.Test;
import dk.statsbiblioteket.medieplatform.autonomous.Batch;
import dk.statsbiblioteket.medieplatform.autonomous.ResultCollector;
/** Test MD5 checker */
public class MD5CheckerComponentTest {
@Test
/**... |
package org.alienlabs.hatchetharry.integrationTest;
import java.util.concurrent.TimeUnit;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import ... |
package org.alienlabs.hatchetharry.integrationTest;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.Javas... |
package org.alienlabs.hatchetharry.integrationTest;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.webapp.WebAppContext;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.openqa.seleniu... |
package org.cru.godtools.tests;
import com.google.common.collect.ImmutableSet;
import org.cru.godtools.api.packages.GodToolsPackageService;
import org.cru.godtools.api.translations.DraftTranslationUpdateProcess;
import org.cru.godtools.api.translations.GodToolsTranslationService;
import org.cru.godtools.api.translation... |
package org.opendaylight.bgpcep.tcpmd5.nio;
import java.io.IOException;
import java.net.SocketOption;
import java.nio.channels.NetworkChannel;
import java.util.Set;
import org.opendaylight.bgpcep.tcpmd5.KeyAccess;
import org.opendaylight.bgpcep.tcpmd5.KeyAccessFactory;
import org.opendaylight.bgpcep.tcpmd5.KeyMapping;
... |
package org.restheart.test.plugins.interceptors;
import io.undertow.server.HttpServerExchange;
import java.util.Map;
import org.bson.BsonDocument;
import org.bson.BsonValue;
import org.restheart.handlers.exchange.BsonRequest;
import org.restheart.handlers.exchange.BsonResponse;
import org.restheart.plugins.InjectConfig... |
package fredboat.command.fun;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.async.Callback;
import com.mashape.unirest.http.exceptions.UnirestException;
import fredboat.commandmeta.abs.Command;
import fredboat.util.CacheUtil;
import net.dv8tion.jd... |
package com.sometrik.framework;
import java.io.IOException;
import java.io.InputStream;
import com.sometrik.framework.NativeCommand.Selector;
import android.content.res.AssetManager;
import android.content.res.ColorStateList;
import android.graphics.Bitmap.Config;
import android.graphics.Color;
import android.graphics.... |
package com.sometrik.framework;
import java.io.IOException;
import java.io.InputStream;
import com.sometrik.framework.NativeCommand.Selector;
import android.content.res.AssetManager;
import android.content.res.ColorStateList;
import android.graphics.Bitmap.Config;
import android.graphics.Color;
import android.graphics.... |
package oap.io;
import com.google.common.io.ByteStreams;
import com.google.common.io.CountingInputStream;
import oap.util.Stream;
import oap.util.Strings;
import oap.util.Try;
import java.io.*;
import java.net.URL;
import java.net.URLConnection;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
impor... |
package com.restfb.types;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import com.restfb.Facebook;
import com.restfb.util.DateUtils;
import com.restfb.util.ReflectionUtils;
public class User ex... |
package mazemaker;
import java.net.URL;
import java.util.List;
import java.util.ResourceBundle;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.beans.binding.DoubleBinding;
import javafx.beans.property.IntegerPro... |
package com.almasb.fxgl.app;
import com.almasb.fxgl.core.EngineService;
import com.almasb.fxgl.core.concurrent.Async;
import com.almasb.fxgl.core.concurrent.IOTask;
import com.almasb.fxgl.core.reflect.ReflectionUtils;
import com.almasb.fxgl.core.serialization.Bundle;
import com.almasb.fxgl.core.util.Platform;
import co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.