Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for tolerance (0.04 sec)

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

              assertFalse(DoubleMath.fuzzyEquals(inf, a, tolerance));
            }
          }
        }
      }
    
      public void testFuzzyInfiniteVersusInfiniteWithFiniteTolerance() {
        for (double inf : INFINITIES) {
          for (double tolerance : FINITE_TOLERANCE_CANDIDATES) {
            assertTrue(DoubleMath.fuzzyEquals(inf, inf, tolerance));
            assertFalse(DoubleMath.fuzzyEquals(inf, -inf, tolerance));
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
      private static final Correspondence<Number, Number> FINITE_QUANTILE_CORRESPONDENCE =
          Correspondence.tolerance(ALLOWED_ERROR);
    
      /**
       * A {@link Correspondence} which accepts either finite values within {@link #ALLOWED_ERROR} of
       * each other or identical non-finite values.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/QuantilesTest.java

       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
      private static final Correspondence<Number, Number> FINITE_QUANTILE_CORRESPONDENCE =
          Correspondence.tolerance(ALLOWED_ERROR);
    
      /**
       * A {@link Correspondence} which accepts either finite values within {@link #ALLOWED_ERROR} of
       * each other or identical non-finite values.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

         * on what they know about the particular Joiner instances the calls are performed on.
         *
         * (In addition to useForNull, we also offer skipNulls. It, too, tolerates null inputs, but its
         * tolerance is implemented differently: Its implementation avoids calling this toString(Object)
         * method in the first place.)
         */
        requireNonNull(part);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Joiner.java

         * on what they know about the particular Joiner instances the calls are performed on.
         *
         * (In addition to useForNull, we also offer skipNulls. It, too, tolerates null inputs, but its
         * tolerance is implemented differently: Its implementation avoids calling this toString(Object)
         * method in the first place.)
         */
        requireNonNull(part);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

            // Returning successfully is not ideal, but tolerated.
          } catch (NullPointerException tolerated) {
          }
        } else {
          try {
            entrySet.retainAll(null);
            // We have to tolerate a successful return (Sun bug 4802647)
          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    /** Delete file we expect but don't require to exist. */
    internal fun FileSystem.deleteIfExists(path: Path) {
      try {
        delete(path)
      } catch (fnfe: FileNotFoundException) {
        return
      }
    }
    
    /** Tolerant delete, try to clear as many files as possible even after a failure. */
    internal fun FileSystem.deleteContents(directory: Path) {
      var exception: IOException? = null
      val files =
        try {
          list(directory)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     *
     * Clients call [get] to read a snapshot of an entry. The read will observe the value at the time
     * that [get] was called. Updates and removals after the call do not impact ongoing reads.
     *
     * This class is tolerant of some I/O errors. If files are missing from the filesystem, the
     * corresponding entries will be dropped from the cache. If an error occurs while writing a cache
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.2.md

    * Add a timeout to the sshDialer to prevent indefinite hangs. ([#23843](https://github.com/kubernetes/kubernetes/pull/23843), [@cjcullen](https://github.com/cjcullen))
    * AWS kube-up: tolerate a lack of ephemeral volumes ([#23776](https://github.com/kubernetes/kubernetes/pull/23776), [@justinsb](https://github.com/justinsb))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_4x.md

     *  Fix: Don't use brackets formatting IPv6 host names in MockWebServer.
     *  Fix: Don't permit cache iterators to remove entries that are being written.
    
    
    ## Version 4.0.1
    
    _2019-07-10_
    
     *  Fix: Tolerate null-hostile lists in public API. Lists created with `List.of(...)` don't like it
        when you call `contains(null)` on them!
     *  Fix: Retain binary-compatibility in `okhttp3.internal.HttpHeaders.hasBody()`. Some unscrupulous
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top