- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pruneAndGetAllocationCount (0.1 sec)
-
okhttp/src/main/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) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0)