public class com.carrotsearch.hppc.XorShift128P
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.carrotsearch.hppc.XorShift128P
super_class: java.lang.Object
{
private long state0;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long state1;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
invokestatic com.carrotsearch.hppc.BitMixer.mix64:(J)J
invokestatic com.carrotsearch.hppc.XorShift128P.notZero:(J)J
putfield com.carrotsearch.hppc.XorShift128P.state0:J
2: aload 0
lload 1
lconst_1
ladd
invokestatic com.carrotsearch.hppc.BitMixer.mix64:(J)J
invokestatic com.carrotsearch.hppc.XorShift128P.notZero:(J)J
putfield com.carrotsearch.hppc.XorShift128P.state1:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/carrotsearch/hppc/XorShift128P;
0 4 1 seed J
MethodParameters:
Name Flags
seed
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.carrotsearch.hppc.Containers.randomSeed64:()J
invokespecial com.carrotsearch.hppc.XorShift128P.<init>:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/XorShift128P;
public long nextLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield com.carrotsearch.hppc.XorShift128P.state0:J
lstore 1
start local 1 1: aload 0
getfield com.carrotsearch.hppc.XorShift128P.state1:J
lstore 3
start local 3 2: aload 0
lload 3
putfield com.carrotsearch.hppc.XorShift128P.state0:J
3: lload 1
lload 1
bipush 23
lshl
lxor
lstore 1
4: aload 0
lload 1
lload 3
lxor
lload 1
bipush 17
lushr
lxor
lload 3
bipush 26
lushr
lxor
dup2_x1
putfield com.carrotsearch.hppc.XorShift128P.state1:J
lload 3
ladd
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/XorShift128P;
1 5 1 s1 J
2 5 3 s0 J
public int nextInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.carrotsearch.hppc.XorShift128P.nextLong:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/XorShift128P;
private static long notZero(long);
descriptor: (J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifne 1
ldc 244837814090430
goto 2
StackMap locals:
StackMap stack:
1: lload 0
StackMap locals:
StackMap stack: long
2: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value J
MethodParameters:
Name Flags
value
public int nextInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iload 1
ifgt 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.carrotsearch.hppc.XorShift128P.nextInt:()I
iconst_1
iushr
istore 2
start local 2 3: iload 1
iconst_1
isub
istore 3
start local 3 4: iload 1
iload 3
iand
ifne 7
5: iload 1
i2l
iload 2
i2l
lmul
bipush 31
lshr
l2i
istore 2
6: goto 12
7: StackMap locals: int int
StackMap stack:
iload 2
istore 4
start local 4 8: goto 10
9: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.carrotsearch.hppc.XorShift128P.nextInt:()I
iconst_1
iushr
istore 4
10: StackMap locals:
StackMap stack:
iload 4
iload 4
iload 1
irem
dup
istore 2
isub
iload 3
iadd
11: iflt 9
end local 4 12: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/carrotsearch/hppc/XorShift128P;
0 13 1 bound I
3 13 2 r I
4 13 3 m I
8 12 4 u I
MethodParameters:
Name Flags
bound
}
SourceFile: "XorShift128P.java"