Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CRC32C (0.69 sec)

  1. 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)
  2. guava/src/com/google/common/hash/Hashing.java

            return new CRC32();
          }
        },
        @J2ObjCIncompatible
        CRC_32C("Hashing.crc32c()") {
          // Crc32CSupplier.pickFunction uses this only when it finds that CRC32C is available.
          @SuppressWarnings("Java8ApiChecker")
          @IgnoreJRERequirement
          @Override
          public Checksum get() {
            return new CRC32C();
          }
        },
        ADLER_32("Hashing.adler32()") {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

            + methodName
            + "(Key[algorithm="
            + key.getAlgorithm()
            + ", format="
            + key.getFormat()
            + "])";
      }
    
      /**
       * Returns a hash function implementing the CRC32C checksum algorithm (32 hash bits) as described
       * by RFC 3720, Section 12.1.
       *
       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top