Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 180 for Prefer (0.12 sec)

  1. android/guava/src/com/google/common/base/Throwables.java

        }
        return Collections.unmodifiableList(causes);
      }
    
      /**
       * Returns {@code throwable}'s cause, cast to {@code expectedCauseType}.
       *
       * <p>Prefer this method instead of manually casting an exception's cause. For example, {@code
       * (IOException) e.getCause()} throws a {@link ClassCastException} that discards the original
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a
       * href="https://wicg.github.io/user-preference-media-features-headers/#sec-ch-prefers-color-scheme">{@code
       * Sec-CH-Prefers-Color-Scheme}</a> header field name.
       *
       * <p>This header is experimental.
       *
       * @since 31.0
       */
      public static final String SEC_CH_PREFERS_COLOR_SCHEME = "Sec-CH-Prefers-Color-Scheme";
    
      /**
       * The HTTP <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         *     OkHttp needs to build a clean certificate chain. This method instead must use reflection
         *     to extract the trust manager. Applications should prefer to call
         *     `sslSocketFactory(SSLSocketFactory, X509TrustManager)`, which avoids such reflection.
         */
        @Deprecated(
          message = "Use the sslSocketFactory overload that accepts a X509TrustManager.",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *     different kind of exception, that exception itself. To avoid hiding bugs and other
       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
       * @param fallback the {@link Function} to be called if {@code input} fails with the expected
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          } else {
            fileSystem.atomicMove(journalFileBackup, journalFile)
          }
        }
    
        civilizedFileSystem = fileSystem.isCivilized(journalFileBackup)
    
        // Prefer to pick up where we left off.
        if (fileSystem.exists(journalFile)) {
          try {
            readJournal()
            processJournal()
            initialized = true
            return
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

    
    ## Version 4.7.0
    
    _2020-05-17_
    
     *  New: `HandshakeCertificates.Builder.addInsecureHost()` makes it easy to turn off security in
        private development environments that only carry test data. Prefer this over creating an
        all-trusting `TrustManager` because only hosts on the allowlist are insecure. From
        [our DevServer sample][dev_server]:
    
        ```kotlin
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

     * @since 1.0
     */
    @GwtCompatible
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p>Prefer {@link Integer#BYTES} instead.
       */
      // The constants value gets inlined here.
      @SuppressWarnings("AndroidJdkLibsChecker")
      public static final int BYTES = Integer.BYTES;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              Outcome.HANG);
          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
              TimeoutsToUse.PAST,
              // prefer responding to interrupt over timing out
              isInterruptible(method) ? Outcome.INTERRUPT : Outcome.FAILURE);
          addTests(
              suite,
              method,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top