final class org.apache.lucene.index.ByteSliceReader extends org.apache.lucene.store.DataInput
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.ByteSliceReader
super_class: org.apache.lucene.store.DataInput
{
org.apache.lucene.util.ByteBlockPool pool;
descriptor: Lorg/apache/lucene/util/ByteBlockPool;
flags: (0x0000)
int bufferUpto;
descriptor: I
flags: (0x0000)
byte[] buffer;
descriptor: [B
flags: (0x0000)
public int upto;
descriptor: I
flags: (0x0001) ACC_PUBLIC
int limit;
descriptor: I
flags: (0x0000)
int level;
descriptor: I
flags: (0x0000)
public int bufferOffset;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int endIndex;
descriptor: I
flags: (0x0001) ACC_PUBLIC
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/index/ByteSliceReader;
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.index.ByteSliceReader.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.store.DataInput.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/ByteSliceReader;
public void init(org.apache.lucene.util.ByteBlockPool, int, int);
descriptor: (Lorg/apache/lucene/util/ByteBlockPool;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 1
iload 3
iload 2
isub
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 2
iload 2
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 3
iload 3
ifge 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.ByteSliceReader.pool:Lorg/apache/lucene/util/ByteBlockPool;
4: aload 0
iload 3
putfield org.apache.lucene.index.ByteSliceReader.endIndex:I
5: aload 0
iconst_0
putfield org.apache.lucene.index.ByteSliceReader.level:I
6: aload 0
iload 2
ldc 32768
idiv
putfield org.apache.lucene.index.ByteSliceReader.bufferUpto:I
7: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferUpto:I
ldc 32768
imul
putfield org.apache.lucene.index.ByteSliceReader.bufferOffset:I
8: aload 0
aload 1
getfield org.apache.lucene.util.ByteBlockPool.buffers:[[B
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferUpto:I
aaload
putfield org.apache.lucene.index.ByteSliceReader.buffer:[B
9: aload 0
iload 2
sipush 32767
iand
putfield org.apache.lucene.index.ByteSliceReader.upto:I
10: getstatic org.apache.lucene.util.ByteBlockPool.LEVEL_SIZE_ARRAY:[I
iconst_0
iaload
istore 4
start local 4 11: iload 2
iload 4
iadd
iload 3
if_icmplt 14
12: aload 0
iload 3
sipush 32767
iand
putfield org.apache.lucene.index.ByteSliceReader.limit:I
13: goto 15
14: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
iload 4
iadd
iconst_4
isub
putfield org.apache.lucene.index.ByteSliceReader.limit:I
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/index/ByteSliceReader;
0 16 1 pool Lorg/apache/lucene/util/ByteBlockPool;
0 16 2 startIndex I
0 16 3 endIndex I
11 16 4 firstSize I
MethodParameters:
Name Flags
pool
startIndex
endIndex
public boolean eof();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferOffset:I
iadd
aload 0
getfield org.apache.lucene.index.ByteSliceReader.endIndex:I
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferOffset:I
iadd
aload 0
getfield org.apache.lucene.index.ByteSliceReader.endIndex:I
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/ByteSliceReader;
public byte readByte();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.apache.lucene.index.ByteSliceReader.eof:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
if_icmple 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
if_icmpne 4
3: aload 0
invokevirtual org.apache.lucene.index.ByteSliceReader.nextSlice:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
aload 0
dup
getfield org.apache.lucene.index.ByteSliceReader.upto:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.ByteSliceReader.upto:I
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/ByteSliceReader;
public long writeTo(org.apache.lucene.store.DataOutput);
descriptor: (Lorg/apache/lucene/store/DataOutput;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: StackMap locals: long
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferOffset:I
iadd
aload 0
getfield org.apache.lucene.index.ByteSliceReader.endIndex:I
if_icmpne 6
2: getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.index.ByteSliceReader.endIndex:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferOffset:I
isub
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
if_icmpge 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
isub
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
4: lload 2
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
isub
i2l
ladd
lstore 2
5: goto 10
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
isub
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
7: lload 2
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
isub
i2l
ladd
lstore 2
8: aload 0
invokevirtual org.apache.lucene.index.ByteSliceReader.nextSlice:()V
9: goto 1
10: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/index/ByteSliceReader;
0 11 1 out Lorg/apache/lucene/store/DataOutput;
1 11 2 size J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public void nextSlice();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
baload
sipush 255
iand
bipush 24
ishl
aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
iconst_1
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
iadd
baload
sipush 255
iand
bipush 16
ishl
iadd
aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
iconst_2
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
iadd
baload
sipush 255
iand
bipush 8
ishl
iadd
aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
iconst_3
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
iadd
baload
sipush 255
iand
iadd
istore 1
start local 1 1: aload 0
getstatic org.apache.lucene.util.ByteBlockPool.NEXT_LEVEL_ARRAY:[I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.level:I
iaload
putfield org.apache.lucene.index.ByteSliceReader.level:I
2: getstatic org.apache.lucene.util.ByteBlockPool.LEVEL_SIZE_ARRAY:[I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.level:I
iaload
istore 2
start local 2 3: aload 0
iload 1
ldc 32768
idiv
putfield org.apache.lucene.index.ByteSliceReader.bufferUpto:I
4: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferUpto:I
ldc 32768
imul
putfield org.apache.lucene.index.ByteSliceReader.bufferOffset:I
5: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceReader.pool:Lorg/apache/lucene/util/ByteBlockPool;
getfield org.apache.lucene.util.ByteBlockPool.buffers:[[B
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferUpto:I
aaload
putfield org.apache.lucene.index.ByteSliceReader.buffer:[B
6: aload 0
iload 1
sipush 32767
iand
putfield org.apache.lucene.index.ByteSliceReader.upto:I
7: iload 1
iload 2
iadd
aload 0
getfield org.apache.lucene.index.ByteSliceReader.endIndex:I
if_icmplt 11
8: getstatic org.apache.lucene.index.ByteSliceReader.$assertionsDisabled:Z
ifne 9
aload 0
getfield org.apache.lucene.index.ByteSliceReader.endIndex:I
iload 1
isub
ifgt 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: int int
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceReader.endIndex:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.bufferOffset:I
isub
putfield org.apache.lucene.index.ByteSliceReader.limit:I
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
iload 2
iadd
iconst_4
isub
putfield org.apache.lucene.index.ByteSliceReader.limit:I
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/index/ByteSliceReader;
1 13 1 nextIndex I
3 13 2 newSize I
public void readBytes(byte[], int, int);
descriptor: ([BII)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: goto 11
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceReader.limit:I
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
isub
istore 4
start local 4 2: iload 4
iload 3
if_icmpge 8
3: aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: iload 2
iload 4
iadd
istore 2
5: iload 3
iload 4
isub
istore 3
6: aload 0
invokevirtual org.apache.lucene.index.ByteSliceReader.nextSlice:()V
7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceReader.buffer:[B
aload 0
getfield org.apache.lucene.index.ByteSliceReader.upto:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 0
dup
getfield org.apache.lucene.index.ByteSliceReader.upto:I
iload 3
iadd
putfield org.apache.lucene.index.ByteSliceReader.upto:I
10: goto 12
end local 4 11: StackMap locals:
StackMap stack:
iload 3
ifgt 1
12: StackMap locals:
StackMap stack:
return
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/index/ByteSliceReader;
0 13 1 b [B
0 13 2 offset I
0 13 3 len I
2 11 4 numLeft I
MethodParameters:
Name Flags
b
offset
len
}
SourceFile: "ByteSliceReader.java"