Home
last modified time | relevance | path

Searched refs:ADLER_32 (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DChecksumHashFunctionTest.java17 import static com.google.common.hash.Hashing.ChecksumType.ADLER_32;
40 assertChecksum(ADLER_32, ""); in testAdler32_equalsChecksumValue()
41 assertChecksum(ADLER_32, "Z"); in testAdler32_equalsChecksumValue()
42 assertChecksum(ADLER_32, "foobar"); in testAdler32_equalsChecksumValue()
57 assertHash32(0x041701A6, ADLER_32, "hell"); in testAdler32_knownValues()
58 assertHash32(0x062C0215, ADLER_32, "hello"); in testAdler32_knownValues()
59 assertHash32(0x08610235, ADLER_32, "hello "); in testAdler32_knownValues()
60 assertHash32(0x0B0D02AC, ADLER_32, "hello w"); in testAdler32_knownValues()
61 assertHash32(0x0E28031B, ADLER_32, "hello wo"); in testAdler32_knownValues()
62 assertHash32(0x11B5038D, ADLER_32, "hello wor"); in testAdler32_knownValues()
[all …]
/external/guava/guava/src/com/google/common/hash/
DHashing.java270 return Adler32Holder.ADLER_32; in adler32()
274 static final HashFunction ADLER_32 = field in Hashing.Adler32Holder
275 checksumHashFunction(ChecksumType.ADLER_32, "Hashing.adler32()");
289 ADLER_32(32) { enumConstant