Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for goodFastHash (0.06 sec)

  1. android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java

     * @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)),
      GOOD_FAST_HASH_256(Hashing.goodFastHash(256)),
      MD5(Hashing.md5()),
      MURMUR3_128(Hashing.murmur3_128()),
      MURMUR3_32(Hashing.murmur3_32()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 08 13:56:22 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(32));
        HashTestUtils.assertInvariants(Hashing.goodFastHash(32));
      }
    
      // goodFastHash(128) uses Murmur3_128. Use the same epsilon bounds.
      public void testGoodFastHash128() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(128), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(128), 500, 0.17);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       * @return a hash function, described above, that produces hash codes of length {@code
       *     minimumBits} or greater
       */
      public static HashFunction goodFastHash(int minimumBits) {
        int bits = checkPositiveAndMakeMultipleOf32(minimumBits);
    
        if (bits == 32) {
          return Murmur3_32HashFunction.GOOD_FAST_HASH_32;
        }
        if (bits <= 128) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      static final HashFunction MURMUR3_32_FIXED =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ true);
    
      // We can include the non-BMP fix here because Hashing.goodFastHash stresses that the hash is a
      // temporary-use one. Therefore it shouldn't be persisted.
      static final HashFunction GOOD_FAST_HASH_32 =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top