You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.2 KiB
65 lines
1.2 KiB
2 years ago
|
.class final Lcom/google/common/cache/Striped64$HashCode;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Striped64.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/cache/Striped64;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = "HashCode"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field static final rng:Ljava/util/Random;
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field code:I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 124
|
||
|
new-instance v0, Ljava/util/Random;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/Random;-><init>()V
|
||
|
|
||
|
sput-object v0, Lcom/google/common/cache/Striped64$HashCode;->rng:Ljava/util/Random;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method constructor <init>()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 126
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
.line 127
|
||
|
sget-object v0, Lcom/google/common/cache/Striped64$HashCode;->rng:Ljava/util/Random;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/util/Random;->nextInt()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 128
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
:cond_0
|
||
|
iput v0, p0, Lcom/google/common/cache/Striped64$HashCode;->code:I
|
||
|
|
||
|
.line 129
|
||
|
return-void
|
||
|
.end method
|