- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for pruneAndGetAllocationCount (0.09 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
var inUseConnectionCount = 0 var evictableConnectionCount = 0 for (connection in connections) { connection.withLock { // If the connection is in use, keep searching. if (pruneAndGetAllocationCount(connection, now) > 0) { inUseConnectionCount++ return@withLock } val idleAtNs = connection.idleAtNs if (idleAtNs < earliestOldIdleAtNs) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 11.1K bytes - Click Count (0)