- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for hasIntersection (0.06 sec)
-
okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/androidMain/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0)