Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for combineUnordered (0.06 seconds)

  1. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @throws IllegalArgumentException if {@code hashCodes} is empty, or the hash codes do not all
       *     have the same bit length
       */
      public static HashCode combineUnordered(Iterable<HashCode> hashCodes) {
        Iterator<HashCode> iterator = hashCodes.iterator();
        checkArgument(iterator.hasNext(), "Must be at least 1 hash code to combine.");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(
            HashCode.fromInt(96), Hashing.combineUnordered(ImmutableList.of(hash32, hash32, hash32)));
        assertEquals(
            Hashing.combineUnordered(ImmutableList.of(hash31, hash32)),
            Hashing.combineUnordered(ImmutableList.of(hash32, hash31)));
      }
    
      public void testCombineUnordered_randomHashCodes() {
        Random random = new Random(RANDOM_SEED);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
Back to Top