- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for fwrite (0.17 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
call. The `RequestBody.writeTo()` method may now retain a reference to the provided sink and hand it off to another thread to write to it after `writeTo` returns. The `EventListener` may now see requests and responses interleaved in ways not previously permitted. For example, a listener may receive `responseHeadersStart()` followed by
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* Manually using `StringBuilder` to assemble these components is cumbersome: do '+' characters get * silently replaced with spaces? If a query parameter contains a '&', does that get escaped? * By offering methods to read and write individual query parameters directly, application * developers are saved from the hassles of encoding and decoding. * * ### Plus a modern API *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
readTimeout = checkDuration("duration", duration) } /** * Sets the default write timeout for new connections. A value of 0 means no timeout, otherwise * values must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds. * * The write timeout is applied for individual write IO operations. The default value is 10 * seconds. * * @see Sink.timeout */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
set("b", "b", "b") // Create an entry that fails to write to the journal during commit. val editor = cache.edit("c")!! editor.setString(0, "c") editor.setString(1, "c") filesystem.setFaultyWrite(journalFile, true) editor.commit() // Once the journal has a failure, subsequent writes aren't permitted. filesystem.setFaultyWrite(journalFile, false)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
// Use a 2 MiB body so the disconnect won't happen until the client has read some data. val responseBodySize = 2 * 1024 * 1024 // 2 MiB server.enqueue( MockResponse.Builder() .body(Buffer().write(ByteArray(responseBodySize))) .socketPolicy(DisconnectDuringResponseBody) .build(), ) val call = client.newCall( Request.Builder() .url(server.url("/"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
// Verify the peer's settings were read and applied. assertThat(connection.peerSettings.headerTableSize).isEqualTo(0) val writer = connection.writer assertThat(writer.hpackWriter.dynamicTableByteCount).isEqualTo(0) assertThat(writer.hpackWriter.headerTableSizeSetting).isEqualTo(0) } @Test fun peerHttp2ClientDisablesPush() { val client = false // Peer is client, so we are server.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)