mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-24 08:02:37 -06:00
26 lines
1.6 KiB
Java
26 lines
1.6 KiB
Java
|
package kotlin;
|
||
|
|
||
|
import io.sentry.Session;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
|
||
|
/* compiled from: UShortArray.kt */
|
||
|
@Metadata(d1 = {"\u0000\u001a\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\u001a-\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00060\u0005H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\u0007\u001a\u001c\u0010\b\u001a\u00020\u00012\n\u0010\t\u001a\u00020\u0001\"\u00020\u0006H\u0087\b¢\u0006\u0004\b\n\u0010\u000b\u0082\u0002\u0007\n\u0005\b\u009920\u0001¨\u0006\f"}, d2 = {"UShortArray", "Lkotlin/UShortArray;", "size", "", Session.JsonKeys.INIT, "Lkotlin/Function1;", "Lkotlin/UShort;", "(ILkotlin/jvm/functions/Function1;)[S", "ushortArrayOf", "elements", "ushortArrayOf-rL5Bavg", "([S)[S", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class UShortArrayKt {
|
||
|
/* renamed from: ushortArrayOf-rL5Bavg, reason: not valid java name */
|
||
|
private static final short[] m6048ushortArrayOfrL5Bavg(short... elements) {
|
||
|
Intrinsics.checkNotNullParameter(elements, "elements");
|
||
|
return elements;
|
||
|
}
|
||
|
|
||
|
private static final short[] UShortArray(int i, Function1<? super Integer, UShort> init) {
|
||
|
Intrinsics.checkNotNullParameter(init, "init");
|
||
|
short[] sArr = new short[i];
|
||
|
for (int i2 = 0; i2 < i; i2++) {
|
||
|
sArr[i2] = init.invoke(Integer.valueOf(i2)).getData();
|
||
|
}
|
||
|
return UShortArray.m6032constructorimpl(sArr);
|
||
|
}
|
||
|
}
|