Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for Quality (0.25 sec)

  1. 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)
  2. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: the length of the byte array to hash
     *   <li>whereToDiffer: where in the array the bytes should differ
     *   <li>equalsImpl: which implementation of array equality to use
     * </ul>
     *
     * <p><b>Important note:</b> the primary goal of this benchmark is to ensure that varying {@code
     * whereToDiffer} produces no observable change in performance. We want to make sure that the array
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: the length of the byte array to hash
     *   <li>whereToDiffer: where in the array the bytes should differ
     *   <li>equalsImpl: which implementation of array equality to use
     * </ul>
     *
     * <p><b>Important note:</b> the primary goal of this benchmark is to ensure that varying {@code
     * whereToDiffer} produces no observable change in performance. We want to make sure that the array
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/collect/Multimap.java

       * Compares the specified object with this multimap for equality. Two multimaps are equal when
       * their map views, as returned by {@link #asMap}, are also equal.
       *
       * <p>In general, two multimaps with identical key-value mappings may or may not be equal,
       * depending on the implementation. For example, two {@link SetMultimap} instances with the same
       * key-value mappings are equal, but equality of two {@link ListMultimap} instances depends on the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilderSpec.java

                durationInNanos(that.refreshDuration, that.refreshTimeUnit));
      }
    
      /**
       * Converts an expiration duration/unit pair into a single Long for hashing and equality. Uses
       * nanos to match CacheBuilder implementation.
       */
      @CheckForNull
      private static Long durationInNanos(long duration, @CheckForNull TimeUnit unit) {
        return (unit == null) ? null : unit.toNanos(duration);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
Back to top