Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 180 for Prefer (0.52 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

            override fun create(sslSocket: SSLSocket): SocketAdapter = ConscryptSocketAdapter()
          }
    
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader)
    
            when {
              // Bump this version if we ever have a binary incompatibility
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

    /**
     * A certificate chain cleaner that uses a set of trusted root certificates to build the trusted
     * chain. This class duplicates the clean chain building performed during the TLS handshake. We
     * prefer other mechanisms where they exist, such as with
     * [okhttp3.internal.platform.AndroidPlatform.AndroidCertificateChainCleaner].
     *
     * This class includes code from [Conscrypt's][Conscrypt] [TrustManagerImpl] and
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Suppliers.java

       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 2.0
       */
      @SuppressWarnings("GoodTime") // Prefer the Duration overload
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/MutableValueGraph.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A subinterface of {@link ValueGraph} which adds mutation methods. When mutation is not required,
     * users should prefer the {@link ValueGraph} interface.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.openjsse.net.ssl.OpenJSSE", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * connection is typically faster than establishing a new one.
     *
     * When a single logical call requires multiple streams due to redirects or authorization
     * challenges, we prefer to use the same physical connection for all streams in the sequence. There
     * are potential performance and behavior consequences to this preference. To support this feature,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/PrimitiveSink.java

       * Puts a string into this sink using the given charset.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only
       * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which
       * is faster, produces the same output across Java releases, and processes every {@code char} in
       * the input, even if some are invalid.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Cache.java

      /**
       * Associates {@code value} with {@code key} in this cache. If the cache previously contained a
       * value associated with {@code key}, the old value is replaced by {@code value}.
       *
       * <p>Prefer {@link #get(Object, Callable)} when using the conventional "if cached, return;
       * otherwise create, cache and return" pattern.
       *
       * @since 11.0
       */
      void put(K key, V value);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       * requests on the same socket, and server-push. HTTP/1.1 semantics are layered on SPDY/3.
       *
       * Current versions of OkHttp do not support this protocol.
       */
      @Deprecated("OkHttp has dropped support for SPDY. Prefer {@link #HTTP_2}.")
      SPDY_3("spdy/3.1"),
    
      /**
       * The IETF's binary-framed protocol that includes header compression, multiplexing multiple
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MutableGraph.java

    import com.google.common.annotations.Beta;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /**
     * A subinterface of {@link Graph} which adds mutation methods. When mutation is not required, users
     * should prefer the {@link Graph} interface.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    public interface MutableGraph<N> extends Graph<N> {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top