final class com.google.common.hash.Murmur3_32HashFunction extends com.google.common.hash.AbstractHashFunction implements java.io.Serializable
{
static final com.google.common.hash.HashFunction MURMUR3_32;
static final com.google.common.hash.HashFunction MURMUR3_32_FIXED;
static final com.google.common.hash.HashFunction GOOD_FAST_HASH_32;
private static final int CHUNK_SIZE;
private static final int C1;
private static final int C2;
private final int seed;
private final boolean supplementaryPlaneFix;
private static final long serialVersionUID;
void <init>(int, boolean)
{
com.google.common.hash.Murmur3_32HashFunction v;
int v;
boolean v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v := @parameter: int;
v := @parameter: boolean;
specialinvoke v.<com.google.common.hash.AbstractHashFunction: void <init>()>();
v.<com.google.common.hash.Murmur3_32HashFunction: int seed> = v;
v.<com.google.common.hash.Murmur3_32HashFunction: boolean supplementaryPlaneFix> = v;
return;
}
public int bits()
{
com.google.common.hash.Murmur3_32HashFunction v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
return 32;
}
public com.google.common.hash.Hasher newHasher()
{
com.google.common.hash.Murmur3_32HashFunction v;
int v;
com.google.common.hash.Murmur3_32HashFunction$Murmur3_32Hasher v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v = new com.google.common.hash.Murmur3_32HashFunction$Murmur3_32Hasher;
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
specialinvoke v.<com.google.common.hash.Murmur3_32HashFunction$Murmur3_32Hasher: void <init>(int)>(v);
return v;
}
public java.lang.String toString()
{
com.google.common.hash.Murmur3_32HashFunction v;
int v;
java.lang.StringBuilder v;
java.lang.String v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
specialinvoke v.<java.lang.StringBuilder: void <init>(int)>(31);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Hashing.murmur3_32(\u)");
return v;
}
public boolean equals(java.lang.Object)
{
com.google.common.hash.Murmur3_32HashFunction v;
int v, v;
java.lang.Object v;
boolean v, v, v, v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v := @parameter: java.lang.Object;
v = v instanceof com.google.common.hash.Murmur3_32HashFunction;
if v == 0 goto label;
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
if v != v goto label;
v = v.<com.google.common.hash.Murmur3_32HashFunction: boolean supplementaryPlaneFix>;
v = v.<com.google.common.hash.Murmur3_32HashFunction: boolean supplementaryPlaneFix>;
if v != v goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
label:
return 0;
}
public int hashCode()
{
com.google.common.hash.Murmur3_32HashFunction v;
int v, v, v;
java.lang.Class v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Object: int hashCode()>();
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
v = v ^ v;
return v;
}
public com.google.common.hash.HashCode hashInt(int)
{
com.google.common.hash.Murmur3_32HashFunction v;
com.google.common.hash.HashCode v;
int v, v, v, v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v := @parameter: int;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixH1(int,int)>(v, v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashCode fmix(int,int)>(v, 4);
return v;
}
public com.google.common.hash.HashCode hashLong(long)
{
com.google.common.hash.HashCode v;
long v, v;
com.google.common.hash.Murmur3_32HashFunction v;
int v, v, v, v, v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v := @parameter: long;
v = v >>> 32;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixH1(int,int)>(v, v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixH1(int,int)>(v, v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashCode fmix(int,int)>(v, 8);
return v;
}
public com.google.common.hash.HashCode hashUnencodedChars(java.lang.CharSequence)
{
com.google.common.hash.Murmur3_32HashFunction v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.CharSequence v;
com.google.common.hash.HashCode v;
char v, v, v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v := @parameter: java.lang.CharSequence;
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
v = 1;
label:
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
if v >= v goto label;
v = v - 1;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = v << 16;
v = v | v;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixH1(int,int)>(v, v);
v = v + 2;
goto label;
label:
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
v = v & 1;
if v != 1 goto label;
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
v = v - 1;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = v ^ v;
label:
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
v = 2 * v;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashCode fmix(int,int)>(v, v);
return v;
}
public com.google.common.hash.HashCode hashString(java.lang.CharSequence, java.nio.charset.Charset)
{
byte[] v, v;
boolean v, v;
java.lang.CharSequence v;
long v, v, v, v, v, v, v, v;
com.google.common.hash.Murmur3_32HashFunction v;
java.nio.charset.Charset v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.String v, v;
com.google.common.hash.HashCode v, v, v;
char v, v, v, v, v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.nio.charset.Charset;
v = <com.google.common.base.Charsets: java.nio.charset.Charset UTF_8>;
v = virtualinvoke v.<java.nio.charset.Charset: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
v = 0;
v = 0;
label:
v = v + 4;
if v > v goto label;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = v + 1;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = v + 2;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = v + 3;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
if v >= 128 goto label;
if v >= 128 goto label;
if v >= 128 goto label;
if v >= 128 goto label;
v = v << 8;
v = v | v;
v = v << 16;
v = v | v;
v = v << 24;
v = v | v;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixH1(int,int)>(v, v);
v = v + 4;
v = v + 4;
goto label;
label:
v = 0L;
v = 0;
label:
if v >= v goto label;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
if v >= 128 goto label;
v = v << v;
v = v | v;
v = v + 8;
v = v + 1;
goto label;
label:
if v >= 2048 goto label;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: long charToTwoUtf8Bytes(char)>(v);
v = v << v;
v = v | v;
v = v + 16;
v = v + 2;
goto label;
label:
v = (int) 55296;
if v < v goto label;
v = (int) 57343;
if v <= v goto label;
label:
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: long charToThreeUtf8Bytes(char)>(v);
v = v << v;
v = v | v;
v = v + 24;
v = v + 3;
goto label;
label:
v = staticinvoke <java.lang.Character: int codePointAt(java.lang.CharSequence,int)>(v, v);
if v != v goto label;
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
v = virtualinvoke v.<java.lang.String: byte[] getBytes(java.nio.charset.Charset)>(v);
v = virtualinvoke v.<com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashCode hashBytes(byte[])>(v);
return v;
label:
v = v + 1;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: long codePointToFourUtf8Bytes(int)>(v);
v = v << v;
v = v | v;
v = v.<com.google.common.hash.Murmur3_32HashFunction: boolean supplementaryPlaneFix>;
if v == 0 goto label;
v = v + 32;
label:
v = v + 4;
label:
if v < 32 goto label;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixH1(int,int)>(v, v);
v = v >>> 32;
v = v - 32;
label:
v = v + 1;
goto label;
label:
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = v ^ v;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashCode fmix(int,int)>(v, v);
return v;
label:
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
v = virtualinvoke v.<java.lang.String: byte[] getBytes(java.nio.charset.Charset)>(v);
v = virtualinvoke v.<com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashCode hashBytes(byte[])>(v);
return v;
}
public com.google.common.hash.HashCode hashBytes(byte[], int, int)
{
byte[] v;
com.google.common.hash.Murmur3_32HashFunction v;
byte v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
com.google.common.hash.HashCode v;
v := @this: com.google.common.hash.Murmur3_32HashFunction;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = v + v;
v = lengthof v;
staticinvoke <com.google.common.base.Preconditions: void checkPositionIndexes(int,int,int)>(v, v, v);
v = v.<com.google.common.hash.Murmur3_32HashFunction: int seed>;
v = 0;
label:
v = v + 4;
if v > v goto label;
v = v + v;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int getIntLittleEndian(byte[],int)>(v, v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixH1(int,int)>(v, v);
v = v + 4;
goto label;
label:
v = 0;
v = 0;
label:
if v >= v goto label;
v = v + v;
v = v[v];
v = staticinvoke <com.google.common.primitives.UnsignedBytes: int toInt(byte)>(v);
v = v << v;
v = v ^ v;
v = v + 1;
v = v + 8;
goto label;
label:
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: int mixK1(int)>(v);
v = v ^ v;
v = staticinvoke <com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashCode fmix(int,int)>(v, v);
return v;
}
private static int getIntLittleEndian(byte[], int)
{
byte[] v;
byte v, v, v, v;
int v, v, v, v, v;
v := @parameter: byte[];
v := @parameter: int;
v = v + 3;
v = v[v];
v = v + 2;
v = v[v];
v = v + 1;
v = v[v];
v = v[v];
v = staticinvoke <com.google.common.primitives.Ints: int fromBytes(byte,byte,byte,byte)>(v, v, v, v);
return v;
}
private static int mixK1(int)
{
int v, v, v, v;
v := @parameter: int;
v = v * -862048943;
v = staticinvoke <java.lang.Integer: int rotateLeft(int,int)>(v, 15);
v = v * 461845907;
return v;
}
private static int mixH1(int, int)
{
int v, v, v, v, v, v;
v := @parameter: int;
v := @parameter: int;
v = v ^ v;
v = staticinvoke <java.lang.Integer: int rotateLeft(int,int)>(v, 13);
v = v * 5;
v = v + -430675100;
return v;
}
private static com.google.common.hash.HashCode fmix(int, int)
{
com.google.common.hash.HashCode v;
int v, v, v, v, v, v, v, v, v, v, v;
v := @parameter: int;
v := @parameter: int;
v = v ^ v;
v = v >>> 16;
v = v ^ v;
v = v * -2048144789;
v = v >>> 13;
v = v ^ v;
v = v * -1028477387;
v = v >>> 16;
v = v ^ v;
v = staticinvoke <com.google.common.hash.HashCode: com.google.common.hash.HashCode fromInt(int)>(v);
return v;
}
private static long codePointToFourUtf8Bytes(int)
{
long v, v, v, v, v, v, v, v, v, v;
int v, v, v, v, v, v, v;
v := @parameter: int;
v = v >>> 18;
v = 240L | v;
v = v >>> 12;
v = 63 & v;
v = 128L | v;
v = v << 8;
v = v | v;
v = v >>> 6;
v = 63 & v;
v = 128L | v;
v = v << 16;
v = v | v;
v = 63 & v;
v = 128L | v;
v = v << 24;
v = v | v;
return v;
}
private static long charToThreeUtf8Bytes(char)
{
char v, v;
long v, v, v;
short v;
int v, v, v, v, v, v;
v := @parameter: char;
v = v >>> 12;
v = 224L | v;
v = v >>> 6;
v = 63 & v;
v = 128 | v;
v = v << 8;
v = v | v;
v = 63 & v;
v = 128 | v;
v = v << 16;
v = v | v;
return v;
}
private static long charToTwoUtf8Bytes(char)
{
short v;
int v, v;
char v, v;
long v, v;
v := @parameter: char;
v = v >>> 6;
v = 192L | v;
v = 63 & v;
v = 128 | v;
v = v << 8;
v = v | v;
return v;
}
static void <clinit>()
{
com.google.common.hash.Murmur3_32HashFunction v, v, v;
int v;
v = new com.google.common.hash.Murmur3_32HashFunction;
specialinvoke v.<com.google.common.hash.Murmur3_32HashFunction: void <init>(int,boolean)>(0, 0);
<com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashFunction MURMUR3_32> = v;
v = new com.google.common.hash.Murmur3_32HashFunction;
specialinvoke v.<com.google.common.hash.Murmur3_32HashFunction: void <init>(int,boolean)>(0, 1);
<com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashFunction MURMUR3_32_FIXED> = v;
v = new com.google.common.hash.Murmur3_32HashFunction;
v = <com.google.common.hash.Hashing: int GOOD_FAST_HASH_SEED>;
specialinvoke v.<com.google.common.hash.Murmur3_32HashFunction: void <init>(int,boolean)>(v, 1);
<com.google.common.hash.Murmur3_32HashFunction: com.google.common.hash.HashFunction GOOD_FAST_HASH_32> = v;
return;
}
}