Tabnine Logo
BytesStore.writeByte
Code IndexAdd Tabnine to your IDE (free)

How to use
writeByte
method
in
org.apache.lucene.util.fst.BytesStore

Best Java code snippets using org.apache.lucene.util.fst.BytesStore.writeByte (Showing top 10 results out of 315)

origin: org.apache.lucene/lucene-core

FST(INPUT_TYPE inputType, Outputs<T> outputs, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 emptyOutput = null;
}
origin: org.apache.lucene/lucene-core

builder.bytes.writeByte((byte) flags);
writeLabel(builder.bytes, arc.label);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

builder.bytes.writeByte((byte) flags);
writeLabel(builder.bytes, arc.label);
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

FST(INPUT_TYPE inputType, Outputs<T> outputs, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 emptyOutput = null;
}
origin: org.infinispan/infinispan-embedded-query

builder.bytes.writeByte((byte) flags);
writeLabel(builder.bytes, arc.label);
origin: org.infinispan/infinispan-embedded-query

FST(INPUT_TYPE inputType, Outputs<T> outputs, boolean willPackFST, float acceptableOverheadRatio, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 if (willPackFST) {
  nodeAddress = new GrowableWriter(15, 8, acceptableOverheadRatio);
  inCounts = new GrowableWriter(1, 8, acceptableOverheadRatio);
 } else {
  nodeAddress = null;
  inCounts = null;
 }
 emptyOutput = null;
 packed = false;
 nodeRefToAddress = null;
}
origin: harbby/presto-connectors

builder.bytes.writeByte((byte) flags);
writeLabel(builder.bytes, arc.label);
origin: harbby/presto-connectors

FST(INPUT_TYPE inputType, Outputs<T> outputs, boolean willPackFST, float acceptableOverheadRatio, int bytesPageBits) {
 this.inputType = inputType;
 this.outputs = outputs;
 version = VERSION_CURRENT;
 bytesArray = null;
 bytes = new BytesStore(bytesPageBits);
 // pad: ensure no node gets address 0 which is reserved to mean
 // the stop state w/ no arcs
 bytes.writeByte((byte) 0);
 if (willPackFST) {
  nodeAddress = new GrowableWriter(15, 8, acceptableOverheadRatio);
  inCounts = new GrowableWriter(1, 8, acceptableOverheadRatio);
 } else {
  nodeAddress = null;
  inCounts = null;
 }
 emptyOutput = null;
 packed = false;
 nodeRefToAddress = null;
}
origin: org.infinispan/infinispan-embedded-query

writer.writeByte((byte) 0);
    bytesPerArc = arc.bytesPerArc;
   writer.writeByte(ARCS_AS_FIXED_ARRAY);
   writer.writeVInt(arc.numArcs);
   writer.writeVInt(bytesPerArc);
   writer.writeByte(flags);
origin: harbby/presto-connectors

writer.writeByte((byte) 0);
    bytesPerArc = arc.bytesPerArc;
   writer.writeByte(ARCS_AS_FIXED_ARRAY);
   writer.writeVInt(arc.numArcs);
   writer.writeVInt(bytesPerArc);
   writer.writeByte(flags);
org.apache.lucene.util.fstBytesStorewriteByte

Javadoc

Absolute write byte; you must ensure dest is < max position written so far.

Popular methods of BytesStore

  • <init>
    Pulls bytes from the provided IndexInput.
  • copyBytes
  • finish
  • getPosition
  • getReverseReader
  • ramBytesUsed
  • reverse
    Reverse from srcPos, inclusive, to destPos, inclusive.
  • skipBytes
  • writeBytes
  • writeTo
    Writes all of our bytes to the target DataOutput.
  • writeVLong
  • getBlockBits
  • writeVLong,
  • getBlockBits,
  • getForwardReader,
  • truncate,
  • writeVInt

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JList (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now