- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
64 lines
1.4 KiB
Java
64 lines
1.4 KiB
Java
package com.google.android.gms.internal.measurement;
|
|
|
|
import java.nio.ByteBuffer;
|
|
import java.nio.charset.Charset;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzjn {
|
|
static final Charset zza;
|
|
public static final byte[] zzb;
|
|
|
|
public static int zza(long j) {
|
|
return (int) (j ^ (j >>> 32));
|
|
}
|
|
|
|
public static int zza(boolean z) {
|
|
return z ? 1231 : 1237;
|
|
}
|
|
|
|
public static int zza(byte[] bArr) {
|
|
int length = bArr.length;
|
|
int zza2 = zza(length, bArr, 0, length);
|
|
if (zza2 == 0) {
|
|
return 1;
|
|
}
|
|
return zza2;
|
|
}
|
|
|
|
public static int zza(int i, byte[] bArr, int i2, int i3) {
|
|
for (int i4 = i2; i4 < i2 + i3; i4++) {
|
|
i = (i * 31) + bArr[i4];
|
|
}
|
|
return i;
|
|
}
|
|
|
|
public static <T> T zza(T t) {
|
|
t.getClass();
|
|
return t;
|
|
}
|
|
|
|
public static <T> T zza(T t, String str) {
|
|
if (t != null) {
|
|
return t;
|
|
}
|
|
throw new NullPointerException(str);
|
|
}
|
|
|
|
static {
|
|
Charset.forName("US-ASCII");
|
|
zza = Charset.forName("UTF-8");
|
|
Charset.forName("ISO-8859-1");
|
|
byte[] bArr = new byte[0];
|
|
zzb = bArr;
|
|
ByteBuffer.wrap(bArr);
|
|
zzil.zza(bArr, 0, bArr.length, false);
|
|
}
|
|
|
|
public static boolean zza(zzkq zzkqVar) {
|
|
if (!(zzkqVar instanceof zzhp)) {
|
|
return false;
|
|
}
|
|
return false;
|
|
}
|
|
}
|