Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hashUnencodedChars (0.17 sec)

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

        // Test that only data and data-order is important, not the individual operations.
        new EqualsTester()
            .addEqualityGroup(
                hashFunction.hashUnencodedChars("abc"),
                hashFunction.newHasher().putUnencodedChars("abc").hash(),
                hashFunction.newHasher().putUnencodedChars("ab").putUnencodedChars("c").hash(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashFunction.java

       * {@link #hashString}, usually with a charset of UTF-8. For other use cases, use {@code
       * hashUnencodedChars}.
       *
       * @since 15.0 (since 11.0 as hashString(CharSequence)).
       */
      HashCode hashUnencodedChars(CharSequence input);
    
      /**
       * Shortcut for {@code newHasher().putString(input, charset).hash()}. Characters are encoded using
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

        // Test that only data and data-order is important, not the individual operations.
        new EqualsTester()
            .addEqualityGroup(
                hashFunction.hashUnencodedChars("abc"),
                hashFunction.newHasher().putUnencodedChars("abc").hash(),
                hashFunction.newHasher().putUnencodedChars("ab").putUnencodedChars("c").hash(),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        int k1 = mixK1(low);
        int h1 = mixH1(seed, k1);
    
        k1 = mixK1(high);
        h1 = mixH1(h1, k1);
    
        return fmix(h1, Longs.BYTES);
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int h1 = seed;
    
        // step through the CharSequence 2 chars at a time
        for (int i = 1; i < input.length(); i += 2) {
          int k1 = input.charAt(i - 1) | (input.charAt(i) << 16);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
Back to top