public final class org.apache.lucene.util.PagedBytes$Reader implements org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.PagedBytes$Reader
super_class: java.lang.Object
{
private static final long BASE_RAM_BYTES_USED;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final byte[][] blocks;
descriptor: [[B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int blockBits;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int blockMask;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int blockSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long bytesUsedPerBlock;
descriptor: J
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=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/PagedBytes;
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.PagedBytes$Reader.$assertionsDisabled:Z
3: ldc Lorg/apache/lucene/util/PagedBytes$Reader;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
putstatic org.apache.lucene.util.PagedBytes$Reader.BASE_RAM_BYTES_USED:J
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.lucene.util.PagedBytes);
descriptor: (Lorg/apache/lucene/util/PagedBytes;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.apache.lucene.util.PagedBytes.blocks:[[B
iconst_0
aload 1
getfield org.apache.lucene.util.PagedBytes.numBlocks:I
invokestatic org.apache.lucene.util.ArrayUtil.copyOfSubArray:([Ljava/lang/Object;II)[Ljava/lang/Object;
checkcast byte[][]
putfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
2: aload 0
aload 1
getfield org.apache.lucene.util.PagedBytes.blockBits:I
putfield org.apache.lucene.util.PagedBytes$Reader.blockBits:I
3: aload 0
aload 1
getfield org.apache.lucene.util.PagedBytes.blockMask:I
putfield org.apache.lucene.util.PagedBytes$Reader.blockMask:I
4: aload 0
aload 1
getfield org.apache.lucene.util.PagedBytes.blockSize:I
putfield org.apache.lucene.util.PagedBytes$Reader.blockSize:I
5: aload 0
aload 1
getfield org.apache.lucene.util.PagedBytes.bytesUsedPerBlock:J
putfield org.apache.lucene.util.PagedBytes$Reader.bytesUsedPerBlock:J
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/util/PagedBytes$Reader;
0 7 1 pagedBytes Lorg/apache/lucene/util/PagedBytes;
MethodParameters:
Name Flags
pagedBytes
public void fillSlice(org.apache.lucene.util.BytesRef, long, int);
descriptor: (Lorg/apache/lucene/util/BytesRef;JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: getstatic org.apache.lucene.util.PagedBytes$Reader.$assertionsDisabled:Z
ifne 1
iload 4
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "length="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
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
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.PagedBytes$Reader.$assertionsDisabled:Z
ifne 2
iload 4
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockSize:I
iconst_1
iadd
if_icmple 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "length="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
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: StackMap locals:
StackMap stack:
aload 1
iload 4
putfield org.apache.lucene.util.BytesRef.length:I
3: iload 4
ifne 5
4: return
5: StackMap locals:
StackMap stack:
lload 2
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockBits:I
lshr
l2i
istore 5
start local 5 6: lload 2
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockMask:I
i2l
land
l2i
istore 6
start local 6 7: aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockSize:I
iload 6
isub
iload 4
if_icmplt 11
8: aload 1
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
iload 5
aaload
putfield org.apache.lucene.util.BytesRef.bytes:[B
9: aload 1
iload 6
putfield org.apache.lucene.util.BytesRef.offset:I
10: goto 15
11: StackMap locals: int int
StackMap stack:
aload 1
iload 4
newarray 8
putfield org.apache.lucene.util.BytesRef.bytes:[B
12: aload 1
iconst_0
putfield org.apache.lucene.util.BytesRef.offset:I
13: aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
iload 5
aaload
iload 6
aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
iconst_0
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockSize:I
iload 6
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
iconst_1
iload 5
iadd
aaload
iconst_0
aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockSize:I
iload 6
isub
iload 4
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockSize:I
iload 6
isub
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/util/PagedBytes$Reader;
0 16 1 b Lorg/apache/lucene/util/BytesRef;
0 16 2 start J
0 16 4 length I
6 16 5 index I
7 16 6 offset I
MethodParameters:
Name Flags
b
start
length
public void fill(org.apache.lucene.util.BytesRef, long);
descriptor: (Lorg/apache/lucene/util/BytesRef;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: lload 2
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockBits:I
lshr
l2i
istore 4
start local 4 1: lload 2
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockMask:I
i2l
land
l2i
istore 5
start local 5 2: aload 1
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
iload 4
aaload
dup_x1
putfield org.apache.lucene.util.BytesRef.bytes:[B
astore 6
start local 6 3: aload 6
iload 5
baload
sipush 128
iand
ifne 7
4: aload 1
aload 6
iload 5
baload
putfield org.apache.lucene.util.BytesRef.length:I
5: aload 1
iload 5
iconst_1
iadd
putfield org.apache.lucene.util.BytesRef.offset:I
6: goto 10
7: StackMap locals: int int byte[]
StackMap stack:
aload 1
aload 6
iload 5
baload
bipush 127
iand
bipush 8
ishl
aload 6
iconst_1
iload 5
iadd
baload
sipush 255
iand
ior
putfield org.apache.lucene.util.BytesRef.length:I
8: aload 1
iload 5
iconst_2
iadd
putfield org.apache.lucene.util.BytesRef.offset:I
9: getstatic org.apache.lucene.util.PagedBytes$Reader.$assertionsDisabled:Z
ifne 10
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
ifgt 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/util/PagedBytes$Reader;
0 11 1 b Lorg/apache/lucene/util/BytesRef;
0 11 2 start J
1 11 4 index I
2 11 5 offset I
3 11 6 block [B
MethodParameters:
Name Flags
b
start
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: getstatic org.apache.lucene.util.PagedBytes$Reader.BASE_RAM_BYTES_USED:J
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOf:([Ljava/lang/Object;)J
ladd
lstore 1
start local 1 1: aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
arraylength
ifle 4
2: lload 1
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
arraylength
iconst_1
isub
i2l
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.bytesUsedPerBlock:J
lmul
ladd
lstore 1
3: lload 1
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blocks:[[B
arraylength
iconst_1
isub
aaload
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOf:([B)J
ladd
lstore 1
4: StackMap locals: long
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/PagedBytes$Reader;
1 5 1 size J
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "PagedBytes(blocksize="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.util.PagedBytes$Reader.blockSize:I
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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/PagedBytes$Reader;
}
SourceFile: "PagedBytes.java"
NestHost: org.apache.lucene.util.PagedBytes
InnerClasses:
public final Reader = org.apache.lucene.util.PagedBytes$Reader of org.apache.lucene.util.PagedBytes