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

  • Start an intent from android
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • findViewById (Activity)
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Reference (javax.naming)
  • Runner (org.openjdk.jmh.runner)
  • 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