- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for chunkSize (0.06 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
response: MockResponse.Builder, content: Buffer, chunkSize: Int, ) { response.chunkedBody(content, chunkSize) } }, FIXED_LENGTH { override fun setBody( response: MockResponse.Builder, content: Buffer, chunkSize: Int, ) { response.body(content) } }, END_OF_STREAM {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
cmd/object-handlers_test.go
int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data), testCase.accessKey, testCase.secretKey) case testCase.contentEncoding == "": req, err = newTestStreamingSignedRequest(http.MethodPut, getPutObjectURL("", testCase.bucketName, testCase.objectName), int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data), testCase.accessKey, testCase.secretKey)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
response: MockResponse.Builder, content: Buffer?, chunkSize: Int, ) abstract fun newRequestBody(body: String): RequestBody fun setBody( response: MockResponse.Builder, content: String?, chunkSize: Int, ) { setBody(response, Buffer().writeUtf8(content!!), chunkSize) } } internal enum class ProxyConfig {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
assertThat(recordedRequest.chunkSizes).isNotEmpty() } @Test fun uploadBodyLargeChunkedEncoding() { upload(true, 1048576, 65536) val recordedRequest = server.takeRequest() assertThat(recordedRequest.bodySize).isEqualTo(1048576) assertThat(recordedRequest.chunkSizes).isNotEmpty() } @Test fun uploadBodySmallFixedLength() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)