Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MURMUR3_32 (0.07 sec)

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

        assertHash(593689054, murmur3_32().hashInt(0));
        assertHash(-189366624, murmur3_32().hashInt(-42));
        assertHash(-1134849565, murmur3_32().hashInt(42));
        assertHash(-1718298732, murmur3_32().hashInt(Integer.MIN_VALUE));
        assertHash(-1653689534, murmur3_32().hashInt(Integer.MAX_VALUE));
      }
    
      public void testKnownLongInputs() {
        assertHash(1669671676, murmur3_32().hashLong(0L));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.check2BitAvalanche(Hashing.murmur3_32(), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.murmur3_32(), 250, 0.17);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.murmur3_32());
        HashTestUtils.checkNoFunnels(Hashing.murmur3_32());
        HashTestUtils.assertInvariants(Hashing.murmur3_32());
        assertEquals("Hashing.murmur3_32(0)", Hashing.murmur3_32().toString());
      }
    
      public void testSipHash24() {
    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

       *     HashFunction#hashString} method if the string contains non-BMP characters. Use {@link
       *     #murmur3_32_fixed()} instead.
       */
      @Deprecated
      public static HashFunction murmur3_32() {
        return Murmur3_32HashFunction.MURMUR3_32;
      }
    
      /**
       * Returns a hash function implementing the <a
       * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
    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

     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_32HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_32 =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ false);
      static final HashFunction MURMUR3_32_FIXED =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ true);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       *
       * @see MaxCodePoint#decode
       */
      @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"})
      MaxCodePoint maxCodePoint;
    
      @Param({"16384"})
      int charCount;
    
      @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"})
      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

       *
       * @see MaxCodePoint#decode
       */
      @Param({"0x80", "0x90", "0x100", "0x800", "0x10000", "0x10ffff"})
      MaxCodePoint maxCodePoint;
    
      @Param({"16384"})
      int charCount;
    
      @Param({"MURMUR3_32", "MURMUR3_128", "SHA1"})
      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top