class org.apache.lucene.util.packed.DirectPackedReader extends org.apache.lucene.util.packed.PackedInts$ReaderImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.util.packed.DirectPackedReader
super_class: org.apache.lucene.util.packed.PackedInts$ReaderImpl
{
final org.apache.lucene.store.IndexInput in;
descriptor: Lorg/apache/lucene/store/IndexInput;
flags: (0x0010) ACC_FINAL
final int bitsPerValue;
descriptor: I
flags: (0x0010) ACC_FINAL
final long startPointer;
descriptor: J
flags: (0x0010) ACC_FINAL
final long valueMask;
descriptor: J
flags: (0x0010) ACC_FINAL
void <init>(int, int, org.apache.lucene.store.IndexInput);
descriptor: (IILorg/apache/lucene/store/IndexInput;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
invokespecial org.apache.lucene.util.packed.PackedInts$ReaderImpl.<init>:(I)V
1: aload 0
aload 3
putfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
2: aload 0
iload 1
putfield org.apache.lucene.util.packed.DirectPackedReader.bitsPerValue:I
3: aload 0
aload 3
invokevirtual org.apache.lucene.store.IndexInput.getFilePointer:()J
putfield org.apache.lucene.util.packed.DirectPackedReader.startPointer:J
4: iload 1
bipush 64
if_icmpne 7
5: aload 0
ldc -1
putfield org.apache.lucene.util.packed.DirectPackedReader.valueMask:J
6: goto 8
7: StackMap locals: org.apache.lucene.util.packed.DirectPackedReader int int org.apache.lucene.store.IndexInput
StackMap stack:
aload 0
lconst_1
iload 1
lshl
lconst_1
lsub
putfield org.apache.lucene.util.packed.DirectPackedReader.valueMask:J
8: StackMap locals:
StackMap stack:
return
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/DirectPackedReader;
0 9 1 bitsPerValue I
0 9 2 valueCount I
0 9 3 in Lorg/apache/lucene/store/IndexInput;
MethodParameters:
Name Flags
bitsPerValue
valueCount
in
public long get(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: iload 1
i2l
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.bitsPerValue:I
i2l
lmul
lstore 2
start local 2 1: lload 2
iconst_3
lushr
lstore 4
start local 4 2: aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.startPointer:J
lload 4
ladd
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
3: lload 2
ldc 7
land
l2i
istore 6
start local 6 4: iload 6
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.bitsPerValue:I
iadd
bipush 7
iadd
bipush -8
iand
istore 7
start local 7 5: iload 7
iload 6
isub
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.bitsPerValue:I
isub
istore 8
start local 8 6: iload 7
iconst_3
iushr
tableswitch { // 1 - 9
1: 7
2: 9
3: 11
4: 13
5: 15
6: 17
7: 19
8: 21
9: 23
default: 26
}
7: StackMap locals: org.apache.lucene.util.packed.DirectPackedReader int long long int int int
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readByte:()B
i2l
lstore 9
start local 9 8: goto 27
end local 9 9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readShort:()S
i2l
lstore 9
start local 9 10: goto 27
end local 9 11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readShort:()S
i2l
bipush 8
lshl
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readByte:()B
i2l
ldc 255
land
lor
lstore 9
start local 9 12: goto 27
end local 9 13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
i2l
lstore 9
start local 9 14: goto 27
end local 9 15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
i2l
bipush 8
lshl
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readByte:()B
i2l
ldc 255
land
lor
lstore 9
start local 9 16: goto 27
end local 9 17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
i2l
bipush 16
lshl
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readShort:()S
i2l
ldc 65535
land
lor
lstore 9
start local 9 18: goto 27
end local 9 19: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
i2l
bipush 24
lshl
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readShort:()S
i2l
ldc 65535
land
bipush 8
lshl
lor
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readByte:()B
i2l
ldc 255
land
lor
lstore 9
start local 9 20: goto 27
end local 9 21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readLong:()J
lstore 9
start local 9 22: goto 27
end local 9 23: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readLong:()J
bipush 8
iload 8
isub
lshl
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.in:Lorg/apache/lucene/store/IndexInput;
invokevirtual org.apache.lucene.store.IndexInput.readByte:()B
i2l
ldc 255
land
iload 8
lushr
lor
lstore 9
start local 9 24: iconst_0
istore 8
25: goto 27
end local 9 26: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "bitsPerValue too large: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.bitsPerValue:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
start local 9 27: StackMap locals: long
StackMap stack:
lload 9
iload 8
lushr
aload 0
getfield org.apache.lucene.util.packed.DirectPackedReader.valueMask:J
land
28: lreturn
end local 9 end local 8 end local 7 end local 6 29: StackMap locals: org.apache.lucene.util.packed.DirectPackedReader int long long
StackMap stack: java.io.IOException
astore 6
start local 6 30: new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/lucene/util/packed/DirectPackedReader;
0 31 1 index I
1 31 2 majorBitPos J
2 31 4 elementPos J
4 29 6 bitPos I
5 29 7 roundedBits I
6 29 8 shiftRightBits I
8 9 9 rawValue J
10 11 9 rawValue J
12 13 9 rawValue J
14 15 9 rawValue J
16 17 9 rawValue J
18 19 9 rawValue J
20 21 9 rawValue J
22 23 9 rawValue J
24 26 9 rawValue J
27 29 9 rawValue J
30 31 6 ioe Ljava/io/IOException;
Exception table:
from to target type
2 28 29 Class java.io.IOException
MethodParameters:
Name Flags
index
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/packed/DirectPackedReader;
}
SourceFile: "DirectPackedReader.java"
InnerClasses:
abstract ReaderImpl = org.apache.lucene.util.packed.PackedInts$ReaderImpl of org.apache.lucene.util.packed.PackedInts