- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for toIntOrNull (0.2 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
name.equals("client_max_window_bits", ignoreCase = true) -> { if (clientMaxWindowBits != null) unexpectedValues = true // Repeated parameter! clientMaxWindowBits = value?.toIntOrNull() if (clientMaxWindowBits == null) unexpectedValues = true // Not an int! } name.equals("client_no_context_takeover", ignoreCase = true) -> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
SSLContext.getInstance("TLS") } } } companion object { val isAvailable: Boolean val majorVersion = System.getProperty("java.specification.version")?.toIntOrNull() init { isAvailable = if (majorVersion != null) { majorVersion >= 9 } else { try { // also present on JDK8 after build 252.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt
if (statusLine.length < codeStart + 3) { throw ProtocolException("Unexpected status line: $statusLine") } val code = statusLine.substring(codeStart, codeStart + 3).toIntOrNull() ?: throw ProtocolException( "Unexpected status line: $statusLine", ) // Parse an optional response message like "OK" or "Not Modified". If it
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 3.3K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLkotlin/text/MatcherMatchResult;->getRange()Lkotlin/ranges/IntRange; HSPLkotlin/text/Regex;-><init>(Ljava/lang/String;)V HSPLkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z HSPLkotlin/text/StringsKt__StringNumberConversionsKt;->toIntOrNull(Ljava/lang/String;)Ljava/lang/Integer; HSPLkotlin/text/StringsKt__StringsJVMKt;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z HSPLkotlin/text/StringsKt__StringsJVMKt;->endsWith(Ljava/lang/String;Ljava/lang/String;Z)Z
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0)