ADD week 5
This commit is contained in:
		
							
								
								
									
										24
									
								
								02-Easy5/E5/sources/kotlin/UByteArrayKt.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								02-Easy5/E5/sources/kotlin/UByteArrayKt.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| package kotlin; | ||||
|  | ||||
| import kotlin.jvm.functions.Function1; | ||||
| import kotlin.jvm.internal.Intrinsics; | ||||
|  | ||||
| /* compiled from: UByteArray.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\u001a0\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ø\u0001\u0001¢\u0006\u0002\u0010\u0007\u001a\u001f\u0010\b\u001a\u00020\u00012\n\u0010\t\u001a\u00020\u0001\"\u00020\u0006H\u0087\bø\u0001\u0001¢\u0006\u0004\b\n\u0010\u000b\u0082\u0002\u000b\n\u0005\b\u009920\u0001\n\u0002\b\u0019¨\u0006\f"}, d2 = {"UByteArray", "Lkotlin/UByteArray;", "size", "", "init", "Lkotlin/Function1;", "Lkotlin/UByte;", "(ILkotlin/jvm/functions/Function1;)[B", "ubyteArrayOf", "elements", "ubyteArrayOf-GBYM_sE", "([B)[B", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48) | ||||
| /* loaded from: classes.dex */ | ||||
| public final class UByteArrayKt { | ||||
|     /* renamed from: ubyteArrayOf-GBYM_sE, reason: not valid java name */ | ||||
|     private static final byte[] m376ubyteArrayOfGBYM_sE(byte... elements) { | ||||
|         Intrinsics.checkNotNullParameter(elements, "elements"); | ||||
|         return elements; | ||||
|     } | ||||
|  | ||||
|     private static final byte[] UByteArray(int i, Function1<? super Integer, UByte> init) { | ||||
|         Intrinsics.checkNotNullParameter(init, "init"); | ||||
|         byte[] bArr = new byte[i]; | ||||
|         for (int i2 = 0; i2 < i; i2++) { | ||||
|             bArr[i2] = init.invoke(Integer.valueOf(i2)).getData(); | ||||
|         } | ||||
|         return UByteArray.m360constructorimpl(bArr); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user