answer
stringlengths
17
10.2M
package org.caleydo.view.rnb.internal.toolbar; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import org.caleydo.core.data.collection.EDimension; import org.caleydo.core.view.opengl.layout2.GLElement; import org.caleydo.core.view.ope...
package org.exist.xquery.functions.validation; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import javax.xml.transform.OutputKeys; import javax...
package org.cyclops.integrateddynamics.api.part; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import org.apache.commons.lang3.tuple.Pair; import org.cyclops.cyclopscore.datastructure.DimPos; import org.cyclops.integrateddynamics.core.helper.PartHelpers...
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @author <a href="mailto:oliver@wehrens.de">Oliver Wehrens</a> * @version $Id$ */ package org.gridlab.gridsphere.portlet; import java.io.Serializable; import java.util.Comparator; import java.util.Locale; import java.util.ResourceBundle; /** * The...
package org.embulk.output.mailchimp; import com.fasterxml.jackson.core.Base64Variants; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jack...
package org.madlonkay.supertmxmerge.gui; import java.awt.Toolkit; import java.awt.Window; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.KeyEvent; import java.util.List; import javax.swing.JFrame; import javax.swing.KeyStroke; import javax.swing.SwingUtilities; impor...
package org.fiteagle.north.sfa.allocate; import java.io.IOException; import java.io.StringReader; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.parsers.DocumentBuilder; import javax.xm...
package org.owasp.esapi.reference; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.text.DateFormat; import java.util.Arrays; import java.util.Date; import java.util.Enumeration; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; imp...
package org.fxmisc.wellbehaved.input; import java.util.ArrayList; import java.util.List; import java.util.function.Consumer; import java.util.function.Predicate; import javafx.beans.property.ObjectProperty; import javafx.event.Event; import javafx.event.EventHandler; import javafx.event.EventType; /** * Methods of thi...
package info.guardianproject.otr.app.im.app; import info.guardianproject.iocipher.File; import info.guardianproject.iocipher.FileInputStream; import info.guardianproject.iocipher.FileOutputStream; import info.guardianproject.iocipher.VirtualFileSystem; import java.io.FileNotFoundException; import java.io.IOException; i...
package org.pentaho.di.job.entries.ftp; import static org.pentaho.di.job.entry.validator.AndValidator.putValidators; import static org.pentaho.di.job.entry.validator.JobEntryValidatorUtils.andValidator; import static org.pentaho.di.job.entry.validator.JobEntryValidatorUtils.fileExistsValidator; import static org.pentah...
package org.jtrfp.trcl.beh; import org.apache.commons.math3.geometry.euclidean.threed.Vector3D; import org.jtrfp.trcl.InterpolatingAltitudeMap; import org.jtrfp.trcl.TerrainChunk; import org.jtrfp.trcl.core.TR; import org.jtrfp.trcl.file.Powerup; import org.jtrfp.trcl.obj.WorldObject; public class LeavesPowerupOnDeathB...
package org.mafagafogigante.dungeon.commands; import org.mafagafogigante.dungeon.game.DungeonString; import org.mafagafogigante.dungeon.io.Writer; import org.mafagafogigante.dungeon.logging.DungeonLogger; import org.mafagafogigante.dungeon.util.Utils; import org.apache.commons.lang3.StringUtils; import org.jetbrains.an...
// This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks indicating autogenerated code o...
package org.support.project.knowledge.logic; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.TimeZone; import org.support.project.aop.Aspect; import org.support.project.common.log.L...
package org.threadly.concurrent; import java.lang.Thread.UncaughtExceptionHandler; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executor; import org.threadly.concurrent.lock.NativeLockFactory; import org.threadl...
package org.threadly.concurrent; import java.lang.Thread.UncaughtExceptionHandler; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executor; import org.threadly.concurrent.lock.NativeLockFactory; import org.threadl...
package org.threadly.litesockets; import java.io.IOException; import java.nio.channels.CancelledKeyException; import java.nio.channels.ClosedSelectorException; import java.nio.channels.DatagramChannel; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import org.threadly.concurrent.NoThreadSched...
package ru.r2cloud.jradio.blocks; import java.io.IOException; import java.util.UUID; import ru.r2cloud.jradio.AbstractTaggedStream; import ru.r2cloud.jradio.ByteInput; import ru.r2cloud.jradio.Tag; public class CorrelateAccessCodeTag extends AbstractTaggedStream implements ByteInput { private ByteInput input; p...
/** @@author A0142130A **/ package seedu.taskell.logic.commands; import seedu.taskell.commons.core.EventsCenter; import seedu.taskell.commons.events.ui.DisplayListChangedEvent; import seedu.taskell.model.History; import seedu.taskell.model.HistoryManager; /** Lists a list of previous commands available for Undo operati...
package techreborn.blocks.storage.item; import net.minecraft.block.BlockState; import net.minecraft.block.Material; import net.minecraft.block.entity.BlockEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.MiningToolIte...
package uk.ac.ox.oucs.erewhon.oxpq; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.Calendar; import java.util.Collection; import java.util.HashSet; import java.util.Set; im...
package xdi2.connector.allfiled.mapping; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import xdi2.core.ContextNode; import xdi2.core.Graph; import xdi2.core.exceptions.Xdi2RuntimeException; import xdi2.core.features.dictionary.Dictionary; import xdi2.core.features.equivalence.Equivalence; import xdi2.core.f...
package zmaster587.advancedRocketry.util; import net.minecraft.block.Block; import net.minecraft.entity.item.EntityItem; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraftforge.common.util.ForgeDirection; import zmaster587.advancedRocketry.Advan...
package pitt.search.semanticvectors; import java.io.IOException; import java.util.ArrayList; import java.util.LinkedList; import java.util.Enumeration; import pitt.search.semanticvectors.LuceneUtils; import pitt.search.semanticvectors.VectorSearcher; import pitt.search.semanticvectors.VectorStore; import pitt.search.se...
package jlibs.xml.sax.async; import jlibs.xml.ClarkName; import org.xml.sax.SAXException; import org.xml.sax.helpers.AttributesImpl; import static javax.xml.XMLConstants.*; /** * @author Santhosh Kumar T */ class Attributes{ private AttributesImpl attrs = new AttributesImpl(); private Namespaces namespaces; ...
// $Id: TileManager.java 3392 2005-03-10 01:30:34Z ray $ // Narya library - tools for developing networked games // 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 FITN...
package org.openlca.jsonld; import java.util.Date; import java.util.List; import org.openlca.core.database.CategoryDao; import org.openlca.core.database.FlowPropertyDao; import org.openlca.core.database.IDatabase; import org.openlca.core.database.LocationDao; import org.openlca.core.model.Category; import org.openlca.c...
package org.jaxen.expr; import org.jaxen.Context; class DefaultNumberExpr extends DefaultExpr implements NumberExpr { private static final long serialVersionUID = -6021898973386269611L; private Double number; DefaultNumberExpr( Double number ) { this.number = number; } public Number getN...
package org.apache.commons.digester; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; public class RulesBase implements Rules { /** * The set of registered Rule instances, keyed by the matching pattern. * Each value is a List containing the Rules for ...
package org.apache.commons.lang; import java.util.NoSuchElementException; import java.util.StringTokenizer; /** * <code>WordWrapUtils</code> is a utility class to assist with word wrapping. * * @author Henri Yandell * @author Stephen Colebourne * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen<...
package org.jdesktop.swingx; import java.util.ArrayList; import java.io.StringWriter; import java.io.PrintWriter; /*import org.jdesktop.jdic.desktop.Desktop; import org.jdesktop.jdic.desktop.DesktopException; import org.jdesktop.jdic.desktop.Message; */ public class MailErrorReporter extends ErrorReporter { private...
package org.jivesoftware.spark.ui; import org.jivesoftware.resource.Res; import org.jivesoftware.resource.SparkRes; import org.jivesoftware.smack.RosterEntry; import org.jivesoftware.smack.util.StringUtils; import org.jivesoftware.smack.packet.DefaultPacketExtension; import org.jivesoftware.smack.packet.PacketExtension...
package com.mfk.web.maker.client; import java.util.Vector; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JsArray; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.event.dom.client.ChangeHandler; import com.google.gwt.event...
package org.reldb.dbrowser.loading; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; import org.eclipse.swt.layout.FormLayout; import ...
package org.neo4j.impl.nioneo.xa; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.util.Collection; import java.util.logging.Logger; import org.neo4j.impl.nioneo.store.DynamicRecord; import org.neo4j.impl.nioneo.store.NeoStore; import org.neo4j.impl.nioneo.store....
package dynamake.transcription; import java.io.Serializable; import java.util.Stack; import dynamake.models.Location; import dynamake.models.Model; public class VirtualMachine<T> { public interface VMInstruction extends Serializable { void execute(VMProcess scope); } public static class Instruction ...
/** * Given a binary tree, flatten it to a linked list in-place. * * For example, * Given * * 1 * / \ * 2 5 * / \ \ * 3 4 6 * The flattened tree should look like: * 1 * \ * 2 * \ * 3 * \ * 4 * \ * ...
package com.restfb.types; 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 Photo extends NamedFacebookType { @Facebook private CategorizedFacebook...
package com.nexstream.konnectedsdk; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.webkit.JavascriptInterface; import android.webkit.WebSettings; import android.webkit.WebView;...
package com.buschmais.cdo.api; import java.util.Map; /** * Defines methods to manage the lifecycle of composite instances, query execution and transaction management. */ public interface CdoManager { /** * Begin a transaction. */ void begin(); /** * Commit all changes of the current transac...
package com.github.podd.utils; import info.aduna.iteration.Iterations; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.Set; import org.openr...
package test.beast.app.beauti; import java.io.File; import org.fest.swing.fixture.JTabbedPaneFixture; import org.junit.Test; public class SimpleClockModelTest extends BeautiBase { /** check the standard clock models are there and result in correct behaviour **/ @Test public void simpleClockModelTest() throw...
package com.apruve; import static org.junit.Assert.*; import org.junit.Test; public class ApruveEnvironmentTest { @Test public void testBaseUrl() { assertEquals("https://app.apruve.com", ApruveEnvironment.PROD.getBaseUrl()); assertEquals("https://test.apruve.com", ApruveEnvironment.TEST.getBaseU...
package net.anotheria.moskito.web; import net.anotheria.moskito.core.dynamic.EntryCountLimitedOnDemandStatsProducer; import net.anotheria.moskito.core.dynamic.OnDemandStatsProducer; import net.anotheria.moskito.core.dynamic.OnDemandStatsProducerException; import net.anotheria.moskito.core.predefined.Constants; import n...
package com.github.underscore; import static java.util.Arrays.asList; import static java.util.Collections.singletonList; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import java.util.A...
package com.unidev.myip; import com.unidev.platform.web.WebUtils; import net.sf.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; impo...
package control; import data.*; import gui.centerarea.CameraShotBlock; import gui.centerarea.DirectorShotBlock; import gui.centerarea.TimetableBlock; import gui.headerarea.DirectorDetailView; import gui.headerarea.DoubleTextField; import gui.root.RootHeaderArea; import gui.root.RootPane; import gui.styling.StyledCheckb...
package nars.plugin.mental; import java.util.ArrayList; import java.util.HashMap; import nars.core.EventEmitter; import nars.core.EventEmitter.EventObserver; import nars.core.Events; import nars.core.NAR; import nars.core.Parameters; import nars.core.Plugin; import nars.entity.BudgetValue; import nars.entity.Concept; i...
import org.junit.Before; import org.junit.After; import org.junit.Test; import static org.junit.Assert.*; public class TestR250 { @Test public void test01() { R250 objetoBase = new R250(); String[] inputGrid = new String[] {}; assertEquals(0, objetoBase.detectarRectangulos(inputGrid)); ...
package es.uvigo.esei.daa.rest; import static es.uvigo.esei.daa.TestUtils.assertOkStatus; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.util.List; import javax.ws.rs.core.Application; import javax.ws.rs.core.GenericType; import javax.ws.rs.core.Response; import org.glassfish.jerse...
package swarm.server.thirdparty.servlet; import java.io.BufferedReader; import java.io.IOException; import java.io.PrintWriter; import java.io.Writer; import java.net.URLDecoder; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet...
package moe.banana.jsonapi2; import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.JsonDataException; import com.squareup.moshi.Moshi; import com.squareup.moshi.Types; import moe.banana.jsonapi2.model.*; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runners.MethodSorters; import ja...
package system.scidb; import benchmark.caching.CachingBenchmarkDataManager; import benchmark.QueryExecutor; import benchmark.BenchmarkContext; import java.text.MessageFormat; import java.util.List; /** * @author Dimitar Misev <misev@rasdaman.com> */ public class SciDBCachingBenchmarkDataManager extends CachingBenchma...
package org.kohsuke.github; import org.apache.commons.io.IOUtils; import org.eclipse.jgit.api.Git; import org.eclipse.jgit.api.errors.GitAPIException; import org.eclipse.jgit.dircache.DirCache; import org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider; import org.junit.Test; import java.io.File; import java...
package bugfree.example; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang3.StringUtils; /** * * @author ste */ public class ActivationKeyDAO { Map<String, Boolean> keys = new HashMap<>(); public void setValidationKeyValidity(final String username, boolean validity) { use...
package MWC.GenericData; import java.io.Serializable; import java.util.Date; public class HiResDate implements Serializable, Comparable<HiResDate> { /** * Comment for <code>serialVersionUID</code> */ private static final long serialVersionUID = 1L; // member variables /** * number of micr...
package org.myrobotlab.test; import static org.junit.Assert.fail; import java.io.IOException; import java.text.ParseException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Queue; import java.util.Set; import java.util.TreeSet; import java.util.concurrent.LinkedBlockingQu...
package com.dmdirc; import com.dmdirc.actions.ActionManager; import com.dmdirc.actions.CoreActionType; import com.dmdirc.actions.wrappers.AliasWrapper; import com.dmdirc.commandparser.CommandManager; import com.dmdirc.commandparser.CommandType; import com.dmdirc.config.ConfigManager; import com.dmdirc.config.Identity; ...
package ca.sait.stars.domains; import java.io.Serializable; import javax.persistence.*; /** * The persistent class for the stars_record_data database table. * * @author william * */ @Entity @Table(name = "stars_record_data", uniqueConstraints = @UniqueConstraint(columnNames = { "owner", "title", "time" })) @NamedQ...
package org.postgresql.test.jdbc3; import junit.framework.TestCase; import org.postgresql.core.NativeQuery; import org.postgresql.core.Parser; import java.util.List; public class CompositeQueryParseTest extends TestCase { public void testEmptyQuery() { assertEquals("", reparse("", true, false, true)); ...
package com.emailclue.api; import com.github.tomakehurst.wiremock.junit.WireMockRule; import com.google.common.collect.ImmutableMap; import org.junit.Before; import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import java.util.Map; import static com.emailclue.api.EmailClue.configuration; import stati...
package com.dmdirc; import com.dmdirc.actions.ActionManager; import com.dmdirc.actions.CoreActionType; import com.dmdirc.actions.wrappers.AliasWrapper; import com.dmdirc.commandparser.CommandManager; import com.dmdirc.commandparser.CommandType; import com.dmdirc.commandparser.parsers.ServerCommandParser; import com.dmd...
package com.dmdirc; import com.dmdirc.actions.ActionManager; import com.dmdirc.actions.CoreActionType; import com.dmdirc.actions.wrappers.AliasWrapper; import com.dmdirc.commandparser.CommandManager; import com.dmdirc.commandparser.CommandType; import com.dmdirc.config.ConfigManager; import com.dmdirc.config.Identity; ...
package com.arangodb.entity; import com.google.gson.annotations.SerializedName; import java.util.HashMap; import java.util.Map; public class BaseDocument extends BaseEntity implements DocumentHolder { public static final String REV = "_rev"; public static final String KEY = "_key"; /** * the documents ...
package com.rcv; import java.util.*; public class Tabulator { private List<CastVoteRecord> castVoteRecords; private int contestId; private List<String> contestOptions; private boolean batchElimination = false; static class TieBreak { List<String> contestOptionIds; String selection; TieBreak(List<S...
package mho.qbar.objects; import mho.qbar.iterableProviders.QBarIterableProvider; import mho.qbar.testing.QBarTestProperties; import mho.wheels.io.Readers; import mho.wheels.math.BinaryFraction; import mho.wheels.math.MathUtils; import mho.wheels.numberUtils.BigDecimalUtils; import mho.wheels.numberUtils.IntegerUtils; ...
package com.twitter; import java.util.regex.*; public class Regex { private static String LATIN_ACCENTS_CHARS = "\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u00ff\\u015f"; private static final String HASHTAG_ALPHA_CHARS = "a-z" + LATIN_ACCENTS_CHARS + "\\u0400-\\u04ff\...
package misc.codewars.nonogram; import org.junit.Test; import java.util.*; import static misc.codewars.nonogram.NonogramRow.findRows; import static misc.codewars.nonogram.NonogramRow.makeRow; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTr...
package com.codeborne.selenide; import org.openqa.selenium.By; import static com.codeborne.selenide.impl.Quotes.escape; public class Selectors { /** * Find element CONTAINING given text (as a substring) * * NB! It seems that Selenium WebDriver does not support i18n characters in XPath :( * * @param ele...
package my.ostrea.blog; import my.ostrea.blog.configurations.WebSecurityConfig; import my.ostrea.blog.models.ArticleRepository; import my.ostrea.blog.models.MyUser; import my.ostrea.blog.models.UserRepository; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; impo...
/** * Created Dec 20, 2007 */ package com.crawljax.util; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.configuration.Configuration; import org.apache.commons.configuration.ConfigurationException;...
package org.commcare.test.utilities; import org.commcare.modern.session.SessionWrapper; import org.commcare.core.parse.ParseUtils; import org.commcare.util.engine.CommCareConfigEngine; import org.commcare.util.mocks.MockUserDataSandbox; import org.javarosa.core.model.FormDef; import org.javarosa.core.model.FormIndex; i...
package com.extjs.selenium.grid; import com.sdl.selenium.web.SearchType; import com.sdl.selenium.web.WebDriverConfig; import com.sdl.selenium.web.WebLocator; import com.sdl.selenium.web.table.Cell; import org.apache.log4j.Logger; public class GridCell extends Cell { private static final Logger logger = Logger.getLo...
package org.opennars.metrics; import org.opennars.core.NALTest; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * Computes the metrics of NAL-tests. * * Metrics are numeric values which indicate how fast NARS could solve problems */ public class NalTestMetrics { public static double...
package org.apache.commons.lang; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import junit.textui.TestRunner; /** * Unit tests {@link org.apache.commons.lang.CharSetUtils}. * * @author <a href="mailto:bayard@generationjava.com">Henri Yandell</a> * @author <a href="...
package com.imcode.imcms.config; import org.apache.commons.dbcp2.BasicDataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.env.Environment; import org.sp...
package com.jblur.acme_client; import com.beust.jcommander.Parameter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; import java.util.List; public class Parameters { public final static String COMMAND_REGISTER = "register"; p...
package com.julienvey.trello.domain; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Card extends TrelloEntity { private String id; private String name; private String idList; private Str...
// 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...
// 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 org.objectweb.proactive.core.runtime; import org.objectweb.proactive.Body; import org.objectweb.proactive.core.UniqueID; import org.objectweb.proactive.core.body.LocalBodyStore; import org.objectweb.proactive.core.body.UniversalBody; import org.objectweb.proactive.core.descriptor.data.ProActiveDescriptor; impor...
// 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 org.objectweb.proactive.examples.binarytree; public class ObjectWrapper implements java.io.Serializable { private Object value; public ObjectWrapper(){} public ObjectWrapper(Object value) { this.value = value; } public String toString() { return this.value.toString(); } }
// 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.mikesamuel.cil.parser; import com.google.common.base.Optional; import com.mikesamuel.cil.ast.NodeVariant; import com.mikesamuel.cil.ast.Trees; import com.mikesamuel.cil.event.Event; /** Provides parsing and serializing for AST nodes. */ public abstract class ParSer implements ParSerable { /** * Simply ...
package com.ociweb.gl.impl; import com.ociweb.pronghorn.pipe.DataInputBlobReader; import com.ociweb.pronghorn.pipe.DataOutputBlobWriter; import com.ociweb.pronghorn.pipe.MessageSchema; import com.ociweb.pronghorn.pipe.Pipe; import com.ociweb.pronghorn.util.TrieParserReader; public class PayloadReader<S extends MessageS...
package com.octopusdeploy.api; import java.io.IOException; import java.nio.charset.Charset; import java.util.*; import net.sf.json.*; import org.apache.commons.lang.StringUtils; public class OctopusApi { private final static String UTF8 = "UTF-8"; private final AuthenticatedWebClient webClient; public Octop...
package com.quizdeck; import com.quizdeck.filters.AuthenticationFilter; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.embedded.FilterRegistrationBean; import org.springframework.context.annotation.Bean; imp...
package com.wiccanarts.common.lib; public final class LibMod { //ID for MOD public static final String MOD_ID = "wiccanarts"; //Name of MOD public static final String MOD_NAME = "WiccanArts"; //Version of MOD public static final String MOD_VER = "@VERSION@"; //Dependency public static fi...
package com.xuh.method; import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGEncodeParam; import com.sun.image.codec.jpeg.JPEGImageEncoder; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.*; public class ImageCompressUtil { /** * ...
package com.yahoo.sketches.hll; import com.yahoo.sketches.Util; import com.yahoo.sketches.hash.MurmurHash3; @SuppressWarnings("cast") public class HllSketch { // derived using some formulas in Ting's paper (link?) private static final double HLL_REL_ERROR_NUMER = 1.04; public static HllSketchBuilder builder() { ...
package compiler.graphloader; import net.sourceforge.gxl.*; import org.graphstream.graph.Edge; import org.graphstream.graph.Node; import org.graphstream.graph.implementations.MultiGraph; import org.xml.sax.SAXException; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.ni...
package de.fau.osr.gui; import javax.swing.*; import javax.swing.table.JTableHeader; import java.awt.*; class RowHeaderRenderer<E> extends JLabel implements ListCellRenderer<E> { RowHeaderRenderer(JTable table) { JTableHeader header = table.getTableHeader(); setOpaque(true); setBorder(UIMana...
package de.omnikryptec.util; import de.omnikryptec.util.math.Mathd; import de.omnikryptec.util.math.Mathf; public enum Interpolator { None { @Override public double interpolate(double t) { return 0.0; } @Override public float interpolate(float t) { ret...
package edu.stanford.junction.props; import org.json.JSONObject; import org.json.JSONException; import java.util.Vector; import java.util.UUID; import java.util.Random; import edu.stanford.junction.api.activity.JunctionExtra; import edu.stanford.junction.api.messaging.MessageHeader; public abstract class Prop extends J...
package eme.generator; import java.util.HashMap; import java.util.Map; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EGenericType; import org.eclipse....