Tabnine Logo
TrieCollector
Code IndexAdd Tabnine to your IDE (free)

How to use
TrieCollector
in
com.ociweb.pronghorn.util

Best Java code snippets using com.ociweb.pronghorn.util.TrieCollector (Showing top 3 results out of 315)

origin: com.ociweb/PronghornPipes

public int valueOfUTF8(CharSequence cs) {
  
  pipe.reset();
  Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  
  int origPos = Pipe.getWorkingBlobHeadPosition(pipe);
  int len = Pipe.copyUTF8ToByte(cs, 0, cs.length(), pipe);
  Pipe.addBytePosAndLen(pipe, origPos, len);        
  Pipe.publishWrites(pipe);
  Pipe.confirmLowLevelWrite(pipe, rawChunkSize);
  
  Pipe.takeMsgIdx(pipe);
  Pipe.confirmLowLevelRead(pipe, rawChunkSize);
    int meta = Pipe.takeByteArrayMetaData(pipe);
  int result = valueOf(Pipe.byteBackingArray(meta, pipe),Pipe.bytePosition(meta, pipe, Pipe.takeByteArrayLength(pipe)),Pipe.takeByteArrayLength(pipe),Pipe.blobMask(pipe));
  
  Pipe.releaseReadLock(pipe);
  return result;
}
 
origin: com.ociweb/pronghorn-pipes

public int valueOfUTF8(CharSequence cs) {
  
  pipe.reset();
  Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  
  int origPos = Pipe.getWorkingBlobHeadPosition(pipe);
  int len = Pipe.copyUTF8ToByte(cs, 0, cs.length(), pipe);
  Pipe.addBytePosAndLen(pipe, origPos, len);        
  Pipe.publishWrites(pipe);
  Pipe.confirmLowLevelWrite(pipe, rawChunkSize);
  
  Pipe.takeMsgIdx(pipe);
  Pipe.confirmLowLevelRead(pipe, rawChunkSize);
    int meta = Pipe.takeByteArrayMetaData(pipe);
  int result = valueOf(Pipe.byteBackingArray(meta, pipe),Pipe.bytePosition(meta, pipe, Pipe.takeByteArrayLength(pipe)),Pipe.takeByteArrayLength(pipe),Pipe.blobMask(pipe));
  
  Pipe.releaseReadLock(pipe);
  return result;
}

origin: oci-pronghorn/Pronghorn

public int valueOfUTF8(CharSequence cs) {
  
  pipe.reset();
  Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  
  int origPos = Pipe.getWorkingBlobHeadPosition(pipe);
  int len = Pipe.copyUTF8ToByte(cs, 0, cs.length(), pipe);
  Pipe.addBytePosAndLen(pipe, origPos, len);        
  Pipe.publishWrites(pipe);
  Pipe.confirmLowLevelWrite(pipe, rawChunkSize);
  
  Pipe.takeMsgIdx(pipe);
  Pipe.confirmLowLevelRead(pipe, rawChunkSize);
    int meta = Pipe.takeByteArrayMetaData(pipe);
  int result = valueOf(Pipe.byteBackingArray(meta, pipe),Pipe.bytePosition(meta, pipe, Pipe.takeByteArrayLength(pipe)),Pipe.takeByteArrayLength(pipe),Pipe.blobMask(pipe));
  
  Pipe.releaseReadLock(pipe);
  return result;
}

com.ociweb.pronghorn.utilTrieCollector

Most used methods

  • valueOf

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JLabel (javax.swing)
  • JOptionPane (javax.swing)
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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