public class org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder
super_class: java.lang.Object
{
static final int kTopMask;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -16777216
static final int kNumBitModelTotalBits;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 11
static final int kBitModelTotal;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2048
static final int kNumMoveBits;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5
org.glassfish.grizzly.Buffer dst;
descriptor: Lorg/glassfish/grizzly/Buffer;
flags: (0x0000)
org.glassfish.grizzly.memory.MemoryManager mm;
descriptor: Lorg/glassfish/grizzly/memory/MemoryManager;
flags: (0x0000)
long Low;
descriptor: J
flags: (0x0000)
int Range;
descriptor: I
flags: (0x0000)
int _cacheSize;
descriptor: I
flags: (0x0000)
int _cache;
descriptor: I
flags: (0x0000)
long _position;
descriptor: J
flags: (0x0000)
static final int kNumMoveReducingBits;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int kNumBitPriceShiftBits;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final int[] ProbPrices;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=0
0: sipush 512
newarray 10
putstatic org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.ProbPrices:[I
1: bipush 9
istore 0
start local 0 2: iload 0
iconst_1
isub
istore 1
start local 1 3: goto 12
4: StackMap locals: int int
StackMap stack:
iconst_1
iload 0
iload 1
isub
iconst_1
isub
ishl
istore 2
start local 2 5: iconst_1
iload 0
iload 1
isub
ishl
istore 3
start local 3 6: iload 2
istore 4
start local 4 7: goto 10
8: StackMap locals: int int int
StackMap stack:
getstatic org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.ProbPrices:[I
iload 4
iload 1
bipush 6
ishl
iload 3
iload 4
isub
bipush 6
ishl
iload 0
iload 1
isub
iconst_1
isub
iushr
iadd
iastore
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 3
if_icmplt 8
end local 4 end local 3 end local 2 11: iinc 1 -1
StackMap locals:
StackMap stack:
12: iload 1
ifge 4
end local 1 end local 0 13: return
LocalVariableTable:
Start End Slot Name Signature
2 13 0 kNumBits I
3 13 1 i I
5 11 2 start I
6 11 3 end I
7 11 4 j I
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
public void setBuffer(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.memory.MemoryManager);
descriptor: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/memory/MemoryManager;)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
aload 1
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
1: aload 0
aload 2
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.mm:Lorg/glassfish/grizzly/memory/MemoryManager;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
0 3 1 dst Lorg/glassfish/grizzly/Buffer;
0 3 2 mm Lorg/glassfish/grizzly/memory/MemoryManager;
MethodParameters:
Name Flags
dst
mm
public org.glassfish.grizzly.Buffer releaseBuffer();
descriptor: ()Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.mm:Lorg/glassfish/grizzly/memory/MemoryManager;
1: aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
astore 2
2: aload 0
aconst_null
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
3: aload 2
areturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
5: aload 0
aconst_null
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
6: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
Exception table:
from to target type
1 2 4 any
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._position:J
1: aload 0
lconst_0
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
2: aload 0
iconst_m1
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
3: aload 0
iconst_1
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cacheSize:I
4: aload 0
iconst_0
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cache:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
public void flushData();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.shiftLow:()V
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
iconst_5
if_icmplt 2
end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
1 5 1 i I
Exceptions:
throws java.io.IOException
public void shiftLow();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
bipush 32
lushr
l2i
istore 1
start local 1 1: iload 1
ifne 2
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
ldc 4278190080
lcmp
ifge 10
2: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._position:J
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cacheSize:I
i2l
ladd
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._position:J
3: aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cache:I
istore 2
start local 2 4: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 6
5: aload 0
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.mm:Lorg/glassfish/grizzly/memory/MemoryManager;
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
iconst_1
invokestatic org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.resizeBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.dst:Lorg/glassfish/grizzly/Buffer;
iload 2
iload 1
iadd
i2b
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
7: sipush 255
istore 2
8: aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cacheSize:I
iconst_1
isub
dup_x1
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cacheSize:I
ifne 4
9: aload 0
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
l2i
bipush 24
iushr
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cache:I
end local 2 10: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cacheSize:I
iconst_1
iadd
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cacheSize:I
11: aload 0
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
ldc 16777215
land
bipush 8
lshl
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
1 13 1 LowHi I
4 10 2 temp I
Exceptions:
throws java.io.IOException
public void encodeDirectBits(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iconst_1
isub
istore 3
start local 3 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
iconst_1
iushr
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
3: iload 1
iload 3
iushr
iconst_1
iand
iconst_1
if_icmpne 5
4: aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
i2l
ladd
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
ldc -16777216
iand
ifne 8
6: aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
bipush 8
ishl
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
7: aload 0
invokevirtual org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.shiftLow:()V
8: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
9: iload 3
ifge 2
end local 3 10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
0 11 1 v I
0 11 2 numTotalBits I
1 10 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
v
numTotalBits
public long getProcessedSizeAdd();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._cacheSize:I
i2l
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder._position:J
ladd
ldc 4
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
public static void initBitModels(short[]);
descriptor: ([S)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
sipush 1024
sastore
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 probs [S
1 5 1 i I
MethodParameters:
Name Flags
probs
public void encode(short[], int, int);
descriptor: ([SII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
saload
istore 4
start local 4 1: aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
bipush 11
iushr
iload 4
imul
istore 5
start local 5 2: iload 3
ifne 6
3: aload 0
iload 5
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
4: aload 1
iload 2
iload 4
sipush 2048
iload 4
isub
iconst_5
iushr
iadd
i2s
sastore
5: goto 9
6: StackMap locals: int int
StackMap stack:
aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
iload 5
i2l
ldc 4294967295
land
ladd
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Low:J
7: aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
iload 5
isub
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
8: aload 1
iload 2
iload 4
iload 4
iconst_5
iushr
isub
i2s
sastore
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
ldc -16777216
iand
ifne 12
10: aload 0
dup
getfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
bipush 8
ishl
putfield org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.Range:I
11: aload 0
invokevirtual org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.shiftLow:()V
12: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/compression/lzma/impl/rangecoder/RangeEncoder;
0 13 1 probs [S
0 13 2 index I
0 13 3 symbol I
1 13 4 prob I
2 13 5 newBound I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
probs
index
symbol
public static int getPrice(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.ProbPrices:[I
iload 0
iload 1
isub
iload 1
ineg
ixor
sipush 2047
iand
iconst_2
iushr
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 Prob I
0 1 1 symbol I
MethodParameters:
Name Flags
Prob
symbol
public static int getPrice0(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.ProbPrices:[I
iload 0
iconst_2
iushr
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 Prob I
MethodParameters:
Name Flags
Prob
public static int getPrice1(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.compression.lzma.impl.rangecoder.RangeEncoder.ProbPrices:[I
sipush 2048
iload 0
isub
iconst_2
iushr
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 Prob I
MethodParameters:
Name Flags
Prob
private static org.glassfish.grizzly.Buffer resizeBuffer(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
iload 2
iadd
aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
invokestatic java.lang.Math.max:(II)I
invokeinterface org.glassfish.grizzly.memory.MemoryManager.reallocate:(Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 1 1 headerBuffer Lorg/glassfish/grizzly/Buffer;
0 1 2 grow I
MethodParameters:
Name Flags
memoryManager final
headerBuffer final
grow final
}
SourceFile: "RangeEncoder.java"