Initial commit
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
package com.google.android.gms.internal.measurement;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class zzuq {
|
||||
static final Charset a = Charset.forName("UTF-8");
|
||||
public static final byte[] b;
|
||||
|
||||
static {
|
||||
Charset.forName("ISO-8859-1");
|
||||
byte[] bArr = new byte[0];
|
||||
b = bArr;
|
||||
ByteBuffer.wrap(bArr);
|
||||
byte[] bArr2 = b;
|
||||
zztq.a(bArr2, 0, bArr2.length, false);
|
||||
}
|
||||
|
||||
public static int a(long j) {
|
||||
return (int) (j ^ (j >>> 32));
|
||||
}
|
||||
|
||||
public static int a(boolean z) {
|
||||
return z ? 1231 : 1237;
|
||||
}
|
||||
|
||||
static <T> T a(T t) {
|
||||
if (t != null) {
|
||||
return t;
|
||||
}
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
static boolean a(zzvv zzvvVar) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public static boolean b(byte[] bArr) {
|
||||
return zzxl.a(bArr);
|
||||
}
|
||||
|
||||
public static String c(byte[] bArr) {
|
||||
return new String(bArr, a);
|
||||
}
|
||||
|
||||
static <T> T a(T t, String str) {
|
||||
if (t != null) {
|
||||
return t;
|
||||
}
|
||||
throw new NullPointerException(str);
|
||||
}
|
||||
|
||||
public static int a(byte[] bArr) {
|
||||
int length = bArr.length;
|
||||
int a2 = a(length, bArr, 0, length);
|
||||
if (a2 == 0) {
|
||||
return 1;
|
||||
}
|
||||
return a2;
|
||||
}
|
||||
|
||||
static int a(int i, byte[] bArr, int i2, int i3) {
|
||||
int i4 = i;
|
||||
for (int i5 = i2; i5 < i2 + i3; i5++) {
|
||||
i4 = (i4 * 31) + bArr[i5];
|
||||
}
|
||||
return i4;
|
||||
}
|
||||
|
||||
static Object a(Object obj, Object obj2) {
|
||||
zzvw f = ((zzvv) obj).f();
|
||||
f.a((zzvv) obj2);
|
||||
return f.e();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user