Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasIntersection (0.07 sec)

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

        if (!isTls) {
          return false
        }
    
        if (tlsVersionsAsString != null &&
          !tlsVersionsAsString.hasIntersection(socket.enabledProtocols, naturalOrder())
        ) {
          return false
        }
    
        if (cipherSuitesAsString != null &&
          !cipherSuitesAsString.hasIntersection(
            socket.enabledCipherSuites,
            CipherSuite.ORDER_BY_NAME,
          )
        ) {
          return false
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * likelihood of an intersection so great, that it is not worth the CPU cost of sorting or the
     * memory cost of hashing.
     */
    internal fun Array<String>.hasIntersection(
      other: Array<String>?,
      comparator: Comparator<in String>,
    ): Boolean {
      if (isEmpty() || other == null || other.isEmpty()) {
        return false
      }
      for (a in this) {
        for (b in other) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/_UtilCommonKt;->delimiterOffset(Ljava/lang/String;CII)I
    HSPLokhttp3/internal/_UtilCommonKt;->delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
    HSPLokhttp3/internal/_UtilCommonKt;->hasIntersection([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z
    HSPLokhttp3/internal/_UtilCommonKt;->indexOfFirstNonAsciiWhitespace(Ljava/lang/String;II)I
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top