com.groupbyinc.flux.common.apache.lucene.store.RAMInputStream.class Maven / Gradle / Ivy
???? 4 ? =com/groupbyinc/flux/common/apache/lucene/store/RAMInputStream 9com/groupbyinc/flux/common/apache/lucene/store/IndexInput java/lang/Cloneable RAMInputStream.java ?com/groupbyinc/flux/common/apache/lucene/store/RAMInputStream$1 file 8Lcom/groupbyinc/flux/common/apache/lucene/store/RAMFile; length J
currentBuffer [B currentBufferIndex I bufferPosition bufferLength $assertionsDisabled Z M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/RAMFile;)V java/io/IOException 6com/groupbyinc/flux/common/apache/lucene/store/RAMFile
N(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/RAMFile;J)V
this ?Lcom/groupbyinc/flux/common/apache/lucene/store/RAMInputStream; name Ljava/lang/String; f java/lang/StringBuilder & ()V (
' ) RAMInputStream(name= + append -(Ljava/lang/String;)Ljava/lang/StringBuilder; - .
' / ) 1 toString ()Ljava/lang/String; 3 4
' 5 (Ljava/lang/String;)V 7
8
: ??? RAMInputStream too large length= A (J)Ljava/lang/StringBuilder; - C
' D : F
8 java/lang/String I setCurrentBuffer K (
L close ()J readByte ()B R T
nextBuffer V (
W Y readBytes ([BII)V java/lang/System ] arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V _ `
^ a remainInBuffer bytesToCopy b offset len getFilePointer i seek (J)V h O
m O
o java/io/EOFException q seek beyond EOF: pos= s vs length= u -(Ljava/lang/Object;)Ljava/lang/StringBuilder; - w
' x
r 8 pos newBufferIndex %cannot read another byte at EOF: pos= } java/lang/AssertionError ?
? )
numBuffers ()I ? ?
? getBuffer (I)[B ? ?
? java/lang/Math ? min (JJ)J ? ?
? ? bufferStart slice Q(Ljava/lang/String;JJ)Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput; "java/lang/IllegalArgumentException ? slice() ? out of bounds: ?
? 8 getFullSliceDescription &(Ljava/lang/String;)Ljava/lang/String; ? ?
? ?(Lcom/groupbyinc/flux/common/apache/lucene/store/RAMInputStream;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/RAMFile;JJJ)V ?
? sliceDescription sliceLength java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile InnerClasses !
? M *+,,? ? ? ? ! " # $ % ?
(
) ? ? ? [*? 'Y? *,? 0+? 02? 0? 6? 9*,? ;*!?