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.
206 lines
5.4 KiB
206 lines
5.4 KiB
2 years ago
|
.class abstract Lcom/google/common/hash/AbstractStreamingHashFunction;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "AbstractStreamingHashFunction.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/google/common/hash/HashFunction;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lcom/google/common/hash/AbstractStreamingHashFunction$AbstractStreamingHasher;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 35
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
.line 77
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public hashBytes([B)Lcom/google/common/hash/HashCode;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 57
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1}, Lcom/google/common/hash/Hasher;->putBytes([B)Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/hash/Hasher;->hash()Lcom/google/common/hash/HashCode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashBytes([BII)Lcom/google/common/hash/HashCode;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 61
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1, p2, p3}, Lcom/google/common/hash/Hasher;->putBytes([BII)Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/hash/Hasher;->hash()Lcom/google/common/hash/HashCode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashInt(I)Lcom/google/common/hash/HashCode;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 49
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1}, Lcom/google/common/hash/Hasher;->putInt(I)Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/hash/Hasher;->hash()Lcom/google/common/hash/HashCode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashLong(J)Lcom/google/common/hash/HashCode;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 53
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1, p2}, Lcom/google/common/hash/Hasher;->putLong(J)Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/hash/Hasher;->hash()Lcom/google/common/hash/HashCode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashObject(Ljava/lang/Object;Lcom/google/common/hash/Funnel;)Lcom/google/common/hash/HashCode;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TT;",
|
||
|
"Lcom/google/common/hash/Funnel",
|
||
|
"<-TT;>;)",
|
||
|
"Lcom/google/common/hash/HashCode;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 37
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1, p2}, Lcom/google/common/hash/Hasher;->putObject(Ljava/lang/Object;Lcom/google/common/hash/Funnel;)Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/hash/Hasher;->hash()Lcom/google/common/hash/HashCode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashString(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/google/common/hash/HashCode;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 45
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1, p2}, Lcom/google/common/hash/Hasher;->putString(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/hash/Hasher;->hash()Lcom/google/common/hash/HashCode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashUnencodedChars(Ljava/lang/CharSequence;)Lcom/google/common/hash/HashCode;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 41
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0, p1}, Lcom/google/common/hash/Hasher;->putUnencodedChars(Ljava/lang/CharSequence;)Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Lcom/google/common/hash/Hasher;->hash()Lcom/google/common/hash/HashCode;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public newHasher(I)Lcom/google/common/hash/Hasher;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 65
|
||
|
if-ltz p1, :cond_0
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
:goto_0
|
||
|
invoke-static {v0}, Lcom/google/common/base/Preconditions;->checkArgument(Z)V
|
||
|
|
||
|
.line 66
|
||
|
invoke-virtual {p0}, Lcom/google/common/hash/AbstractStreamingHashFunction;->newHasher()Lcom/google/common/hash/Hasher;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
|
||
|
.line 65
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|