public class org.apache.lucene.util.SparseFixedBitSet extends org.apache.lucene.util.BitSet implements org.apache.lucene.util.Bits, org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.util.SparseFixedBitSet
super_class: org.apache.lucene.util.BitSet
{
private static final long BASE_RAM_BYTES_USED;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long SINGLE_ELEMENT_ARRAY_BYTES_USED;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MASK_4096;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4095
final long[] indices;
descriptor: [J
flags: (0x0010) ACC_FINAL
final long[][] bits;
descriptor: [[J
flags: (0x0010) ACC_FINAL
final int length;
descriptor: I
flags: (0x0010) ACC_FINAL
int nonZeroLongCount;
descriptor: I
flags: (0x0000)
long ramBytesUsed;
descriptor: J
flags: (0x0000)
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=2, locals=0, args_size=0
0: .line 35
ldc Lorg/apache/lucene/util/SparseFixedBitSet;
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.SparseFixedBitSet.$assertionsDisabled:Z
3: .line 37
ldc Lorg/apache/lucene/util/SparseFixedBitSet;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
putstatic org.apache.lucene.util.SparseFixedBitSet.BASE_RAM_BYTES_USED:J
4: .line 38
iconst_1
newarray 11
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOf:([J)J
putstatic org.apache.lucene.util.SparseFixedBitSet.SINGLE_ELEMENT_ARRAY_BYTES_USED:J
5: .line 39
return
LocalVariableTable:
Start End Slot Name Signature
private static int blockCount(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 // int length
0: .line 42
iload 0 /* length */
bipush 12
iushr
istore 1 /* blockCount */
start local 1 // int blockCount
1: .line 43
iload 1 /* blockCount */
bipush 12
ishl
iload 0 /* length */
if_icmpge 3
2: .line 44
iinc 1 /* blockCount */ 1
3: .line 46
StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 4
iload 1 /* blockCount */
bipush 12
ishl
iload 0 /* length */
if_icmpge 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: .line 47
StackMap locals:
StackMap stack:
iload 1 /* blockCount */
ireturn
end local 1 // int blockCount
end local 0 // int length
LocalVariableTable:
Start End Slot Name Signature
0 5 0 length I
1 5 1 blockCount I
MethodParameters:
Name Flags
length
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int length
0: .line 58
aload 0 /* this */
invokespecial org.apache.lucene.util.BitSet.<init>:()V
1: .line 59
iload 1 /* length */
iconst_1
if_icmpge 3
2: .line 60
new java.lang.IllegalArgumentException
dup
ldc "length needs to be >= 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: .line 62
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int
StackMap stack:
aload 0 /* this */
iload 1 /* length */
putfield org.apache.lucene.util.SparseFixedBitSet.length:I
4: .line 63
iload 1 /* length */
invokestatic org.apache.lucene.util.SparseFixedBitSet.blockCount:(I)I
istore 2 /* blockCount */
start local 2 // int blockCount
5: .line 64
aload 0 /* this */
iload 2 /* blockCount */
newarray 11
putfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
6: .line 65
aload 0 /* this */
iload 2 /* blockCount */
anewarray long[]
putfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
7: .line 66
aload 0 /* this */
getstatic org.apache.lucene.util.SparseFixedBitSet.BASE_RAM_BYTES_USED:J
8: .line 67
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOf:(Ljava/lang/Object;)J
ladd
9: .line 68
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOf:([Ljava/lang/Object;)J
ladd
10: .line 66
putfield org.apache.lucene.util.SparseFixedBitSet.ramBytesUsed:J
11: .line 69
return
end local 2 // int blockCount
end local 1 // int length
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 12 1 length I
5 12 2 blockCount I
MethodParameters:
Name Flags
length
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
0: .line 73
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length:I
ireturn
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
private boolean consistent(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int index
0: .line 77
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 2
iload 1 /* index */
iflt 1
iload 1 /* index */
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length:I
if_icmplt 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "index="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1 /* index */
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",length="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length: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
2: .line 78
StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 // int index
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 3 1 index I
MethodParameters:
Name Flags
index
public int cardinality();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=11, args_size=1
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
0: .line 83
iconst_0
istore 1 /* cardinality */
start local 1 // int cardinality
1: .line 84
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int top int int long[][]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2 /* bitArray */
start local 2 // long[] bitArray
3: .line 85
aload 2 /* bitArray */
ifnull 9
4: .line 86
aload 2 /* bitArray */
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 8
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int long[] int int long[][] top top int int long[]
StackMap stack:
5: aload 10
iload 8
laload
lstore 6 /* bits */
start local 6 // long bits
6: .line 87
iload 1 /* cardinality */
lload 6 /* bits */
invokestatic java.lang.Long.bitCount:(J)I
iadd
istore 1 /* cardinality */
end local 6 // long bits
7: .line 86
iinc 8 1
StackMap locals:
StackMap stack:
8: iload 8
iload 9
if_icmplt 5
end local 2 // long[] bitArray
9: .line 84
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int top int int long[][]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 2
11: .line 91
iload 1 /* cardinality */
ireturn
end local 1 // int cardinality
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
1 12 1 cardinality I
3 9 2 bitArray [J
6 7 6 bits J
public int approximateCardinality();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
0: .line 99
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length:I
bipush 63
iadd
bipush 6
iushr
istore 1 /* totalLongs */
start local 1 // int totalLongs
1: .line 100
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 2
iload 1 /* totalLongs */
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
if_icmpge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: .line 101
StackMap locals: int
StackMap stack:
iload 1 /* totalLongs */
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
isub
istore 2 /* zeroLongs */
start local 2 // int zeroLongs
3: .line 103
iload 1 /* totalLongs */
i2d
iload 1 /* totalLongs */
i2d
iload 2 /* zeroLongs */
i2d
ddiv
invokestatic java.lang.Math.log:(D)D
dmul
invokestatic java.lang.Math.round:(D)J
lstore 3 /* estimate */
start local 3 // long estimate
4: .line 104
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length:I
i2l
lload 3 /* estimate */
invokestatic java.lang.Math.min:(JJ)J
l2i
ireturn
end local 3 // long estimate
end local 2 // int zeroLongs
end local 1 // int totalLongs
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
1 5 1 totalLongs I
3 5 2 zeroLongs I
4 5 3 estimate J
public boolean get(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i
0: .line 109
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 1
aload 0 /* this */
iload 1 /* i */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.consistent:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 110
StackMap locals:
StackMap stack:
iload 1 /* i */
bipush 12
iushr
istore 2 /* i4096 */
start local 2 // int i4096
2: .line 111
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 2 /* i4096 */
laload
lstore 3 /* index */
start local 3 // long index
3: .line 112
iload 1 /* i */
bipush 6
iushr
istore 5 /* i64 */
start local 5 // int i64
4: .line 115
lload 3 /* index */
lconst_1
iload 5 /* i64 */
lshl
land
lconst_0
lcmp
ifne 6
5: .line 116
iconst_0
ireturn
6: .line 122
StackMap locals: int long int
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 2 /* i4096 */
aaload
lload 3 /* index */
lconst_1
iload 5 /* i64 */
lshl
lconst_1
lsub
land
invokestatic java.lang.Long.bitCount:(J)I
laload
lstore 6 /* bits */
start local 6 // long bits
7: .line 123
lload 6 /* bits */
lconst_1
iload 1 /* i */
lshl
land
lconst_0
lcmp
ifeq 8
iconst_1
ireturn
StackMap locals: long
StackMap stack:
8: iconst_0
ireturn
end local 6 // long bits
end local 5 // int i64
end local 3 // long index
end local 2 // int i4096
end local 1 // int i
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 9 1 i I
2 9 2 i4096 I
3 9 3 index J
4 9 5 i64 I
7 9 6 bits J
MethodParameters:
Name Flags
i
private static int oversize(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 // int s
0: .line 127
iload 0 /* s */
iload 0 /* s */
iconst_1
iushr
iadd
istore 1 /* newSize */
start local 1 // int newSize
1: .line 128
iload 1 /* newSize */
bipush 50
if_icmple 3
2: .line 129
bipush 64
istore 1 /* newSize */
3: .line 131
StackMap locals: int
StackMap stack:
iload 1 /* newSize */
ireturn
end local 1 // int newSize
end local 0 // int s
LocalVariableTable:
Start End Slot Name Signature
0 4 0 s I
1 4 1 newSize I
MethodParameters:
Name Flags
s
public void set(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i
0: .line 138
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 1
aload 0 /* this */
iload 1 /* i */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.consistent:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 139
StackMap locals:
StackMap stack:
iload 1 /* i */
bipush 12
iushr
istore 2 /* i4096 */
start local 2 // int i4096
2: .line 140
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 2 /* i4096 */
laload
lstore 3 /* index */
start local 3 // long index
3: .line 141
iload 1 /* i */
bipush 6
iushr
istore 5 /* i64 */
start local 5 // int i64
4: .line 142
lload 3 /* index */
lconst_1
iload 5 /* i64 */
lshl
land
lconst_0
lcmp
ifeq 7
5: .line 146
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 2 /* i4096 */
aaload
lload 3 /* index */
lconst_1
iload 5 /* i64 */
lshl
lconst_1
lsub
land
invokestatic java.lang.Long.bitCount:(J)I
dup2
laload
lconst_1
iload 1 /* i */
lshl
lor
lastore
6: .line 147
goto 11
StackMap locals: int long int
StackMap stack:
7: lload 3 /* index */
lconst_0
lcmp
ifne 10
8: .line 150
aload 0 /* this */
iload 2 /* i4096 */
iload 5 /* i64 */
iload 1 /* i */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.insertBlock:(III)V
9: .line 151
goto 11
10: .line 155
StackMap locals:
StackMap stack:
aload 0 /* this */
iload 2 /* i4096 */
iload 5 /* i64 */
iload 1 /* i */
lload 3 /* index */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.insertLong:(IIIJ)V
11: .line 157
StackMap locals:
StackMap stack:
return
end local 5 // int i64
end local 3 // long index
end local 2 // int i4096
end local 1 // int i
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 12 1 i I
2 12 2 i4096 I
3 12 3 index J
4 12 5 i64 I
MethodParameters:
Name Flags
i
private void insertBlock(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=4
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
start local 2 // int i64
start local 3 // int i
0: .line 160
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
lconst_1
iload 2 /* i64 */
lshl
lastore
1: .line 161
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 2
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
ifnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: .line 162
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
iconst_1
newarray 11
dup
iconst_0
lconst_1
iload 3 /* i */
lshl
lastore
aastore
3: .line 163
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
iconst_1
iadd
putfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
4: .line 164
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.ramBytesUsed:J
getstatic org.apache.lucene.util.SparseFixedBitSet.SINGLE_ELEMENT_ARRAY_BYTES_USED:J
ladd
putfield org.apache.lucene.util.SparseFixedBitSet.ramBytesUsed:J
5: .line 165
return
end local 3 // int i
end local 2 // int i64
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 6 1 i4096 I
0 6 2 i64 I
0 6 3 i I
MethodParameters:
Name Flags
i4096
i64
i
private void insertLong(int, int, int, long);
descriptor: (IIIJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=5
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
start local 2 // int i64
start local 3 // int i
start local 4 // long index
0: .line 168
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
dup2
laload
lconst_1
iload 2 /* i64 */
lshl
lor
lastore
1: .line 171
lload 4 /* index */
lconst_1
iload 2 /* i64 */
lshl
lconst_1
lsub
land
invokestatic java.lang.Long.bitCount:(J)I
istore 6 /* o */
start local 6 // int o
2: .line 172
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
astore 7 /* bitArray */
start local 7 // long[] bitArray
3: .line 173
aload 7 /* bitArray */
aload 7 /* bitArray */
arraylength
iconst_1
isub
laload
lconst_0
lcmp
ifne 7
4: .line 176
aload 7 /* bitArray */
iload 6 /* o */
aload 7 /* bitArray */
iload 6 /* o */
iconst_1
iadd
aload 7 /* bitArray */
arraylength
iload 6 /* o */
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: .line 177
aload 7 /* bitArray */
iload 6 /* o */
lconst_1
iload 3 /* i */
lshl
lastore
6: .line 178
goto 14
7: .line 180
StackMap locals: int long[]
StackMap stack:
aload 7 /* bitArray */
arraylength
iconst_1
iadd
invokestatic org.apache.lucene.util.SparseFixedBitSet.oversize:(I)I
istore 8 /* newSize */
start local 8 // int newSize
8: .line 181
iload 8 /* newSize */
newarray 11
astore 9 /* newBitArray */
start local 9 // long[] newBitArray
9: .line 182
aload 7 /* bitArray */
iconst_0
aload 9 /* newBitArray */
iconst_0
iload 6 /* o */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: .line 183
aload 9 /* newBitArray */
iload 6 /* o */
lconst_1
iload 3 /* i */
lshl
lastore
11: .line 184
aload 7 /* bitArray */
iload 6 /* o */
aload 9 /* newBitArray */
iload 6 /* o */
iconst_1
iadd
aload 7 /* bitArray */
arraylength
iload 6 /* o */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: .line 185
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aload 9 /* newBitArray */
aastore
13: .line 186
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.ramBytesUsed:J
aload 9 /* newBitArray */
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOf:([J)J
aload 7 /* bitArray */
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOf:([J)J
lsub
ladd
putfield org.apache.lucene.util.SparseFixedBitSet.ramBytesUsed:J
end local 9 // long[] newBitArray
end local 8 // int newSize
14: .line 188
StackMap locals:
StackMap stack:
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
iconst_1
iadd
putfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
15: .line 189
return
end local 7 // long[] bitArray
end local 6 // int o
end local 4 // long index
end local 3 // int i
end local 2 // int i64
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 16 1 i4096 I
0 16 2 i64 I
0 16 3 i I
0 16 4 index J
2 16 6 o I
3 16 7 bitArray [J
8 14 8 newSize I
9 14 9 newBitArray [J
MethodParameters:
Name Flags
i4096
i64
i
index
public void clear(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i
0: .line 195
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 1
aload 0 /* this */
iload 1 /* i */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.consistent:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 196
StackMap locals:
StackMap stack:
iload 1 /* i */
bipush 12
iushr
istore 2 /* i4096 */
start local 2 // int i4096
2: .line 197
iload 1 /* i */
bipush 6
iushr
istore 3 /* i64 */
start local 3 // int i64
3: .line 198
aload 0 /* this */
iload 2 /* i4096 */
iload 3 /* i64 */
lconst_1
iload 1 /* i */
lshl
ldc -1
lxor
invokevirtual org.apache.lucene.util.SparseFixedBitSet.and:(IIJ)V
4: .line 199
return
end local 3 // int i64
end local 2 // int i4096
end local 1 // int i
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 5 1 i I
2 5 2 i4096 I
3 5 3 i64 I
MethodParameters:
Name Flags
i
private void and(int, int, long);
descriptor: (IIJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=4
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
start local 2 // int i64
start local 3 // long mask
0: .line 202
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
laload
lstore 5 /* index */
start local 5 // long index
1: .line 203
lload 5 /* index */
lconst_1
iload 2 /* i64 */
lshl
land
lconst_0
lcmp
ifeq 8
2: .line 205
lload 5 /* index */
lconst_1
iload 2 /* i64 */
lshl
lconst_1
lsub
land
invokestatic java.lang.Long.bitCount:(J)I
istore 7 /* o */
start local 7 // int o
3: .line 206
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
iload 7 /* o */
laload
lload 3 /* mask */
land
lstore 8 /* bits */
start local 8 // long bits
4: .line 207
lload 8 /* bits */
lconst_0
lcmp
ifne 7
5: .line 208
aload 0 /* this */
iload 1 /* i4096 */
iload 2 /* i64 */
lload 5 /* index */
iload 7 /* o */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.removeLong:(IIJI)V
6: .line 209
goto 8
7: .line 210
StackMap locals: long int long
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
iload 7 /* o */
lload 8 /* bits */
lastore
end local 8 // long bits
end local 7 // int o
8: .line 213
StackMap locals:
StackMap stack:
return
end local 5 // long index
end local 3 // long mask
end local 2 // int i64
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 9 1 i4096 I
0 9 2 i64 I
0 9 3 mask J
1 9 5 index J
3 8 7 o I
4 8 8 bits J
MethodParameters:
Name Flags
i4096
i64
mask
private void removeLong(int, int, long, int);
descriptor: (IIJI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
start local 2 // int i64
start local 3 // long index
start local 5 // int o
0: .line 216
lload 3 /* index */
lconst_1
iload 2 /* i64 */
lshl
ldc -1
lxor
land
lstore 3 /* index */
1: .line 217
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
lload 3 /* index */
lastore
2: .line 218
lload 3 /* index */
lconst_0
lcmp
ifne 5
3: .line 220
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aconst_null
aastore
4: .line 221
goto 9
5: .line 222
StackMap locals:
StackMap stack:
lload 3 /* index */
invokestatic java.lang.Long.bitCount:(J)I
istore 6 /* length */
start local 6 // int length
6: .line 223
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
astore 7 /* bitArray */
start local 7 // long[] bitArray
7: .line 224
aload 7 /* bitArray */
iload 5 /* o */
iconst_1
iadd
aload 7 /* bitArray */
iload 5 /* o */
iload 6 /* length */
iload 5 /* o */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: .line 225
aload 7 /* bitArray */
iload 6 /* length */
lconst_0
lastore
end local 7 // long[] bitArray
end local 6 // int length
9: .line 227
StackMap locals:
StackMap stack:
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
iconst_1
isub
putfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
10: .line 228
return
end local 5 // int o
end local 3 // long index
end local 2 // int i64
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 11 1 i4096 I
0 11 2 i64 I
0 11 3 index J
0 11 5 o I
6 9 6 length I
7 9 7 bitArray [J
MethodParameters:
Name Flags
i4096
i64
index
o
public void clear(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int from
start local 2 // int to
0: .line 232
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 1
iload 1 /* from */
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 233
StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 2
iload 2 /* to */
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length:I
if_icmple 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: .line 234
StackMap locals:
StackMap stack:
iload 1 /* from */
iload 2 /* to */
if_icmplt 4
3: .line 235
return
4: .line 237
StackMap locals:
StackMap stack:
iload 1 /* from */
bipush 12
iushr
istore 3 /* firstBlock */
start local 3 // int firstBlock
5: .line 238
iload 2 /* to */
iconst_1
isub
bipush 12
iushr
istore 4 /* lastBlock */
start local 4 // int lastBlock
6: .line 239
iload 3 /* firstBlock */
iload 4 /* lastBlock */
if_icmpne 9
7: .line 240
aload 0 /* this */
iload 3 /* firstBlock */
iload 1 /* from */
sipush 4095
iand
iload 2 /* to */
iconst_1
isub
sipush 4095
iand
invokevirtual org.apache.lucene.util.SparseFixedBitSet.clearWithinBlock:(III)V
8: .line 241
goto 18
9: .line 242
StackMap locals: int int
StackMap stack:
aload 0 /* this */
iload 3 /* firstBlock */
iload 1 /* from */
sipush 4095
iand
sipush 4095
invokevirtual org.apache.lucene.util.SparseFixedBitSet.clearWithinBlock:(III)V
10: .line 243
iload 3 /* firstBlock */
iconst_1
iadd
istore 5 /* i */
start local 5 // int i
11: goto 16
12: .line 244
StackMap locals: int
StackMap stack:
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 5 /* i */
laload
invokestatic java.lang.Long.bitCount:(J)I
isub
putfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
13: .line 245
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 5 /* i */
lconst_0
lastore
14: .line 246
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 5 /* i */
aconst_null
aastore
15: .line 243
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
16: iload 5 /* i */
iload 4 /* lastBlock */
if_icmplt 12
end local 5 // int i
17: .line 248
aload 0 /* this */
iload 4 /* lastBlock */
iconst_0
iload 2 /* to */
iconst_1
isub
sipush 4095
iand
invokevirtual org.apache.lucene.util.SparseFixedBitSet.clearWithinBlock:(III)V
18: .line 250
StackMap locals:
StackMap stack:
return
end local 4 // int lastBlock
end local 3 // int firstBlock
end local 2 // int to
end local 1 // int from
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 19 1 from I
0 19 2 to I
5 19 3 firstBlock I
6 19 4 lastBlock I
11 17 5 i I
MethodParameters:
Name Flags
from
to
private static long mask(int, int);
descriptor: (II)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 // int from
start local 1 // int to
0: .line 254
lconst_1
iload 1 /* to */
iload 0 /* from */
isub
lshl
iconst_1
lshl
lconst_1
lsub
iload 0 /* from */
lshl
lreturn
end local 1 // int to
end local 0 // int from
LocalVariableTable:
Start End Slot Name Signature
0 1 0 from I
0 1 1 to I
MethodParameters:
Name Flags
from
to
private void clearWithinBlock(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=4
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
start local 2 // int from
start local 3 // int to
0: .line 258
iload 2 /* from */
bipush 6
iushr
istore 4 /* firstLong */
start local 4 // int firstLong
1: .line 259
iload 3 /* to */
bipush 6
iushr
istore 5 /* lastLong */
start local 5 // int lastLong
2: .line 261
iload 4 /* firstLong */
iload 5 /* lastLong */
if_icmpne 5
3: .line 262
aload 0 /* this */
iload 1 /* i4096 */
iload 4 /* firstLong */
iload 2 /* from */
iload 3 /* to */
invokestatic org.apache.lucene.util.SparseFixedBitSet.mask:(II)J
ldc -1
lxor
invokevirtual org.apache.lucene.util.SparseFixedBitSet.and:(IIJ)V
4: .line 263
goto 13
5: .line 264
StackMap locals: int int
StackMap stack:
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 6
iload 4 /* firstLong */
iload 5 /* lastLong */
if_icmplt 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: .line 265
StackMap locals:
StackMap stack:
aload 0 /* this */
iload 1 /* i4096 */
iload 5 /* lastLong */
iconst_0
iload 3 /* to */
invokestatic org.apache.lucene.util.SparseFixedBitSet.mask:(II)J
ldc -1
lxor
invokevirtual org.apache.lucene.util.SparseFixedBitSet.and:(IIJ)V
7: .line 266
iload 5 /* lastLong */
iconst_1
isub
istore 6 /* i */
start local 6 // int i
8: goto 11
9: .line 267
StackMap locals: int
StackMap stack:
aload 0 /* this */
iload 1 /* i4096 */
iload 6 /* i */
lconst_0
invokevirtual org.apache.lucene.util.SparseFixedBitSet.and:(IIJ)V
10: .line 266
iinc 6 /* i */ -1
StackMap locals:
StackMap stack:
11: iload 6 /* i */
iload 4 /* firstLong */
iconst_1
iadd
if_icmpge 9
end local 6 // int i
12: .line 269
aload 0 /* this */
iload 1 /* i4096 */
iload 4 /* firstLong */
iload 2 /* from */
bipush 63
invokestatic org.apache.lucene.util.SparseFixedBitSet.mask:(II)J
ldc -1
lxor
invokevirtual org.apache.lucene.util.SparseFixedBitSet.and:(IIJ)V
13: .line 271
StackMap locals:
StackMap stack:
return
end local 5 // int lastLong
end local 4 // int firstLong
end local 3 // int to
end local 2 // int from
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 14 1 i4096 I
0 14 2 from I
0 14 3 to I
1 14 4 firstLong I
2 14 5 lastLong I
8 12 6 i I
MethodParameters:
Name Flags
i4096
from
to
private int firstDoc(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
0: .line 275
lconst_0
lstore 2 /* index */
start local 2 // long index
1: .line 276
goto 7
2: .line 277
StackMap locals: long
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
laload
lstore 2 /* index */
3: .line 278
lload 2 /* index */
lconst_0
lcmp
ifeq 6
4: .line 279
lload 2 /* index */
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
istore 4 /* i64 */
start local 4 // int i64
5: .line 280
iload 1 /* i4096 */
bipush 12
ishl
iload 4 /* i64 */
bipush 6
ishl
ior
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
iconst_0
laload
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
ior
ireturn
end local 4 // int i64
6: .line 282
StackMap locals:
StackMap stack:
iinc 1 /* i4096 */ 1
7: .line 276
StackMap locals:
StackMap stack:
iload 1 /* i4096 */
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
arraylength
if_icmplt 2
8: .line 284
ldc 2147483647
ireturn
end local 2 // long index
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 9 1 i4096 I
1 9 2 index J
5 6 4 i64 I
MethodParameters:
Name Flags
i4096
public int nextSetBit(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i
0: .line 289
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 1
iload 1 /* i */
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length:I
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 290
StackMap locals:
StackMap stack:
iload 1 /* i */
bipush 12
iushr
istore 2 /* i4096 */
start local 2 // int i4096
2: .line 291
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 2 /* i4096 */
laload
lstore 3 /* index */
start local 3 // long index
3: .line 292
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 2 /* i4096 */
aaload
astore 5 /* bitArray */
start local 5 // long[] bitArray
4: .line 293
iload 1 /* i */
bipush 6
iushr
istore 6 /* i64 */
start local 6 // int i64
5: .line 294
lload 3 /* index */
lconst_1
iload 6 /* i64 */
lshl
lconst_1
lsub
land
invokestatic java.lang.Long.bitCount:(J)I
istore 7 /* o */
start local 7 // int o
6: .line 295
lload 3 /* index */
lconst_1
iload 6 /* i64 */
lshl
land
lconst_0
lcmp
ifeq 11
7: .line 298
aload 5 /* bitArray */
iload 7 /* o */
laload
iload 1 /* i */
lushr
lstore 8 /* bits */
start local 8 // long bits
8: .line 299
lload 8 /* bits */
lconst_0
lcmp
ifeq 10
9: .line 300
iload 1 /* i */
lload 8 /* bits */
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
iadd
ireturn
10: .line 302
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int int long long[] int int long
StackMap stack:
iinc 7 /* o */ 1
end local 8 // long bits
11: .line 304
StackMap locals:
StackMap stack:
lload 3 /* index */
iload 6 /* i64 */
lushr
iconst_1
lushr
lstore 8 /* indexBits */
start local 8 // long indexBits
12: .line 305
lload 8 /* indexBits */
lconst_0
lcmp
ifne 14
13: .line 307
aload 0 /* this */
iload 2 /* i4096 */
iconst_1
iadd
invokevirtual org.apache.lucene.util.SparseFixedBitSet.firstDoc:(I)I
ireturn
14: .line 310
StackMap locals: long
StackMap stack:
iload 6 /* i64 */
iconst_1
lload 8 /* indexBits */
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
iadd
iadd
istore 6 /* i64 */
15: .line 311
aload 5 /* bitArray */
iload 7 /* o */
laload
lstore 10 /* bits */
start local 10 // long bits
16: .line 312
iload 6 /* i64 */
bipush 6
ishl
lload 10 /* bits */
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
ior
ireturn
end local 10 // long bits
end local 8 // long indexBits
end local 7 // int o
end local 6 // int i64
end local 5 // long[] bitArray
end local 3 // long index
end local 2 // int i4096
end local 1 // int i
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 17 1 i I
2 17 2 i4096 I
3 17 3 index J
4 17 5 bitArray [J
5 17 6 i64 I
6 17 7 o I
8 11 8 bits J
12 17 8 indexBits J
16 17 10 bits J
MethodParameters:
Name Flags
i
private int lastDoc(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
0: .line 318
goto 7
1: .line 319
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
laload
lstore 2 /* index */
start local 2 // long index
2: .line 320
lload 2 /* index */
lconst_0
lcmp
ifeq 6
3: .line 321
bipush 63
lload 2 /* index */
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
isub
istore 4 /* i64 */
start local 4 // int i64
4: .line 322
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
lload 2 /* index */
invokestatic java.lang.Long.bitCount:(J)I
iconst_1
isub
laload
lstore 5 /* bits */
start local 5 // long bits
5: .line 323
iload 1 /* i4096 */
bipush 12
ishl
iload 4 /* i64 */
bipush 6
ishl
ior
bipush 63
lload 5 /* bits */
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
isub
ior
ireturn
end local 5 // long bits
end local 4 // int i64
6: .line 325
StackMap locals: long
StackMap stack:
iinc 1 /* i4096 */ -1
end local 2 // long index
7: .line 318
StackMap locals:
StackMap stack:
iload 1 /* i4096 */
ifge 1
8: .line 327
iconst_m1
ireturn
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 9 1 i4096 I
2 7 2 index J
4 6 4 i64 I
5 6 5 bits J
MethodParameters:
Name Flags
i4096
public int prevSetBit(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i
0: .line 332
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 1
iload 1 /* i */
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 333
StackMap locals:
StackMap stack:
iload 1 /* i */
bipush 12
iushr
istore 2 /* i4096 */
start local 2 // int i4096
2: .line 334
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 2 /* i4096 */
laload
lstore 3 /* index */
start local 3 // long index
3: .line 335
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 2 /* i4096 */
aaload
astore 5 /* bitArray */
start local 5 // long[] bitArray
4: .line 336
iload 1 /* i */
bipush 6
iushr
istore 6 /* i64 */
start local 6 // int i64
5: .line 337
lload 3 /* index */
lconst_1
iload 6 /* i64 */
lshl
lconst_1
lsub
land
lstore 7 /* indexBits */
start local 7 // long indexBits
6: .line 338
lload 7 /* indexBits */
invokestatic java.lang.Long.bitCount:(J)I
istore 9 /* o */
start local 9 // int o
7: .line 339
lload 3 /* index */
lconst_1
iload 6 /* i64 */
lshl
land
lconst_0
lcmp
ifeq 11
8: .line 342
aload 5 /* bitArray */
iload 9 /* o */
laload
lconst_1
iload 1 /* i */
lshl
iconst_1
lshl
lconst_1
lsub
land
lstore 10 /* bits */
start local 10 // long bits
9: .line 343
lload 10 /* bits */
lconst_0
lcmp
ifeq 11
10: .line 344
iload 6 /* i64 */
bipush 6
ishl
bipush 63
lload 10 /* bits */
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
isub
ior
ireturn
end local 10 // long bits
11: .line 347
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int int long long[] int long int
StackMap stack:
lload 7 /* indexBits */
lconst_0
lcmp
ifne 13
12: .line 350
aload 0 /* this */
iload 2 /* i4096 */
iconst_1
isub
invokevirtual org.apache.lucene.util.SparseFixedBitSet.lastDoc:(I)I
ireturn
13: .line 353
StackMap locals:
StackMap stack:
bipush 63
lload 7 /* indexBits */
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
isub
istore 6 /* i64 */
14: .line 354
aload 5 /* bitArray */
iload 9 /* o */
iconst_1
isub
laload
lstore 10 /* bits */
start local 10 // long bits
15: .line 355
iload 2 /* i4096 */
bipush 12
ishl
iload 6 /* i64 */
bipush 6
ishl
ior
bipush 63
lload 10 /* bits */
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
isub
ior
ireturn
end local 10 // long bits
end local 9 // int o
end local 7 // long indexBits
end local 6 // int i64
end local 5 // long[] bitArray
end local 3 // long index
end local 2 // int i4096
end local 1 // int i
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 16 1 i I
2 16 2 i4096 I
3 16 3 index J
4 16 5 bitArray [J
5 16 6 i64 I
6 16 7 indexBits J
7 16 9 o I
9 11 10 bits J
15 16 10 bits J
MethodParameters:
Name Flags
i
private long longBits(long, long[], int);
descriptor: (J[JI)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=4
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // long index
start local 3 // long[] bits
start local 4 // int i64
0: .line 360
lload 1 /* index */
lconst_1
iload 4 /* i64 */
lshl
land
lconst_0
lcmp
ifne 2
1: .line 361
lconst_0
lreturn
2: .line 363
StackMap locals:
StackMap stack:
aload 3 /* bits */
lload 1 /* index */
lconst_1
iload 4 /* i64 */
lshl
lconst_1
lsub
land
invokestatic java.lang.Long.bitCount:(J)I
laload
lreturn
end local 4 // int i64
end local 3 // long[] bits
end local 1 // long index
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 3 1 index J
0 3 3 bits [J
0 3 4 i64 I
MethodParameters:
Name Flags
index
bits
i64
private void or(int, long, long[], int);
descriptor: (IJ[JI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=16, args_size=5
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // int i4096
start local 2 // long index
start local 4 // long[] bits
start local 5 // int nonZeroLongCount
0: .line 368
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 1
lload 2 /* index */
invokestatic java.lang.Long.bitCount:(J)I
iload 5 /* nonZeroLongCount */
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 369
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
laload
lstore 6 /* currentIndex */
start local 6 // long currentIndex
2: .line 370
lload 6 /* currentIndex */
lconst_0
lcmp
ifne 7
3: .line 373
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
lload 2 /* index */
lastore
4: .line 374
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aload 4 /* bits */
iconst_0
iload 5 /* nonZeroLongCount */
invokestatic org.apache.lucene.util.ArrayUtil.copyOfSubArray:([JII)[J
aastore
5: .line 375
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
iload 5 /* nonZeroLongCount */
iadd
putfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
6: .line 376
return
7: .line 378
StackMap locals: long
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aaload
astore 8 /* currentBits */
start local 8 // long[] currentBits
8: .line 380
lload 6 /* currentIndex */
lload 2 /* index */
lor
lstore 10 /* newIndex */
start local 10 // long newIndex
9: .line 381
lload 10 /* newIndex */
invokestatic java.lang.Long.bitCount:(J)I
istore 12 /* requiredCapacity */
start local 12 // int requiredCapacity
10: .line 382
aload 8 /* currentBits */
arraylength
iload 12 /* requiredCapacity */
if_icmplt 13
11: .line 383
aload 8 /* currentBits */
astore 9 /* newBits */
start local 9 // long[] newBits
12: .line 384
goto 14
end local 9 // long[] newBits
13: .line 385
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int long long[] int long long[] top long int
StackMap stack:
iload 12 /* requiredCapacity */
invokestatic org.apache.lucene.util.SparseFixedBitSet.oversize:(I)I
newarray 11
astore 9 /* newBits */
start local 9 // long[] newBits
14: .line 389
StackMap locals: org.apache.lucene.util.SparseFixedBitSet int long long[] int long long[] long[] long int
StackMap stack:
lload 10 /* newIndex */
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
istore 13 /* i */
start local 13 // int i
15: lload 10 /* newIndex */
invokestatic java.lang.Long.bitCount:(J)I
iconst_1
isub
istore 14 /* newO */
start local 14 // int newO
16: .line 390
goto 21
17: .line 393
StackMap locals: int int
StackMap stack:
bipush 63
iload 13 /* i */
isub
istore 15 /* bitIndex */
start local 15 // int bitIndex
18: .line 394
getstatic org.apache.lucene.util.SparseFixedBitSet.$assertionsDisabled:Z
ifne 19
iload 14 /* newO */
lload 10 /* newIndex */
lconst_1
iload 15 /* bitIndex */
lshl
lconst_1
lsub
land
invokestatic java.lang.Long.bitCount:(J)I
if_icmpeq 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: .line 395
StackMap locals: int
StackMap stack:
aload 9 /* newBits */
iload 14 /* newO */
aload 0 /* this */
lload 6 /* currentIndex */
aload 8 /* currentBits */
iload 15 /* bitIndex */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.longBits:(J[JI)J
aload 0 /* this */
lload 2 /* index */
aload 4 /* bits */
iload 15 /* bitIndex */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.longBits:(J[JI)J
lor
lastore
end local 15 // int bitIndex
20: .line 391
iload 13 /* i */
iconst_1
lload 10 /* newIndex */
iload 13 /* i */
iconst_1
iadd
lshl
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
iadd
iadd
istore 13 /* i */
iinc 14 /* newO */ -1
21: .line 390
StackMap locals:
StackMap stack:
iload 13 /* i */
bipush 64
22: .line 389
if_icmplt 17
end local 14 // int newO
end local 13 // int i
23: .line 397
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 1 /* i4096 */
lload 10 /* newIndex */
lastore
24: .line 398
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 1 /* i4096 */
aload 9 /* newBits */
aastore
25: .line 399
aload 0 /* this */
dup
getfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
iload 5 /* nonZeroLongCount */
lload 6 /* currentIndex */
lload 2 /* index */
land
invokestatic java.lang.Long.bitCount:(J)I
isub
iadd
putfield org.apache.lucene.util.SparseFixedBitSet.nonZeroLongCount:I
26: .line 400
return
end local 12 // int requiredCapacity
end local 10 // long newIndex
end local 9 // long[] newBits
end local 8 // long[] currentBits
end local 6 // long currentIndex
end local 5 // int nonZeroLongCount
end local 4 // long[] bits
end local 2 // long index
end local 1 // int i4096
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 27 1 i4096 I
0 27 2 index J
0 27 4 bits [J
0 27 5 nonZeroLongCount I
2 27 6 currentIndex J
8 27 8 currentBits [J
12 13 9 newBits [J
14 27 9 newBits [J
9 27 10 newIndex J
10 27 12 requiredCapacity I
15 23 13 i I
16 23 14 newO I
18 20 15 bitIndex I
MethodParameters:
Name Flags
i4096 final
index final
bits
nonZeroLongCount
private void or(org.apache.lucene.util.SparseFixedBitSet);
descriptor: (Lorg/apache/lucene/util/SparseFixedBitSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // org.apache.lucene.util.SparseFixedBitSet other
0: .line 403
iconst_0
istore 2 /* i */
start local 2 // int i
1: goto 6
2: .line 404
StackMap locals: int
StackMap stack:
aload 1 /* other */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
iload 2 /* i */
laload
lstore 3 /* index */
start local 3 // long index
3: .line 405
lload 3 /* index */
lconst_0
lcmp
ifeq 5
4: .line 406
aload 0 /* this */
iload 2 /* i */
lload 3 /* index */
aload 1 /* other */
getfield org.apache.lucene.util.SparseFixedBitSet.bits:[[J
iload 2 /* i */
aaload
lload 3 /* index */
invokestatic java.lang.Long.bitCount:(J)I
invokevirtual org.apache.lucene.util.SparseFixedBitSet.or:(IJ[JI)V
end local 3 // long index
5: .line 403
StackMap locals:
StackMap stack:
iinc 2 /* i */ 1
StackMap locals:
StackMap stack:
6: iload 2 /* i */
aload 1 /* other */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
arraylength
if_icmplt 2
end local 2 // int i
7: .line 409
return
end local 1 // org.apache.lucene.util.SparseFixedBitSet other
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 8 1 other Lorg/apache/lucene/util/SparseFixedBitSet;
1 7 2 i I
3 5 3 index J
MethodParameters:
Name Flags
other
private void orDense(org.apache.lucene.search.DocIdSetIterator);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=14, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // org.apache.lucene.search.DocIdSetIterator it
0: .line 415
aload 0 /* this */
aload 1 /* it */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.checkUnpositioned:(Lorg/apache/lucene/search/DocIdSetIterator;)V
1: .line 419
aload 1 /* it */
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 2 /* firstDoc */
start local 2 // int firstDoc
2: .line 420
iload 2 /* firstDoc */
ldc 2147483647
if_icmpne 4
3: .line 421
return
4: .line 423
StackMap locals: int
StackMap stack:
iload 2 /* firstDoc */
bipush 12
iushr
istore 3 /* i4096 */
start local 3 // int i4096
5: .line 424
iload 2 /* firstDoc */
bipush 6
iushr
istore 4 /* i64 */
start local 4 // int i64
6: .line 425
lconst_1
iload 4 /* i64 */
lshl
lstore 5 /* index */
start local 5 // long index
7: .line 426
lconst_1
iload 2 /* firstDoc */
lshl
lstore 7 /* currentLong */
start local 7 // long currentLong
8: .line 428
bipush 64
newarray 11
astore 9 /* longs */
start local 9 // long[] longs
9: .line 429
iconst_0
istore 10 /* numLongs */
start local 10 // int numLongs
10: .line 431
aload 1 /* it */
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 11 /* doc */
start local 11 // int doc
11: goto 28
12: .line 432
StackMap locals: org.apache.lucene.util.SparseFixedBitSet org.apache.lucene.search.DocIdSetIterator int int int long long long[] int int
StackMap stack:
iload 11 /* doc */
bipush 6
iushr
istore 12 /* doc64 */
start local 12 // int doc64
13: .line 433
iload 12 /* doc64 */
iload 4 /* i64 */
if_icmpne 16
14: .line 435
lload 7 /* currentLong */
lconst_1
iload 11 /* doc */
lshl
lor
lstore 7 /* currentLong */
15: .line 436
goto 27
16: .line 437
StackMap locals: int
StackMap stack:
aload 9 /* longs */
iload 10 /* numLongs */
iinc 10 /* numLongs */ 1
lload 7 /* currentLong */
lastore
17: .line 439
iload 11 /* doc */
bipush 12
iushr
istore 13 /* doc4096 */
start local 13 // int doc4096
18: .line 440
iload 13 /* doc4096 */
iload 3 /* i4096 */
if_icmpne 21
19: .line 441
lload 5 /* index */
lconst_1
iload 12 /* doc64 */
lshl
lor
lstore 5 /* index */
20: .line 442
goto 25
21: .line 444
StackMap locals: int
StackMap stack:
aload 0 /* this */
iload 3 /* i4096 */
lload 5 /* index */
aload 9 /* longs */
iload 10 /* numLongs */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.or:(IJ[JI)V
22: .line 446
iload 13 /* doc4096 */
istore 3 /* i4096 */
23: .line 447
lconst_1
iload 12 /* doc64 */
lshl
lstore 5 /* index */
24: .line 448
iconst_0
istore 10 /* numLongs */
25: .line 452
StackMap locals:
StackMap stack:
iload 12 /* doc64 */
istore 4 /* i64 */
26: .line 453
lconst_1
iload 11 /* doc */
lshl
lstore 7 /* currentLong */
end local 13 // int doc4096
end local 12 // int doc64
27: .line 431
StackMap locals:
StackMap stack:
aload 1 /* it */
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
istore 11 /* doc */
StackMap locals:
StackMap stack:
28: iload 11 /* doc */
ldc 2147483647
if_icmpne 12
end local 11 // int doc
29: .line 458
aload 9 /* longs */
iload 10 /* numLongs */
iinc 10 /* numLongs */ 1
lload 7 /* currentLong */
lastore
30: .line 459
aload 0 /* this */
iload 3 /* i4096 */
lload 5 /* index */
aload 9 /* longs */
iload 10 /* numLongs */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.or:(IJ[JI)V
31: .line 460
return
end local 10 // int numLongs
end local 9 // long[] longs
end local 7 // long currentLong
end local 5 // long index
end local 4 // int i64
end local 3 // int i4096
end local 2 // int firstDoc
end local 1 // org.apache.lucene.search.DocIdSetIterator it
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 32 1 it Lorg/apache/lucene/search/DocIdSetIterator;
2 32 2 firstDoc I
5 32 3 i4096 I
6 32 4 i64 I
7 32 5 index J
8 32 7 currentLong J
9 32 9 longs [J
10 32 10 numLongs I
11 29 11 doc I
13 27 12 doc64 I
18 27 13 doc4096 I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
it
public void or(org.apache.lucene.search.DocIdSetIterator);
descriptor: (Lorg/apache/lucene/search/DocIdSetIterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
start local 1 // org.apache.lucene.search.DocIdSetIterator it
0: .line 466
aload 1 /* it */
invokestatic org.apache.lucene.util.BitSetIterator.getSparseFixedBitSetOrNull:(Lorg/apache/lucene/search/DocIdSetIterator;)Lorg/apache/lucene/util/SparseFixedBitSet;
astore 2 /* other */
start local 2 // org.apache.lucene.util.SparseFixedBitSet other
1: .line 467
aload 2 /* other */
ifnull 5
2: .line 468
aload 0 /* this */
aload 1 /* it */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.checkUnpositioned:(Lorg/apache/lucene/search/DocIdSetIterator;)V
3: .line 469
aload 0 /* this */
aload 2 /* other */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.or:(Lorg/apache/lucene/util/SparseFixedBitSet;)V
4: .line 470
return
end local 2 // org.apache.lucene.util.SparseFixedBitSet other
5: .line 479
StackMap locals:
StackMap stack:
aload 1 /* it */
invokevirtual org.apache.lucene.search.DocIdSetIterator.cost:()J
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.indices:[J
arraylength
i2l
lcmp
ifge 8
6: .line 481
aload 0 /* this */
aload 1 /* it */
invokespecial org.apache.lucene.util.BitSet.or:(Lorg/apache/lucene/search/DocIdSetIterator;)V
7: .line 482
goto 9
8: .line 483
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* it */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.orDense:(Lorg/apache/lucene/search/DocIdSetIterator;)V
9: .line 485
StackMap locals:
StackMap stack:
return
end local 1 // org.apache.lucene.search.DocIdSetIterator it
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
0 10 1 it Lorg/apache/lucene/search/DocIdSetIterator;
1 5 2 other Lorg/apache/lucene/util/SparseFixedBitSet;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
it
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
0: .line 489
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.ramBytesUsed:J
lreturn
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // org.apache.lucene.util.SparseFixedBitSet this
0: .line 494
new java.lang.StringBuilder
dup
ldc "SparseFixedBitSet(size="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield org.apache.lucene.util.SparseFixedBitSet.length:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",cardinality=~"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0 /* this */
invokevirtual org.apache.lucene.util.SparseFixedBitSet.approximateCardinality:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 // org.apache.lucene.util.SparseFixedBitSet this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/SparseFixedBitSet;
}
SourceFile: "SparseFixedBitSet.java"