Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
package kotlinx.coroutines.internal;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.ThreadContextElement;
/* loaded from: classes5.dex */
public final class ThreadState {
public final CoroutineContext context;
public final ThreadContextElement[] elements;
public int i;
public final Object[] values;
public ThreadState(CoroutineContext coroutineContext, int i) {
this.context = coroutineContext;
this.values = new Object[i];
this.elements = new ThreadContextElement[i];
}
public final void append(ThreadContextElement threadContextElement, Object obj) {
Object[] objArr = this.values;
int i = this.i;
objArr[i] = obj;
ThreadContextElement[] threadContextElementArr = this.elements;
this.i = i + 1;
Intrinsics.checkNotNull(threadContextElement, "null cannot be cast to non-null type kotlinx.coroutines.ThreadContextElement<kotlin.Any?>");
threadContextElementArr[i] = threadContextElement;
}
public final void restore(CoroutineContext coroutineContext) {
int length = this.elements.length - 1;
if (length < 0) {
return;
}
while (true) {
int i = length - 1;
ThreadContextElement threadContextElement = this.elements[length];
Intrinsics.checkNotNull(threadContextElement);
threadContextElement.restoreThreadContext(coroutineContext, this.values[length]);
if (i < 0) {
return;
} else {
length = i;
}
}
}
}