Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for readByteString (0.1 sec)

  1. okhttp-android/src/main/baseline-prof.txt

    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
    HSPLokio/Buffer;->readIntLe()I
    HSPLokio/Buffer;->readShort()S
    HSPLokio/Buffer;->readString(JLjava/nio/charset/Charset;)Ljava/lang/String;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android"))
        val source = stream.getSource()
        assertFailsWith<EOFException> {
          source.buffer().readByteString(101)
        }
      }
    
      @Test fun blockedStreamDoesntStarveNewStream() {
        val framesThatFillWindow =
          roundUp(Settings.DEFAULT_INITIAL_WINDOW_SIZE, peer.maxOutboundDataLength())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        // The response is not decompressed.
        val response = call.execute()
        assertThat(response.header("Content-Encoding")).isEqualTo("gzip")
        assertThat(response.body.source().readByteString()).isEqualTo(
          gzippedBody.snapshot(),
        )
    
        // The request did not offer gzip support.
        val recordedRequest = server.takeRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top