790 lines
47 KiB
Java
790 lines
47 KiB
Java
package kotlin.collections.unsigned;
|
|
|
|
import com.google.android.gms.measurement.internal.a;
|
|
import com.google.firebase.analytics.FirebaseAnalytics;
|
|
import java.math.BigDecimal;
|
|
import java.math.BigInteger;
|
|
import java.util.Comparator;
|
|
import java.util.List;
|
|
import kotlin.Deprecated;
|
|
import kotlin.DeprecatedSinceKotlin;
|
|
import kotlin.ExperimentalUnsignedTypes;
|
|
import kotlin.Metadata;
|
|
import kotlin.OverloadResolutionByLambdaReturnType;
|
|
import kotlin.ReplaceWith;
|
|
import kotlin.SinceKotlin;
|
|
import kotlin.UByte;
|
|
import kotlin.UByteArray;
|
|
import kotlin.UInt;
|
|
import kotlin.UIntArray;
|
|
import kotlin.ULong;
|
|
import kotlin.ULongArray;
|
|
import kotlin.UShort;
|
|
import kotlin.UShortArray;
|
|
import kotlin.UnsignedKt;
|
|
import kotlin.collections.AbstractList;
|
|
import kotlin.collections.ArraysKt;
|
|
import kotlin.collections.IntIterator;
|
|
import kotlin.internal.InlineOnly;
|
|
import kotlin.jvm.JvmName;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
@Metadata(d1 = {"\u0000h\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b \n\u0002\u0010\u000f\n\u0000\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0018\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\u001a\u0019\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00020\u0001*\u00020\u0003H\u0007¢\u0006\u0004\b\u0004\u0010\u0005\u001a\u0019\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00060\u0001*\u00020\u0007H\u0007¢\u0006\u0004\b\b\u0010\t\u001a\u0019\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\n0\u0001*\u00020\u000bH\u0007¢\u0006\u0004\b\f\u0010\r\u001a\u0019\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u000e0\u0001*\u00020\u000fH\u0007¢\u0006\u0004\b\u0010\u0010\u0011\u001a/\u0010\u0012\u001a\u00020\u0013*\u00020\u00032\u0006\u0010\u0014\u001a\u00020\u00022\b\b\u0002\u0010\u0015\u001a\u00020\u00132\b\b\u0002\u0010\u0016\u001a\u00020\u0013H\u0007¢\u0006\u0004\b\u0017\u0010\u0018\u001a/\u0010\u0012\u001a\u00020\u0013*\u00020\u00072\u0006\u0010\u0014\u001a\u00020\u00062\b\b\u0002\u0010\u0015\u001a\u00020\u00132\b\b\u0002\u0010\u0016\u001a\u00020\u0013H\u0007¢\u0006\u0004\b\u0019\u0010\u001a\u001a/\u0010\u0012\u001a\u00020\u0013*\u00020\u000b2\u0006\u0010\u0014\u001a\u00020\n2\b\b\u0002\u0010\u0015\u001a\u00020\u00132\b\b\u0002\u0010\u0016\u001a\u00020\u0013H\u0007¢\u0006\u0004\b\u001b\u0010\u001c\u001a/\u0010\u0012\u001a\u00020\u0013*\u00020\u000f2\u0006\u0010\u0014\u001a\u00020\u000e2\b\b\u0002\u0010\u0015\u001a\u00020\u00132\b\b\u0002\u0010\u0016\u001a\u00020\u0013H\u0007¢\u0006\u0004\b\u001d\u0010\u001e\u001a\u001c\u0010\u001f\u001a\u00020\u0002*\u00020\u00032\u0006\u0010 \u001a\u00020\u0013H\u0087\b¢\u0006\u0004\b!\u0010\"\u001a\u001c\u0010\u001f\u001a\u00020\u0006*\u00020\u00072\u0006\u0010 \u001a\u00020\u0013H\u0087\b¢\u0006\u0004\b#\u0010$\u001a\u001c\u0010\u001f\u001a\u00020\n*\u00020\u000b2\u0006\u0010 \u001a\u00020\u0013H\u0087\b¢\u0006\u0004\b%\u0010&\u001a\u001c\u0010\u001f\u001a\u00020\u000e*\u00020\u000f2\u0006\u0010 \u001a\u00020\u0013H\u0087\b¢\u0006\u0004\b'\u0010(\u001a\u0015\u0010)\u001a\u0004\u0018\u00010\u0002*\u00020\u0003H\u0007¢\u0006\u0004\b*\u0010+\u001a\u0015\u0010)\u001a\u0004\u0018\u00010\u0006*\u00020\u0007H\u0007¢\u0006\u0004\b,\u0010-\u001a\u0015\u0010)\u001a\u0004\u0018\u00010\n*\u00020\u000bH\u0007¢\u0006\u0004\b.\u0010/\u001a\u0015\u0010)\u001a\u0004\u0018\u00010\u000e*\u00020\u000fH\u0007¢\u0006\u0004\b0\u00101\u001a=\u00102\u001a\u0004\u0018\u00010\u0002\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u00032\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\b7\u00108\u001a=\u00102\u001a\u0004\u0018\u00010\u0006\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u00072\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\b9\u0010:\u001a=\u00102\u001a\u0004\u0018\u00010\n\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u000b2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\b;\u0010<\u001a=\u00102\u001a\u0004\u0018\u00010\u000e\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u000f2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u000e\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\b=\u0010>\u001a1\u0010?\u001a\u0004\u0018\u00010\u0002*\u00020\u00032\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\u00020Aj\n\u0012\u0006\b\u0000\u0012\u00020\u0002`BH\u0007¢\u0006\u0004\bC\u0010D\u001a1\u0010?\u001a\u0004\u0018\u00010\u0006*\u00020\u00072\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\u00060Aj\n\u0012\u0006\b\u0000\u0012\u00020\u0006`BH\u0007¢\u0006\u0004\bE\u0010F\u001a1\u0010?\u001a\u0004\u0018\u00010\n*\u00020\u000b2\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\n0Aj\n\u0012\u0006\b\u0000\u0012\u00020\n`BH\u0007¢\u0006\u0004\bG\u0010H\u001a1\u0010?\u001a\u0004\u0018\u00010\u000e*\u00020\u000f2\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\u000e0Aj\n\u0012\u0006\b\u0000\u0012\u00020\u000e`BH\u0007¢\u0006\u0004\bI\u0010J\u001a\u0015\u0010K\u001a\u0004\u0018\u00010\u0002*\u00020\u0003H\u0007¢\u0006\u0004\bL\u0010+\u001a\u0015\u0010K\u001a\u0004\u0018\u00010\u0006*\u00020\u0007H\u0007¢\u0006\u0004\bM\u0010-\u001a\u0015\u0010K\u001a\u0004\u0018\u00010\n*\u00020\u000bH\u0007¢\u0006\u0004\bN\u0010/\u001a\u0015\u0010K\u001a\u0004\u0018\u00010\u000e*\u00020\u000fH\u0007¢\u0006\u0004\bO\u00101\u001a=\u0010P\u001a\u0004\u0018\u00010\u0002\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u00032\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\bQ\u00108\u001a=\u0010P\u001a\u0004\u0018\u00010\u0006\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u00072\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\bR\u0010:\u001a=\u0010P\u001a\u0004\u0018\u00010\n\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u000b2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\bS\u0010<\u001a=\u0010P\u001a\u0004\u0018\u00010\u000e\"\u000e\b\u0000\u00103*\b\u0012\u0004\u0012\u0002H304*\u00020\u000f2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u000e\u0012\u0004\u0012\u0002H306H\u0087\bø\u0001\u0000¢\u0006\u0004\bT\u0010>\u001a1\u0010U\u001a\u0004\u0018\u00010\u0002*\u00020\u00032\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\u00020Aj\n\u0012\u0006\b\u0000\u0012\u00020\u0002`BH\u0007¢\u0006\u0004\bV\u0010D\u001a1\u0010U\u001a\u0004\u0018\u00010\u0006*\u00020\u00072\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\u00060Aj\n\u0012\u0006\b\u0000\u0012\u00020\u0006`BH\u0007¢\u0006\u0004\bW\u0010F\u001a1\u0010U\u001a\u0004\u0018\u00010\n*\u00020\u000b2\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\n0Aj\n\u0012\u0006\b\u0000\u0012\u00020\n`BH\u0007¢\u0006\u0004\bX\u0010H\u001a1\u0010U\u001a\u0004\u0018\u00010\u000e*\u00020\u000f2\u001a\u0010@\u001a\u0016\u0012\u0006\b\u0000\u0012\u00020\u000e0Aj\n\u0012\u0006\b\u0000\u0012\u00020\u000e`BH\u0007¢\u0006\u0004\bY\u0010J\u001a+\u0010Z\u001a\u00020[*\u00020\u00032\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020[06H\u0087\bø\u0001\u0000¢\u0006\u0004\b\\\u0010]\u001a+\u0010Z\u001a\u00020^*\u00020\u00032\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020^06H\u0087\bø\u0001\u0000¢\u0006\u0004\b_\u0010`\u001a+\u0010Z\u001a\u00020[*\u00020\u00072\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020[06H\u0087\bø\u0001\u0000¢\u0006\u0004\b\\\u0010a\u001a+\u0010Z\u001a\u00020^*\u00020\u00072\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020^06H\u0087\bø\u0001\u0000¢\u0006\u0004\b_\u0010b\u001a+\u0010Z\u001a\u00020[*\u00020\u000b2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020[06H\u0087\bø\u0001\u0000¢\u0006\u0004\b\\\u0010c\u001a+\u0010Z\u001a\u00020^*\u00020\u000b2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020^06H\u0087\bø\u0001\u0000¢\u0006\u0004\b_\u0010d\u001a+\u0010Z\u001a\u00020[*\u00020\u000f2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u000e\u0012\u0004\u0012\u00020[06H\u0087\bø\u0001\u0000¢\u0006\u0004\b\\\u0010e\u001a+\u0010Z\u001a\u00020^*\u00020\u000f2\u0012\u00105\u001a\u000e\u0012\u0004\u0012\u00020\u000e\u0012\u0004\u0012\u00020^06H\u0087\bø\u0001\u0000¢\u0006\u0004\b_\u0010f\u0082\u0002\u0007\n\u0005\b\u009920\u0001¨\u0006g"}, d2 = {"asList", "", "Lkotlin/UByte;", "Lkotlin/UByteArray;", "asList-GBYM_sE", "([B)Ljava/util/List;", "Lkotlin/UInt;", "Lkotlin/UIntArray;", "asList--ajY-9A", "([I)Ljava/util/List;", "Lkotlin/ULong;", "Lkotlin/ULongArray;", "asList-QwZRm1k", "([J)Ljava/util/List;", "Lkotlin/UShort;", "Lkotlin/UShortArray;", "asList-rL5Bavg", "([S)Ljava/util/List;", "binarySearch", "", "element", "fromIndex", "toIndex", "binarySearch-WpHrYlw", "([BBII)I", "binarySearch-2fe2U9s", "([IIII)I", "binarySearch-K6DWlUc", "([JJII)I", "binarySearch-EtDCXyQ", "([SSII)I", "elementAt", FirebaseAnalytics.Param.INDEX, "elementAt-PpDY95g", "([BI)B", "elementAt-qFRl0hI", "([II)I", "elementAt-r7IrZao", "([JI)J", "elementAt-nggk6HY", "([SI)S", "max", "max-GBYM_sE", "([B)Lkotlin/UByte;", "max--ajY-9A", "([I)Lkotlin/UInt;", "max-QwZRm1k", "([J)Lkotlin/ULong;", "max-rL5Bavg", "([S)Lkotlin/UShort;", "maxBy", "R", "", "selector", "Lkotlin/Function1;", "maxBy-JOV_ifY", "([BLkotlin/jvm/functions/Function1;)Lkotlin/UByte;", "maxBy-jgv0xPQ", "([ILkotlin/jvm/functions/Function1;)Lkotlin/UInt;", "maxBy-MShoTSo", "([JLkotlin/jvm/functions/Function1;)Lkotlin/ULong;", "maxBy-xTcfx_M", "([SLkotlin/jvm/functions/Function1;)Lkotlin/UShort;", "maxWith", "comparator", "Ljava/util/Comparator;", "Lkotlin/Comparator;", "maxWith-XMRcp5o", "([BLjava/util/Comparator;)Lkotlin/UByte;", "maxWith-YmdZ_VM", "([ILjava/util/Comparator;)Lkotlin/UInt;", "maxWith-zrEWJaI", "([JLjava/util/Comparator;)Lkotlin/ULong;", "maxWith-eOHTfZs", "([SLjava/util/Comparator;)Lkotlin/UShort;", "min", "min-GBYM_sE", "min--ajY-9A", "min-QwZRm1k", "min-rL5Bavg", "minBy", "minBy-JOV_ifY", "minBy-jgv0xPQ", "minBy-MShoTSo", "minBy-xTcfx_M", "minWith", "minWith-XMRcp5o", "minWith-YmdZ_VM", "minWith-zrEWJaI", "minWith-eOHTfZs", "sumOf", "Ljava/math/BigDecimal;", "sumOfBigDecimal", "([BLkotlin/jvm/functions/Function1;)Ljava/math/BigDecimal;", "Ljava/math/BigInteger;", "sumOfBigInteger", "([BLkotlin/jvm/functions/Function1;)Ljava/math/BigInteger;", "([ILkotlin/jvm/functions/Function1;)Ljava/math/BigDecimal;", "([ILkotlin/jvm/functions/Function1;)Ljava/math/BigInteger;", "([JLkotlin/jvm/functions/Function1;)Ljava/math/BigDecimal;", "([JLkotlin/jvm/functions/Function1;)Ljava/math/BigInteger;", "([SLkotlin/jvm/functions/Function1;)Ljava/math/BigDecimal;", "([SLkotlin/jvm/functions/Function1;)Ljava/math/BigInteger;", "kotlin-stdlib"}, k = 5, mv = {1, 9, 0}, pn = "kotlin.collections", xi = 49, xs = "kotlin/collections/unsigned/UArraysKt")
|
|
/* loaded from: classes3.dex */
|
|
class UArraysKt___UArraysJvmKt {
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: asList--ajY-9A, reason: not valid java name */
|
|
public static final List<UInt> m584asListajY9A(int[] asList) {
|
|
Intrinsics.checkNotNullParameter(asList, "$this$asList");
|
|
return new UArraysKt___UArraysJvmKt$asList$1(asList);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: asList-GBYM_sE, reason: not valid java name */
|
|
public static final List<UByte> m585asListGBYM_sE(byte[] asList) {
|
|
Intrinsics.checkNotNullParameter(asList, "$this$asList");
|
|
return new UArraysKt___UArraysJvmKt$asList$3(asList);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: asList-QwZRm1k, reason: not valid java name */
|
|
public static final List<ULong> m586asListQwZRm1k(long[] asList) {
|
|
Intrinsics.checkNotNullParameter(asList, "$this$asList");
|
|
return new UArraysKt___UArraysJvmKt$asList$2(asList);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: asList-rL5Bavg, reason: not valid java name */
|
|
public static final List<UShort> m587asListrL5Bavg(short[] asList) {
|
|
Intrinsics.checkNotNullParameter(asList, "$this$asList");
|
|
return new UArraysKt___UArraysJvmKt$asList$4(asList);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: binarySearch-2fe2U9s, reason: not valid java name */
|
|
public static final int m588binarySearch2fe2U9s(int[] binarySearch, int i, int i4, int i5) {
|
|
Intrinsics.checkNotNullParameter(binarySearch, "$this$binarySearch");
|
|
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i4, i5, UIntArray.m272getSizeimpl(binarySearch));
|
|
int i6 = i5 - 1;
|
|
while (i4 <= i6) {
|
|
int i7 = (i4 + i6) >>> 1;
|
|
int uintCompare = UnsignedKt.uintCompare(binarySearch[i7], i);
|
|
if (uintCompare < 0) {
|
|
i4 = i7 + 1;
|
|
} else {
|
|
if (uintCompare <= 0) {
|
|
return i7;
|
|
}
|
|
i6 = i7 - 1;
|
|
}
|
|
}
|
|
return -(i4 + 1);
|
|
}
|
|
|
|
/* renamed from: binarySearch-2fe2U9s$default, reason: not valid java name */
|
|
public static /* synthetic */ int m589binarySearch2fe2U9s$default(int[] iArr, int i, int i4, int i5, int i6, Object obj) {
|
|
if ((i6 & 2) != 0) {
|
|
i4 = 0;
|
|
}
|
|
if ((i6 & 4) != 0) {
|
|
i5 = UIntArray.m272getSizeimpl(iArr);
|
|
}
|
|
return m588binarySearch2fe2U9s(iArr, i, i4, i5);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: binarySearch-EtDCXyQ, reason: not valid java name */
|
|
public static final int m590binarySearchEtDCXyQ(short[] binarySearch, short s4, int i, int i4) {
|
|
Intrinsics.checkNotNullParameter(binarySearch, "$this$binarySearch");
|
|
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i, i4, UShortArray.m456getSizeimpl(binarySearch));
|
|
int i5 = s4 & UShort.MAX_VALUE;
|
|
int i6 = i4 - 1;
|
|
while (i <= i6) {
|
|
int i7 = (i + i6) >>> 1;
|
|
int uintCompare = UnsignedKt.uintCompare(binarySearch[i7], i5);
|
|
if (uintCompare < 0) {
|
|
i = i7 + 1;
|
|
} else {
|
|
if (uintCompare <= 0) {
|
|
return i7;
|
|
}
|
|
i6 = i7 - 1;
|
|
}
|
|
}
|
|
return -(i + 1);
|
|
}
|
|
|
|
/* renamed from: binarySearch-EtDCXyQ$default, reason: not valid java name */
|
|
public static /* synthetic */ int m591binarySearchEtDCXyQ$default(short[] sArr, short s4, int i, int i4, int i5, Object obj) {
|
|
if ((i5 & 2) != 0) {
|
|
i = 0;
|
|
}
|
|
if ((i5 & 4) != 0) {
|
|
i4 = UShortArray.m456getSizeimpl(sArr);
|
|
}
|
|
return m590binarySearchEtDCXyQ(sArr, s4, i, i4);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: binarySearch-K6DWlUc, reason: not valid java name */
|
|
public static final int m592binarySearchK6DWlUc(long[] binarySearch, long j4, int i, int i4) {
|
|
Intrinsics.checkNotNullParameter(binarySearch, "$this$binarySearch");
|
|
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i, i4, ULongArray.m351getSizeimpl(binarySearch));
|
|
int i5 = i4 - 1;
|
|
while (i <= i5) {
|
|
int i6 = (i + i5) >>> 1;
|
|
int ulongCompare = UnsignedKt.ulongCompare(binarySearch[i6], j4);
|
|
if (ulongCompare < 0) {
|
|
i = i6 + 1;
|
|
} else {
|
|
if (ulongCompare <= 0) {
|
|
return i6;
|
|
}
|
|
i5 = i6 - 1;
|
|
}
|
|
}
|
|
return -(i + 1);
|
|
}
|
|
|
|
/* renamed from: binarySearch-K6DWlUc$default, reason: not valid java name */
|
|
public static /* synthetic */ int m593binarySearchK6DWlUc$default(long[] jArr, long j4, int i, int i4, int i5, Object obj) {
|
|
if ((i5 & 2) != 0) {
|
|
i = 0;
|
|
}
|
|
if ((i5 & 4) != 0) {
|
|
i4 = ULongArray.m351getSizeimpl(jArr);
|
|
}
|
|
return m592binarySearchK6DWlUc(jArr, j4, i, i4);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
/* renamed from: binarySearch-WpHrYlw, reason: not valid java name */
|
|
public static final int m594binarySearchWpHrYlw(byte[] binarySearch, byte b4, int i, int i4) {
|
|
Intrinsics.checkNotNullParameter(binarySearch, "$this$binarySearch");
|
|
AbstractList.INSTANCE.checkRangeIndexes$kotlin_stdlib(i, i4, UByteArray.m193getSizeimpl(binarySearch));
|
|
int i5 = b4 & UByte.MAX_VALUE;
|
|
int i6 = i4 - 1;
|
|
while (i <= i6) {
|
|
int i7 = (i + i6) >>> 1;
|
|
int uintCompare = UnsignedKt.uintCompare(binarySearch[i7], i5);
|
|
if (uintCompare < 0) {
|
|
i = i7 + 1;
|
|
} else {
|
|
if (uintCompare <= 0) {
|
|
return i7;
|
|
}
|
|
i6 = i7 - 1;
|
|
}
|
|
}
|
|
return -(i + 1);
|
|
}
|
|
|
|
/* renamed from: binarySearch-WpHrYlw$default, reason: not valid java name */
|
|
public static /* synthetic */ int m595binarySearchWpHrYlw$default(byte[] bArr, byte b4, int i, int i4, int i5, Object obj) {
|
|
if ((i5 & 2) != 0) {
|
|
i = 0;
|
|
}
|
|
if ((i5 & 4) != 0) {
|
|
i4 = UByteArray.m193getSizeimpl(bArr);
|
|
}
|
|
return m594binarySearchWpHrYlw(bArr, b4, i, i4);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
/* renamed from: elementAt-PpDY95g, reason: not valid java name */
|
|
private static final byte m596elementAtPpDY95g(byte[] elementAt, int i) {
|
|
Intrinsics.checkNotNullParameter(elementAt, "$this$elementAt");
|
|
return UByteArray.m192getw2LRezQ(elementAt, i);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
/* renamed from: elementAt-nggk6HY, reason: not valid java name */
|
|
private static final short m597elementAtnggk6HY(short[] elementAt, int i) {
|
|
Intrinsics.checkNotNullParameter(elementAt, "$this$elementAt");
|
|
return UShortArray.m455getMh2AYeg(elementAt, i);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
/* renamed from: elementAt-qFRl0hI, reason: not valid java name */
|
|
private static final int m598elementAtqFRl0hI(int[] elementAt, int i) {
|
|
Intrinsics.checkNotNullParameter(elementAt, "$this$elementAt");
|
|
return UIntArray.m271getpVg5ArA(elementAt, i);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
/* renamed from: elementAt-r7IrZao, reason: not valid java name */
|
|
private static final long m599elementAtr7IrZao(long[] elementAt, int i) {
|
|
Intrinsics.checkNotNullParameter(elementAt, "$this$elementAt");
|
|
return ULongArray.m350getsVKNKU(elementAt, i);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: max--ajY-9A, reason: not valid java name */
|
|
public static final /* synthetic */ UInt m600maxajY9A(int[] max) {
|
|
Intrinsics.checkNotNullParameter(max, "$this$max");
|
|
return UArraysKt___UArraysKt.m968maxOrNullajY9A(max);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: max-GBYM_sE, reason: not valid java name */
|
|
public static final /* synthetic */ UByte m601maxGBYM_sE(byte[] max) {
|
|
Intrinsics.checkNotNullParameter(max, "$this$max");
|
|
return UArraysKt___UArraysKt.m969maxOrNullGBYM_sE(max);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: max-QwZRm1k, reason: not valid java name */
|
|
public static final /* synthetic */ ULong m602maxQwZRm1k(long[] max) {
|
|
Intrinsics.checkNotNullParameter(max, "$this$max");
|
|
return UArraysKt___UArraysKt.m970maxOrNullQwZRm1k(max);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: max-rL5Bavg, reason: not valid java name */
|
|
public static final /* synthetic */ UShort m603maxrL5Bavg(short[] max) {
|
|
Intrinsics.checkNotNullParameter(max, "$this$max");
|
|
return UArraysKt___UArraysKt.m971maxOrNullrL5Bavg(max);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use maxByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxBy-JOV_ifY, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> UByte m604maxByJOV_ifY(byte[] maxBy, Function1<? super UByte, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (UByteArray.m195isEmptyimpl(maxBy)) {
|
|
return null;
|
|
}
|
|
byte m192getw2LRezQ = UByteArray.m192getw2LRezQ(maxBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(maxBy);
|
|
if (lastIndex == 0) {
|
|
return UByte.m128boximpl(m192getw2LRezQ);
|
|
}
|
|
R invoke = selector.invoke(UByte.m128boximpl(m192getw2LRezQ));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
byte m192getw2LRezQ2 = UByteArray.m192getw2LRezQ(maxBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(UByte.m128boximpl(m192getw2LRezQ2));
|
|
if (invoke.compareTo(invoke2) < 0) {
|
|
m192getw2LRezQ = m192getw2LRezQ2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return UByte.m128boximpl(m192getw2LRezQ);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use maxByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxBy-MShoTSo, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> ULong m605maxByMShoTSo(long[] maxBy, Function1<? super ULong, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (ULongArray.m353isEmptyimpl(maxBy)) {
|
|
return null;
|
|
}
|
|
long m350getsVKNKU = ULongArray.m350getsVKNKU(maxBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(maxBy);
|
|
if (lastIndex == 0) {
|
|
return ULong.m284boximpl(m350getsVKNKU);
|
|
}
|
|
R invoke = selector.invoke(ULong.m284boximpl(m350getsVKNKU));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
long m350getsVKNKU2 = ULongArray.m350getsVKNKU(maxBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(ULong.m284boximpl(m350getsVKNKU2));
|
|
if (invoke.compareTo(invoke2) < 0) {
|
|
m350getsVKNKU = m350getsVKNKU2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return ULong.m284boximpl(m350getsVKNKU);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use maxByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxBy-jgv0xPQ, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> UInt m606maxByjgv0xPQ(int[] maxBy, Function1<? super UInt, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (UIntArray.m274isEmptyimpl(maxBy)) {
|
|
return null;
|
|
}
|
|
int m271getpVg5ArA = UIntArray.m271getpVg5ArA(maxBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(maxBy);
|
|
if (lastIndex == 0) {
|
|
return UInt.m205boximpl(m271getpVg5ArA);
|
|
}
|
|
R invoke = selector.invoke(UInt.m205boximpl(m271getpVg5ArA));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
int m271getpVg5ArA2 = UIntArray.m271getpVg5ArA(maxBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(UInt.m205boximpl(m271getpVg5ArA2));
|
|
if (invoke.compareTo(invoke2) < 0) {
|
|
m271getpVg5ArA = m271getpVg5ArA2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return UInt.m205boximpl(m271getpVg5ArA);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use maxByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxBy-xTcfx_M, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> UShort m607maxByxTcfx_M(short[] maxBy, Function1<? super UShort, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(maxBy, "$this$maxBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (UShortArray.m458isEmptyimpl(maxBy)) {
|
|
return null;
|
|
}
|
|
short m455getMh2AYeg = UShortArray.m455getMh2AYeg(maxBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(maxBy);
|
|
if (lastIndex == 0) {
|
|
return UShort.m391boximpl(m455getMh2AYeg);
|
|
}
|
|
R invoke = selector.invoke(UShort.m391boximpl(m455getMh2AYeg));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
short m455getMh2AYeg2 = UShortArray.m455getMh2AYeg(maxBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(UShort.m391boximpl(m455getMh2AYeg2));
|
|
if (invoke.compareTo(invoke2) < 0) {
|
|
m455getMh2AYeg = m455getMh2AYeg2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return UShort.m391boximpl(m455getMh2AYeg);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxWith-XMRcp5o, reason: not valid java name */
|
|
public static final /* synthetic */ UByte m608maxWithXMRcp5o(byte[] maxWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m976maxWithOrNullXMRcp5o(maxWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxWith-YmdZ_VM, reason: not valid java name */
|
|
public static final /* synthetic */ UInt m609maxWithYmdZ_VM(int[] maxWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m977maxWithOrNullYmdZ_VM(maxWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxWith-eOHTfZs, reason: not valid java name */
|
|
public static final /* synthetic */ UShort m610maxWitheOHTfZs(short[] maxWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m978maxWithOrNulleOHTfZs(maxWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use maxWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: maxWith-zrEWJaI, reason: not valid java name */
|
|
public static final /* synthetic */ ULong m611maxWithzrEWJaI(long[] maxWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(maxWith, "$this$maxWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m979maxWithOrNullzrEWJaI(maxWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: min--ajY-9A, reason: not valid java name */
|
|
public static final /* synthetic */ UInt m612minajY9A(int[] min) {
|
|
Intrinsics.checkNotNullParameter(min, "$this$min");
|
|
return UArraysKt___UArraysKt.m1024minOrNullajY9A(min);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: min-GBYM_sE, reason: not valid java name */
|
|
public static final /* synthetic */ UByte m613minGBYM_sE(byte[] min) {
|
|
Intrinsics.checkNotNullParameter(min, "$this$min");
|
|
return UArraysKt___UArraysKt.m1025minOrNullGBYM_sE(min);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: min-QwZRm1k, reason: not valid java name */
|
|
public static final /* synthetic */ ULong m614minQwZRm1k(long[] min) {
|
|
Intrinsics.checkNotNullParameter(min, "$this$min");
|
|
return UArraysKt___UArraysKt.m1026minOrNullQwZRm1k(min);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minOrNull()", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: min-rL5Bavg, reason: not valid java name */
|
|
public static final /* synthetic */ UShort m615minrL5Bavg(short[] min) {
|
|
Intrinsics.checkNotNullParameter(min, "$this$min");
|
|
return UArraysKt___UArraysKt.m1027minOrNullrL5Bavg(min);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use minByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minBy-JOV_ifY, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> UByte m616minByJOV_ifY(byte[] minBy, Function1<? super UByte, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (UByteArray.m195isEmptyimpl(minBy)) {
|
|
return null;
|
|
}
|
|
byte m192getw2LRezQ = UByteArray.m192getw2LRezQ(minBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(minBy);
|
|
if (lastIndex == 0) {
|
|
return UByte.m128boximpl(m192getw2LRezQ);
|
|
}
|
|
R invoke = selector.invoke(UByte.m128boximpl(m192getw2LRezQ));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
byte m192getw2LRezQ2 = UByteArray.m192getw2LRezQ(minBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(UByte.m128boximpl(m192getw2LRezQ2));
|
|
if (invoke.compareTo(invoke2) > 0) {
|
|
m192getw2LRezQ = m192getw2LRezQ2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return UByte.m128boximpl(m192getw2LRezQ);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use minByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minBy-MShoTSo, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> ULong m617minByMShoTSo(long[] minBy, Function1<? super ULong, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (ULongArray.m353isEmptyimpl(minBy)) {
|
|
return null;
|
|
}
|
|
long m350getsVKNKU = ULongArray.m350getsVKNKU(minBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(minBy);
|
|
if (lastIndex == 0) {
|
|
return ULong.m284boximpl(m350getsVKNKU);
|
|
}
|
|
R invoke = selector.invoke(ULong.m284boximpl(m350getsVKNKU));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
long m350getsVKNKU2 = ULongArray.m350getsVKNKU(minBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(ULong.m284boximpl(m350getsVKNKU2));
|
|
if (invoke.compareTo(invoke2) > 0) {
|
|
m350getsVKNKU = m350getsVKNKU2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return ULong.m284boximpl(m350getsVKNKU);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use minByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minBy-jgv0xPQ, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> UInt m618minByjgv0xPQ(int[] minBy, Function1<? super UInt, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (UIntArray.m274isEmptyimpl(minBy)) {
|
|
return null;
|
|
}
|
|
int m271getpVg5ArA = UIntArray.m271getpVg5ArA(minBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(minBy);
|
|
if (lastIndex == 0) {
|
|
return UInt.m205boximpl(m271getpVg5ArA);
|
|
}
|
|
R invoke = selector.invoke(UInt.m205boximpl(m271getpVg5ArA));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
int m271getpVg5ArA2 = UIntArray.m271getpVg5ArA(minBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(UInt.m205boximpl(m271getpVg5ArA2));
|
|
if (invoke.compareTo(invoke2) > 0) {
|
|
m271getpVg5ArA = m271getpVg5ArA2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return UInt.m205boximpl(m271getpVg5ArA);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@Deprecated(message = "Use minByOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minBy-xTcfx_M, reason: not valid java name */
|
|
private static final /* synthetic */ <R extends Comparable<? super R>> UShort m619minByxTcfx_M(short[] minBy, Function1<? super UShort, ? extends R> selector) {
|
|
Intrinsics.checkNotNullParameter(minBy, "$this$minBy");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
if (UShortArray.m458isEmptyimpl(minBy)) {
|
|
return null;
|
|
}
|
|
short m455getMh2AYeg = UShortArray.m455getMh2AYeg(minBy, 0);
|
|
int lastIndex = ArraysKt.getLastIndex(minBy);
|
|
if (lastIndex == 0) {
|
|
return UShort.m391boximpl(m455getMh2AYeg);
|
|
}
|
|
R invoke = selector.invoke(UShort.m391boximpl(m455getMh2AYeg));
|
|
IntIterator w3 = a.w(1, lastIndex);
|
|
while (w3.hasNext()) {
|
|
short m455getMh2AYeg2 = UShortArray.m455getMh2AYeg(minBy, w3.nextInt());
|
|
R invoke2 = selector.invoke(UShort.m391boximpl(m455getMh2AYeg2));
|
|
if (invoke.compareTo(invoke2) > 0) {
|
|
m455getMh2AYeg = m455getMh2AYeg2;
|
|
invoke = invoke2;
|
|
}
|
|
}
|
|
return UShort.m391boximpl(m455getMh2AYeg);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minWith-XMRcp5o, reason: not valid java name */
|
|
public static final /* synthetic */ UByte m620minWithXMRcp5o(byte[] minWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m1032minWithOrNullXMRcp5o(minWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minWith-YmdZ_VM, reason: not valid java name */
|
|
public static final /* synthetic */ UInt m621minWithYmdZ_VM(int[] minWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m1033minWithOrNullYmdZ_VM(minWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minWith-eOHTfZs, reason: not valid java name */
|
|
public static final /* synthetic */ UShort m622minWitheOHTfZs(short[] minWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m1034minWithOrNulleOHTfZs(minWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.3")
|
|
@ExperimentalUnsignedTypes
|
|
@Deprecated(message = "Use minWithOrNull instead.", replaceWith = @ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
|
|
@DeprecatedSinceKotlin(errorSince = "1.5", hiddenSince = "1.6", warningSince = "1.4")
|
|
/* renamed from: minWith-zrEWJaI, reason: not valid java name */
|
|
public static final /* synthetic */ ULong m623minWithzrEWJaI(long[] minWith, Comparator comparator) {
|
|
Intrinsics.checkNotNullParameter(minWith, "$this$minWith");
|
|
Intrinsics.checkNotNullParameter(comparator, "comparator");
|
|
return UArraysKt___UArraysKt.m1035minWithOrNullzrEWJaI(minWith, comparator);
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigDecimal")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigDecimal sumOfBigDecimal(int[] sumOf, Function1<? super UInt, ? extends BigDecimal> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigDecimal valueOf = BigDecimal.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m272getSizeimpl = UIntArray.m272getSizeimpl(sumOf);
|
|
for (int i = 0; i < m272getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigDecimal) a.i(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigInteger")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigInteger sumOfBigInteger(int[] sumOf, Function1<? super UInt, ? extends BigInteger> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigInteger valueOf = BigInteger.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m272getSizeimpl = UIntArray.m272getSizeimpl(sumOf);
|
|
for (int i = 0; i < m272getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigInteger) a.i(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigDecimal")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigDecimal sumOfBigDecimal(long[] sumOf, Function1<? super ULong, ? extends BigDecimal> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigDecimal valueOf = BigDecimal.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m351getSizeimpl = ULongArray.m351getSizeimpl(sumOf);
|
|
for (int i = 0; i < m351getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigDecimal) a.j(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigInteger")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigInteger sumOfBigInteger(long[] sumOf, Function1<? super ULong, ? extends BigInteger> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigInteger valueOf = BigInteger.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m351getSizeimpl = ULongArray.m351getSizeimpl(sumOf);
|
|
for (int i = 0; i < m351getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigInteger) a.j(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigDecimal")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigDecimal sumOfBigDecimal(byte[] sumOf, Function1<? super UByte, ? extends BigDecimal> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigDecimal valueOf = BigDecimal.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m193getSizeimpl = UByteArray.m193getSizeimpl(sumOf);
|
|
for (int i = 0; i < m193getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigDecimal) a.h(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigInteger")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigInteger sumOfBigInteger(byte[] sumOf, Function1<? super UByte, ? extends BigInteger> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigInteger valueOf = BigInteger.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m193getSizeimpl = UByteArray.m193getSizeimpl(sumOf);
|
|
for (int i = 0; i < m193getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigInteger) a.h(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigDecimal")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigDecimal sumOfBigDecimal(short[] sumOf, Function1<? super UShort, ? extends BigDecimal> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigDecimal valueOf = BigDecimal.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m456getSizeimpl = UShortArray.m456getSizeimpl(sumOf);
|
|
for (int i = 0; i < m456getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigDecimal) a.k(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
|
|
@SinceKotlin(version = "1.4")
|
|
@ExperimentalUnsignedTypes
|
|
@InlineOnly
|
|
@JvmName(name = "sumOfBigInteger")
|
|
@OverloadResolutionByLambdaReturnType
|
|
private static final BigInteger sumOfBigInteger(short[] sumOf, Function1<? super UShort, ? extends BigInteger> selector) {
|
|
Intrinsics.checkNotNullParameter(sumOf, "$this$sumOf");
|
|
Intrinsics.checkNotNullParameter(selector, "selector");
|
|
BigInteger valueOf = BigInteger.valueOf(0L);
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "valueOf(...)");
|
|
int m456getSizeimpl = UShortArray.m456getSizeimpl(sumOf);
|
|
for (int i = 0; i < m456getSizeimpl; i++) {
|
|
valueOf = valueOf.add((BigInteger) a.k(sumOf, i, selector));
|
|
Intrinsics.checkNotNullExpressionValue(valueOf, "add(...)");
|
|
}
|
|
return valueOf;
|
|
}
|
|
}
|