- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
package com.google.android.gms.internal.common;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes3.dex */
|
|
class zzaa extends zzab {
|
|
Object[] zza = new Object[4];
|
|
int zzb = 0;
|
|
boolean zzc;
|
|
|
|
public zzaa(int i) {
|
|
}
|
|
|
|
public final zzaa zza(Object obj) {
|
|
obj.getClass();
|
|
int i = this.zzb;
|
|
int i2 = i + 1;
|
|
Object[] objArr = this.zza;
|
|
int length = objArr.length;
|
|
if (length < i2) {
|
|
int i3 = length + (length >> 1) + 1;
|
|
if (i3 < i2) {
|
|
int highestOneBit = Integer.highestOneBit(i);
|
|
i3 = highestOneBit + highestOneBit;
|
|
}
|
|
if (i3 < 0) {
|
|
i3 = Integer.MAX_VALUE;
|
|
}
|
|
this.zza = Arrays.copyOf(objArr, i3);
|
|
this.zzc = false;
|
|
} else if (this.zzc) {
|
|
this.zza = (Object[]) objArr.clone();
|
|
this.zzc = false;
|
|
}
|
|
Object[] objArr2 = this.zza;
|
|
int i4 = this.zzb;
|
|
this.zzb = i4 + 1;
|
|
objArr2[i4] = obj;
|
|
return this;
|
|
}
|
|
}
|