- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for toLongOrDefault (0.29 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
} finally { currentThread.name = oldName } } /** Returns the Content-Length as reported by the response headers. */ internal fun Response.headersContentLength(): Long = headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L /** Returns an immutable wrap of this. */ @Suppress("NOTHING_TO_INLINE") internal inline fun <T> List<T>.unmodifiable(): List<T> = Collections.unmodifiableList(this)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
import okhttp3.internal.http.HttpMethod import okhttp3.internal.http.StatusLine import okhttp3.internal.platform.Platform import okhttp3.internal.platform.Platform.Companion.WARN import okhttp3.internal.toLongOrDefault import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString.Companion.decodeBase64 import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0)