public class org.apache.lucene.util.packed.GrowableWriter extends org.apache.lucene.util.packed.PackedInts$Mutable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.util.packed.GrowableWriter
super_class: org.apache.lucene.util.packed.PackedInts$Mutable
{
private long currentMask;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.util.packed.PackedInts$Mutable current;
descriptor: Lorg/apache/lucene/util/packed/PackedInts$Mutable;
flags: (0x0002) ACC_PRIVATE
private final float acceptableOverheadRatio;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/packed/GrowableWriter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.util.packed.GrowableWriter.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int, float);
descriptor: (IIF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.apache.lucene.util.packed.PackedInts$Mutable.<init>:()V
1: aload 0
fload 3
putfield org.apache.lucene.util.packed.GrowableWriter.acceptableOverheadRatio:F
2: aload 0
iload 2
iload 1
aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.acceptableOverheadRatio:F
invokestatic org.apache.lucene.util.packed.PackedInts.getMutable:(IIF)Lorg/apache/lucene/util/packed/PackedInts$Mutable;
putfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
3: aload 0
aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.getBitsPerValue:()I
invokestatic org.apache.lucene.util.packed.GrowableWriter.mask:(I)J
putfield org.apache.lucene.util.packed.GrowableWriter.currentMask:J
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 5 1 startBitsPerValue I
0 5 2 valueCount I
0 5 3 acceptableOverheadRatio F
MethodParameters:
Name Flags
startBitsPerValue
valueCount
acceptableOverheadRatio
private static long mask(int);
descriptor: (I)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 64
if_icmpne 1
ldc -1
goto 2
StackMap locals:
StackMap stack:
1: iload 0
invokestatic org.apache.lucene.util.packed.PackedInts.maxValue:(I)J
StackMap locals:
StackMap stack: long
2: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bitsPerValue I
MethodParameters:
Name Flags
bitsPerValue
public long get(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
iload 1
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.get:(I)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 1 1 index I
MethodParameters:
Name Flags
index
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
public int getBitsPerValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.getBitsPerValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
public org.apache.lucene.util.packed.PackedInts$Mutable getMutable();
descriptor: ()Lorg/apache/lucene/util/packed/PackedInts$Mutable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
private void ensureCapacity(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.currentMask:J
land
lload 1
lcmp
ifne 2
1: return
2: StackMap locals:
StackMap stack:
lload 1
invokestatic org.apache.lucene.util.packed.PackedInts.unsignedBitsRequired:(J)I
istore 3
start local 3 3: getstatic org.apache.lucene.util.packed.GrowableWriter.$assertionsDisabled:Z
ifne 4
iload 3
aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.getBitsPerValue:()I
if_icmpgt 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.lucene.util.packed.GrowableWriter.size:()I
istore 4
start local 4 5: iload 4
iload 3
aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.acceptableOverheadRatio:F
invokestatic org.apache.lucene.util.packed.PackedInts.getMutable:(IIF)Lorg/apache/lucene/util/packed/PackedInts$Mutable;
astore 5
start local 5 6: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
iconst_0
aload 5
iconst_0
iload 4
sipush 1024
invokestatic org.apache.lucene.util.packed.PackedInts.copy:(Lorg/apache/lucene/util/packed/PackedInts$Reader;ILorg/apache/lucene/util/packed/PackedInts$Mutable;III)V
7: aload 0
aload 5
putfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
8: aload 0
aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.getBitsPerValue:()I
invokestatic org.apache.lucene.util.packed.GrowableWriter.mask:(I)J
putfield org.apache.lucene.util.packed.GrowableWriter.currentMask:J
9: return
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 10 1 value J
3 10 3 bitsRequired I
5 10 4 valueCount I
6 10 5 next Lorg/apache/lucene/util/packed/PackedInts$Mutable;
MethodParameters:
Name Flags
value
public void set(int, long);
descriptor: (IJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
lload 2
invokevirtual org.apache.lucene.util.packed.GrowableWriter.ensureCapacity:(J)V
1: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
iload 1
lload 2
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.set:(IJ)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 3 1 index I
0 3 2 value J
MethodParameters:
Name Flags
index
value
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
public org.apache.lucene.util.packed.GrowableWriter resize(int);
descriptor: (I)Lorg/apache/lucene/util/packed/GrowableWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.lucene.util.packed.GrowableWriter
dup
aload 0
invokevirtual org.apache.lucene.util.packed.GrowableWriter.getBitsPerValue:()I
iload 1
aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.acceptableOverheadRatio:F
invokespecial org.apache.lucene.util.packed.GrowableWriter.<init>:(IIF)V
astore 2
start local 2 1: aload 0
invokevirtual org.apache.lucene.util.packed.GrowableWriter.size:()I
iload 1
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 2: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
iconst_0
aload 2
iconst_0
iload 3
sipush 1024
invokestatic org.apache.lucene.util.packed.PackedInts.copy:(Lorg/apache/lucene/util/packed/PackedInts$Reader;ILorg/apache/lucene/util/packed/PackedInts$Mutable;III)V
3: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 4 1 newSize I
1 4 2 next Lorg/apache/lucene/util/packed/GrowableWriter;
2 4 3 limit I
MethodParameters:
Name Flags
newSize
public int get(int, long[], int, int);
descriptor: (I[JII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
iload 1
aload 2
iload 3
iload 4
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.get:(I[JII)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 1 1 index I
0 1 2 arr [J
0 1 3 off I
0 1 4 len I
MethodParameters:
Name Flags
index
arr
off
len
public int set(int, long[], int, int);
descriptor: (I[JII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: lconst_0
lstore 5
start local 5 1: iload 3
istore 7
start local 7 2: iload 3
iload 4
iadd
istore 8
start local 8 3: goto 6
4: StackMap locals: long int int
StackMap stack:
lload 5
aload 2
iload 7
laload
lor
lstore 5
5: iinc 7 1
StackMap locals:
StackMap stack:
6: iload 7
iload 8
if_icmplt 4
end local 8 end local 7 7: aload 0
lload 5
invokevirtual org.apache.lucene.util.packed.GrowableWriter.ensureCapacity:(J)V
8: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
iload 1
aload 2
iload 3
iload 4
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.set:(I[JII)I
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 9 1 index I
0 9 2 arr [J
0 9 3 off I
0 9 4 len I
1 9 5 max J
2 7 7 i I
3 7 8 end I
MethodParameters:
Name Flags
index
arr
off
len
public void fill(int, int, long);
descriptor: (IIJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
lload 3
invokevirtual org.apache.lucene.util.packed.GrowableWriter.ensureCapacity:(J)V
1: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
iload 1
iload 2
lload 3
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.fill:(IIJ)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 3 1 fromIndex I
0 3 2 toIndex I
0 3 3 val J
MethodParameters:
Name Flags
fromIndex
toIndex
val
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_HEADER:I
1: getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
2: iadd
3: bipush 8
4: iadd
5: iconst_4
6: iadd
i2l
7: invokestatic org.apache.lucene.util.RamUsageEstimator.alignObjectSize:(J)J
8: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.ramBytesUsed:()J
9: ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
public void save(org.apache.lucene.store.DataOutput);
descriptor: (Lorg/apache/lucene/store/DataOutput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.packed.GrowableWriter.current:Lorg/apache/lucene/util/packed/PackedInts$Mutable;
aload 1
invokevirtual org.apache.lucene.util.packed.PackedInts$Mutable.save:(Lorg/apache/lucene/store/DataOutput;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/packed/GrowableWriter;
0 2 1 out Lorg/apache/lucene/store/DataOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
}
SourceFile: "GrowableWriter.java"
InnerClasses:
public abstract Mutable = org.apache.lucene.util.packed.PackedInts$Mutable of org.apache.lucene.util.packed.PackedInts
public abstract Reader = org.apache.lucene.util.packed.PackedInts$Reader of org.apache.lucene.util.packed.PackedInts