Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Quality (0.15 sec)

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

     *
     * <h3>Desirable properties</h3>
     *
     * <p>A high-quality hash function strives for some subset of the following virtues:
     *
     * <ul>
     *   <li><b>collision-resistant:</b> while the definition above requires making at least <i>some</i>
     *       token attempt, one measure of the quality of a hash function is <i>how well</i> it succeeds
    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)
  2. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>This is designed for generating persistent fingerprints of strings. It isn't
       * cryptographically secure, but it produces a high-quality hash with fewer collisions than some
       * alternatives we've used in the past.
       *
       * <p>FarmHash fingerprints are encoded by {@link HashCode#asBytes} in little-endian order. This
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

    import com.google.common.annotations.VisibleForTesting;
    
    /**
     * Implementation of FarmHash Fingerprint64, an open-source fingerprinting algorithm for strings.
     *
     * <p>Its speed is comparable to CityHash64, and its quality of hashing is at least as good.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
     * to unsigned arithmetic in all cases except:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 01 22:39:48 GMT 2022
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.alwaysTrue().
       */
    
      public void testAlwaysTrue_apply() {
        assertEvalsToTrue(Predicates.alwaysTrue());
      }
    
      public void testAlwaysTrue_equality() throws Exception {
        new EqualsTester()
            .addEqualityGroup(TRUE, Predicates.alwaysTrue())
            .addEqualityGroup(isOdd())
            .addEqualityGroup(Predicates.alwaysFalse())
            .testEquals();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/package-info.java

     *   <dt>{@link ListMultimap}
     *   <dd>An extension of {@link Multimap} which permits duplicate entries, supports random access of
     *       values for a particular key, and has <i>partially order-dependent equality</i> as defined
     *       by {@link ListMultimap#equals(Object)}. {@code ListMultimap} takes its name from the fact
     *       that the {@linkplain ListMultimap#get collection of values} associated with a given key
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * to the provided {@code standardEquals} method.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equal} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whose
     * comparator is not consistent with {@code equals}.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SetMultimap.java

       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       *
       * <p>An empty {@code SetMultimap} is equal to any other empty {@code Multimap}, including an
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
      public void testTestEqualsEqualsObjects() {
        equalsTester.addEqualityGroup(reference, equalObject1, equalObject2);
        equalsTester.testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            .addEqualityGroup(
                newDelegatingListWithEquals(LIST2),
                newProxyWithSubHandler1(LIST2), // Makes sure type of handler doesn't affect equality
                newProxyWithSubHandler2(LIST2))
            .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface
            .testEquals();
      }
    
      @SuppressWarnings("unchecked") // proxy of List<String>
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingSortedSet.java

     *
     * <p>Each of the {@code standard} methods, where appropriate, uses the set's comparator (or the
     * natural ordering of the elements, if there is no comparator) to test element equality. As a
     * result, if the comparator is not consistent with equals, some of the standard implementations may
     * violate the {@code Set} contract.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top