com.groupbyinc.flux.common.util.BigByteArray.class Maven / Gradle / Ivy
???? 4 ? ,com/groupbyinc/flux/common/util/BigByteArray 0com/groupbyinc/flux/common/util/AbstractBigArray )com/groupbyinc/flux/common/util/ByteArray BigByteArray.java ESTIMATOR .Lcom/groupbyinc/flux/common/util/BigByteArray; pages [[B $assertionsDisabled Z 0(JLcom/groupbyinc/flux/common/util/BigArrays;Z)V 0(ILcom/groupbyinc/flux/common/util/BigArrays;Z)V
size J numPages (J)I
[B
)com/groupbyinc/flux/common/util/BigArrays newBytePage (I)[B ! "
# i I this bigArrays +Lcom/groupbyinc/flux/common/util/BigArrays;
clearOnResize get (J)B pageIndex -
. indexInPage 0
1 index set (JB)B value B page ret =(JILcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z
; ()J =
> java/lang/AssertionError @ ()V B
A C pageSize ()I E F
G 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef I bytes K J L offset N & J O length Q & J R java/lang/System T arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V V W
U X java/lang/Math Z min (II)I \ ]
[ ^
copyLength len ref 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; (J[BII)V copyLen buf fill (JJB)V "java/lang/IllegalArgumentException i
j C java/util/Arrays l ([BIIB)V g n
m o ([BB)V g q
m r fromIndex toIndex fromPage toPage numBytesPerElement resize (J)V ?com/groupbyinc/flux/common/apache/lucene/util/RamUsageEstimator { NUM_BYTES_OBJECT_REF } & | ~ 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil ? oversize ? ]
? ? copyOf )([Ljava/lang/Object;I)[Ljava/lang/Object; ? ?
m ? releasePage (I)V ? ?
? newSize estimateRamBytes (J)J ? ramBytesEstimated ? ?
? java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? NON_RECYCLING_INSTANCE ? ) ?
? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 0
? ? <*@ -? *? **? ? ? 6*? ?? *? *? $S???? ? 4 % &