Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for IsCompatible (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

       * least one cipher suite enabled.
       *
       * For protocols, at least one of the [required protocols][tlsVersions] must match the socket's
       * enabled protocols.
       */
      fun isCompatible(socket: SSLSocket): Boolean {
        if (!isTls) {
          return false
        }
    
        if (tlsVersionsAsString != null &&
          !tlsVersionsAsString.hasIntersection(socket.enabledProtocols, naturalOrder())
        ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

       *   <li>have the same strategy
       *   <li>have equal funnels
       * </ul>
       *
       * @param that The Bloom filter to check for compatibility.
       * @since 15.0
       */
      public boolean isCompatible(BloomFilter<T> that) {
        checkNotNull(that);
        return this != that
            && this.numHashFunctions == that.numHashFunctions
            && this.bitSize() == that.bitSize()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/BloomFilter.java

       *   <li>have the same strategy
       *   <li>have equal funnels
       * </ul>
       *
       * @param that The Bloom filter to check for compatibility.
       * @since 15.0
       */
      public boolean isCompatible(BloomFilter<T> that) {
        checkNotNull(that);
        return this != that
            && this.numHashFunctions == that.numHashFunctions
            && this.bitSize() == that.bitSize()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        connectionSpecs: List<ConnectionSpec>,
        sslSocket: SSLSocket,
      ): ConnectPlan? {
        for (i in connectionSpecIndex + 1 until connectionSpecs.size) {
          if (connectionSpecs[i].isCompatible(sslSocket)) {
            return copy(connectionSpecIndex = i, isTlsFallback = (connectionSpecIndex != -1))
          }
        }
        return null
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    		addr *uint16
    		len  int
    		cap  int
    	}{&data.hardwareID[0], int(len), int(len)}
    	return *(*[]uint16)(unsafe.Pointer(&sl))
    }
    
    // IsCompatible method tests if given hardware ID matches the driver or is listed on the compatible ID list.
    func (data *DrvInfoDetailData) IsCompatible(hwid string) bool {
    	hwidLC := strings.ToLower(hwid)
    	if strings.ToLower(data.HardwareID()) == hwidLC {
    		return true
    	}
    	a := data.CompatIDs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyGraphBuilder.java

                return true;
            }
            DefaultCompatibilityCheckResult<Object> result = new DefaultCompatibilityCheckResult<>(v1, v2);
            rule.execute(result);
            return result.hasResult() && result.isCompatible();
        }
    
        private static void attachMultipleForceOnPlatformFailureToEdges(ModuleResolveState module) {
            List<EdgeState> forcedEdges = null;
            boolean hasMultipleVersions = false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        the interceptors on a request-by-request basis.
    
     *  New: `Headers.toMultimap()`.
     *  New: `RequestBody.create(MediaType, ByteString)`.
     *  New: `ConnectionSpec.isCompatible(SSLSocket)`.
     *  New: `Dispatcher.getQueuedCallCount()` and
        `Dispatcher.getRunningCallCount()`. These can be useful in diagnostics.
     *  Fix: OkHttp no longer shares timeouts between pooled connections. This was
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val cipherSuites: List<CipherSuite>? = connectionSpec.cipherSuites
        val supportsTlsExtensions: Boolean = connectionSpec.supportsTlsExtensions
        val compatible: Boolean =
          connectionSpec.isCompatible(
            localhost().sslSocketFactory().createSocket() as SSLSocket,
          )
      }
    
      @Test
      fun connectionSpecBuilder() {
        var builder = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. okhttp/api/okhttp.api

    	public final fun -deprecated_tlsVersions ()Ljava/util/List;
    	public final fun cipherSuites ()Ljava/util/List;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun isCompatible (Ljavax/net/ssl/SSLSocket;)Z
    	public final fun isTls ()Z
    	public final fun supportsTlsExtensions ()Z
    	public final fun tlsVersions ()Ljava/util/List;
    	public fun toString ()Ljava/lang/String;
    }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top