- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for indexOfElement (0.07 sec)
-
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
val retryMs = source.readRetryMs() if (retryMs != -1L) { callback.onRetryChange(retryMs) } } -1 -> { val lineEnd = source.indexOfElement(CRLF) if (lineEnd != -1L) { // Skip the line and newline source.skip(lineEnd) source.select(options) } else { return false // No more newlines.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
* double-quoted string. */ @Throws(EOFException::class) private fun Buffer.readQuotedString(): String? { require(readByte() == '\"'.code.toByte()) val result = Buffer() while (true) { val i = indexOfElement(QUOTED_STRING_DELIMITERS) if (i == -1L) return null // Unterminated quoted string. if (this[i] == '"'.code.toByte()) { result.write(this, i) // Consume '"'. readByte()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0)