conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
public void finish(FieldInfos fis, int numDocs) throws IOException {
if (4+((long) numDocs)*8 != indexStream.getFilePointer())
=======
public void finish(int numDocs) throws IOException {
if (HEADER_LENGTH_IDX+((long) numDocs)*8 != indexStream.getFilePointer())
>>>>>>>
public void finish(FieldI... |
<<<<<<<
* settings conveniently. Thus someone can do:
*
=======
* settings conveniently, for example:
*
>>>>>>>
* settings conveniently, for example:
*
<<<<<<<
private Analyzer analyzer;
private IndexDeletionPolicy delPolicy;
private IndexCommit commit;
private OpenMode openMode;
private Similarit... |
<<<<<<<
IndexWriter w = new MockIndexWriter(dir, newIndexWriterConfig(
TEST_VERSION_CURRENT, new MockAnalyzer()).setOpenMode(OpenMode.CREATE)
.setRAMBufferSizeMB(0.1).setMaxBufferedDocs(maxBufferedDocs).setIndexerThreadPool(new ThreadAffinityDocumentsWriterThreadPool(maxThreadStates))
... |
<<<<<<<
final IndexWriter indexWriter;
=======
/**
* Create and return a new DocWriterBuffer.
*/
PerDocBuffer newPerDocBuffer() {
return new PerDocBuffer();
}
/**
* RAMFile buffer for DocWriters.
*/
class PerDocBuffer extends RAMFile {
/**
* Allocate bytes used from shared p... |
<<<<<<<
import org.apache.lucene.index.values.DocValues;
=======
import org.apache.lucene.index.IndexReader.ReaderContext;
>>>>>>>
import org.apache.lucene.index.values.DocValues;
import org.apache.lucene.index.IndexReader.ReaderContext; |
<<<<<<<
=======
/** Returns a new field instance.
* See {@link #newField(String, String, Field.Store, Field.Index, Field.TermVector)} for more information */
>>>>>>>
/** Returns a new field instance.
* See {@link #newField(String, String, Field.Store, Field.Index, Field.TermVector)} for more info... |
<<<<<<<
NormsWriterPerField toWrite = (NormsWriterPerField) fieldsToFlush.get(fi);
=======
final List<NormsWriterPerField> toMerge = byField.get(fi);
int upto = 0;
if (toMerge != null) {
final int numFields = toMerge.size();
>>>>>>>
final NormsWriterPerField toWrite... |
<<<<<<<
public void addDocument(Document doc) throws IOException {
if (doDocValues) {
randomPerDocFieldValues(r, doc);
}
w.addDocument(doc);
=======
public void addDocument(final Document doc) throws IOException {
if (r.nextInt(5) == 3) {
// TODO: maybe, we should simply buffer up... |
<<<<<<<
import java.util.Collections;
=======
import java.util.Collection;
>>>>>>>
<<<<<<<
=======
public TermsHashConsumerPerThread addThread(TermsHashPerThread perThread) {
return new FreqProxTermsWriterPerThread(perThread);
}
@Override
>>>>>>>
<<<<<<<
for (TermsHashConsumerPerField f : fieldsT... |
<<<<<<<
bv.set(i);
assertEquals(i+1,bv.count());
bv.write(d, "TESTBV", newIOContext(random));
=======
bv.clear(i);
assertEquals(i+1,size-bv.count());
bv.write(d, "TESTBV");
>>>>>>>
bv.clear(i);
assertEquals(i+1,size-bv.count());
bv.write(d, "TES... |
<<<<<<<
return new DocTermsIndexFuncValues(this, readerContext, field) {
private final BytesRef spare = new BytesRef();
=======
return new DocTermsIndexDocValues(this, readerContext, field) {
>>>>>>>
return new DocTermsIndexFuncValues(this, readerContext, field) { |
<<<<<<<
=======
import org.apache.lucene.store.RAMFile;
import org.apache.lucene.util.ArrayUtil;
import org.apache.lucene.util.BitVector;
import org.apache.lucene.util.RamUsageEstimator;
import org.apache.lucene.util.RecyclingByteBlockAllocator;
import org.apache.lucene.util.ThreadInterruptedException;
import static... |
<<<<<<<
List<String> newFiles;
=======
// max # simultaneous threads; if there are more than
// this, they wait for others to finish first
private final int maxThreadStates;
// Deletes for our still-in-RAM (to be flushed next) segment
private SegmentDeletes pendingDeletes = new SegmentDeletes();
sta... |
<<<<<<<
import org.apache.lucene.store.IOContext;
=======
import org.apache.lucene.store.CompoundFileDirectory;
>>>>>>>
import org.apache.lucene.store.CompoundFileDirectory;
<<<<<<<
CompoundFileWriter csw = new CompoundFileWriter(dir, name + ".cfs", newIOContext(random));
csw.addFile(name... |
<<<<<<<
cfsReader = new CompoundFileReader(dir, IndexFileNames.segmentFileName(segment, "", IndexFileNames.COMPOUND_FILE_EXTENSION), context);
=======
cfsReader = dir.openCompoundInput(IndexFileNames.segmentFileName(segment, "", IndexFileNames.COMPOUND_FILE_EXTENSION), readBufferSize);
>>>>>>>
... |
<<<<<<<
public TermsConsumer addField(FieldInfo field) {
assert currentField == null || currentField.name.compareTo(field.name) < 0 : "current field name " + (currentField == null? null: currentField.name) + " given: " +field.name;
=======
public TermsConsumer addField(FieldInfo field) throws IOException {
... |
<<<<<<<
import java.util.Comparator;
import java.util.Locale;
=======
>>>>>>>
import java.util.Comparator; |
<<<<<<<
=======
import org.apache.lucene.index.codecs.PostingsConsumer;
import org.apache.lucene.index.codecs.TermStats;
import org.apache.lucene.index.codecs.TermsConsumer;
import org.apache.lucene.util.BitVector;
>>>>>>>
<<<<<<<
fieldWriter.flush(consumer, state);
TermsHashPerField perField = fieldWr... |
<<<<<<<
=======
import org.n52.sos.exception.CodedException;
import org.n52.sos.ogc.filter.Filter;
import org.n52.sos.ogc.filter.TemporalFilter;
import org.n52.sos.ogc.ows.OwsExceptionReport;
import org.n52.sos.ogc.sos.SosConstants.SosIndeterminateTime;
import org.n52.sos.request.AbstractObservationRequest;
import or... |
<<<<<<<
static final int FORMAT_CURRENT = FORMAT_INDEX_VALUES;
=======
static final int FORMAT_CURRENT = FORMAT_PER_FIELD_CODEC;
>>>>>>>
static final int FORMAT_CURRENT = FORMAT_PER_FIELD_CODEC;
<<<<<<<
=======
>>>>>>>
<<<<<<<
FieldInfo fi = addInternal(name, isIndexed, storeTermVector, stor... |
<<<<<<<
return new DocTermsIndexFuncValues(this, readerContext, field) {
private final BytesRef spare = new BytesRef();
=======
return new DocTermsIndexDocValues(this, readerContext, field) {
>>>>>>>
return new DocTermsIndexFuncValues(this, readerContext, field) { |
<<<<<<<
final BufferedDeletes bufferedDeletes;
=======
final BufferedDeletesStream bufferedDeletesStream;
>>>>>>>
final BufferedDeletesStream bufferedDeletesStream;
<<<<<<<
=======
public synchronized void drop(SegmentInfos infos) throws IOException {
for(SegmentInfo info : infos) {
... |
<<<<<<<
import java.io.Serializable;
import java.util.Comparator;
=======
>>>>>>>
import java.util.Comparator;
<<<<<<<
// field must be interned after reading from stream
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
in.defaultReadObject();
if... |
<<<<<<<
import org.apache.lucene.util.Pair;
import org.apache.lucene.search.FieldCache; // not great (circular); used only to purge FieldCache entry on close
import org.apache.lucene.search.Similarity;
=======
>>>>>>>
import org.apache.lucene.util.Pair; |
<<<<<<<
private final int mergeFields() throws CorruptIndexException, IOException {
//nocommit
// if (!mergeDocStores) {
// // When we are not merging by doc stores, their field
// // name -> number mapping are the same. So, we start
// // with the fieldInfos of the last segment in this
// ... |
<<<<<<<
AtomicLong bytesUsed, IOContext context) throws IOException {
super(dir, id, CODEC_NAME, VERSION_CURRENT, true,
new ByteBlockPool(allocator), bytesUsed, context);
=======
AtomicLong bytesUsed) throws IOException {
super(dir, id, CODEC_NAME, VERSION_CURRENT, bytesUsed);
... |
<<<<<<<
=======
return getReader(true);
}
private void doRandomOptimize() throws IOException {
final int segCount = w.getSegmentCount();
if (r.nextBoolean() || segCount == 0) {
// full optimize
w.optimize();
} else {
// partial optimize
final int limit = _TestUtil.nextInt(... |
<<<<<<<
import org.apache.lucene.util.BytesRef;
=======
import org.apache.lucene.util.IOUtils;
>>>>>>>
import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.IOUtils;
<<<<<<<
final DocumentsWriterPerThread docWriter;
TermVectorsWriter termVectorsWriter;
=======
final DocumentsWriter docWriter... |
<<<<<<<
Allocator allocator, AtomicLong bytesUsed, IOContext context) throws IOException {
super(dir, id, CODEC_NAME, VERSION_CURRENT, true,
new ByteBlockPool(allocator), bytesUsed, context);
=======
Allocator allocator, AtomicLong bytesUsed) throws IOException {
super(dir, id, C... |
<<<<<<<
import org.apache.solr.schema.IndexSchemaFactory;
import org.apache.solr.search.field.TopValues;
import org.apache.solr.util.DOMUtil;
import org.apache.solr.util.FileUtils;
import org.apache.solr.util.RegexFileFilter;
=======
>>>>>>>
<<<<<<<
import org.apache.solr.spelling.QueryConverter;
import org.apache.... |
<<<<<<<
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Fieldable;
import org.apache.lucene.index.values.Type;
=======
import java.io.IOException;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java... |
<<<<<<<
public VariableGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, String segment, int indexDivisor, int codecId)
=======
final String segment;
public VariableGapTermsIndexReader(Directory dir, FieldInfos fieldInfos, String segment, int indexDivisor, String codecId)
>>>>>>>
final String segmen... |
<<<<<<<
public CompoundFileDirectory(Directory directory, String fileName, IOContext context) throws IOException {
assert !(directory instanceof CompoundFileDirectory) : "compound file inside of compound file: " + fileName;
=======
public CompoundFileDirectory(Directory directory, String fileName, int readBuf... |
<<<<<<<
public static double[] grow(double[] array, int minSize) {
if (array.length < minSize) {
double[] newArray = new double[oversize(minSize, RamUsageEstimator.NUM_BYTES_DOUBLE)];
System.arraycopy(array, 0, newArray, 0, array.length);
return newArray;
} else
return array;
}
... |
<<<<<<<
import org.apache.lucene.store.IOContext.Context;
=======
import org.apache.lucene.util.IOUtils;
>>>>>>>
import org.apache.lucene.util.IOUtils;
<<<<<<<
public SimpleFSIndexInput(File path, IOContext context, int chunkSize) throws IOException {
super(context);
file = new Descriptor(path,... |
<<<<<<<
=======
import javax.xml.parsers.ParserConfigurationException;
import java.io.Closeable;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Writer;
import java.lang.reflect.Constructor;
import ja... |
<<<<<<<
@Override
=======
>>>>>>>
@Override
<<<<<<<
@Override
=======
>>>>>>>
@Override |
<<<<<<<
import org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettingsLogger;
=======
import org.eclipse.cdt.utils.EFSExtensionManager;
>>>>>>>
import org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettingsLogger;
import org.eclipse.cdt.utils.EFSExtensionManager; |
<<<<<<<
List<IConsoleParser> parsers = new ArrayList<IConsoleParser>();
ManagedBuildManager.collectLanguageSettingsConsoleParsers(cfgDescription, epm, parsers);
buildRunnerHelper.prepareStreams(epm, parsers, console, new SubProgressMonitor(monitor, 1 * MONITOR_SCALE));
=======
buildRunnerHelper.prepareSt... |
<<<<<<<
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
=======
import java.net.URI;
>>>>>>>
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
<<<<<<<
import org.eclipse.cdt.core.language.settings.providers.ILanguageSettingsProvider;
import ... |
<<<<<<<
public static final String MBS_LANGUAGE_SETTINGS_PROVIDER = "org.eclipse.cdt.managedbuilder.core.LanguageSettingsProvider";
// private static final QualifiedName buildInfoProperty = new QualifiedName(ManagedBuilderCorePlugin.getUniqueIdentifier(), "managedBuildInfo"); //$NON-NLS-1$
=======
// private static ... |
<<<<<<<
case R.id.btnCircleGraph:
startActivity(CircleGraphActivity.class);
break;
=======
case R.id.btnRadarGraph:
startActivity(RadarGraphActivity.class);
break;
>>>>>>>
case R.id.btnCircleGraph:
startActivity(CircleGraphActivity.class);
break;
case R.id.btnRadarGraph:
... |
<<<<<<<
case R.id.btnCurveGraph:
startActivity(CurveGraphActivity.class);
break;
case R.id.btnCurveGraphWithRegion:
startActivity(CurveGraphWithRegionActivity.class);
break;
case R.id.btnCurveCompareGraph:
startActivity(CurveCompareGraphActivity.class);
break;
=======
case R.id.b... |
<<<<<<<
void drawPolygons( ArrayList<PolygonBuilder> polygons, SwingCanvas swingCanvas )
{
float f = renderer.tileSize / 32f;
for ( PolygonBuilder pb: polygons )
{
Polygon p = pb.polygon( f, renderer.offsetX, renderer.offsetY );
swingC... |
<<<<<<<
/**
* @return The number of items in the lookup table.
*/
public int size()
{
return list.size();
}
=======
public void debugPrint()
{
PrintStream p = System.out;
p.printf( "\n\n" );
for ( T o: this )
{
Position pos = o.ge... |
<<<<<<<
@Override
public void drawFilledPoly( int[] xs, int[] ys, FakePaint paint )
{
}
=======
@Override
public void drawRect( Rect rect, FakePaint paint )
{
}
@Override
public void drawText( String text, float x, float y, FakePaint p... |
<<<<<<<
import java.util.Collections;
=======
import java.util.HashMap;
>>>>>>>
import java.util.Collections;
import java.util.HashMap; |
<<<<<<<
final ZigBeeApi zigbeeApi = new ZigBeeApi(port, 4951, 11, false);
=======
final EnumSet<DiscoveryMode> discoveryModes = DiscoveryMode.ALL;
discoveryModes.remove(DiscoveryMode.LinkQuality);
final ZigBeeApi zigbeeApi = new ZigBeeApi("/dev/ttyACM0", 4951, 11, false, discoveryModes... |
<<<<<<<
import org.bubblecloud.zigbee.network.port.ZigBeePort;
=======
import org.bubblecloud.zigbee.network.model.DiscoveryMode;
>>>>>>>
import org.bubblecloud.zigbee.network.port.ZigBeePort;
import org.bubblecloud.zigbee.network.model.DiscoveryMode;
<<<<<<<
private void process(final ZigBeeApi zigbeeApi, fina... |
<<<<<<<
=======
import org.openecard.bouncycastle.crypto.tls.Certificate;
import org.openecard.common.util.Pair;
import org.openecard.control.module.tctoken.hacks.ObjectTag;
import org.openecard.control.module.tctoken.hacks.PathSecurityParameters;
>>>>>>>
import org.openecard.bouncycastle.crypto.tls.Certificate;
imp... |
<<<<<<<
import org.n52.iceland.exception.ows.OwsExceptionReport;
import org.n52.iceland.ogc.sos.SosConstants;
import org.n52.sos.response.GetObservationByIdResponse;
=======
import org.n52.shetland.ogc.sos.SosConstants;
>>>>>>>
import org.n52.shetland.ogc.sos.SosConstants;
<<<<<<<
@Override
public GetObserv... |
<<<<<<<
setFirstDayOfWeek(firstDayOfWeek);
setSelectedDate(CalendarDay.today());
=======
setSelectedDate(new CalendarDay());
>>>>>>>
setSelectedDate(CalendarDay.today());
<<<<<<<
CalendarDay day = CalendarDay.from(calendar);
dayView.setDay(day);
=======
... |
<<<<<<<
try {
transformer = XmlUtils.getTransformerFactory().newTransformer();
} catch (TransformerConfigurationException e) {
throw new Docx4JException("Exception creating identity transformer to output result: " + e.getMessage(), e);
}
try {
// Resolution of doctype eg
// <!DOCTYPE html PUBLIC... |
<<<<<<<
import java.util.Map;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
=======
>>>>>>>
import java.util.Map;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
<<<<<<<
* Should we compile as bare?
*
* @parameter default-value... |
<<<<<<<
menu.add(0, USE_AS_RINGTONE, 0, R.string.ringtone_menu_short).setIcon(R.drawable.ic_menu_set_as_ringtone);
menu.add(0, DELETE_ITEM, 0, R.string.delete_item).setIcon(R.drawable.ic_menu_delete);
=======
MusicUtils.makePlaylistMenu(this, sub);
// these next two are... |
<<<<<<<
private boolean allowDuplicates = true;
=======
private Layout lastLayout = null;
>>>>>>>
private Layout lastLayout = null;
private boolean allowDuplicates = true; |
<<<<<<<
/*
* Copyright (C) 2012-2019 52°North Initiative for Geospatial Open Source
=======
/**
* Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source
>>>>>>>
/*
* Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source |
<<<<<<<
/*
* Copyright (C) 2012-2019 52°North Initiative for Geospatial Open Source
=======
/**
* Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source
>>>>>>>
/*
* Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source |
<<<<<<<
if (tmp != null && tmp.length == 3) {
this.slaveSetName = tmp[0];
this.slaveSetArea = tmp[1];
this.slaveSetID = tmp[2];
this.setEnableSet(true);
} else {
this.slaveSetName = "";
this.slaveSetArea = "";
this.slave... |
<<<<<<<
=======
import java.util.regex.Pattern;
>>>>>>>
import java.util.regex.Pattern;
<<<<<<<
import org.kohsuke.args4j.spi.PathOptionHandler;
=======
import org.kohsuke.args4j.spi.PatternOptionHandler;
>>>>>>>
import org.kohsuke.args4j.spi.PathOptionHandler;
import org.kohsuke.args4j.spi.PatternOptionHandle... |
<<<<<<<
/*[IF !Sidecar19-SE]*/
=======
/*[IF Java11]*/
// This static method call ensures jdk.internal.loader.ClassLoaders.BOOT_LOADER initialization first
jdk.internal.loader.ClassLoaders.platformClassLoader();
if (bootstrapClassLoader.servicesCatalog != null) {
throw new InternalError("bootstrapClassLo... |
<<<<<<<
import org.citygml4j.model.common.base.ModelType;
import org.citygml4j.model.module.ade.ADEModule;
=======
>>>>>>>
import org.citygml4j.model.module.ade.ADEModule; |
<<<<<<<
=======
import utils.RequestUtils;
import views.html.modules.moduleRegistrationForm;
>>>>>>>
<<<<<<<
module,
form));
=======
module,
PlayVersion.getAll(),
... |
<<<<<<<
//import org.hamcrest.core.IsInstanceOf;
=======
//import org.hamcrest.core.IsInstanceOf;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
import javax.smartcardio.ATR;
import com.yahoo.labs.samoa.instances.Instance;
import com.yahoo.labs.samoa.instances.InstanceData;
impo... |
<<<<<<<
=======
>>>>>>>
<<<<<<<
"cross validation evaluation");
monitor.setCurrentActivity("Performing cross validation...", 50.0);
=======
"learning evaluation instances");
>>>>>>>
"learning evaluation instances");
monitor.setCurrentActivity("Performing cross val... |
<<<<<<<
if (mEncryption != null) {
mLogSaver.setEncodeType(mEncryption);
}
=======
if(mEncryption != null){
mLogSaver.setEncodeType(mEncryption);
}
>>>>>>>
if (mEncryption != null) {
mLogSaver.setEncodeType(mEncryption);
}
<<<<<<<
... |
<<<<<<<
public boolean shouldResolveWorkspaceProjects() {
return registry.getProject(project).getResolverConfiguration().shouldResolveWorkspaceProjects();
}
public String getPath() {
return project.getFullPath().toString();
}
=======
private static void createLink(IResource... |
<<<<<<<
=======
>>>>>>> |
<<<<<<<
import me.gladwell.eclipse.m2e.android.BuildListenerRegistry;
=======
import me.gladwell.eclipse.m2e.android.BuildListenerRegistry;
import org.apache.maven.archetype.catalog.Archetype;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apach... |
<<<<<<<
import jdk.internal.dynalink.linker.LinkRequest;
=======
import jdk.nashorn.api.scripting.JSObject;
>>>>>>>
import jdk.internal.dynalink.linker.LinkRequest;
import jdk.nashorn.api.scripting.JSObject;
<<<<<<<
private static final MethodHandle IS_MAP = findOwnMH("isMap", boolean.class, Script... |
<<<<<<<
=======
import jdk.nashorn.internal.lookup.Lookup;
>>>>>>>
<<<<<<<
final ScriptObject global = Context.getGlobalTrusted();
return new SetMethod(ScriptObject.bindTo(global.addSpill(type, getName()), global), null);
=======
final ScriptObject global = Context.getGlobal();
ret... |
<<<<<<<
import static jdk.nashorn.internal.runtime.ECMAErrors.typeError;
import java.nio.ByteBuffer;
=======
import java.nio.ByteBuffer;
import java.util.Arrays;
>>>>>>>
import static jdk.nashorn.internal.runtime.ECMAErrors.typeError;
import java.nio.ByteBuffer;
<<<<<<<
static PropertyMap getInitialMap() {
... |
<<<<<<<
import static jdk.nashorn.internal.codegen.CompilerConstants.CREATE_PROGRAM_FUNCTION;
=======
import static jdk.nashorn.internal.codegen.CompilerConstants.CONSTANTS;
import static jdk.nashorn.internal.codegen.CompilerConstants.RUN_SCRIPT;
import static jdk.nashorn.internal.codegen.CompilerConstants.SOURCE;
>... |
<<<<<<<
import jdk.nashorn.internal.objects.NativeArray;
=======
import jdk.nashorn.internal.objects.Global;
>>>>>>>
import jdk.nashorn.internal.objects.Global;
import jdk.nashorn.internal.objects.NativeArray;
<<<<<<<
/** Is this a prototype PropertyMap? */
public static final int IS_PROTOTYPE = 1 << 3;
... |
<<<<<<<
final Source source = new Source(file.getAbsolutePath(), buffer);
new Parser(context.getEnv(), source, errors, context.getEnv()._strict, null).parse();
=======
final Source source = sourceFor(file.getAbsolutePath(), buffer);
new Parser(context.getEnv(), sour... |
<<<<<<<
import java.util.LinkedHashMap;
=======
import java.util.List;
>>>>>>>
<<<<<<<
public final class Global extends ScriptObject implements GlobalObject, Scope {
// Placeholder value used in place of a location property (__FILE__, __DIR__, __LINE__)
private static final Object LOCATION_PROPERTY_PLACEHO... |
<<<<<<<
private static final Type CONTEXT_TYPE = Type.getType(Context.class);
private static final Type OBJECT_TYPE = Type.getType(Object.class);
private static final Type SCRIPT_OBJECT_TYPE = Type.getType(ScriptObject.class);
private static final Type GLOBAL_TYPE = Type.getType(Glob... |
<<<<<<<
static final MethodHandle GETPROTO = findOwnMH_V("getProto", ScriptObject.class);
static final MethodHandle SETPROTOCHECK = findOwnMH_V("setProtoCheck", void.class, Object.class);
static final MethodHandle MEGAMORPHIC_GET = findOwnMH_V("megamorphicGet", Object.class, String.class, ... |
<<<<<<<
protected static Object subarrayImpl(final Object self, final Object begin0, final Object end0) {
final ArrayBufferView arrayView = (ArrayBufferView)self;
final int byteOffset = arrayView.byteOffset;
final int bytesPerElement = arrayView.bytesPerEle... |
<<<<<<<
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import jdk.internal.dynalink.support.NameCodec;
import jdk.nashorn.internal.codegen.CompileUnit;
=======
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Map;
... |
<<<<<<<
public static PropertyMap newMap(final Collection<Property> properties, final int fieldCount, final int fieldMaximum, final int spillLength) {
final PropertyHashMap newProperties = EMPTY_HASHMAP.immutableAdd(properties);
return new PropertyMap(newProperties, fieldCount, fieldMaximum, spillL... |
<<<<<<<
final FunctionNode functionNode = new Parser(env, new Source(fileName, new File(fileName)), errors, env._strict, FunctionNode.FIRST_FUNCTION_ID, 0, context.getLogger(Parser.class)).parse();
=======
final FunctionNode functionNode = new Parser(env, sourceFor(fileName, new File(f... |
<<<<<<<
/**
* general emotion
*/
general.put("[挖鼻屎]", "kbsa_org.png");
general.put("[泪]", "sada_org.png");
general.put("[亲亲]", "qq_org.png");
general.put("[晕]", "dizzya_org.png");
general.put("[可爱]", "tza_org.png");
general.put("[花心]", "hsa_org.... |
<<<<<<<
import com.chirag.RNMail.RNMail;
import com.reactnativecomponent.splashscreen.RCTSplashScreenPackage;
=======
import com.jamesisaac.rnbackgroundtask.BackgroundTaskPackage;
>>>>>>>
import com.chirag.RNMail.RNMail;
import com.reactnativecomponent.splashscreen.RCTSplashScreenPackage;
import com.jamesisaac.rnbac... |
<<<<<<<
import java.awt.image.BufferedImage;
import java.awt.image.ColorConvertOp;
=======
import net.adoptopenjdk.icedteaweb.option.OptionsDefinitions;
import net.sourceforge.jnlp.IconDesc;
import net.sourceforge.jnlp.JNLPFile;
import net.sourceforge.jnlp.Launcher;
import net.sourceforge.jnlp.PluginBridge;
import ne... |
<<<<<<<
import net.adoptopenjdk.icedteaweb.commandline.CommandLineOptions;
=======
import net.adoptopenjdk.icedteaweb.IcedTeaWebConstants;
import net.adoptopenjdk.icedteaweb.option.OptionsDefinitions;
>>>>>>>
import net.adoptopenjdk.icedteaweb.IcedTeaWebConstants;
import net.adoptopenjdk.icedteaweb.commandline.Comma... |
<<<<<<<
import net.adoptopenjdk.icedteaweb.commandline.CommandLineOptions;
=======
import net.adoptopenjdk.icedteaweb.IcedTeaWebConstants;
import net.adoptopenjdk.icedteaweb.option.OptionsDefinitions;
>>>>>>>
import net.adoptopenjdk.icedteaweb.IcedTeaWebConstants;
import net.adoptopenjdk.icedteaweb.commandline.Co... |
<<<<<<<
/*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
=======
/**
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
>>>>>>>
/*
* Copyright (C) 2012-2017 52°North Initiative for Geospatial Open Source
<<<<<<<
import org.n52.sos.ds.hibernate.entities.parameter.V... |
<<<<<<<
import java.util.Map;
import net.adoptopenjdk.icedteaweb.jnlp.version.Version;
=======
import java.util.Map;
import net.adoptopenjdk.icedteaweb.jnlp.element.application.AppletDesc;
import net.adoptopenjdk.icedteaweb.jnlp.element.resource.JARDesc;
import net.adoptopenjdk.icedteaweb.jnlp.element.resource.Resour... |
<<<<<<<
import net.adoptopenjdk.icedteaweb.IcedTeaWebConstants;
=======
import net.adoptopenjdk.icedteaweb.xmlparser.Node;
import net.adoptopenjdk.icedteaweb.xmlparser.ParseException;
>>>>>>>
import net.adoptopenjdk.icedteaweb.IcedTeaWebConstants;
import net.adoptopenjdk.icedteaweb.xmlparser.Node;
import net.adoptop... |
<<<<<<<
import net.adoptopenjdk.icedteaweb.xmlparser.XMLParser;
=======
>>>>>>>
import net.adoptopenjdk.icedteaweb.xmlparser.XMLParser;
<<<<<<<
private AppletDesc getApplet(Node node) throws ParseException {
String name = getRequiredAttribute(node, "name", R("PUnknownApplet"), strict);
String ma... |
<<<<<<<
import net.adoptopenjdk.icedteaweb.icon.IcoReaderSpi;
=======
import net.adoptopenjdk.icedteaweb.config.validators.ValueValidator;
import net.sourceforge.jnlp.tools.ico.IcoSpi;
>>>>>>>
import net.adoptopenjdk.icedteaweb.config.validators.ValueValidator;
import net.adoptopenjdk.icedteaweb.icon.IcoReaderSpi;
... |
<<<<<<<
import net.adoptopenjdk.icedteaweb.jnlp.element.EntryPoint;
import net.adoptopenjdk.icedteaweb.jnlp.element.application.AppletDesc;
import net.adoptopenjdk.icedteaweb.jnlp.element.application.ApplicationDesc;
import net.adoptopenjdk.icedteaweb.jnlp.element.extension.InstallerDesc;
import net.adoptopenjdk.icedte... |
<<<<<<<
import static org.hamcrest.CoreMatchers.is;
/** Test various corner cases of the parser */
=======
/**
* Test various corner cases of the parser
*/
>>>>>>>
import static org.hamcrest.CoreMatchers.is;
/**
* Test various corner cases of the parser
*/ |
<<<<<<<
//iterate through the unencryptedPrefs encrypting each one with new key
Iterator<String> unencryptedPrefsKeys = allOfThePrefs.keySet().iterator();
=======
Iterator<String> unencryptedPrefsKeys = unencryptedPrefs.keySet().iterator();
>>>>>>>
//iterate through the unencryptedPr... |
<<<<<<<
MavenRepositorySystemSession session = container.setupRepoSession(maven, settings);
Artifact artifact = MavenConvertUtils.coordinateToMavenArtifact(dep);
=======
DefaultRepositorySystemSession session = container.setupRepoSession(maven, settings);
Artifact artifact = coord... |
<<<<<<<
import com.thebluealliance.androidclient.fragments.ListViewFragment;
=======
import com.thebluealliance.androidclient.fragments.ListviewFragment;
import com.thebluealliance.androidclient.interfaces.HasYearParam;
>>>>>>>
import com.thebluealliance.androidclient.fragments.ListViewFragment;
import com.theblueal... |
<<<<<<<
=======
import com.thebluealliance.androidclient.activities.BaseActivity;
import com.thebluealliance.androidclient.activities.ViewTeamActivity;
>>>>>>>
import com.thebluealliance.androidclient.activities.BaseActivity;
import com.thebluealliance.androidclient.activities.ViewTeamActivity;
<<<<<<<
public class... |
<<<<<<<
=======
import org.n52.sos.exception.ows.InvalidParameterValueException;
import org.n52.sos.ogc.om.AbstractPhenomenon;
import org.n52.sos.ogc.om.OmCompositePhenomenon;
import org.n52.sos.ogc.om.OmObservableProperty;
>>>>>>>
import org.n52.sos.ogc.om.AbstractPhenomenon;
import org.n52.sos.ogc.om.OmCompositePh... |
<<<<<<<
=======
import com.thebluealliance.androidclient.activities.BaseActivity;
import com.thebluealliance.androidclient.activities.ViewTeamActivity;
>>>>>>>
<<<<<<<
public class PopulateEventStats extends AsyncTask<String, Void, Void> {
=======
public class PopulateEventStats extends AsyncTask<String, Void, AP... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.