- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
26 lines
708 B
Java
26 lines
708 B
Java
package com.google.common.collect;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public abstract class Hashing {
|
|
public static int smear(int i) {
|
|
return (int) (Integer.rotateLeft((int) (i * (-862048943)), 15) * 461845907);
|
|
}
|
|
|
|
public static int smearedHash(Object obj) {
|
|
return smear(obj == null ? 0 : obj.hashCode());
|
|
}
|
|
|
|
public static int closedTableSize(int i, double d) {
|
|
int max = Math.max(i, 2);
|
|
int highestOneBit = Integer.highestOneBit(max);
|
|
if (max <= ((int) (d * highestOneBit))) {
|
|
return highestOneBit;
|
|
}
|
|
int i2 = highestOneBit << 1;
|
|
if (i2 > 0) {
|
|
return i2;
|
|
}
|
|
return 1073741824;
|
|
}
|
|
}
|