public final class org.h2.util.Bits
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.h2.util.Bits
super_class: java.lang.Object
{
public static int compareNotNull(char[], char[]);
descriptor: ([C[C)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 // char[] data1
start local 1 // char[] data2
0: .line 36
aload 0 /* data1 */
aload 1 /* data2 */
if_acmpne 2
1: .line 37
iconst_0
ireturn
2: .line 39
StackMap locals:
StackMap stack:
aload 0 /* data1 */
arraylength
aload 1 /* data2 */
arraylength
invokestatic java.lang.Math.min:(II)I
istore 2 /* len */
start local 2 // int len
3: .line 40
iconst_0
istore 3 /* i */
start local 3 // int i
4: goto 12
5: .line 41
StackMap locals: int int
StackMap stack:
aload 0 /* data1 */
iload 3 /* i */
caload
istore 4 /* b */
start local 4 // char b
6: .line 42
aload 1 /* data2 */
iload 3 /* i */
caload
istore 5 /* b2 */
start local 5 // char b2
7: .line 43
iload 4 /* b */
iload 5 /* b2 */
if_icmpeq 11
8: .line 44
iload 4 /* b */
iload 5 /* b2 */
if_icmple 9
iconst_1
goto 10
StackMap locals: int int
StackMap stack:
9: iconst_m1
StackMap locals:
StackMap stack: int
10: ireturn
end local 5 // char b2
end local 4 // char b
11: .line 40
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
12: iload 3 /* i */
iload 2 /* len */
if_icmplt 5
end local 3 // int i
13: .line 47
aload 0 /* data1 */
arraylength
aload 1 /* data2 */
arraylength
isub
invokestatic java.lang.Integer.signum:(I)I
ireturn
end local 2 // int len
end local 1 // char[] data2
end local 0 // char[] data1
LocalVariableTable:
Start End Slot Name Signature
0 14 0 data1 [C
0 14 1 data2 [C
3 14 2 len I
4 13 3 i I
6 11 4 b C
7 11 5 b2 C
MethodParameters:
Name Flags
data1
data2
public static int compareNotNullSigned(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 // byte[] data1
start local 1 // byte[] data2
0: .line 67
aload 0 /* data1 */
aload 1 /* data2 */
if_acmpne 2
1: .line 68
iconst_0
ireturn
2: .line 70
StackMap locals:
StackMap stack:
aload 0 /* data1 */
arraylength
aload 1 /* data2 */
arraylength
invokestatic java.lang.Math.min:(II)I
istore 2 /* len */
start local 2 // int len
3: .line 71
iconst_0
istore 3 /* i */
start local 3 // int i
4: goto 12
5: .line 72
StackMap locals: int int
StackMap stack:
aload 0 /* data1 */
iload 3 /* i */
baload
istore 4 /* b */
start local 4 // byte b
6: .line 73
aload 1 /* data2 */
iload 3 /* i */
baload
istore 5 /* b2 */
start local 5 // byte b2
7: .line 74
iload 4 /* b */
iload 5 /* b2 */
if_icmpeq 11
8: .line 75
iload 4 /* b */
iload 5 /* b2 */
if_icmple 9
iconst_1
goto 10
StackMap locals: int int
StackMap stack:
9: iconst_m1
StackMap locals:
StackMap stack: int
10: ireturn
end local 5 // byte b2
end local 4 // byte b
11: .line 71
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
12: iload 3 /* i */
iload 2 /* len */
if_icmplt 5
end local 3 // int i
13: .line 78
aload 0 /* data1 */
arraylength
aload 1 /* data2 */
arraylength
isub
invokestatic java.lang.Integer.signum:(I)I
ireturn
end local 2 // int len
end local 1 // byte[] data2
end local 0 // byte[] data1
LocalVariableTable:
Start End Slot Name Signature
0 14 0 data1 [B
0 14 1 data2 [B
3 14 2 len I
4 13 3 i I
6 11 4 b B
7 11 5 b2 B
MethodParameters:
Name Flags
data1
data2
public static int compareNotNullUnsigned(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 // byte[] data1
start local 1 // byte[] data2
0: .line 98
aload 0 /* data1 */
aload 1 /* data2 */
if_acmpne 2
1: .line 99
iconst_0
ireturn
2: .line 101
StackMap locals:
StackMap stack:
aload 0 /* data1 */
arraylength
aload 1 /* data2 */
arraylength
invokestatic java.lang.Math.min:(II)I
istore 2 /* len */
start local 2 // int len
3: .line 102
iconst_0
istore 3 /* i */
start local 3 // int i
4: goto 12
5: .line 103
StackMap locals: int int
StackMap stack:
aload 0 /* data1 */
iload 3 /* i */
baload
sipush 255
iand
istore 4 /* b */
start local 4 // int b
6: .line 104
aload 1 /* data2 */
iload 3 /* i */
baload
sipush 255
iand
istore 5 /* b2 */
start local 5 // int b2
7: .line 105
iload 4 /* b */
iload 5 /* b2 */
if_icmpeq 11
8: .line 106
iload 4 /* b */
iload 5 /* b2 */
if_icmple 9
iconst_1
goto 10
StackMap locals: int int
StackMap stack:
9: iconst_m1
StackMap locals:
StackMap stack: int
10: ireturn
end local 5 // int b2
end local 4 // int b
11: .line 102
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
12: iload 3 /* i */
iload 2 /* len */
if_icmplt 5
end local 3 // int i
13: .line 109
aload 0 /* data1 */
arraylength
aload 1 /* data2 */
arraylength
isub
invokestatic java.lang.Integer.signum:(I)I
ireturn
end local 2 // int len
end local 1 // byte[] data2
end local 0 // byte[] data1
LocalVariableTable:
Start End Slot Name Signature
0 14 0 data1 [B
0 14 1 data2 [B
3 14 2 len I
4 13 3 i I
6 11 4 b I
7 11 5 b2 I
MethodParameters:
Name Flags
data1
data2
public static int readInt(byte[], int);
descriptor: ([BI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 // byte[] buff
start local 1 // int pos
0: .line 123
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
baload
bipush 24
ishl
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
baload
sipush 255
iand
bipush 16
ishl
iadd
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
baload
sipush 255
iand
bipush 8
ishl
iadd
aload 0 /* buff */
iload 1 /* pos */
baload
sipush 255
iand
iadd
ireturn
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 1 0 buff [B
0 1 1 pos I
MethodParameters:
Name Flags
buff
pos
public static int readIntLE(byte[], int);
descriptor: ([BI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 // byte[] buff
start local 1 // int pos
0: .line 137
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
baload
sipush 255
iand
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
baload
sipush 255
iand
bipush 8
ishl
iadd
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
baload
sipush 255
iand
bipush 16
ishl
iadd
aload 0 /* buff */
iload 1 /* pos */
baload
bipush 24
ishl
iadd
ireturn
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 1 0 buff [B
0 1 1 pos I
MethodParameters:
Name Flags
buff
pos
public static long readLong(byte[], int);
descriptor: ([BI)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 // byte[] buff
start local 1 // int pos
0: .line 151
aload 0 /* buff */
iload 1 /* pos */
invokestatic org.h2.util.Bits.readInt:([BI)I
i2l
bipush 32
lshl
aload 0 /* buff */
iload 1 /* pos */
iconst_4
iadd
invokestatic org.h2.util.Bits.readInt:([BI)I
i2l
ldc 4294967295
land
ladd
lreturn
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 1 0 buff [B
0 1 1 pos I
MethodParameters:
Name Flags
buff
pos
public static long readLongLE(byte[], int);
descriptor: ([BI)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 // byte[] buff
start local 1 // int pos
0: .line 165
aload 0 /* buff */
iload 1 /* pos */
invokestatic org.h2.util.Bits.readIntLE:([BI)I
i2l
ldc 4294967295
land
aload 0 /* buff */
iload 1 /* pos */
iconst_4
iadd
invokestatic org.h2.util.Bits.readIntLE:([BI)I
i2l
bipush 32
lshl
ladd
lreturn
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 1 0 buff [B
0 1 1 pos I
MethodParameters:
Name Flags
buff
pos
public static double readDouble(byte[], int);
descriptor: ([BI)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // byte[] buff
start local 1 // int pos
0: .line 179
aload 0 /* buff */
iload 1 /* pos */
invokestatic org.h2.util.Bits.readLong:([BI)J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 1 0 buff [B
0 1 1 pos I
MethodParameters:
Name Flags
buff
pos
public static double readDoubleLE(byte[], int);
descriptor: ([BI)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 // byte[] buff
start local 1 // int pos
0: .line 193
aload 0 /* buff */
iload 1 /* pos */
invokestatic org.h2.util.Bits.readLongLE:([BI)J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 1 0 buff [B
0 1 1 pos I
MethodParameters:
Name Flags
buff
pos
public static byte[] uuidToBytes(long, long);
descriptor: (JJ)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=2
start local 0 // long msb
start local 2 // long lsb
0: .line 206
bipush 16
newarray 8
astore 4 /* buff */
start local 4 // byte[] buff
1: .line 207
iconst_0
istore 5 /* i */
start local 5 // int i
2: goto 6
3: .line 208
StackMap locals: byte[] int
StackMap stack:
aload 4 /* buff */
iload 5 /* i */
lload 0 /* msb */
bipush 8
bipush 7
iload 5 /* i */
isub
imul
lshr
ldc 255
land
l2i
i2b
bastore
4: .line 209
aload 4 /* buff */
bipush 8
iload 5 /* i */
iadd
lload 2 /* lsb */
bipush 8
bipush 7
iload 5 /* i */
isub
imul
lshr
ldc 255
land
l2i
i2b
bastore
5: .line 207
iinc 5 /* i */ 1
StackMap locals:
StackMap stack:
6: iload 5 /* i */
bipush 8
if_icmplt 3
end local 5 // int i
7: .line 211
aload 4 /* buff */
areturn
end local 4 // byte[] buff
end local 2 // long lsb
end local 0 // long msb
LocalVariableTable:
Start End Slot Name Signature
0 8 0 msb J
0 8 2 lsb J
1 8 4 buff [B
2 7 5 i I
MethodParameters:
Name Flags
msb
lsb
public static byte[] uuidToBytes(java.util.UUID);
descriptor: (Ljava/util/UUID;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 // java.util.UUID uuid
0: .line 222
aload 0 /* uuid */
invokevirtual java.util.UUID.getMostSignificantBits:()J
aload 0 /* uuid */
invokevirtual java.util.UUID.getLeastSignificantBits:()J
invokestatic org.h2.util.Bits.uuidToBytes:(JJ)[B
areturn
end local 0 // java.util.UUID uuid
LocalVariableTable:
Start End Slot Name Signature
0 1 0 uuid Ljava/util/UUID;
MethodParameters:
Name Flags
uuid
public static void writeInt(byte[], int, int);
descriptor: ([BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 // byte[] buff
start local 1 // int pos
start local 2 // int x
0: .line 237
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
iload 2 /* x */
bipush 24
ishr
i2b
bastore
1: .line 238
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
iload 2 /* x */
bipush 16
ishr
i2b
bastore
2: .line 239
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
iload 2 /* x */
bipush 8
ishr
i2b
bastore
3: .line 240
aload 0 /* buff */
iload 1 /* pos */
iload 2 /* x */
i2b
bastore
4: .line 241
return
end local 2 // int x
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 5 0 buff [B
0 5 1 pos I
0 5 2 x I
MethodParameters:
Name Flags
buff
pos
x
public static void writeIntLE(byte[], int, int);
descriptor: ([BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 // byte[] buff
start local 1 // int pos
start local 2 // int x
0: .line 255
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
iload 2 /* x */
i2b
bastore
1: .line 256
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
iload 2 /* x */
bipush 8
ishr
i2b
bastore
2: .line 257
aload 0 /* buff */
iload 1 /* pos */
iinc 1 /* pos */ 1
iload 2 /* x */
bipush 16
ishr
i2b
bastore
3: .line 258
aload 0 /* buff */
iload 1 /* pos */
iload 2 /* x */
bipush 24
ishr
i2b
bastore
4: .line 259
return
end local 2 // int x
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 5 0 buff [B
0 5 1 pos I
0 5 2 x I
MethodParameters:
Name Flags
buff
pos
x
public static void writeLong(byte[], int, long);
descriptor: ([BIJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 // byte[] buff
start local 1 // int pos
start local 2 // long x
0: .line 273
aload 0 /* buff */
iload 1 /* pos */
lload 2 /* x */
bipush 32
lshr
l2i
invokestatic org.h2.util.Bits.writeInt:([BII)V
1: .line 274
aload 0 /* buff */
iload 1 /* pos */
iconst_4
iadd
lload 2 /* x */
l2i
invokestatic org.h2.util.Bits.writeInt:([BII)V
2: .line 275
return
end local 2 // long x
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 3 0 buff [B
0 3 1 pos I
0 3 2 x J
MethodParameters:
Name Flags
buff
pos
x
public static void writeLongLE(byte[], int, long);
descriptor: ([BIJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 // byte[] buff
start local 1 // int pos
start local 2 // long x
0: .line 289
aload 0 /* buff */
iload 1 /* pos */
lload 2 /* x */
l2i
invokestatic org.h2.util.Bits.writeIntLE:([BII)V
1: .line 290
aload 0 /* buff */
iload 1 /* pos */
iconst_4
iadd
lload 2 /* x */
bipush 32
lshr
l2i
invokestatic org.h2.util.Bits.writeIntLE:([BII)V
2: .line 291
return
end local 2 // long x
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 3 0 buff [B
0 3 1 pos I
0 3 2 x J
MethodParameters:
Name Flags
buff
pos
x
public static void writeDouble(byte[], int, double);
descriptor: ([BID)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 // byte[] buff
start local 1 // int pos
start local 2 // double x
0: .line 305
aload 0 /* buff */
iload 1 /* pos */
dload 2 /* x */
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokestatic org.h2.util.Bits.writeLong:([BIJ)V
1: .line 306
return
end local 2 // double x
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 2 0 buff [B
0 2 1 pos I
0 2 2 x D
MethodParameters:
Name Flags
buff
pos
x
public static void writeDoubleLE(byte[], int, double);
descriptor: ([BID)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 // byte[] buff
start local 1 // int pos
start local 2 // double x
0: .line 320
aload 0 /* buff */
iload 1 /* pos */
dload 2 /* x */
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokestatic org.h2.util.Bits.writeLongLE:([BIJ)V
1: .line 321
return
end local 2 // double x
end local 1 // int pos
end local 0 // byte[] buff
LocalVariableTable:
Start End Slot Name Signature
0 2 0 buff [B
0 2 1 pos I
0 2 2 x D
MethodParameters:
Name Flags
buff
pos
x
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // org.h2.util.Bits this
0: .line 323
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 324
return
end local 0 // org.h2.util.Bits this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/h2/util/Bits;
}
SourceFile: "Bits.java"