- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for crc32c (0.04 sec)
-
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
*/ private static void assertCrc(int expectedCrc, byte[] data) { int actualCrc = Hashing.crc32c().hashBytes(data).asInt(); assertEquals( String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc), expectedCrc, actualCrc); int actualCrcHasher = Hashing.crc32c().newHasher().putBytes(data).hash().asInt(); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
} @Immutable enum ChecksumType implements ImmutableSupplier<Checksum> { CRC_32("Hashing.crc32()") { @Override public Checksum get() { return new CRC32(); } }, @J2ObjCIncompatible CRC_32C("Hashing.crc32c()") { // Crc32CSupplier.pickFunction uses this only when it finds that CRC32C is available. @SuppressWarnings("Java8ApiChecker") @IgnoreJRERequirement
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0)