Codota Logo
BytesStore.writeByte
Code IndexAdd Codota 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)

  • Common ways to obtain BytesStore
private void myMethod () {
BytesStore b =
  • Codota Iconnew BytesStore(blockBits)
  • Smart code suggestions by Codota
}
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

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now