2022-06-10 21:38:30 +09:00

77 lines
1.3 KiB
Smali

.class public final Lio/reactivex/rxjava3/internal/util/l;
.super Ljava/lang/Object;
.source "Pow2.java"
# direct methods
.method public constructor <init>()V
.locals 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "No instances!"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static a(I)Z
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x10
}
names = {
"value"
}
.end annotation
add-int/lit8 v0, p0, -0x1
and-int/2addr p0, v0
if-nez p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static b(I)I
.locals 1
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x10
}
names = {
"value"
}
.end annotation
const/4 v0, 0x1
sub-int/2addr p0, v0
.line 1
invoke-static {p0}, Ljava/lang/Integer;->numberOfLeadingZeros(I)I
move-result p0
rsub-int/lit8 p0, p0, 0x20
shl-int p0, v0, p0
return p0
.end method