Searched refs:CRC_32 (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-tests/test/com/google/common/hash/ |
D | ChecksumHashFunctionTest.java | 18 import static com.google.common.hash.Hashing.ChecksumType.CRC_32; 34 assertChecksum(CRC_32, ""); in testCrc32_equalsChecksumValue() 35 assertChecksum(CRC_32, "Z"); in testCrc32_equalsChecksumValue() 36 assertChecksum(CRC_32, "foobar"); in testCrc32_equalsChecksumValue() 46 assertHash32(0x1C8600E3, CRC_32, "hell"); in testCrc32_knownValues() 47 assertHash32(0x3610A686, CRC_32, "hello"); in testCrc32_knownValues() 48 assertHash32(0xED81F9F6, CRC_32, "hello "); in testCrc32_knownValues() 49 assertHash32(0x4850DDC2, CRC_32, "hello w"); in testCrc32_knownValues() 50 assertHash32(0x7A2D6005, CRC_32, "hello wo"); in testCrc32_knownValues() 51 assertHash32(0x1C192672, CRC_32, "hello wor"); in testCrc32_knownValues() [all …]
|
/external/guava/guava/src/com/google/common/hash/ |
D | Hashing.java | 252 return Crc32Holder.CRC_32; in crc32() 256 static final HashFunction CRC_32 = field in Hashing.Crc32Holder 257 checksumHashFunction(ChecksumType.CRC_32, "Hashing.crc32()"); 283 CRC_32(32) { enumConstant
|