mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 08:32:38 -06:00
150 lines
4.3 KiB
Smali
150 lines
4.3 KiB
Smali
.class public final Lkotlin/collections/RingBuffer$iterator$1;
|
|
.super Lkotlin/collections/AbstractIterator;
|
|
.source "SlidingWindow.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lkotlin/collections/RingBuffer;->iterator()Ljava/util/Iterator;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/collections/AbstractIterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nSlidingWindow.kt\nKotlin\n*S Kotlin\n*F\n+ 1 SlidingWindow.kt\nkotlin/collections/RingBuffer$iterator$1\n+ 2 SlidingWindow.kt\nkotlin/collections/RingBuffer\n*L\n1#1,206:1\n204#2:207\n*S KotlinDebug\n*F\n+ 1 SlidingWindow.kt\nkotlin/collections/RingBuffer$iterator$1\n*L\n121#1:207\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u0019\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000*\u0001\u0000\u0008\n\u0018\u00002\u0008\u0012\u0004\u0012\u00028\u00000\u0001J\u0008\u0010\u0005\u001a\u00020\u0006H\u0014R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0004\u001a\u00020\u0003X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0007"
|
|
}
|
|
d2 = {
|
|
"kotlin/collections/RingBuffer$iterator$1",
|
|
"Lkotlin/collections/AbstractIterator;",
|
|
"count",
|
|
"",
|
|
"index",
|
|
"computeNext",
|
|
"",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private count:I
|
|
|
|
.field private index:I
|
|
|
|
.field final synthetic this$0:Lkotlin/collections/RingBuffer;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/collections/RingBuffer<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lkotlin/collections/RingBuffer;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/collections/RingBuffer<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lkotlin/collections/RingBuffer$iterator$1;->this$0:Lkotlin/collections/RingBuffer;
|
|
|
|
.line 111
|
|
invoke-direct {p0}, Lkotlin/collections/AbstractIterator;-><init>()V
|
|
|
|
.line 112
|
|
invoke-virtual {p1}, Lkotlin/collections/RingBuffer;->size()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lkotlin/collections/RingBuffer$iterator$1;->count:I
|
|
|
|
.line 113
|
|
invoke-static {p1}, Lkotlin/collections/RingBuffer;->access$getStartIndex$p(Lkotlin/collections/RingBuffer;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lkotlin/collections/RingBuffer$iterator$1;->index:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected computeNext()V
|
|
.locals 2
|
|
|
|
iget v0, p0, Lkotlin/collections/RingBuffer$iterator$1;->count:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 117
|
|
invoke-virtual {p0}, Lkotlin/collections/RingBuffer$iterator$1;->done()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lkotlin/collections/RingBuffer$iterator$1;->this$0:Lkotlin/collections/RingBuffer;
|
|
|
|
.line 120
|
|
invoke-static {v0}, Lkotlin/collections/RingBuffer;->access$getBuffer$p(Lkotlin/collections/RingBuffer;)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lkotlin/collections/RingBuffer$iterator$1;->index:I
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
invoke-virtual {p0, v0}, Lkotlin/collections/RingBuffer$iterator$1;->setNext(Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lkotlin/collections/RingBuffer$iterator$1;->this$0:Lkotlin/collections/RingBuffer;
|
|
|
|
iget v1, p0, Lkotlin/collections/RingBuffer$iterator$1;->index:I
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 207
|
|
invoke-static {v0}, Lkotlin/collections/RingBuffer;->access$getCapacity$p(Lkotlin/collections/RingBuffer;)I
|
|
|
|
move-result v0
|
|
|
|
rem-int/2addr v1, v0
|
|
|
|
iput v1, p0, Lkotlin/collections/RingBuffer$iterator$1;->index:I
|
|
|
|
iget v0, p0, Lkotlin/collections/RingBuffer$iterator$1;->count:I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
iput v0, p0, Lkotlin/collections/RingBuffer$iterator$1;->count:I
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|