public class org.apache.lucene.store.BufferedChecksum implements java.util.zip.Checksum
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.store.BufferedChecksum
super_class: java.lang.Object
{
private final java.util.zip.Checksum in;
descriptor: Ljava/util/zip/Checksum;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] buffer;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int upto;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static final int DEFAULT_BUFFERSIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 256
public void <init>(java.util.zip.Checksum);
descriptor: (Ljava/util/zip/Checksum;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 256
invokespecial org.apache.lucene.store.BufferedChecksum.<init>:(Ljava/util/zip/Checksum;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/BufferedChecksum;
0 2 1 in Ljava/util/zip/Checksum;
MethodParameters:
Name Flags
in
public void <init>(java.util.zip.Checksum, int);
descriptor: (Ljava/util/zip/Checksum;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.lucene.store.BufferedChecksum.in:Ljava/util/zip/Checksum;
2: aload 0
iload 2
newarray 8
putfield org.apache.lucene.store.BufferedChecksum.buffer:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/BufferedChecksum;
0 4 1 in Ljava/util/zip/Checksum;
0 4 2 bufferSize I
MethodParameters:
Name Flags
in
bufferSize
public void update(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.store.BufferedChecksum.upto:I
aload 0
getfield org.apache.lucene.store.BufferedChecksum.buffer:[B
arraylength
if_icmpne 2
1: aload 0
invokevirtual org.apache.lucene.store.BufferedChecksum.flush:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.BufferedChecksum.buffer:[B
aload 0
dup
getfield org.apache.lucene.store.BufferedChecksum.upto:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.store.BufferedChecksum.upto:I
iload 1
i2b
bastore
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/BufferedChecksum;
0 4 1 b I
MethodParameters:
Name Flags
b
public void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield org.apache.lucene.store.BufferedChecksum.buffer:[B
arraylength
if_icmplt 4
1: aload 0
invokevirtual org.apache.lucene.store.BufferedChecksum.flush:()V
2: aload 0
getfield org.apache.lucene.store.BufferedChecksum.in:Ljava/util/zip/Checksum;
aload 1
iload 2
iload 3
invokeinterface java.util.zip.Checksum.update:([BII)V
3: goto 8
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.BufferedChecksum.upto:I
iload 3
iadd
aload 0
getfield org.apache.lucene.store.BufferedChecksum.buffer:[B
arraylength
if_icmple 6
5: aload 0
invokevirtual org.apache.lucene.store.BufferedChecksum.flush:()V
6: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield org.apache.lucene.store.BufferedChecksum.buffer:[B
aload 0
getfield org.apache.lucene.store.BufferedChecksum.upto:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
dup
getfield org.apache.lucene.store.BufferedChecksum.upto:I
iload 3
iadd
putfield org.apache.lucene.store.BufferedChecksum.upto:I
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/store/BufferedChecksum;
0 9 1 b [B
0 9 2 off I
0 9 3 len I
MethodParameters:
Name Flags
b
off
len
public long getValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.BufferedChecksum.flush:()V
1: aload 0
getfield org.apache.lucene.store.BufferedChecksum.in:Ljava/util/zip/Checksum;
invokeinterface java.util.zip.Checksum.getValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/BufferedChecksum;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.lucene.store.BufferedChecksum.upto:I
1: aload 0
getfield org.apache.lucene.store.BufferedChecksum.in:Ljava/util/zip/Checksum;
invokeinterface java.util.zip.Checksum.reset:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/store/BufferedChecksum;
private void flush();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.store.BufferedChecksum.upto:I
ifle 2
1: aload 0
getfield org.apache.lucene.store.BufferedChecksum.in:Ljava/util/zip/Checksum;
aload 0
getfield org.apache.lucene.store.BufferedChecksum.buffer:[B
iconst_0
aload 0
getfield org.apache.lucene.store.BufferedChecksum.upto:I
invokeinterface java.util.zip.Checksum.update:([BII)V
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.lucene.store.BufferedChecksum.upto:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/BufferedChecksum;
}
SourceFile: "BufferedChecksum.java"