- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ready (0.19 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val inputStream = response.body.byteStream() assertThat(inputStream.read().toChar()).isEqualTo('A') 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
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
call: Call, response: Response, ) { val bytes = response.body.byteStream() assertThat(bytes.read()).isEqualTo('a'.code) assertThat(bytes.read()).isEqualTo('b'.code) assertThat(bytes.read()).isEqualTo('c'.code) // This request will share a connection with 'A' cause it's all done.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLokio/Buffer;->getByte(J)B HSPLokio/Buffer;->indexOfElement(Lokio/ByteString;)J HSPLokio/Buffer;->rangeEquals(JLokio/ByteString;)Z HSPLokio/Buffer;->read(Lokio/Buffer;J)J HSPLokio/Buffer;->read([BII)I HSPLokio/Buffer;->readByte()B HSPLokio/Buffer;->readByteArray(J)[B HSPLokio/Buffer;->readByteString()Lokio/ByteString; HSPLokio/Buffer;->readByteString(J)Lokio/ByteString; HSPLokio/Buffer;->readInt()I
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
val updatedTimestamp = response2.receivedResponseAtMillis assertThat((updatedTimestamp - t1).toDouble()).isCloseTo(0.0, 250.0) // A full cache hit reads the cache. Thread.sleep(10) val response3 = get(server.url("/a")) assertThat(response3.body.string()).isEqualTo("A") assertThat(response3.header("Allow")).isEqualTo("GET, HEAD")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
// quest : 2015-03-26 XYZ.COM LLC quest // racing : 2014-12-04 Premier Registry Limited racing // radio : 2016-07-21 European Broadcasting Union (EBU) radio // read : 2014-12-18 Amazon Registry Services, Inc. read // realestate : 2015-09-11 dotRealEstate LLC realestate // realtor : 2014-05-29 Real Estate Domains LLC realtor // realty : 2015-03-19 Dog Beach, LLC realty
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3)