- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for hashInt (0.15 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
* if any intersection is found. The sizes of both arguments are assumed to be so small, and the * 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 }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
Arrays.asList( CertificatePinner.Pin("example.com", certA1Sha256Pin), CertificatePinner.Pin("www.example.com", certA1Sha256Pin), ) assertEquals(expectedPins, builder.pins) assertEquals(HashSet(expectedPins), certificatePinner.pins) } companion object { val certA1 = HeldCertificate.Builder() .serialNumber(100L) .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.9K bytes - Viewed (0)