Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for referenceValue (0.13 seconds)

  1. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

      public void testSingleQuantile_median() {
        double referenceValue = REFERENCE_ALGORITHM.singleQuantile(1, 2, dataset.clone());
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          assertWithMessage("Mismatch between %s and %s", algorithm, REFERENCE_ALGORITHM)
              .that(algorithm.singleQuantile(1, 2, dataset.clone()))
              .isWithin(ALLOWED_ERROR)
              .of(referenceValue);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

      public void testSingleQuantile_median() {
        double referenceValue = REFERENCE_ALGORITHM.singleQuantile(1, 2, dataset.clone());
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          assertWithMessage("Mismatch between %s and %s", algorithm, REFERENCE_ALGORITHM)
              .that(algorithm.singleQuantile(1, 2, dataset.clone()))
              .isWithin(ALLOWED_ERROR)
              .of(referenceValue);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

         * value. This could save ~8 bytes per entry.
         */
    
        STRONG {
          @Override
          <K, V> ValueReference<K, V> referenceValue(
              Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
            return (weight == 1)
                ? new StrongValueReference<K, V>(value)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

         * value. This could save ~8 bytes per entry.
         */
    
        STRONG {
          @Override
          <K, V> ValueReference<K, V> referenceValue(
              Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) {
            return (weight == 1)
                ? new StrongValueReference<K, V>(value)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
Back to Top