final class org.apache.lucene.util.packed.Direct16 extends org.apache.lucene.util.packed.PackedInts$MutableImpl
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.packed.Direct16
super_class: org.apache.lucene.util.packed.PackedInts$MutableImpl
{
final short[] values;
descriptor: [S
flags: (0x0010) 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/Direct16;
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.Direct16.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 16
invokespecial org.apache.lucene.util.packed.PackedInts$MutableImpl.<init>:(II)V
1: aload 0
iload 1
newarray 9
putfield org.apache.lucene.util.packed.Direct16.values:[S
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/packed/Direct16;
0 3 1 valueCount I
MethodParameters:
Name Flags
valueCount
void <init>(int, org.apache.lucene.store.DataInput, int);
descriptor: (ILorg/apache/lucene/store/DataInput;I)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokespecial org.apache.lucene.util.packed.Direct16.<init>:(I)V
1: iconst_0
istore 4
start local 4 2: goto 5
3: StackMap locals: org.apache.lucene.util.packed.Direct16 int org.apache.lucene.store.DataInput int int
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.Direct16.values:[S
iload 4
aload 2
invokevirtual org.apache.lucene.store.DataInput.readShort:()S
sastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 3
if_icmplt 3
end local 4 6: getstatic org.apache.lucene.util.packed.PackedInts$Format.PACKED:Lorg/apache/lucene/util/packed/PackedInts$Format;
iload 1
iload 3
bipush 16
invokevirtual org.apache.lucene.util.packed.PackedInts$Format.byteCount:(III)J
ldc 2
iload 3
i2l
lmul
lsub
l2i
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 2
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
pop
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 4
if_icmplt 9
end local 5 12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/util/packed/Direct16;
0 13 1 packedIntsVersion I
0 13 2 in Lorg/apache/lucene/store/DataInput;
0 13 3 valueCount I
2 6 4 i I
7 13 4 remaining I
8 12 5 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
packedIntsVersion
in
valueCount
public long get(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.packed.Direct16.values:[S
iload 1
saload
i2l
ldc 65535
land
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/packed/Direct16;
0 1 1 index I
MethodParameters:
Name Flags
index final
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
getfield org.apache.lucene.util.packed.Direct16.values:[S
iload 1
lload 2
l2i
i2s
sastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/packed/Direct16;
0 2 1 index I
0 2 2 value J
MethodParameters:
Name Flags
index final
value final
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: bipush 8
2: iadd
3: getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
4: iadd
i2l
5: invokestatic org.apache.lucene.util.RamUsageEstimator.alignObjectSize:(J)J
6: aload 0
getfield org.apache.lucene.util.packed.Direct16.values:[S
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOf:([S)J
7: ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/util/packed/Direct16;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.packed.Direct16.values:[S
iconst_0
invokestatic java.util.Arrays.fill:([SS)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/packed/Direct16;
public int get(int, long[], int, int);
descriptor: (I[JII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.apache.lucene.util.packed.Direct16.$assertionsDisabled:Z
ifne 1
iload 4
ifgt 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "len must be > 0 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.packed.Direct16.$assertionsDisabled:Z
ifne 3
iload 1
iflt 2
iload 1
aload 0
getfield org.apache.lucene.util.packed.Direct16.valueCount:I
if_icmplt 3
StackMap locals:
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.packed.Direct16.$assertionsDisabled:Z
ifne 4
iload 3
iload 4
iadd
aload 2
arraylength
if_icmple 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.Direct16.valueCount:I
iload 1
isub
iload 4
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 5: iload 1
istore 6
start local 6 6: iload 3
istore 7
start local 7 7: iload 1
iload 5
iadd
istore 8
start local 8 8: goto 11
9: StackMap locals: org.apache.lucene.util.packed.Direct16 int long[] int int int int int int
StackMap stack:
aload 2
iload 7
aload 0
getfield org.apache.lucene.util.packed.Direct16.values:[S
iload 6
saload
i2l
ldc 65535
land
lastore
10: iinc 6 1
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 6
iload 8
if_icmplt 9
end local 8 end local 7 end local 6 12: iload 5
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 13 0 this Lorg/apache/lucene/util/packed/Direct16;
0 13 1 index I
0 13 2 arr [J
0 13 3 off I
0 13 4 len I
5 13 5 gets I
6 12 6 i I
7 12 7 o I
8 12 8 end 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: getstatic org.apache.lucene.util.packed.Direct16.$assertionsDisabled:Z
ifne 1
iload 4
ifgt 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "len must be > 0 (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.packed.Direct16.$assertionsDisabled:Z
ifne 3
iload 1
iflt 2
iload 1
aload 0
getfield org.apache.lucene.util.packed.Direct16.valueCount:I
if_icmplt 3
StackMap locals:
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.packed.Direct16.$assertionsDisabled:Z
ifne 4
iload 3
iload 4
iadd
aload 2
arraylength
if_icmple 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.Direct16.valueCount:I
iload 1
isub
iload 4
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 5: iload 1
istore 6
start local 6 6: iload 3
istore 7
start local 7 7: iload 1
iload 5
iadd
istore 8
start local 8 8: goto 11
9: StackMap locals: org.apache.lucene.util.packed.Direct16 int long[] int int int int int int
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.Direct16.values:[S
iload 6
aload 2
iload 7
laload
l2i
i2s
sastore
10: iinc 6 1
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 6
iload 8
if_icmplt 9
end local 8 end local 7 end local 6 12: iload 5
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 13 0 this Lorg/apache/lucene/util/packed/Direct16;
0 13 1 index I
0 13 2 arr [J
0 13 3 off I
0 13 4 len I
5 13 5 sets I
6 12 6 i I
7 12 7 o I
8 12 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=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.lucene.util.packed.Direct16.$assertionsDisabled:Z
ifne 1
lload 3
lload 3
ldc 65535
land
lcmp
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.packed.Direct16.values:[S
iload 1
iload 2
lload 3
l2i
i2s
invokestatic java.util.Arrays.fill:([SIIS)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/Direct16;
0 3 1 fromIndex I
0 3 2 toIndex I
0 3 3 val J
MethodParameters:
Name Flags
fromIndex
toIndex
val
}
SourceFile: "Direct16.java"
InnerClasses:
public Format = org.apache.lucene.util.packed.PackedInts$Format of org.apache.lucene.util.packed.PackedInts
abstract MutableImpl = org.apache.lucene.util.packed.PackedInts$MutableImpl of org.apache.lucene.util.packed.PackedInts