
com.datomic.lucene.store.RAMOutputStream.class Maven / Gradle / Ivy
The newest version!
???? 1 ? (com/datomic/lucene/store/RAMOutputStream $com/datomic/lucene/store/IndexOutput RAMOutputStream.java BUFFER_SIZE I file "Lcom/datomic/lucene/store/RAMFile;
currentBuffer [B currentBufferIndex bufferPosition bufferStart J bufferLength $assertionsDisabled Z ()V com/datomic/lucene/store/RAMFile
%(Lcom/datomic/lucene/store/RAMFile;)V
this *Lcom/datomic/lucene/store/RAMOutputStream;
" $ f writeTo )(Lcom/datomic/lucene/store/IndexOutput;)V java/io/IOException ) flush +
, length . / getBuffer (I)[B 1 2
3
writeBytes ([BI)V 5 6
7 nextPos out &Lcom/datomic/lucene/store/IndexOutput; end pos buffer reset @ B D setLength (J)V F G
H close seek
setFileLength L
M switchCurrentBuffer Q
R ()J writeByte (B)V b B ([BII)V Z java/lang/AssertionError \
] java/lang/System _ arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V a b
` c remainInBuffer bytesToCopy offset len
numBuffers ()I i j
k addBuffer m 2
n pointer currentTimeMillis q T
` r setLastModified t G
u getFilePointer sizeInBytes copyBytes ((Lcom/datomic/lucene/store/DataInput;J)V java/lang/StringBuilder {
| numBytes= ~ append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
| ? (J)Ljava/lang/StringBuilder; ? ?
| ? toString ()Ljava/lang/String; ? ?
| ? (Ljava/lang/Object;)V ?
] ? "com/datomic/lucene/store/DataInput ? readBytes ([BIIZ)V ? ?
? ? toCopy input $Lcom/datomic/lucene/store/DataInput; numBytes java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ?
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
SourceFile ! ?
? : *? Y? ? ? ? ?
) * ? X *? *+? !*? #*? %? ? &