- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getOrNull (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt
package okhttp3.internal import okhttp3.Headers internal fun Headers.commonName(index: Int): String = namesAndValues.getOrNull(index * 2) ?: throw IndexOutOfBoundsException("name[$index]") internal fun Headers.commonValue(index: Int): String = namesAndValues.getOrNull(index * 2 + 1) ?: throw IndexOutOfBoundsException("value[$index]") internal fun Headers.commonValues(name: String): List<String> {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 5.8K bytes - Viewed (0) -
okhttp/build.gradle.kts
// Note that module checking only works on JDK 9+, // because the JDK built-in base modules are not available in earlier versions. val javaVersion = compileKotlinTask.kotlinJavaToolchain.javaVersion.getOrNull() when { javaVersion?.isJava9Compatible == true -> { logger.info("Module-info checking is enabled; $compileKotlinTask is compiled using Java $javaVersion")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 12.3K bytes - Viewed (0)