Rabbit-R1/switch port/smali/smali_classes3/okio/Throttler$source$1.smali
2024-05-21 17:08:36 -04:00

116 lines
2.8 KiB
Smali

.class public final Lokio/Throttler$source$1;
.super Lokio/ForwardingSource;
.source "Throttler.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokio/Throttler;->source(Lokio/Source;)Lokio/Source;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0019\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0018\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u0003H\u0016\u00a8\u0006\u0007"
}
d2 = {
"okio/Throttler$source$1",
"Lokio/ForwardingSource;",
"read",
"",
"sink",
"Lokio/Buffer;",
"byteCount",
"okio"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# instance fields
.field final synthetic $source:Lokio/Source;
.field final synthetic this$0:Lokio/Throttler;
# direct methods
.method constructor <init>(Lokio/Throttler;Lokio/Source;Lokio/Source;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokio/Source;",
"Lokio/Source;",
")V"
}
.end annotation
iput-object p1, p0, Lokio/Throttler$source$1;->this$0:Lokio/Throttler;
iput-object p2, p0, Lokio/Throttler$source$1;->$source:Lokio/Source;
.line 136
invoke-direct {p0, p3}, Lokio/ForwardingSource;-><init>(Lokio/Source;)V
return-void
.end method
# virtual methods
.method public read(Lokio/Buffer;J)J
.locals 1
const-string v0, "sink"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
:try_start_0
iget-object v0, p0, Lokio/Throttler$source$1;->this$0:Lokio/Throttler;
.line 139
invoke-virtual {v0, p2, p3}, Lokio/Throttler;->take$okio(J)J
move-result-wide p2
.line 140
invoke-super {p0, p1, p2, p3}, Lokio/ForwardingSource;->read(Lokio/Buffer;J)J
move-result-wide p0
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
return-wide p0
.line 142
:catch_0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Thread;->interrupt()V
.line 143
new-instance p0, Ljava/io/InterruptedIOException;
const-string p1, "interrupted"
invoke-direct {p0, p1}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method