- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Adler32 (0.04 sec)
-
android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
return runHashFunction(reps, Hashing.crc32c()); } // Adler32 @Benchmark byte adler32HashFunction(int reps) { return runHashFunction(reps, Hashing.adler32()); } @Benchmark byte adler32Checksum(int reps) throws Exception { byte result = 0x01; for (int i = 0; i < reps; i++) { Adler32 checksum = new Adler32(); checksum.update(testBytes, 0, testBytes.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
return runHashFunction(reps, Hashing.crc32c()); } // Adler32 @Benchmark byte adler32HashFunction(int reps) { return runHashFunction(reps, Hashing.adler32()); } @Benchmark byte adler32Checksum(int reps) throws Exception { byte result = 0x01; for (int i = 0; i < reps; i++) { Adler32 checksum = new Adler32(); checksum.update(testBytes, 0, testBytes.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 16:53:43 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java
*/ package com.google.common.hash; /** * An enum that contains all of the known hash functions. * * @author Kurt Alfred Kluever */ enum HashFunctionEnum { ADLER32(Hashing.adler32()), CRC32(Hashing.crc32()), GOOD_FAST_HASH_32(Hashing.goodFastHash(32)), GOOD_FAST_HASH_64(Hashing.goodFastHash(64)), GOOD_FAST_HASH_128(Hashing.goodFastHash(128)),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
assertHash32(0x041701A6, ADLER_32, "hell"); assertHash32(0x062C0215, ADLER_32, "hello"); assertHash32(0x08610235, ADLER_32, "hello "); assertHash32(0x0B0D02AC, ADLER_32, "hello w"); assertHash32(0x0E28031B, ADLER_32, "hello wo"); assertHash32(0x11B5038D, ADLER_32, "hello wor"); assertHash32(0x5BDC0FDA, ADLER_32, "The quick brown fox jumps over the lazy dog");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 30 14:33:12 UTC 2018 - 3.1K bytes - Viewed (0)