- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
26 lines
655 B
Java
26 lines
655 B
Java
package com.applovin.impl;
|
|
|
|
/* loaded from: classes.dex */
|
|
abstract class ka {
|
|
public static int a(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;
|
|
}
|
|
|
|
public static int a(int i) {
|
|
return (int) (Integer.rotateLeft((int) (i * (-862048943)), 15) * 461845907);
|
|
}
|
|
|
|
public static int a(Object obj) {
|
|
return a(obj == null ? 0 : obj.hashCode());
|
|
}
|
|
}
|