Files
rr3-apk/decompiled/sources/com/google/common/collect/Hashing.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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;
}
}