com.groupbyinc.flux.common.apache.lucene.util.fst.ByteSequenceOutputs.class Maven / Gradle / Ivy
???? 4 ? Ecom/groupbyinc/flux/common/apache/lucene/util/fst/ByteSequenceOutputs uLcom/groupbyinc/flux/common/apache/lucene/util/fst/Outputs; 9com/groupbyinc/flux/common/apache/lucene/util/fst/Outputs ByteSequenceOutputs.java NO_OUTPUT 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; singleton GLcom/groupbyinc/flux/common/apache/lucene/util/fst/ByteSequenceOutputs; BASE_NUM_BYTES J $assertionsDisabled Z ()V
this getSingleton I()Lcom/groupbyinc/flux/common/apache/lucene/util/fst/ByteSequenceOutputs;
common ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
java/lang/AssertionError
6com/groupbyinc/flux/common/apache/lucene/util/BytesRef offset I ! " # length % " & java/lang/Math ( min (II)I * +
) , bytes [B . / 0 2 ([BII)V 4
5 output1 output2 pos1 pos2 stopAt1 subtract :com/groupbyinc/flux/common/apache/lucene/util/StringHelper =
startsWith s(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z ? @
> A java/lang/StringBuilder C
D inc.length= F append -(Ljava/lang/String;)Ljava/lang/StringBuilder; H I
D J (I)Ljava/lang/StringBuilder; H L
D M vs output.length= O toString ()Ljava/lang/String; Q R
D S (Ljava/lang/Object;)V U
V output inc add (I)V [
\ java/lang/System ^ arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ` a
_ b result prefix write v(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;)V java/io/IOException h 9com/groupbyinc/flux/common/apache/lucene/store/DataOutput j writeVInt l [
k m
writeBytes o 4
k p out ;Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput; read t(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; 8com/groupbyinc/flux/common/apache/lucene/store/DataInput v readVInt ()I x y
w z readBytes | 4
w } in :Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput; len
skipOutput =(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;)V skipBytes (J)V ? ?
w ? getNoOutput :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; outputToString L(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Ljava/lang/String;
S ramBytesUsed ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)J ? ?com/groupbyinc/flux/common/apache/lucene/util/RamUsageEstimator ? sizeOf ([B)J ? ?
? ? ByteSequenceOutputs ? (Ljava/lang/Object;)J ? ?
? &(Ljava/lang/Object;)Ljava/lang/String; ? ?
? ()Ljava/lang/Object; ? ?
? N(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;)Ljava/lang/Object; t u
? P(Ljava/lang/Object;Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;)V f g
? 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; Z
? <