final class org.apache.lucene.index.ByteSliceWriter extends org.apache.lucene.store.DataOutput
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.ByteSliceWriter
super_class: org.apache.lucene.store.DataOutput
{
private static final int BYTE_BLOCK_NOT_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -32768
private byte[] slice;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int upto;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.util.ByteBlockPool pool;
descriptor: Lorg/apache/lucene/util/ByteBlockPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
int offset0;
descriptor: I
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=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/ByteSliceWriter;
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.ByteSliceWriter.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.lucene.util.ByteBlockPool);
descriptor: (Lorg/apache/lucene/util/ByteBlockPool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.lucene.store.DataOutput.<init>:()V
1: aload 0
aload 1
putfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/ByteSliceWriter;
0 3 1 pool Lorg/apache/lucene/util/ByteBlockPool;
MethodParameters:
Name Flags
pool
public void init(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
getfield org.apache.lucene.util.ByteBlockPool.buffers:[[B
iload 1
bipush 15
ishr
aaload
putfield org.apache.lucene.index.ByteSliceWriter.slice:[B
1: getstatic org.apache.lucene.index.ByteSliceWriter.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
sipush 32767
iand
putfield org.apache.lucene.index.ByteSliceWriter.upto:I
3: aload 0
iload 1
putfield org.apache.lucene.index.ByteSliceWriter.offset0:I
4: getstatic org.apache.lucene.index.ByteSliceWriter.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
arraylength
if_icmplt 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/ByteSliceWriter;
0 6 1 address I
MethodParameters:
Name Flags
address
public void writeByte(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.ByteSliceWriter.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
ifnonnull 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.ByteSliceWriter.slice:[B
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
baload
ifeq 6
2: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
invokevirtual org.apache.lucene.util.ByteBlockPool.allocSlice:([BI)I
putfield org.apache.lucene.index.ByteSliceWriter.upto:I
3: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
getfield org.apache.lucene.util.ByteBlockPool.buffer:[B
putfield org.apache.lucene.index.ByteSliceWriter.slice:[B
4: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
getfield org.apache.lucene.util.ByteBlockPool.byteOffset:I
putfield org.apache.lucene.index.ByteSliceWriter.offset0:I
5: getstatic org.apache.lucene.index.ByteSliceWriter.$assertionsDisabled:Z
ifne 6
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
ifnonnull 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
aload 0
dup
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.ByteSliceWriter.upto:I
iload 1
bastore
7: getstatic org.apache.lucene.index.ByteSliceWriter.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
arraylength
if_icmpne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/ByteSliceWriter;
0 9 1 b B
MethodParameters:
Name Flags
b
public void writeBytes(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: iload 2
iload 3
iadd
istore 4
start local 4 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
baload
ifeq 6
3: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
invokevirtual org.apache.lucene.util.ByteBlockPool.allocSlice:([BI)I
putfield org.apache.lucene.index.ByteSliceWriter.upto:I
4: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
getfield org.apache.lucene.util.ByteBlockPool.buffer:[B
putfield org.apache.lucene.index.ByteSliceWriter.slice:[B
5: aload 0
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.pool:Lorg/apache/lucene/util/ByteBlockPool;
getfield org.apache.lucene.util.ByteBlockPool.byteOffset:I
putfield org.apache.lucene.index.ByteSliceWriter.offset0:I
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
aload 0
dup
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.ByteSliceWriter.upto:I
aload 1
iload 2
iinc 2 1
baload
bastore
7: getstatic org.apache.lucene.index.ByteSliceWriter.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.slice:[B
arraylength
if_icmpne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
iload 2
iload 4
if_icmplt 2
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/ByteSliceWriter;
0 10 1 b [B
0 10 2 offset I
0 10 3 len I
1 10 4 offsetEnd I
MethodParameters:
Name Flags
b final
offset
len final
public int getAddress();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.ByteSliceWriter.upto:I
aload 0
getfield org.apache.lucene.index.ByteSliceWriter.offset0:I
sipush -32768
iand
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/ByteSliceWriter;
}
SourceFile: "ByteSliceWriter.java"