- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for break (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
val result = mutableListOf<Story>() var i = 0 while (true) { // break after last test. val storyResourceName = String.format( "/hpack-test-case/%s/story_%02d.json", testFolderName, i, ) val storyInputStream = HpackJsonUtil::class.java.getResourceAsStream(storyResourceName) ?: break try { storyInputStream.use { val story =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
* * ```kotlin * val response: Response = call.execute() * val multipartReader = MultipartReader(response.body!!) * * multipartReader.use { * while (true) { * val part = multipartReader.nextPart() ?: break * process(part.headers, part.body) * } * } * ``` * * Note that [nextPart] will skip any unprocessed data from the preceding part. If the preceding
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
@Throws(IOException::class) private fun readUntilNonControlFrame() { while (!closed) { readHeader() if (!isControlFrame) { break } readControlFrame() } } /** * Reads a message body into across one or more frames. Control frames that occur between
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
while (restCapacity > 0 && list.isNotEmpty() && buckets.size < maxNumberInBucket) { val smallestElement = list.findLast { searched -> buckets.all { canRunTogether(it, searched) } } ?: break list.remove(smallestElement) buckets.add(smallestElement) restCapacity -= toIntFunction(smallestElement) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Nov 17 05:17:44 GMT 2022 - 4K bytes - Viewed (0) -
internal/grid/README.md
for { select { case <-ctx.Done(): return nil case req, ok := <-in: if !ok { break } // Do something with payload out <- []byte("response") // Return the request for reuse grid.PutByteBuffer(req)
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordedResponse.kt
apply { var found = false for (expectedClass in allowedExceptionTypes) { if (expectedClass.isInstance(failure)) { found = true break } } assertThat( found, "Expected exception type among ${allowedExceptionTypes.contentToString()}, got $failure", ).isTrue() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
var unionWith: Mapping = mapping index++ while (index < mappings.size) { val next = mappings[index] if (type != canonicalizeType(next.type)) break if (type == TYPE_MAPPED && mappedTo != next.mappedTo) break unionWith = next index++ } result += Mapping( sourceCodePoint0 = mapping.sourceCodePoint0,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.1.2.txt
00A0; NO-BREAK SPACE 1680; OGHAM SPACE MARK 2000; EN QUAD 2001; EM QUAD 2002; EN SPACE 2003; EM SPACE 2004; THREE-PER-EM SPACE 2005; FOUR-PER-EM SPACE 2006; SIX-PER-EM SPACE 2007; FIGURE SPACE 2008; PUNCTUATION SPACE 2009; THIN SPACE 200A; HAIR SPACE 200B; ZERO WIDTH SPACE 202F; NARROW NO-BREAK SPACE 205F; MEDIUM MATHEMATICAL SPACE
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 409 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
val labelLength = when (dot) { -1 -> length - labelStart else -> dot - labelStart } if (labelLength !in 1..63) return true if (dot == -1) break if (dot == length - 1) break // Trailing '.' is allowed. labelStart = dot + 1 } return false } internal fun String.containsInvalidHostnameAsciiCodes(): Boolean { for (i in 0 until length) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0)