Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for Quality (0.25 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. guava/src/com/google/common/annotations/Beta.java

     * or even removal, in a future release. An API bearing this annotation is exempt from any
     * compatibility guarantees made by its containing library. Note that the presence of this
     * annotation implies nothing about the quality or performance of the API in question, only the fact
     * that it is not "API-frozen."
     *
     * <p>It is generally safe for <i>applications</i> to depend on beta APIs, at the cost of some extra
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/annotations/Beta.java

     * or even removal, in a future release. An API bearing this annotation is exempt from any
     * compatibility guarantees made by its containing library. Note that the presence of this
     * annotation implies nothing about the quality or performance of the API in question, only the fact
     * that it is not "API-frozen."
     *
     * <p>It is generally safe for <i>applications</i> to depend on beta APIs, at the cost of some extra
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/hash/HashCode.java

       * probably not what you want to use.
       */
      @Override
      public final int hashCode() {
        // If we have at least 4 bytes (32 bits), just take the first 4 bytes. Since this is
        // already a (presumably) high-quality hash code, any four bytes of it will do.
        if (bits() >= 32) {
          return asInt();
        }
        // If we have less than 4 bytes, use them all.
        byte[] bytes = getBytesInternal();
        int val = (bytes[0] & 0xFF);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          return new WeakValueReferenceImpl<>(queue, get(), entry);
        }
      }
    
      /**
       * Applies a supplemental hash function to a given hash code, which defends against poor quality
       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top