qy$a.java
1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import com.google.common.hash.AbstractStreamingHashFunction.AbstractStreamingHasher;
import com.google.common.hash.HashCode;
import com.google.common.primitives.UnsignedBytes;
import java.nio.ByteBuffer;
final class qy$a
extends AbstractStreamingHashFunction.AbstractStreamingHasher
{
private int a;
private int b;
qy$a(int paramInt)
{
super(4);
this.a = paramInt;
this.b = 0;
}
public final HashCode a()
{
return qy.b(this.a, this.b);
}
protected final void process(ByteBuffer paramByteBuffer)
{
int i = qy.a(paramByteBuffer.getInt());
this.a = qy.a(this.a, i);
this.b += 4;
}
protected final void processRemaining(ByteBuffer paramByteBuffer)
{
int i = 0;
this.b += paramByteBuffer.remaining();
int j = 0;
while (paramByteBuffer.hasRemaining())
{
j ^= UnsignedBytes.toInt(paramByteBuffer.get()) << i;
i += 8;
}
this.a ^= qy.a(j);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/qy$a.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/