- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for throttle (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
* body, which it will attempt to do otherwise: * * * Don't cache the response. The cache will try to read the entire response body so that it * can successfully complete the cache entry. * * * Throttle the response. The HTTP/1 connection pool will attempt to read the entire response * body so that it can pool the connection. */ private fun trailersWithClientPrematureClose(protocol: Protocol) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 18.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(server.takeRequest().exchangeIndex).isEqualTo(1) } /** * Test to ensure we don't throw a read timeout on responses that are progressing. For this * case, we take a 4KiB body and throttle it to 1KiB/second. We set the read timeout to two * seconds. If our implementation is acting correctly, it will not throw, as it is progressing. */ @Test fun readTimeoutMoreGranularThanBodySize() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
RELEASE.md
newcomers. * Clarified documentation on `resize_images.align_corners` parameter. * Additional documentation for TPUs. * Google Cloud Storage (GCS): * Add client-side throttle. * Add a `FlushCaches()` method to the FileSystem interface, with an implementation for GcsFileSystem. * Other: * Add `tf.contrib.distributions.Kumaraswamy`.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
} /** * Updates the stable rate of this {@code RateLimiter}, that is, the {@code permitsPerSecond} * argument provided in the factory method that constructed the {@code RateLimiter}. Currently * throttled threads will <b>not</b> be awakened as a result of this invocation, thus they do not * observe the new rate; only subsequent requests will. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
call.cancel() assertFailsWith<IOException> { // Reading 'B' may succeed if it's buffered. inputStream.read() // But 'C' shouldn't be buffered (the response is throttled) and this should fail. inputStream.read() } inputStream.close() } @Test fun disconnectDuringConnect_cookieJar() { val callReference = AtomicReference<Call>()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)