public class org.jruby.util.MurmurHash
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.MurmurHash
super_class: java.lang.Object
{
public static final int MURMUR2_MAGIC;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1540483477
private static final int MURMUR2_R;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 24
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.jruby.util.MurmurHash this
0: .line 3
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.jruby.util.MurmurHash this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/MurmurHash;
public static int hash32(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=4
start local 0 // byte[] src
start local 1 // int offset
start local 2 // int length
start local 3 // int seed
0: .line 25
iload 3 /* seed */
iload 2 /* length */
ixor
istore 4 /* h */
start local 4 // int h
1: .line 27
iload 1 /* offset */
istore 5 /* i */
start local 5 // int i
2: .line 28
iload 2 /* length */
istore 6 /* len */
start local 6 // int len
3: .line 29
goto 15
4: .line 30
StackMap locals: int int int
StackMap stack:
aload 0 /* src */
iload 5 /* i */
iconst_0
iadd
baload
sipush 255
iand
istore 7 /* k */
start local 7 // int k
5: .line 31
iload 7 /* k */
aload 0 /* src */
iload 5 /* i */
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
ior
istore 7 /* k */
6: .line 32
iload 7 /* k */
aload 0 /* src */
iload 5 /* i */
iconst_2
iadd
baload
sipush 255
iand
bipush 16
ishl
ior
istore 7 /* k */
7: .line 33
iload 7 /* k */
aload 0 /* src */
iload 5 /* i */
iconst_3
iadd
baload
sipush 255
iand
bipush 24
ishl
ior
istore 7 /* k */
8: .line 35
iload 7 /* k */
ldc 1540483477
imul
istore 7 /* k */
9: .line 36
iload 7 /* k */
iload 7 /* k */
bipush 24
iushr
ixor
istore 7 /* k */
10: .line 37
iload 7 /* k */
ldc 1540483477
imul
istore 7 /* k */
11: .line 39
iload 4 /* h */
ldc 1540483477
imul
istore 4 /* h */
12: .line 40
iload 4 /* h */
iload 7 /* k */
ixor
istore 4 /* h */
13: .line 42
iinc 5 /* i */ 4
14: .line 43
iinc 6 /* len */ -4
end local 7 // int k
15: .line 29
StackMap locals:
StackMap stack:
iload 6 /* len */
iconst_4
if_icmpge 4
16: .line 46
iload 6 /* len */
tableswitch { // 1 - 3
1: 19
2: 18
3: 17
default: 21
}
17: .line 48
StackMap locals:
StackMap stack:
iload 4 /* h */
aload 0 /* src */
iload 5 /* i */
iconst_2
iadd
baload
sipush 255
iand
bipush 16
ishl
ixor
istore 4 /* h */
18: .line 50
StackMap locals:
StackMap stack:
iload 4 /* h */
aload 0 /* src */
iload 5 /* i */
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
ixor
istore 4 /* h */
19: .line 52
StackMap locals:
StackMap stack:
iload 4 /* h */
aload 0 /* src */
iload 5 /* i */
iconst_0
iadd
baload
sipush 255
iand
ixor
istore 4 /* h */
20: .line 53
iload 4 /* h */
ldc 1540483477
imul
istore 4 /* h */
21: .line 54
StackMap locals:
StackMap stack:
iload 4 /* h */
22: .line 56
iload 4 /* h */
bipush 13
iushr
ixor
istore 4 /* h */
23: .line 57
iload 4 /* h */
ldc 1540483477
imul
istore 4 /* h */
24: .line 58
iload 4 /* h */
iload 4 /* h */
bipush 15
iushr
ixor
istore 4 /* h */
25: .line 60
iload 4 /* h */
ireturn
end local 6 // int len
end local 5 // int i
end local 4 // int h
end local 3 // int seed
end local 2 // int length
end local 1 // int offset
end local 0 // byte[] src
LocalVariableTable:
Start End Slot Name Signature
0 26 0 src [B
0 26 1 offset I
0 26 2 length I
0 26 3 seed I
1 26 4 h I
2 26 5 i I
3 26 6 len I
5 15 7 k I
MethodParameters:
Name Flags
src
offset
length
seed
}
SourceFile: "MurmurHash.java"