Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Adler32 (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals("Hashing.crc32()", Hashing.crc32().toString());
      }
    
      public void testAdler32() {
        HashTestUtils.assertInvariants(Hashing.adler32());
        assertEquals("Hashing.adler32()", Hashing.adler32().toString());
      }
    
      public void testMurmur3_128() {
        HashTestUtils.check2BitAvalanche(Hashing.murmur3_128(), 250, 0.20);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 14.0
       */
      public static HashFunction adler32() {
        return ChecksumType.ADLER_32.hashFunction;
      }
    
      @Immutable
      enum ChecksumType implements ImmutableSupplier<Checksum> {
        CRC_32("Hashing.crc32()") {
          @Override
          public Checksum get() {
            return new CRC32();
          }
        },
        ADLER_32("Hashing.adler32()") {
          @Override
          public Checksum get() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. 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)
  7. api/go1.txt

    pkg hash, type Hash64 interface, Sum([]uint8) []uint8
    pkg hash, type Hash64 interface, Sum64() uint64
    pkg hash, type Hash64 interface, Write([]uint8) (int, error)
    pkg hash/adler32, const Size ideal-int
    pkg hash/adler32, func Checksum([]uint8) uint32
    pkg hash/adler32, func New() hash.Hash32
    pkg hash/crc32, const Castagnoli ideal-int
    pkg hash/crc32, const IEEE ideal-int
    pkg hash/crc32, const Koopman ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg go/token, const SWITCH = 83
    pkg go/token, const TYPE = 84
    pkg go/token, const UnaryPrec = 6
    pkg go/token, const VAR = 85
    pkg go/token, const XOR = 19
    pkg go/token, const XOR_ASSIGN = 30
    pkg hash/adler32, const Size = 4
    pkg hash/crc32, const Castagnoli = 2197175160
    pkg hash/crc32, const IEEE = 3988292384
    pkg hash/crc32, const Koopman = 3945912366
    pkg hash/crc32, const Size = 4
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top