Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Phread (0.22 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        call: Call,
        delay: Long,
      ): Thread {
        val thread =
          object : Thread("canceler") {
            override fun run() {
              try {
                sleep(delay)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              call.cancel()
            }
          }
        thread.start()
        return thread
      }
    
    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)
  3. 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)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        // A conditional cache hit updates the cache.
        Thread.sleep(500) // Make sure t0 and t1 are distinct.
        val t1 = System.currentTimeMillis()
        val response2 = get(server.url("/a"))
        assertThat(response2.code).isEqualTo(HttpURLConnection.HTTP_OK)
        assertThat(response2.body.string()).isEqualTo("A")
        assertThat(response2.header("Allow")).isEqualTo("GET, HEAD")
        val updatedTimestamp = response2.receivedResponseAtMillis
    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)
  5. 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)
Back to top