public class org.jruby.util.ConvertBytes
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.ConvertBytes
super_class: java.lang.Object
{
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.util.ByteList str;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int beg;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int end;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] data;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int base;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final boolean badcheck;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final byte[] ZERO_BYTES;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[][] MIN_VALUE_BYTES;
descriptor: [[B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] LOWER_DIGITS;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] UPPER_DIGITS;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] conv_digit;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean[] digit;
descriptor: [Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean[] space;
descriptor: [Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean[] spaceOrUnderscore;
descriptor: [Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: iconst_1
newarray 8
dup
iconst_0
bipush 48
bastore
putstatic org.jruby.util.ConvertBytes.ZERO_BYTES:[B
1: bipush 37
anewarray byte[]
putstatic org.jruby.util.ConvertBytes.MIN_VALUE_BYTES:[[B
2: iconst_2
istore 0
start local 0 3: goto 6
4: StackMap locals: int
StackMap stack:
getstatic org.jruby.util.ConvertBytes.MIN_VALUE_BYTES:[[B
iload 0
ldc -9223372036854775808
iload 0
invokestatic java.lang.Long.toString:(JI)Ljava/lang/String;
invokestatic org.jruby.util.ByteList.plain:(Ljava/lang/CharSequence;)[B
aastore
5: iinc 0 1
StackMap locals:
StackMap stack:
6: iload 0
bipush 36
if_icmple 4
end local 0 7: bipush 36
newarray 8
dup
iconst_0
8: bipush 48
bastore
dup
iconst_1
bipush 49
bastore
dup
iconst_2
bipush 50
bastore
dup
iconst_3
bipush 51
bastore
dup
iconst_4
bipush 52
bastore
dup
iconst_5
bipush 53
bastore
dup
bipush 6
9: bipush 54
bastore
dup
bipush 7
bipush 55
bastore
dup
bipush 8
bipush 56
bastore
dup
bipush 9
bipush 57
bastore
dup
bipush 10
bipush 97
bastore
dup
bipush 11
bipush 98
bastore
dup
bipush 12
10: bipush 99
bastore
dup
bipush 13
bipush 100
bastore
dup
bipush 14
bipush 101
bastore
dup
bipush 15
bipush 102
bastore
dup
bipush 16
bipush 103
bastore
dup
bipush 17
bipush 104
bastore
dup
bipush 18
11: bipush 105
bastore
dup
bipush 19
bipush 106
bastore
dup
bipush 20
bipush 107
bastore
dup
bipush 21
bipush 108
bastore
dup
bipush 22
bipush 109
bastore
dup
bipush 23
bipush 110
bastore
dup
bipush 24
12: bipush 111
bastore
dup
bipush 25
bipush 112
bastore
dup
bipush 26
bipush 113
bastore
dup
bipush 27
bipush 114
bastore
dup
bipush 28
bipush 115
bastore
dup
bipush 29
bipush 116
bastore
dup
bipush 30
13: bipush 117
bastore
dup
bipush 31
bipush 118
bastore
dup
bipush 32
bipush 119
bastore
dup
bipush 33
bipush 120
bastore
dup
bipush 34
bipush 121
bastore
dup
bipush 35
bipush 122
bastore
14: putstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
15: bipush 36
newarray 8
dup
iconst_0
16: bipush 48
bastore
dup
iconst_1
bipush 49
bastore
dup
iconst_2
bipush 50
bastore
dup
iconst_3
bipush 51
bastore
dup
iconst_4
bipush 52
bastore
dup
iconst_5
bipush 53
bastore
dup
bipush 6
17: bipush 54
bastore
dup
bipush 7
bipush 55
bastore
dup
bipush 8
bipush 56
bastore
dup
bipush 9
bipush 57
bastore
dup
bipush 10
bipush 65
bastore
dup
bipush 11
bipush 66
bastore
dup
bipush 12
18: bipush 67
bastore
dup
bipush 13
bipush 68
bastore
dup
bipush 14
bipush 69
bastore
dup
bipush 15
bipush 70
bastore
dup
bipush 16
bipush 71
bastore
dup
bipush 17
bipush 72
bastore
dup
bipush 18
19: bipush 73
bastore
dup
bipush 19
bipush 74
bastore
dup
bipush 20
bipush 75
bastore
dup
bipush 21
bipush 76
bastore
dup
bipush 22
bipush 77
bastore
dup
bipush 23
bipush 78
bastore
dup
bipush 24
20: bipush 79
bastore
dup
bipush 25
bipush 80
bastore
dup
bipush 26
bipush 81
bastore
dup
bipush 27
bipush 82
bastore
dup
bipush 28
bipush 83
bastore
dup
bipush 29
bipush 84
bastore
dup
bipush 30
21: bipush 85
bastore
dup
bipush 31
bipush 86
bastore
dup
bipush 32
bipush 87
bastore
dup
bipush 33
bipush 88
bastore
dup
bipush 34
bipush 89
bastore
dup
bipush 35
bipush 90
bastore
22: putstatic org.jruby.util.ConvertBytes.UPPER_DIGITS:[B
23: sipush 128
newarray 8
putstatic org.jruby.util.ConvertBytes.conv_digit:[B
24: sipush 128
newarray 4
putstatic org.jruby.util.ConvertBytes.digit:[Z
25: sipush 128
newarray 4
putstatic org.jruby.util.ConvertBytes.space:[Z
26: sipush 128
newarray 4
putstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
27: getstatic org.jruby.util.ConvertBytes.conv_digit:[B
iconst_m1
invokestatic java.util.Arrays.fill:([BB)V
28: getstatic org.jruby.util.ConvertBytes.digit:[Z
iconst_0
invokestatic java.util.Arrays.fill:([ZZ)V
29: bipush 48
istore 0
start local 0 30: goto 34
31: StackMap locals: int
StackMap stack:
getstatic org.jruby.util.ConvertBytes.conv_digit:[B
iload 0
iload 0
bipush 48
isub
i2b
bastore
32: getstatic org.jruby.util.ConvertBytes.digit:[Z
iload 0
iconst_1
bastore
33: iload 0
iconst_1
iadd
i2c
istore 0
StackMap locals:
StackMap stack:
34: iload 0
bipush 57
if_icmple 31
end local 0 35: bipush 97
istore 0
start local 0 36: goto 39
37: StackMap locals:
StackMap stack:
getstatic org.jruby.util.ConvertBytes.conv_digit:[B
iload 0
iload 0
bipush 97
isub
bipush 10
iadd
i2b
bastore
38: iload 0
iconst_1
iadd
i2c
istore 0
StackMap locals:
StackMap stack:
39: iload 0
bipush 122
if_icmple 37
end local 0 40: bipush 65
istore 0
start local 0 41: goto 44
42: StackMap locals:
StackMap stack:
getstatic org.jruby.util.ConvertBytes.conv_digit:[B
iload 0
iload 0
bipush 65
isub
bipush 10
iadd
i2b
bastore
43: iload 0
iconst_1
iadd
i2c
istore 0
StackMap locals:
StackMap stack:
44: iload 0
bipush 90
if_icmple 42
end local 0 45: getstatic org.jruby.util.ConvertBytes.space:[Z
iconst_0
invokestatic java.util.Arrays.fill:([ZZ)V
46: getstatic org.jruby.util.ConvertBytes.space:[Z
bipush 9
iconst_1
bastore
47: getstatic org.jruby.util.ConvertBytes.space:[Z
bipush 10
iconst_1
bastore
48: getstatic org.jruby.util.ConvertBytes.space:[Z
bipush 11
iconst_1
bastore
49: getstatic org.jruby.util.ConvertBytes.space:[Z
bipush 12
iconst_1
bastore
50: getstatic org.jruby.util.ConvertBytes.space:[Z
bipush 13
iconst_1
bastore
51: getstatic org.jruby.util.ConvertBytes.space:[Z
bipush 32
iconst_1
bastore
52: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
iconst_0
invokestatic java.util.Arrays.fill:([ZZ)V
53: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
bipush 9
iconst_1
bastore
54: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
bipush 10
iconst_1
bastore
55: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
bipush 11
iconst_1
bastore
56: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
bipush 12
iconst_1
bastore
57: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
bipush 13
iconst_1
bastore
58: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
bipush 32
iconst_1
bastore
59: getstatic org.jruby.util.ConvertBytes.spaceOrUnderscore:[Z
bipush 95
iconst_1
bastore
60: return
LocalVariableTable:
Start End Slot Name Signature
3 7 0 i I
30 35 0 c C
36 40 0 c C
41 45 0 c C
public void <init>(org.jruby.Ruby, org.jruby.util.ByteList, int, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
2: aload 0
aload 2
putfield org.jruby.util.ConvertBytes.str:Lorg/jruby/util/ByteList;
3: aload 0
aload 2
invokevirtual org.jruby.util.ByteList.getBegin:()I
putfield org.jruby.util.ConvertBytes.beg:I
4: aload 0
aload 2
invokevirtual org.jruby.util.ByteList.getUnsafeBytes:()[B
putfield org.jruby.util.ConvertBytes.data:[B
5: aload 0
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 2
invokevirtual org.jruby.util.ByteList.getRealSize:()I
iadd
putfield org.jruby.util.ConvertBytes.end:I
6: aload 0
iload 4
putfield org.jruby.util.ConvertBytes.badcheck:Z
7: aload 0
iload 3
putfield org.jruby.util.ConvertBytes.base:I
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/ConvertBytes;
0 9 1 runtime Lorg/jruby/Ruby;
0 9 2 str Lorg/jruby/util/ByteList;
0 9 3 base I
0 9 4 badcheck Z
MethodParameters:
Name Flags
runtime
str
base
badcheck
void <init>(org.jruby.Ruby, org.jruby.util.ByteList, int, int, int, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IIIZ)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
2: aload 0
aload 2
putfield org.jruby.util.ConvertBytes.str:Lorg/jruby/util/ByteList;
3: aload 0
iload 3
aload 2
invokevirtual org.jruby.util.ByteList.getBegin:()I
iadd
putfield org.jruby.util.ConvertBytes.beg:I
4: aload 0
aload 2
invokevirtual org.jruby.util.ByteList.getUnsafeBytes:()[B
putfield org.jruby.util.ConvertBytes.data:[B
5: aload 0
aload 2
invokevirtual org.jruby.util.ByteList.getBegin:()I
iload 4
iadd
putfield org.jruby.util.ConvertBytes.end:I
6: aload 0
iload 6
putfield org.jruby.util.ConvertBytes.badcheck:Z
7: aload 0
iload 5
putfield org.jruby.util.ConvertBytes.base:I
8: return
end local 6 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 9 0 this Lorg/jruby/util/ConvertBytes;
0 9 1 runtime Lorg/jruby/Ruby;
0 9 2 str Lorg/jruby/util/ByteList;
0 9 3 off I
0 9 4 end I
0 9 5 base I
0 9 6 badcheck Z
MethodParameters:
Name Flags
runtime
str
off
end
base
badcheck
public void <init>(org.jruby.Ruby, org.jruby.util.ByteList, int, boolean, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial org.jruby.util.ConvertBytes.<init>:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZ)V
1: 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 2 0 this Lorg/jruby/util/ConvertBytes;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 str Lorg/jruby/util/ByteList;
0 2 3 base I
0 2 4 badcheck Z
0 2 5 is19 Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
str
base
badcheck
is19
public static final byte[] intToBinaryBytes(int);
descriptor: (I)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.intToUnsignedByteList:(II[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static final byte[] intToOctalBytes(int);
descriptor: (I)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_3
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.intToUnsignedByteList:(II[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static final byte[] intToHexBytes(int);
descriptor: (I)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_4
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.intToUnsignedByteList:(II[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static final byte[] intToHexBytes(int, boolean);
descriptor: (IZ)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iconst_4
iload 1
ifeq 1
getstatic org.jruby.util.ConvertBytes.UPPER_DIGITS:[B
goto 2
StackMap locals: int int
StackMap stack: int int
1: getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
StackMap locals: int int
StackMap stack: int int byte[]
2: invokestatic org.jruby.util.ConvertBytes.intToUnsignedByteList:(II[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i I
0 3 1 upper Z
MethodParameters:
Name Flags
i
upper
public static final org.jruby.util.ByteList intToBinaryByteList(int);
descriptor: (I)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.util.ByteList
dup
iload 0
invokestatic org.jruby.util.ConvertBytes.intToBinaryBytes:(I)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList intToOctalByteList(int);
descriptor: (I)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.util.ByteList
dup
iload 0
invokestatic org.jruby.util.ConvertBytes.intToOctalBytes:(I)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList intToHexByteList(int);
descriptor: (I)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.util.ByteList
dup
iload 0
invokestatic org.jruby.util.ConvertBytes.intToHexBytes:(I)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList intToHexByteList(int, boolean);
descriptor: (IZ)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.util.ByteList
dup
iload 0
iload 1
invokestatic org.jruby.util.ConvertBytes.intToHexBytes:(IZ)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
0 1 1 upper Z
MethodParameters:
Name Flags
i
upper
public static final byte[] intToByteArray(int, int, boolean);
descriptor: (IIZ)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
i2l
iload 1
iload 2
invokestatic org.jruby.util.ConvertBytes.longToByteArray:(JIZ)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
0 1 1 radix I
0 1 2 upper Z
MethodParameters:
Name Flags
i
radix
upper
public static final byte[] intToCharBytes(int);
descriptor: (I)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: iload 0
i2l
bipush 10
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i
public static final byte[] longToBinaryBytes(long);
descriptor: (J)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
iconst_1
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToUnsignedByteList:(JI[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final byte[] longToOctalBytes(long);
descriptor: (J)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
iconst_3
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToUnsignedByteList:(JI[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final byte[] longToHexBytes(long);
descriptor: (J)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
iconst_4
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToUnsignedByteList:(JI[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final byte[] longToHexBytes(long, boolean);
descriptor: (JZ)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
iconst_4
iload 2
ifeq 1
getstatic org.jruby.util.ConvertBytes.UPPER_DIGITS:[B
goto 2
StackMap locals: long int
StackMap stack: long int
1: getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
StackMap locals: long int
StackMap stack: long int byte[]
2: invokestatic org.jruby.util.ConvertBytes.longToUnsignedByteList:(JI[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i J
0 3 2 upper Z
MethodParameters:
Name Flags
i
upper
public static final org.jruby.util.ByteList longToBinaryByteList(long);
descriptor: (J)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
iconst_2
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList longToOctalByteList(long);
descriptor: (J)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
bipush 8
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList longToHexByteList(long);
descriptor: (J)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
bipush 16
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList longToHexByteList(long, boolean);
descriptor: (JZ)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
bipush 16
iload 2
ifeq 1
getstatic org.jruby.util.ConvertBytes.UPPER_DIGITS:[B
goto 2
StackMap locals: long int
StackMap stack: long int
1: getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
StackMap locals: long int
StackMap stack: long int byte[]
2: invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i J
0 3 2 upper Z
MethodParameters:
Name Flags
i
upper
public static final byte[] longToByteArray(long, int, boolean);
descriptor: (JIZ)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 start local 3 0: lload 0
iload 2
iload 3
ifeq 1
getstatic org.jruby.util.ConvertBytes.UPPER_DIGITS:[B
goto 2
StackMap locals: long int int
StackMap stack: long int
1: getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
StackMap locals: long int int
StackMap stack: long int byte[]
2: invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i J
0 3 2 radix I
0 3 3 upper Z
MethodParameters:
Name Flags
i
radix
upper
public static final byte[] longToCharBytes(long);
descriptor: (J)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
bipush 10
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.bytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList longToByteList(long);
descriptor: (J)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
bipush 10
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
MethodParameters:
Name Flags
i
public static final org.jruby.util.ByteList longToByteList(long, int);
descriptor: (JI)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
iload 2
getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
invokestatic org.jruby.util.ConvertBytes.longToByteList:(JI[B)Lorg/jruby/util/ByteList;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i J
0 1 2 radix I
MethodParameters:
Name Flags
i
radix
public static final org.jruby.util.ByteList longToByteList(long, int, byte[]);
descriptor: (JI[B)Lorg/jruby/util/ByteList;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=8, args_size=3
start local 0 start local 2 start local 3 0: lload 0
lconst_0
lcmp
ifne 1
new org.jruby.util.ByteList
dup
getstatic org.jruby.util.ConvertBytes.ZERO_BYTES:[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
areturn
1: StackMap locals:
StackMap stack:
lload 0
ldc -9223372036854775808
lcmp
ifne 2
new org.jruby.util.ByteList
dup
getstatic org.jruby.util.ConvertBytes.MIN_VALUE_BYTES:[[B
iload 2
aaload
invokespecial org.jruby.util.ByteList.<init>:([B)V
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 3: lload 0
lconst_0
lcmp
ifge 6
4: lload 0
lneg
lstore 0
5: iconst_1
istore 4
6: StackMap locals: int
StackMap stack:
bipush 64
istore 5
start local 5 7: iload 5
newarray 8
astore 6
start local 6 8: iload 5
istore 7
start local 7 9: StackMap locals: int byte[] int
StackMap stack:
aload 6
iinc 7 -1
iload 7
aload 3
lload 0
iload 2
i2l
lrem
l2i
baload
bastore
10: lload 0
iload 2
i2l
ldiv
dup2
lstore 0
lconst_0
11: lcmp
ifgt 9
12: iload 4
ifeq 13
aload 6
iinc 7 -1
iload 7
bipush 45
bastore
13: StackMap locals:
StackMap stack:
new org.jruby.util.ByteList
dup
aload 6
iload 7
iload 5
iload 7
isub
invokespecial org.jruby.util.ByteList.<init>:([BII)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 i J
0 14 2 radix I
0 14 3 digitmap [B
3 14 4 neg Z
7 14 5 len I
8 14 6 buf [B
9 14 7 pos I
MethodParameters:
Name Flags
i
radix
digitmap
private static final org.jruby.util.ByteList intToUnsignedByteList(int, int, byte[]);
descriptor: (II[B)Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: bipush 32
newarray 8
astore 3
start local 3 1: bipush 32
istore 4
start local 4 2: iconst_1
iload 1
ishl
istore 5
start local 5 3: iload 5
iconst_1
isub
i2l
lstore 6
start local 6 4: StackMap locals: int int byte[] byte[] int int long
StackMap stack:
aload 3
iinc 4 -1
iload 4
aload 2
iload 0
i2l
lload 6
land
l2i
baload
bastore
5: iload 0
iload 1
iushr
istore 0
6: iload 0
ifne 4
7: new org.jruby.util.ByteList
dup
aload 3
iload 4
bipush 32
iload 4
isub
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BIIZ)V
areturn
end local 6 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 8 0 i I
0 8 1 shift I
0 8 2 digitmap [B
1 8 3 buf [B
2 8 4 charPos I
3 8 5 radix I
4 8 6 mask J
MethodParameters:
Name Flags
i
shift
digitmap
private static final org.jruby.util.ByteList longToUnsignedByteList(long, int, byte[]);
descriptor: (JI[B)Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=9, args_size=3
start local 0 start local 2 start local 3 0: bipush 64
newarray 8
astore 4
start local 4 1: bipush 64
istore 5
start local 5 2: iconst_1
iload 2
ishl
istore 6
start local 6 3: iload 6
iconst_1
isub
i2l
lstore 7
start local 7 4: StackMap locals: long int byte[] byte[] int int long
StackMap stack:
aload 4
iinc 5 -1
iload 5
aload 3
lload 0
lload 7
land
l2i
baload
bastore
5: lload 0
iload 2
lushr
lstore 0
6: lload 0
lconst_0
lcmp
ifne 4
7: new org.jruby.util.ByteList
dup
aload 4
iload 5
bipush 64
iload 5
isub
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BIIZ)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 i J
0 8 2 shift I
0 8 3 digitmap [B
1 8 4 buf [B
2 8 5 charPos I
3 8 6 radix I
4 8 7 mask J
MethodParameters:
Name Flags
i
shift
digitmap
public static final byte[] twosComplementToBinaryBytes(byte[]);
descriptor: ([B)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_0
invokestatic org.jruby.util.ConvertBytes.twosComplementToUnsignedBytes:([BIZ)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in [B
MethodParameters:
Name Flags
in
public static final byte[] twosComplementToOctalBytes(byte[]);
descriptor: ([B)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_3
iconst_0
invokestatic org.jruby.util.ConvertBytes.twosComplementToUnsignedBytes:([BIZ)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in [B
MethodParameters:
Name Flags
in
public static final byte[] twosComplementToHexBytes(byte[], boolean);
descriptor: ([BZ)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
iload 1
invokestatic org.jruby.util.ConvertBytes.twosComplementToUnsignedBytes:([BIZ)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in [B
0 1 1 upper Z
MethodParameters:
Name Flags
in
upper
public static final byte[] twosComplementToUnsignedBytes(byte[], int, boolean);
descriptor: ([BIZ)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
if_icmplt 1
iload 1
iconst_4
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "shift value must be 1-4"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
arraylength
istore 3
start local 3 3: iload 3
bipush 8
imul
iload 1
iadd
iconst_1
isub
iload 1
idiv
istore 4
start local 4 4: iload 4
newarray 8
astore 5
start local 5 5: iconst_1
iload 1
ishl
iconst_1
isub
istore 6
start local 6 6: iload 2
ifeq 7
getstatic org.jruby.util.ConvertBytes.UPPER_DIGITS:[B
goto 8
StackMap locals: byte[] int int int int byte[] int
StackMap stack:
7: getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
StackMap locals:
StackMap stack: byte[]
8: astore 7
start local 7 9: iconst_0
istore 8
start local 8 10: iconst_0
istore 9
start local 9 11: iload 3
istore 10
start local 10 12: iload 4
istore 11
start local 11 13: goto 20
14: StackMap locals: byte[] int int int int byte[] int byte[] int int int int
StackMap stack:
iload 9
iload 1
if_icmpge 17
15: iload 8
aload 0
iinc 10 -1
iload 10
baload
sipush 255
iand
iload 9
ishl
ior
istore 8
16: iinc 9 8
17: StackMap locals:
StackMap stack:
aload 5
iload 11
aload 7
iload 8
iload 6
iand
baload
bastore
18: iload 8
iload 1
ishr
istore 8
19: iload 9
iload 1
isub
istore 9
20: StackMap locals:
StackMap stack:
iinc 11 -1
iload 11
ifge 14
end local 11 end local 10 21: aload 5
areturn
end local 9 end local 8 end local 7 end local 6 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 22 0 in [B
0 22 1 shift I
0 22 2 upper Z
3 22 3 ilen I
4 22 4 olen I
5 22 5 out [B
6 22 6 mask I
9 22 7 digits [B
10 22 8 bitbuf I
11 22 9 bitcnt I
12 21 10 i I
13 21 11 o I
MethodParameters:
Name Flags
in
shift
upper
public static org.jruby.RubyInteger byteListToInum(org.jruby.Ruby, org.jruby.util.ByteList, int, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubyInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.util.ConvertBytes
dup
aload 0
aload 1
iload 2
iload 3
invokespecial org.jruby.util.ConvertBytes.<init>:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZ)V
invokevirtual org.jruby.util.ConvertBytes.byteListToInum:()Lorg/jruby/RubyInteger;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 str Lorg/jruby/util/ByteList;
0 1 2 base I
0 1 3 badcheck Z
MethodParameters:
Name Flags
runtime
str
base
badcheck
public static org.jruby.RubyInteger byteListToInum(org.jruby.Ruby, org.jruby.util.ByteList, int, int, int, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IIIZ)Lorg/jruby/RubyInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new org.jruby.util.ConvertBytes
dup
aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokespecial org.jruby.util.ConvertBytes.<init>:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IIIZ)V
invokevirtual org.jruby.util.ConvertBytes.byteListToInum:()Lorg/jruby/RubyInteger;
areturn
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 1 0 runtime Lorg/jruby/Ruby;
0 1 1 str Lorg/jruby/util/ByteList;
0 1 2 off I
0 1 3 end I
0 1 4 base I
0 1 5 badcheck Z
MethodParameters:
Name Flags
runtime
str
off
end
base
badcheck
public static org.jruby.RubyInteger byteListToInum19(org.jruby.Ruby, org.jruby.util.ByteList, int, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubyInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokestatic org.jruby.util.ConvertBytes.byteListToInum:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubyInteger;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 str Lorg/jruby/util/ByteList;
0 1 2 base I
0 1 3 badcheck Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
str
base
badcheck
public static byte[] bytesToUUIDBytes(byte[], boolean);
descriptor: ([BZ)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=12, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
invokevirtual java.nio.ByteBuffer.getInt:()I
i2l
ldc 4294967295
land
lstore 3
start local 3 2: aload 2
invokevirtual java.nio.ByteBuffer.getShort:()S
ldc 65535
iand
istore 5
start local 5 3: aload 2
invokevirtual java.nio.ByteBuffer.getShort:()S
ldc 65535
iand
istore 6
start local 6 4: iload 6
sipush 4095
iand
sipush 16384
ior
istore 6
5: aload 2
invokevirtual java.nio.ByteBuffer.getShort:()S
ldc 65535
iand
istore 7
start local 7 6: iload 7
sipush 16383
iand
ldc 32768
ior
istore 7
7: aload 2
invokevirtual java.nio.ByteBuffer.getShort:()S
ldc 65535
iand
istore 8
start local 8 8: aload 2
invokevirtual java.nio.ByteBuffer.getInt:()I
i2l
ldc 4294967295
land
lstore 9
start local 9 9: iload 1
ifeq 10
getstatic org.jruby.util.ConvertBytes.UPPER_DIGITS:[B
goto 11
StackMap locals: byte[] int java.nio.ByteBuffer long int int int int long
StackMap stack:
10: getstatic org.jruby.util.ConvertBytes.LOWER_DIGITS:[B
StackMap locals:
StackMap stack: byte[]
11: astore 11
start local 11 12: bipush 36
newarray 8
dup
iconst_0
13: aload 11
lload 3
bipush 28
lshr
ldc 15
land
l2i
baload
bastore
dup
iconst_1
14: aload 11
lload 3
bipush 24
lshr
ldc 15
land
l2i
baload
bastore
dup
iconst_2
15: aload 11
lload 3
bipush 20
lshr
ldc 15
land
l2i
baload
bastore
dup
iconst_3
16: aload 11
lload 3
bipush 16
lshr
ldc 15
land
l2i
baload
bastore
dup
iconst_4
17: aload 11
lload 3
bipush 12
lshr
ldc 15
land
l2i
baload
bastore
dup
iconst_5
18: aload 11
lload 3
bipush 8
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 6
19: aload 11
lload 3
iconst_4
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 7
20: aload 11
lload 3
ldc 15
land
l2i
baload
bastore
dup
bipush 8
21: bipush 45
bastore
dup
bipush 9
22: aload 11
iload 5
bipush 12
ishr
bipush 15
iand
baload
bastore
dup
bipush 10
23: aload 11
iload 5
bipush 8
ishr
bipush 15
iand
baload
bastore
dup
bipush 11
24: aload 11
iload 5
iconst_4
ishr
bipush 15
iand
baload
bastore
dup
bipush 12
25: aload 11
iload 5
bipush 15
iand
baload
bastore
dup
bipush 13
26: bipush 45
bastore
dup
bipush 14
27: aload 11
iload 6
bipush 12
ishr
bipush 15
iand
baload
bastore
dup
bipush 15
28: aload 11
iload 6
bipush 8
ishr
bipush 15
iand
baload
bastore
dup
bipush 16
29: aload 11
iload 6
iconst_4
ishr
bipush 15
iand
baload
bastore
dup
bipush 17
30: aload 11
iload 6
bipush 15
iand
baload
bastore
dup
bipush 18
31: bipush 45
bastore
dup
bipush 19
32: aload 11
iload 7
bipush 12
ishr
bipush 15
iand
baload
bastore
dup
bipush 20
33: aload 11
iload 7
bipush 8
ishr
bipush 15
iand
baload
bastore
dup
bipush 21
34: aload 11
iload 7
iconst_4
ishr
bipush 15
iand
baload
bastore
dup
bipush 22
35: aload 11
iload 7
bipush 15
iand
baload
bastore
dup
bipush 23
36: bipush 45
bastore
dup
bipush 24
37: aload 11
iload 8
bipush 12
ishr
bipush 15
iand
baload
bastore
dup
bipush 25
38: aload 11
iload 8
bipush 8
ishr
bipush 15
iand
baload
bastore
dup
bipush 26
39: aload 11
iload 8
iconst_4
ishr
bipush 15
iand
baload
bastore
dup
bipush 27
40: aload 11
iload 8
bipush 15
iand
baload
bastore
dup
bipush 28
41: aload 11
lload 9
bipush 28
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 29
42: aload 11
lload 9
bipush 24
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 30
43: aload 11
lload 9
bipush 20
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 31
44: aload 11
lload 9
bipush 16
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 32
45: aload 11
lload 9
bipush 12
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 33
46: aload 11
lload 9
bipush 8
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 34
47: aload 11
lload 9
iconst_4
lshr
ldc 15
land
l2i
baload
bastore
dup
bipush 35
48: aload 11
lload 9
ldc 15
land
l2i
baload
bastore
49: areturn
end local 11 end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 randBytes [B
0 50 1 upper Z
1 50 2 bytes Ljava/nio/ByteBuffer;
2 50 3 N0 J
3 50 5 n1 I
4 50 6 n2 I
6 50 7 n3 I
8 50 8 n4 I
9 50 9 N5 J
12 50 11 convert [B
MethodParameters:
Name Flags
randBytes
upper
private byte convertDigit(byte);
descriptor: (B)B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 1
iconst_m1
ireturn
1: StackMap locals:
StackMap stack:
getstatic org.jruby.util.ConvertBytes.conv_digit:[B
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/ConvertBytes;
0 2 1 c B
MethodParameters:
Name Flags
c
private boolean isSpace(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpeq 2
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 1
baload
dup
istore 2
start local 2 1: ifge 3
end local 2 2: StackMap locals:
StackMap stack:
iconst_0
ireturn
start local 2 3: StackMap locals: int
StackMap stack:
getstatic org.jruby.util.ConvertBytes.space:[Z
iload 2
baload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/util/ConvertBytes;
0 4 1 str I
1 2 2 c B
3 4 2 c B
MethodParameters:
Name Flags
str
private boolean getSign();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 8
2: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 43
if_icmpne 5
3: aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
putfield org.jruby.util.ConvertBytes.beg:I
4: goto 8
StackMap locals: int
StackMap stack:
5: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 45
if_icmpne 8
6: aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
putfield org.jruby.util.ConvertBytes.beg:I
7: iconst_0
istore 1
8: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/ConvertBytes;
1 9 1 sign Z
private void ignoreLeadingWhitespace();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: goto 2
StackMap locals:
StackMap stack:
1: aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
putfield org.jruby.util.ConvertBytes.beg:I
StackMap locals:
StackMap stack:
2: aload 0
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
invokevirtual org.jruby.util.ConvertBytes.isSpace:(I)Z
ifne 1
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/util/ConvertBytes;
private void figureOutBase();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.ConvertBytes.base:I
ifgt 20
1: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 16
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 48
if_icmpne 16
2: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 14
3: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
baload
lookupswitch { // 8
66: 6
68: 10
79: 8
88: 4
98: 6
100: 10
111: 8
120: 4
default: 12
}
4: StackMap locals:
StackMap stack:
aload 0
bipush 16
putfield org.jruby.util.ConvertBytes.base:I
5: goto 20
6: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield org.jruby.util.ConvertBytes.base:I
7: goto 20
8: StackMap locals:
StackMap stack:
aload 0
bipush 8
putfield org.jruby.util.ConvertBytes.base:I
9: goto 20
10: StackMap locals:
StackMap stack:
aload 0
bipush 10
putfield org.jruby.util.ConvertBytes.base:I
11: goto 20
12: StackMap locals:
StackMap stack:
aload 0
bipush 8
putfield org.jruby.util.ConvertBytes.base:I
13: goto 20
14: StackMap locals:
StackMap stack:
aload 0
bipush 8
putfield org.jruby.util.ConvertBytes.base:I
15: goto 20
StackMap locals:
StackMap stack:
16: aload 0
getfield org.jruby.util.ConvertBytes.base:I
iconst_m1
if_icmpge 19
17: aload 0
aload 0
getfield org.jruby.util.ConvertBytes.base:I
ineg
putfield org.jruby.util.ConvertBytes.base:I
18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
bipush 10
putfield org.jruby.util.ConvertBytes.base:I
20: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jruby/util/ConvertBytes;
private int calculateLength();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 1
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 48
if_icmpne 1
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
baload
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
getfield org.jruby.util.ConvertBytes.base:I
tableswitch { // 2 - 16
2: 4
3: 8
4: 12
5: 12
6: 12
7: 12
8: 10
9: 16
10: 14
11: 16
12: 16
13: 16
14: 16
15: 16
16: 18
default: 22
}
4: StackMap locals: org.jruby.util.ConvertBytes top int
StackMap stack:
iconst_1
istore 1
start local 1 5: iload 2
bipush 98
if_icmpeq 6
iload 2
bipush 66
if_icmpne 28
6: StackMap locals: org.jruby.util.ConvertBytes int int
StackMap stack:
aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_2
iadd
putfield org.jruby.util.ConvertBytes.beg:I
7: goto 28
end local 1 8: StackMap locals: org.jruby.util.ConvertBytes top int
StackMap stack:
iconst_2
istore 1
start local 1 9: goto 28
end local 1 10: StackMap locals:
StackMap stack:
iload 2
bipush 111
if_icmpeq 11
iload 2
bipush 79
if_icmpne 12
11: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_2
iadd
putfield org.jruby.util.ConvertBytes.beg:I
12: StackMap locals:
StackMap stack:
iconst_3
istore 1
start local 1 13: goto 28
end local 1 14: StackMap locals:
StackMap stack:
iload 2
bipush 100
if_icmpeq 15
iload 2
bipush 68
if_icmpne 16
15: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_2
iadd
putfield org.jruby.util.ConvertBytes.beg:I
16: StackMap locals:
StackMap stack:
iconst_4
istore 1
start local 1 17: goto 28
end local 1 18: StackMap locals:
StackMap stack:
iconst_4
istore 1
start local 1 19: iload 2
bipush 120
if_icmpeq 20
iload 2
bipush 88
if_icmpne 28
20: StackMap locals: org.jruby.util.ConvertBytes int int
StackMap stack:
aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_2
iadd
putfield org.jruby.util.ConvertBytes.beg:I
21: goto 28
end local 1 22: StackMap locals: org.jruby.util.ConvertBytes top int
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.base:I
iconst_2
if_icmplt 23
bipush 36
aload 0
getfield org.jruby.util.ConvertBytes.base:I
if_icmpge 24
23: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "illegal radix "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.util.ConvertBytes.base:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
24: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.base:I
bipush 32
if_icmpgt 27
25: iconst_5
istore 1
start local 1 26: goto 28
end local 1 27: StackMap locals:
StackMap stack:
bipush 6
istore 1
start local 1 28: StackMap locals: org.jruby.util.ConvertBytes int int
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/jruby/util/ConvertBytes;
5 8 1 len I
9 10 1 len I
13 14 1 len I
17 18 1 len I
19 22 1 len I
26 27 1 len I
28 29 1 len I
3 29 2 second B
private void squeezeZeroes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 13
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 48
if_icmpne 13
1: aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
putfield org.jruby.util.ConvertBytes.beg:I
2: iconst_0
istore 2
start local 2 3: goto 9
start local 1 4: StackMap locals: int int
StackMap stack:
iload 1
bipush 95
if_icmpne 7
5: iinc 2 1
iload 2
iconst_2
if_icmplt 8
6: goto 11
7: StackMap locals:
StackMap stack:
iinc 2 0
8: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
putfield org.jruby.util.ConvertBytes.beg:I
end local 1 9: StackMap locals: org.jruby.util.ConvertBytes top int
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 11
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
dup
istore 1
start local 1 10: bipush 48
if_icmpeq 4
iload 1
bipush 95
if_icmpeq 4
end local 1 11: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpeq 12
aload 0
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
invokevirtual org.jruby.util.ConvertBytes.isSpace:(I)Z
ifeq 13
12: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
isub
putfield org.jruby.util.ConvertBytes.beg:I
end local 2 13: StackMap locals: org.jruby.util.ConvertBytes
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/util/ConvertBytes;
4 9 1 c B
10 11 1 c B
3 13 2 us I
private long stringToLong(int, int[], int);
descriptor: (I[II)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iflt 1
iload 3
iconst_1
if_icmpeq 1
iload 3
bipush 36
if_icmple 2
1: StackMap locals:
StackMap stack:
lconst_0
lreturn
2: StackMap locals:
StackMap stack:
iload 1
istore 4
start local 4 3: iload 1
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 7
6: StackMap locals: int int int
StackMap stack:
iinc 5 1
7: StackMap locals:
StackMap stack:
aload 0
iload 5
invokevirtual org.jruby.util.ConvertBytes.isSpace:(I)Z
ifne 6
8: iload 5
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpeq 42
9: iconst_0
istore 7
start local 7 10: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 5
baload
bipush 45
if_icmpne 14
11: iconst_1
istore 7
12: iinc 5 1
13: goto 17
StackMap locals: int
StackMap stack:
14: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 5
baload
bipush 43
if_icmpne 17
15: iconst_0
istore 7
16: iinc 5 1
17: StackMap locals:
StackMap stack:
iload 5
istore 4
18: lconst_0
lstore 9
start local 9 19: ldc 9223372036854775807
iload 3
i2l
ldiv
lstore 11
start local 11 20: ldc 9223372036854775807
iload 3
i2l
lrem
lstore 13
start local 13 21: goto 31
22: StackMap locals: org.jruby.util.ConvertBytes int int[] int int int int int top long long long
StackMap stack:
aload 0
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 5
baload
invokevirtual org.jruby.util.ConvertBytes.convertDigit:(B)B
istore 8
start local 8 23: iload 8
iconst_m1
if_icmpeq 32
iload 8
iload 3
if_icmplt 25
24: goto 32
25: StackMap locals: org.jruby.util.ConvertBytes int int[] int int int int int int long long long
StackMap stack:
iinc 5 1
26: lload 9
lload 11
lcmp
ifgt 27
lload 9
lload 11
lcmp
ifne 29
iload 8
i2l
lload 13
lcmp
ifle 29
27: StackMap locals:
StackMap stack:
iconst_1
istore 6
28: goto 31
29: StackMap locals:
StackMap stack:
lload 9
iload 3
i2l
lmul
lstore 9
30: lload 9
iload 8
i2l
ladd
lstore 9
end local 8 31: StackMap locals: org.jruby.util.ConvertBytes int int[] int int int int int top long long long
StackMap stack:
iload 5
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmplt 22
32: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpeq 42
33: aload 2
ifnull 35
34: aload 2
iconst_0
iload 5
iastore
35: StackMap locals:
StackMap stack:
iload 6
ifeq 39
36: new org.jruby.util.ConvertBytes$ERange
dup
iload 7
ifeq 37
getstatic org.jruby.util.ConvertBytes$ERange$Kind.Underflow:Lorg/jruby/util/ConvertBytes$ERange$Kind;
goto 38
StackMap locals: org.jruby.util.ConvertBytes int int[] int int int int int top long long long
StackMap stack: new 36 new 36
37: getstatic org.jruby.util.ConvertBytes$ERange$Kind.Overflow:Lorg/jruby/util/ConvertBytes$ERange$Kind;
StackMap locals: org.jruby.util.ConvertBytes int int[] int int int int int top long long long
StackMap stack: new 36 new 36 org.jruby.util.ConvertBytes$ERange$Kind
38: invokespecial org.jruby.util.ConvertBytes$ERange.<init>:(Lorg/jruby/util/ConvertBytes$ERange$Kind;)V
athrow
39: StackMap locals:
StackMap stack:
iload 7
ifeq 41
40: lload 9
lneg
lreturn
41: StackMap locals:
StackMap stack:
lload 9
lreturn
end local 13 end local 11 end local 9 end local 7 42: StackMap locals: org.jruby.util.ConvertBytes int int[] int int int int
StackMap stack:
aload 2
ifnull 48
43: iload 4
iload 1
isub
iconst_2
if_icmplt 47
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 4
iconst_1
isub
baload
bipush 120
if_icmpeq 44
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 4
iconst_1
isub
baload
bipush 88
if_icmpne 47
StackMap locals:
StackMap stack:
44: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 4
iconst_2
isub
baload
bipush 48
if_icmpne 47
45: aload 2
iconst_0
iload 4
iconst_1
isub
iastore
46: goto 48
47: StackMap locals:
StackMap stack:
aload 2
iconst_0
iload 1
iastore
48: StackMap locals:
StackMap stack:
lconst_0
lreturn
end local 6 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 49 0 this Lorg/jruby/util/ConvertBytes;
0 49 1 nptr I
0 49 2 endptr [I
0 49 3 base I
3 49 4 save I
4 49 5 s I
5 49 6 overflow Z
10 42 7 negative Z
23 31 8 c B
19 42 9 i J
20 42 11 cutoff J
21 42 13 cutlim J
MethodParameters:
Name Flags
nptr
endptr
base
public org.jruby.RubyInteger byteListToInum();
descriptor: ()Lorg/jruby/RubyInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.ConvertBytes.str:Lorg/jruby/util/ByteList;
ifnonnull 3
1: aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 2
aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.util.ConvertBytes.ignoreLeadingWhitespace:()V
4: aload 0
invokevirtual org.jruby.util.ConvertBytes.getSign:()Z
istore 1
start local 1 5: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 9
6: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 43
if_icmpeq 7
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 45
if_icmpne 9
7: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 8
aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.util.ConvertBytes.figureOutBase:()V
10: aload 0
invokevirtual org.jruby.util.ConvertBytes.calculateLength:()I
istore 2
start local 2 11: aload 0
invokevirtual org.jruby.util.ConvertBytes.squeezeZeroes:()V
12: iconst_0
istore 3
start local 3 13: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 15
14: aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
istore 3
15: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual org.jruby.util.ConvertBytes.convertDigit:(B)B
istore 3
16: iload 3
iflt 17
iload 3
aload 0
getfield org.jruby.util.ConvertBytes.base:I
if_icmplt 19
17: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 18
aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
19: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.base:I
bipush 10
if_icmpgt 22
20: iload 2
aload 0
invokevirtual org.jruby.util.ConvertBytes.trailingLength:()I
imul
istore 2
21: goto 23
22: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.jruby.util.ConvertBytes.end:I
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
isub
imul
istore 2
23: StackMap locals:
StackMap stack:
iload 2
bipush 63
if_icmpge 39
24: iconst_1
newarray 10
dup
iconst_0
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
iastore
astore 4
start local 4 25: aload 0
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 4
aload 0
getfield org.jruby.util.ConvertBytes.base:I
invokevirtual org.jruby.util.ConvertBytes.stringToLong:(I[II)J
lstore 5
start local 5 26: aload 4
iconst_0
iaload
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 28
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 4
iconst_0
iaload
baload
bipush 95
if_icmpne 28
27: aload 0
iload 2
iload 1
invokevirtual org.jruby.util.ConvertBytes.bigParse:(IZ)Lorg/jruby/RubyInteger;
areturn
28: StackMap locals: int[] long
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 36
29: aload 4
iconst_0
iaload
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
if_icmpne 33
30: aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
31: goto 33
32: StackMap locals:
StackMap stack:
aload 4
iconst_0
dup2
iaload
iconst_1
iadd
iastore
33: StackMap locals:
StackMap stack:
aload 0
aload 4
iconst_0
iaload
invokevirtual org.jruby.util.ConvertBytes.isSpace:(I)Z
ifne 32
34: aload 4
iconst_0
iaload
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 36
35: aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
36: StackMap locals:
StackMap stack:
iload 1
ifeq 37
aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
lload 5
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
goto 38
StackMap locals:
StackMap stack:
37: aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
lload 5
lneg
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
StackMap locals:
StackMap stack: org.jruby.RubyFixnum
38: areturn
end local 5 end local 4 39: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 1
invokevirtual org.jruby.util.ConvertBytes.bigParse:(IZ)Lorg/jruby/RubyInteger;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/jruby/util/ConvertBytes;
5 40 1 sign Z
11 40 2 len I
13 40 3 c B
25 39 4 endPlace [I
26 39 5 val J
private int trailingLength();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 2
baload
invokestatic java.lang.Character.isDigit:(I)Z
ifeq 4
iinc 1 1
goto 5
4: StackMap locals:
StackMap stack:
iload 1
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmplt 3
end local 2 7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/util/ConvertBytes;
1 8 1 newLen I
2 7 2 i I
private org.jruby.RubyInteger bigParse(int, boolean);
descriptor: (IZ)Lorg/jruby/RubyInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 2
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 2
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
baload
bipush 95
if_icmpne 2
1: aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.end:I
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
isub
newarray 5
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_m1
istore 5
start local 5 5: goto 19
6: StackMap locals: char[] int int
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
dup_x1
iconst_1
iadd
putfield org.jruby.util.ConvertBytes.beg:I
baload
istore 6
start local 6 7: iload 6
i2c
istore 7
start local 7 8: iload 6
bipush 95
if_icmpne 14
9: iload 5
iconst_m1
if_icmpeq 12
10: aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 20
aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
11: goto 20
12: StackMap locals: int int
StackMap stack:
iload 6
istore 5
13: goto 19
14: StackMap locals:
StackMap stack:
aload 0
iload 6
invokevirtual org.jruby.util.ConvertBytes.convertDigit:(B)B
dup
istore 6
ifge 16
15: goto 20
16: StackMap locals:
StackMap stack:
iload 6
aload 0
getfield org.jruby.util.ConvertBytes.base:I
if_icmplt 17
goto 20
17: StackMap locals:
StackMap stack:
iconst_m1
istore 5
18: aload 3
iload 4
iinc 4 1
iload 7
castore
end local 7 end local 6 19: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmplt 6
20: StackMap locals:
StackMap stack:
iload 4
ifne 21
aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
21: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
istore 6
start local 6 22: aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 28
23: aload 0
getfield org.jruby.util.ConvertBytes.str:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.getBegin:()I
iconst_1
iadd
iload 6
if_icmpge 26
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 6
iconst_1
isub
baload
bipush 95
if_icmpne 26
aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
24: goto 26
StackMap locals: int
StackMap stack:
25: iinc 6 1
StackMap locals:
StackMap stack:
26: iload 6
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 27
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
iload 6
baload
invokestatic java.lang.Character.isWhitespace:(I)Z
ifne 25
27: StackMap locals:
StackMap stack:
iload 6
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 28
aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
end local 6 28: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 3
iconst_0
iload 4
invokespecial java.lang.String.<init>:([CII)V
astore 6
start local 6 29: aload 0
getfield org.jruby.util.ConvertBytes.base:I
bipush 10
if_icmpne 30
aload 0
aload 6
invokevirtual org.jruby.util.ConvertBytes.stringToBig:(Ljava/lang/String;)Ljava/math/BigInteger;
goto 31
StackMap locals: java.lang.String
StackMap stack:
30: new java.math.BigInteger
dup
aload 6
aload 0
getfield org.jruby.util.ConvertBytes.base:I
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;I)V
StackMap locals:
StackMap stack: java.math.BigInteger
31: astore 7
start local 7 32: iload 2
ifne 33
aload 7
invokevirtual java.math.BigInteger.negate:()Ljava/math/BigInteger;
astore 7
33: StackMap locals: java.math.BigInteger
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.badcheck:Z
ifeq 40
34: aload 0
getfield org.jruby.util.ConvertBytes.str:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.getBegin:()I
iconst_1
iadd
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
if_icmpge 38
aload 0
getfield org.jruby.util.ConvertBytes.data:[B
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
isub
baload
bipush 95
if_icmpne 38
35: aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
36: goto 38
StackMap locals:
StackMap stack:
37: aload 0
dup
getfield org.jruby.util.ConvertBytes.beg:I
iconst_1
iadd
putfield org.jruby.util.ConvertBytes.beg:I
StackMap locals:
StackMap stack:
38: aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 39
aload 0
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
invokevirtual org.jruby.util.ConvertBytes.isSpace:(I)Z
ifne 37
39: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.beg:I
aload 0
getfield org.jruby.util.ConvertBytes.end:I
if_icmpge 40
aload 0
ldc "Integer"
invokevirtual org.jruby.util.ConvertBytes.invalidString:(Ljava/lang/String;)V
40: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
aload 7
invokestatic org.jruby.RubyBignum.bignorm:(Lorg/jruby/Ruby;Ljava/math/BigInteger;)Lorg/jruby/RubyInteger;
areturn
end local 7 end local 6 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 41 0 this Lorg/jruby/util/ConvertBytes;
0 41 1 len I
0 41 2 sign Z
3 41 3 result [C
4 41 4 resultIndex I
5 41 5 nondigit B
7 19 6 c B
8 19 7 cx C
22 28 6 tmpStr I
29 41 6 s Ljava/lang/String;
32 41 7 z Ljava/math/BigInteger;
MethodParameters:
Name Flags
len
sign
private java.math.BigInteger stringToBig(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 1
bipush 95
invokestatic org.jruby.util.StringSupport.delete:(Ljava/lang/String;C)Ljava/lang/String;
astore 1
1: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: sipush 512
istore 3
start local 3 3: iload 2
iload 3
if_icmpge 4
iload 2
istore 3
4: StackMap locals: int int
StackMap stack:
iload 2
iconst_1
isub
istore 4
start local 4 5: iload 4
iload 3
isub
iconst_1
iadd
istore 5
start local 5 6: iload 4
iload 3
idiv
iconst_1
iadd
anewarray java.math.BigInteger
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 14
9: StackMap locals: org.jruby.util.ConvertBytes java.lang.String int int int int java.math.BigInteger[] int
StackMap stack:
aload 6
iload 7
new java.math.BigInteger
dup
aload 1
iload 5
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
aastore
10: iload 5
iconst_1
isub
istore 4
11: iload 4
iload 3
isub
iconst_1
iadd
istore 5
12: iload 5
ifge 13
iconst_0
istore 5
13: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
14: iload 4
ifge 9
end local 7 15: getstatic java.math.BigInteger.TEN:Ljava/math/BigInteger;
iload 3
invokevirtual java.math.BigInteger.pow:(I)Ljava/math/BigInteger;
astore 7
start local 7 16: aload 6
arraylength
istore 8
start local 8 17: goto 30
18: StackMap locals: org.jruby.util.ConvertBytes java.lang.String int int int int java.math.BigInteger[] java.math.BigInteger int
StackMap stack:
iconst_0
istore 5
19: iconst_0
istore 4
20: goto 24
21: StackMap locals:
StackMap stack:
aload 6
iload 5
aload 6
iload 4
aaload
aload 6
iload 4
iconst_1
iadd
aaload
aload 7
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aastore
22: iinc 5 1
23: iinc 4 2
24: StackMap locals:
StackMap stack:
iload 5
iload 8
iconst_2
idiv
if_icmplt 21
25: iload 4
iload 8
iconst_1
isub
if_icmpne 28
26: aload 6
iload 5
aload 6
iload 4
aaload
aastore
27: iinc 5 1
28: StackMap locals:
StackMap stack:
iload 5
istore 8
29: aload 7
aload 7
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 7
30: StackMap locals:
StackMap stack:
iload 8
iconst_1
if_icmpgt 18
31: aload 6
iconst_0
aaload
areturn
end local 8 end local 7 end local 6 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 32 0 this Lorg/jruby/util/ConvertBytes;
0 32 1 str Ljava/lang/String;
2 32 2 size I
3 32 3 nDigits I
5 32 4 j I
6 32 5 i I
7 32 6 digits [Ljava/math/BigInteger;
8 15 7 z I
16 32 7 b10x Ljava/math/BigInteger;
17 32 8 n I
MethodParameters:
Name Flags
str
private void invalidString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.util.ConvertBytes.str:Lorg/jruby/util/ByteList;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.inspect:()Lorg/jruby/RubyString;
astore 2
start local 2 1: aload 0
getfield org.jruby.util.ConvertBytes.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "invalid value for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "(): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/ConvertBytes;
0 2 1 type Ljava/lang/String;
1 2 2 s Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
type
}
SourceFile: "ConvertBytes.java"
NestMembers:
org.jruby.util.ConvertBytes$ERange org.jruby.util.ConvertBytes$ERange$Kind
InnerClasses:
public ERange = org.jruby.util.ConvertBytes$ERange of org.jruby.util.ConvertBytes
public final Kind = org.jruby.util.ConvertBytes$ERange$Kind of org.jruby.util.ConvertBytes$ERange