answer stringlengths 17 10.2M |
|---|
package org.bootstrapjsp.support;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.JspTag;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import org.bootstrapjsp.util.Config;
public abstract ... |
package org.bouncycastle.cms;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlg... |
package org.bouncycastle.crypto.digests;
import org.bouncycastle.crypto.*;
/**
* implementation of MD2
* as outlined in RFC1319 by B.Kaliski from RSA Laboratories April 1992
*/
public class MD2Digest
implements ExtendedDigest
{
private static final int DIGEST_LENGTH = 16;
/* X buffer */
private byte[... |
package org.bouncycastle.crypto.generators;
import org.bouncycastle.crypto.PBEParametersGenerator;
import org.bouncycastle.crypto.digests.SHA256Digest;
import org.bouncycastle.crypto.engines.Salsa20Engine;
import org.bouncycastle.crypto.params.KeyParameter;
import org.bouncycastle.crypto.util.Pack;
import org.bouncycas... |
package org.broad.igv.hic.tools;
import org.broad.igv.util.ParsingUtils;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.regex.Pattern;
/**
* @author Jim Robinson
* @date 9/24/11
*/
public clas... |
package org.camsrobotics.frc2016.subsystems;
import org.camsrobotics.lib.Loopable;
/**
* Drivebase Interface
*
* @author Wesley
*
*/
public class Drive implements Loopable {
/**
* Send a DriveSignal to the drivebase to control it
*
* @author Wesley
*
*/
public class DriveSignal ... |
/*
* @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a>
* @version $Id$
*/
package org.gridlab.gridsphere.layout;
import org.gridlab.gridsphere.core.persistence.PersistenceManagerException;
import org.gridlab.gridsphere.layout.view.Render;
import org.gridlab.gridsphere.portlet.*;
import org.gridlab.gridsp... |
package org.jaudiotagger.audio.mp3;
import org.jaudiotagger.audio.AbstractAudioHeader;
import org.jaudiotagger.audio.InvalidAudioFrameException;
import java.util.*;
import java.util.logging.Level;
import java.io.*;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.nio.channels.FileChannel;... |
package org.jaudiotagger.tag.id3;
import org.jaudiotagger.tag.AbstractTag;
import java.io.*;
import java.io.RandomAccessFile;
import org.jaudiotagger.audio.mp3.*;
import org.jaudiotagger.tag.TagException;
import org.jaudiotagger.tag.TagNotFoundException;
import org.jaudiotagger.tag.*;
import org.jaudiotagger.tag.id3.fr... |
// $Id: CoordGmsImpl.java,v 1.52 2006/10/23 16:12:23 vlada Exp $
package org.jgroups.protocols.pbcast;
import org.jgroups.*;
import org.jgroups.util.TimeScheduler;
import java.util.*;
/**
* Coordinator role of the Group MemberShip (GMS) protocol. Accepts JOIN and LEAVE requests and emits view changes
* accordingly.
... |
package org.objectweb.asm.util;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Attribute;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Label;
import org.objectweb.asm.Type;
import org.objectweb.asm.signature.SignatureReader;
import java.util.HashMap;
/**
* A {@link MethodVisit... |
package org.springframework.web.bind;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
/**
* Parameter extraction methods, for an approach distinct from data binding, in which
* parameters of specific types are required. This is very useful for simple submissions.
* @author Rod Jo... |
package simplejavacalculator;
public class SimpleJavaCalculator {
public static void main(String[] args) {
//cokolwiek moze nie
//wprowadzam zmiane jeszcze raz
UI uiCal = new UI();
uiCal.init();
}
} |
package beaform.entities;
import org.junit.Test;
import junit.framework.TestCase;
/**
* Test for the formula tag.
* @author Steven Post
*
*/
public class FormulaTagTest extends TestCase {
/**
* Test equals.
*/
@Test
public static void testEquals() {
final FormulaTag tag1 = new FormulaT... |
package com.tfl.api.test;
import com.frameworkium.core.api.tests.BaseTest;
import com.tfl.api.dto.bikepoints.BikePoints;
import com.tfl.api.dto.common.Place;
import com.tfl.api.service.bikepoints.BikePointService;
import com.tfl.api.service.bikepoints.BikePointsParamsBuilder;
import org.testng.annotations.BeforeClass;
... |
package com.thindeck.cockpit;
import com.jcabi.matchers.JaxbConverter;
import com.jcabi.matchers.XhtmlMatchers;
import com.thindeck.api.Memo;
import com.thindeck.api.mock.MkMemo;
import org.hamcrest.MatcherAssert;
import org.junit.Test;
import org.xembly.Directives;
/**
* Test case for {@link JxMemo}.
* @author Carlo... |
package creational.builder;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.runners.MockitoJUnitRunner;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.times;
import s... |
package de.adito.irradiate;
import de.adito.irradiate.common.DecayedException;
import de.adito.irradiate.emitters.CombiningEmitter;
import de.adito.irradiate.extra.*;
import org.junit.*;
import javax.swing.*;
import java.lang.reflect.InvocationTargetException;
import java.util.concurrent.atomic.AtomicBoolean;
import ja... |
package examples.cookies;
import com.vtence.molecule.WebServer;
import com.vtence.molecule.http.Cookie;
import com.vtence.molecule.lib.CookieJar;
import com.vtence.molecule.middlewares.Cookies;
import com.vtence.molecule.routing.DynamicRoutes;
import java.io.IOException;
/**
* <p>
* In this example we demonstrate... |
package examples.session;
import com.vtence.molecule.WebServer;
import com.vtence.molecule.middlewares.CookieSessionTracker;
import com.vtence.molecule.middlewares.Cookies;
import com.vtence.molecule.routing.DynamicRoutes;
import com.vtence.molecule.session.CookieSessionStore;
import com.vtence.molecule.session.Session... |
package hudson.plugins.git;
import hudson.FilePath;
import hudson.model.Label;
import hudson.slaves.DumbSlave;
import hudson.tools.ToolProperty;
import jenkins.plugins.git.CliGitCommand;
import jenkins.plugins.git.GitHooksConfiguration;
import org.apache.commons.io.FileUtils;
import org.jenkinsci.plugins.workflow.cps.C... |
package hudson.plugins.git;
import hudson.FilePath;
import hudson.Functions;
import hudson.model.Label;
import hudson.slaves.DumbSlave;
import hudson.tools.ToolProperty;
import jenkins.plugins.git.CliGitCommand;
import jenkins.plugins.git.GitHooksConfiguration;
import org.apache.commons.io.FileUtils;
import org.jenkins... |
package org.cactoos.scalar;
import org.cactoos.io.InputOf;
import org.cactoos.iterable.IterableOf;
import org.cactoos.list.ListOf;
import org.cactoos.text.TextOf;
import org.hamcrest.core.IsEqual;
import org.junit.Test;
import org.llorllale.cactoos.matchers.Assertion;
import org.llorllale.cactoos.matchers.HasValues;
/*... |
package org.gitlab4j.api;
import org.gitlab4j.api.GitLabApi.ApiVersion;
import org.gitlab4j.api.models.Comment;
import org.gitlab4j.api.models.Commit;
import org.gitlab4j.api.models.CommitRef;
import org.gitlab4j.api.models.Diff;
import org.gitlab4j.api.models.Project;
import org.junit.Before;
import org.junit.BeforeCl... |
package seedu.address.testutil;
import seedu.address.model.tag.UniqueTagList;
import seedu.address.model.task.*;
/**
* A mutable task object. For testing only.
*/
public class TestTask implements ReadOnlyTask {
private Name name;
private EndTime address;
private StartTime start;
private Date date;
... |
package seedu.address.testutil;
import com.google.common.io.Files;
import guitests.guihandles.TaskCardHandle;
import javafx.geometry.Bounds;
import javafx.geometry.Point2D;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyCodeCombination;
import javafx... |
package org.xins.tests.common.spec;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.xins.common.service.TargetDescriptor;
import org.xins.common.spec.APISpec;
import org.xins.common.sp... |
package yahoofinance.quotes.stock;
import yahoofinance.Stock;
import yahoofinance.Utils;
import yahoofinance.exchanges.ExchangeTimeZone;
import yahoofinance.quotes.QuotesProperty;
/**
*
* @author Stijn Strickx
*/
public class StockQuotesData {
private final String[] data;
public StockQuotesData(String[] data... |
package store.server;
import com.google.common.base.Optional;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
impo... |
package com.venky.swf.sql;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;
import c... |
package org.pentaho.agilebi.debug;
import org.pentaho.agilebi.modeler.ModelerException;
import org.pentaho.agilebi.modeler.ModelerMessagesHolder;
import org.pentaho.agilebi.modeler.ModelerWorkspace;
import org.pentaho.agilebi.spoon.SpoonModelerMessages;
import org.pentaho.agilebi.spoon.SpoonModelerWorkspaceHelper;
impo... |
package glm.mat._3;
import glm.mat._4.Mat4;
/**
*
* @author GBarbieri
*/
public class Mat3 extends matrixTransform {
public Mat3() {
this(1.0f);
}
public Mat3(float f) {
this(
f, 0, 0,
0, f, 0,
0, 0, f);
}
public Mat3(Mat3 mat) {
... |
package org.dataportal.csw;
import java.io.StringWriter;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
import org.apache.log4j.Logger;
/**
* @author Micho Garcia
*
*/
public class GetRecords {
private static Logger logger = Logger.g... |
package hudson.remoting;
import hudson.remoting.Channel.Mode;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import org.kohsuke.args4j.Option;
import org.kohsuke.args4j.CmdLineParser;
import org.kohsuke.args4j.CmdLineException;
import javax.xml.parsers.DocumentBuilder;
import... |
package net.cachapa.expandablelayoutdemo;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import... |
package foam.lib.json;
import foam.lib.parse.*;
public class KeyParser
implements Parser
{
protected Parser delegate;
public KeyParser(String key) {
delegate = new Alt(
Literal.create("\"" + key + "\""),
Literal.create(key));
}
public PStream parse(PStream ps, ParserContext x) {
return ps.... |
package com.almende.dialog.adapter;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java... |
package com.almende.dialog.adapter;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
impo... |
package com.rultor.ci;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
import com.jcabi.aspects.Immutable;
import com.jcabi.aspects.Loggable;
import com.jcabi.aspects.Tv;
import com.rultor.board.Announcement;
import com.rultor.shell.Batch;
import com.rultor.spi.Signal;
import ... |
package com.almende.dialog.adapter;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
impo... |
package com.exedio.cope;
/**
* Signals, that an attempt to find an item by it's ID has been failed,
* because there is no item with such an ID.
*
* This exception will be thrown by {@link Model#findByID(String) Model.findByID},
* if there is no item with the given ID.
*
* @author Ralf Wiebicke
*/
public class N... |
package net.i2p.data.i2np;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import net.i2p.I2PAppContext;
import net.i2p.data.DataFormatException;
import net.i2p.data.DataHelper;
import net.i2p.data.Hash;
import net.i2p.data.LeaseSet;
import net.i2p.data.RouterInfo;
import net.i2p.data.TunnelId;
import ... |
package org.dspace.submit.step;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.dspace.app.util.SubmissionInfo;
import org.dspace.authorize.AuthorizeException;
import ... |
package com.alibaba.dubbo.common.utils;
import io.protostuff.LinkedBuffer;
import io.protostuff.ProtostuffIOUtil;
import io.protostuff.Schema;
import io.protostuff.runtime.ArraySchema;
import io.protostuff.runtime.ArraySchemas;
import io.protostuff.runtime.RuntimeSchema;
import java.nio.ByteBuffer;
/**
* @author yinle... |
package ca.cs.ualberta.localpost.view;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.ActionBar.Tab;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.content.SharedPreferences;
import android.location.Address;
import android.os.Bundle;
impor... |
package com.jme3.scene.plugins.blender.textures;
import com.jme3.asset.AssetInfo;
import java.awt.color.ColorSpace;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import java.awt.image.ColorConvertOp;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import java.... |
package com.wonderpush.sdk;
import android.app.Activity;
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.pm.ServiceInfo;
import android.net.Uri;
import ... |
package io.kickflip.sdk.api;
import io.kickflip.sdk.api.json.Response;
import io.kickflip.sdk.exception.KickflipException;
/**
* Callback interface for Kickflip API calls
*
*/
public interface KickflipCallback {
void onSuccess(Response response);
void onError(KickflipException error);
} |
package io.rover.ui;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.util.Log;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
... |
package etomica.models.nitrogen;
import etomica.api.IBox;
import etomica.api.IMoleculeList;
import etomica.box.Box;
import etomica.data.DataInfo;
import etomica.data.IData;
import etomica.data.IDataInfo;
import etomica.data.types.DataDouble;
import etomica.lattice.BravaisLatticeCrystal;
import etomica.lattice.crystal.B... |
package etomica.modules.chainequilibrium;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.BoxLayout;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.Sw... |
package org.flymine.dataconversion;
import junit.framework.*;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.File;
import java.io.FileWriter;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Set;
import java.util.HashSet;
import java.util.Arrays;
import java.util.Linke... |
package net.ossrs.rtmp;
import android.media.MediaCodec;
import android.os.Handler;
import android.os.Looper;
import android.os.Process;
import android.util.Log;
import com.github.faucamp.simplertmp.DefaultRtmpPublisher;
import com.github.faucamp.simplertmp.RtmpPublisher;
import java.nio.ByteBuffer;
import java.util.Ar... |
package com.afollestad.silk.cache;
import android.app.Activity;
import android.os.Environment;
import android.util.Log;
import com.afollestad.silk.SilkAdapter;
import com.afollestad.silk.fragments.SilkCachedFeedFragment;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
/**
* Handles caching feeds l... |
package com.atasoft.flangeassist;
import android.content.*;
import android.os.*;
import android.preference.*;
import android.support.v4.app.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;
public class PaychequeFragment extends Fragment implements OnClickListener
{
public enum DayType ... |
package com.ccpony.avchat.peerconnection;
import java.util.HashMap;
import java.util.List;
import org.json.JSONException;
import org.json.JSONObject;
import org.webrtc.DataChannel;
import org.webrtc.IceCandidate;
import org.webrtc.MediaConstraints;
import org.webrtc.MediaStream;
import org.webrtc.PeerConnection;
import... |
package consulo.webService.plugins.ui;
import java.text.DateFormatSymbols;
import java.util.*;
import java.util.stream.Collectors;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import com.google.common.collect.Multimap;
import com.google.common.collect.SortedSetMultimap;
import co... |
package uk.ac.ebi.spot.goci.model;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import java... |
package edu.mit.csail.uid;
public class IDESettings {
public static String SikuliVersion = "0.10.1";
} |
package com.icecondor.eaglet.db.activity;
import org.json.JSONException;
import org.json.JSONObject;
import android.content.ContentValues;
import com.icecondor.eaglet.db.Activity;
import com.icecondor.eaglet.db.Database;
public class HeartBeat extends Activity {
private static final String VERB = "heartbeat";
... |
package org.inaturalist.android;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Han... |
package com.techhounds.commands.auton;
import com.techhounds.RobotMap;
import com.techhounds.commands.DriveDistance;
import com.techhounds.commands.angler.SetAnglerPosition;
import com.techhounds.commands.angler.SetStateDown;
import com.techhounds.commands.angler.SetStateUp;
import com.techhounds.commands.collector.Set... |
package com.thaiopensource.relaxng.util;
import com.thaiopensource.util.OptionParser;
import com.thaiopensource.util.PropertyMapBuilder;
import com.thaiopensource.util.Localizer;
import com.thaiopensource.validate.ValidateProperty;
import com.thaiopensource.validate.ValidationDriver;
import com.thaiopensource.validate.... |
package com.trilead.ssh2.signature;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.math.BigInteger;
import java.security.InvalidKeyException;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.Signature;
import... |
package com.valkryst.VTerminal.component;
import com.valkryst.VRadio.Radio;
import com.valkryst.VTerminal.AsciiCharacter;
import com.valkryst.VTerminal.AsciiString;
import com.valkryst.VTerminal.AsciiTile;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.builder.component.ComponentBuilder;
import com.... |
package com.xruby.runtime.builtin;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.regex.Pattern;
import antlr.RecognitionException;
import antlr.TokenStreamException;
import com.xruby.compile... |
package com.facebook.cache.disk;
import android.content.Context;
import com.facebook.cache.common.CacheErrorLogger;
import com.facebook.cache.common.CacheEventListener;
import com.facebook.cache.common.NoOpCacheErrorLogger;
import com.facebook.cache.common.NoOpCacheEventListener;
import com.facebook.common.disk.DiskTri... |
package gov.nih.nci.gss.grid;
import gov.nih.nci.cagrid.discovery.client.DiscoveryClient;
import gov.nih.nci.cagrid.metadata.MetadataUtils;
import gov.nih.nci.cagrid.metadata.ServiceMetadata;
import gov.nih.nci.cagrid.metadata.common.Address;
import gov.nih.nci.cagrid.metadata.common.ResearchCenter;
import gov.nih.nci.... |
package com.codenvy.im.utils;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertTrue;
/**
* @author Anatoliy Bazko
*/
public class TestVersion {... |
package org.javarosa.demo.shell;
import java.io.IOException;
import java.io.InputStream;
import java.util.Date;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import javax.microedition.midlet.MIDlet;
import org.javarosa.activity.splashscreen.SplashScreenActivity;
import org.javarosa.... |
package controllers.builder;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import controllers.common.Move;
import controllers.common.MovePieceOffBoardMove;
import controllers.common.MovePieceOnBoardMove;
import controllers.common.PlacePieceOnBoardFromB... |
package org.openqa.selenium.remote.server;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.Platform;
import com.google.common.collect.Lists;
import com.google.common.collect.Ordering;
import java.util.Collection;
import java.util.Comparator;
/**
* Compares two sets of {@link Capabilities} against a... |
package de.lmu.ifi.dbs.elki.algorithm.outlier;
import java.util.List;
import de.lmu.ifi.dbs.elki.algorithm.AbstractDistanceBasedAlgorithm;
import de.lmu.ifi.dbs.elki.data.type.TypeInformation;
import de.lmu.ifi.dbs.elki.data.type.TypeUtil;
import de.lmu.ifi.dbs.elki.database.AssociationID;
import de.lmu.ifi.dbs.elki.da... |
package com.sun.jna.platform.win32;
import junit.framework.TestCase;
import com.sun.jna.Memory;
import com.sun.jna.Native;
import com.sun.jna.platform.win32.W32API.HANDLE;
import com.sun.jna.platform.win32.W32API.HANDLEByReference;
import com.sun.jna.platform.win32.WinNT.PSID;
import com.sun.jna.platform.win32.WinNT.PS... |
package com.jayway.jsonpath.spi.json;
import org.json.JSONObject;
import com.jayway.jsonpath.InvalidJsonException;
import com.jayway.jsonpath.JsonPathException;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONTokener;
import java.io.InputStream;
import java.io.I... |
package io.envoyproxy.envoymobile.engine;
public class EnvoyConfigurationImpl implements EnvoyConfiguration {
/**
* Provides a default configuration template that may be used for starting Envoy.
*
* @return A template that may be used as a starting point for constructing configurations.
*/
@Override
p... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package nl.uva.cs.lobcder.webDav.resources;
import com.bradmcevoy.http.Auth;
import com.bradmcevoy.http.PropFindableResource;
import com.bradmcevoy.http.Request;
import com.bradmcevoy.http.Request.Method;
import com.brad... |
package com.altamiracorp.lumify.core.cmdline;
import com.altamiracorp.lumify.core.exception.LumifyException;
import com.altamiracorp.lumify.core.model.ontology.*;
import com.altamiracorp.lumify.core.model.properties.LumifyProperties;
import com.altamiracorp.lumify.core.user.User;
import com.altamiracorp.securegraph.Gra... |
package com.altamiracorp.lumify.core.util;
import org.slf4j.Logger;
public class LumifyLogger {
private final Logger logger;
public LumifyLogger(final Logger logger) {
this.logger = logger;
}
public void trace(final String format, final Object... args) {
if (isDebugEnabled()) {
... |
package dr.app.beauti.generator;
import dr.app.beauti.XMLWriter;
import dr.app.beauti.options.BeautiOptions;
import dr.app.beauti.options.ModelOptions;
import dr.app.beauti.options.TreePrior;
import dr.evolution.util.Units;
import dr.evomodel.coalescent.*;
import dr.evomodel.speciation.BirthDeathGernhard08Model;
import... |
package com.haulmont.cuba.gui.data.impl;
import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.chile.core.model.Instance;
import com.haulmont.chile.core.model.MetaClass;
import com.haulmont.chile.core.model.MetaPropertyPath;
import com.haulmont.chile.core.model.utils.InstanceUtils;
import com.haul... |
package com.haulmont.cuba.gui.xml.layout.loaders;
import com.haulmont.bali.util.Dom4j;
import com.haulmont.bali.util.ReflectionHelper;
import com.haulmont.chile.core.datatypes.Datatype;
import com.haulmont.chile.core.datatypes.Datatypes;
import com.haulmont.chile.core.datatypes.impl.*;
import com.haulmont.chile.core.mo... |
package evaluation.evalBench.io;
import evaluation.evalBench.session.EvaluationSession;
import evaluation.evalBench.task.Task;
import evaluation.evalBench.task.TaskList;
import ieg.util.xml.JaxbMarshaller;
import java.net.URL;
import java.util.ArrayList;
import java.util.Map;
import java.util.Set;
import javax.xml.name... |
package org.jvirtanen.nassau.soupbintcp;
import org.jvirtanen.nassau.ProtocolException;
/**
* Indicates a protocol error while handling the SoupBinTCP protocol.
*/
public class SoupBinTCPException extends ProtocolException {
/**
* Create an instance with the specified detail message.
*
* @param mes... |
package pl.grzeslowski.jsupla.server.netty;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelOption;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import org.reactivestreams.Publisher;
import org.... |
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.lang.Math;
interface PerceptronInterface {
public double train(double[] pattern, double[] target);
/**
* Executa a rede com com a unidade de entrada (pattern).
*
* @param double[] pattern Uma unidade de entrada
... |
package org.voltdb;
import org.voltdb.CatalogContext.ProcedurePartitionInfo;
import org.voltdb.catalog.Column;
import org.voltdb.catalog.Procedure;
import com.google_voltpatches.common.collect.ImmutableMap;
/**
* Lists built-in system stored procedures with metadata
*/
public class SystemProcedureCatalog {
// His... |
// $Header: /cvsshare/content/cvsroot/cdecurate/src/gov/nih/nci/cadsr/cdecurate/tool/PVServlet.java,v 1.28 2008-03-13 20:34:43 chickerura Exp $
// $Name: not supported by cvs2svn $
package gov.nih.nci.cadsr.cdecurate.tool;
import gov.nih.nci.cadsr.cdecurate.database.Alternates;
import gov.nih.nci.cadsr.cdecurate.ui.Alt... |
package gov.nih.nci.calab.ui.core;
import gov.nih.nci.calab.dto.characterization.CharacterizationBean;
import gov.nih.nci.calab.dto.characterization.CharacterizationTypeBean;
import gov.nih.nci.calab.dto.common.InstrumentBean;
import gov.nih.nci.calab.dto.common.LabFileBean;
import gov.nih.nci.calab.dto.common.Protocol... |
package info.tregmine.listeners;
import info.tregmine.Tregmine;
import info.tregmine.api.TregminePlayer;
import info.tregmine.quadtree.Point;
import info.tregmine.zones.Zone;
import info.tregmine.zones.ZoneWorld;
import java.util.EnumSet;
import java.util.Set;
import org.bukkit.Location;
import org.bukkit.entity.Arrow;... |
package mod._sc;
import java.io.PrintWriter;
import lib.StatusException;
import lib.TestCase;
import lib.TestEnvironment;
import lib.TestParameters;
import util.SOfficeFactory;
import util.XMLTools;
import com.sun.star.beans.XPropertySet;
import com.sun.star.document.XExporter;
import com.sun.star.frame.XController;
im... |
package com.tempodb;
import java.io.File;
import java.io.FileInputStream;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.joda.time.DateTime;
i... |
package org.opennms.netmgt.model;
import junit.framework.TestCase;
import org.opennms.netmgt.model.OnmsIpInterface.CollectionType;
public class OnmsIpInterfaceTest extends TestCase {
public void testCollectionTypeGetNull () {
CollectionType collectionType = CollectionType.get(null);
assertSame("The ... |
package org.opennms.web.rest;
import java.net.URL;
import java.text.ParseException;
import java.util.Set;
import java.util.TreeSet;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
impo... |
package core.framework.db;
import core.framework.internal.log.ActionLog;
import core.framework.internal.log.LogManager;
import java.util.List;
import java.util.Optional;
/**
* @author neo
*/
public interface Database {
/**
* for expected slow sql, such as query with small table or db chooses different query ... |
package imagej.script;
import imagej.command.Command;
import imagej.module.AbstractModuleInfo;
import imagej.module.DefaultMutableModuleItem;
import imagej.module.ModuleException;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import jav... |
package org.eclipse.egit.ui.internal.staging;
import static org.eclipse.egit.ui.internal.CommonUtils.runCommand;
import java.io.File;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.Iterator;
import java.util.L... |
package algorithms.imageProcessing.features.mser;
import algorithms.QuickSort;
import algorithms.compGeometry.PerimeterFinder2;
import algorithms.imageProcessing.DFSConnectedGroupsFinder0;
import algorithms.imageProcessing.DFSContiguousValueFinder;
import algorithms.imageProcessing.GreyscaleImage;
import algorithms.ima... |
package imagej.io;
import imagej.data.Dataset;
import imagej.data.DatasetService;
import imagej.io.event.FileOpenedEvent;
import imagej.module.ModuleService;
import imagej.text.TextService;
import java.io.File;
import java.io.IOException;
import net.imglib2.exception.IncompatibleTypeException;
import net.imglib2.img.Im... |
package io.mainada.server;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;
import io.vertx.rxjava.core.AbstractVerticle;
import io.vertx.rxjava.core.buffer.Buffer;
import io.vertx.rxjava.core.eventbus.Message;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.