- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for maxOf (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
if (servedDate != null) { maxOf(0, receivedResponseMillis - servedDate.time) } else { 0 } val receivedAge = if (ageSeconds != -1) { maxOf(apparentReceivedAge, SECONDS.toMillis(ageSeconds.toLong())) } else { apparentReceivedAge } val responseDuration = maxOf(0, receivedResponseMillis - sentRequestMillis)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
// * Find out if there's enough work to start another thread. eachQueue@ for (queue in readyQueues) { val candidate = queue.futureTasks[0] val candidateDelay = maxOf(0L, candidate.nextExecuteNanoTime - now) when { // Compute the delay of the soonest-executable task. candidateDelay > 0L -> { minDelayNanos = minOf(candidateDelay, minDelayNanos)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:30:11 GMT 2025 - 10.4K bytes - Click Count (0)