qy$a.java 1.07 KB
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
 */