Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMumurHash64 (0.1 sec)

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

        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testMumurHash64() {
        byte[] bytes = "test".getBytes(UTF_8);
        assertEquals(
            1618900948208871284L, Fingerprint2011.murmurHash64WithSeed(bytes, 0, bytes.length, 1));
    
        bytes = "test test test".getBytes(UTF_8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top