Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for stream (2.79 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(URLConnection.getDefaultRequestProperty("X-setDefaultRequestProperty")).isNull()
      }
    
      /**
       * Reads `count` characters from the stream. If the stream is exhausted before `count`
       * characters can be read, the remaining characters are returned and the stream is closed.
       */
      private fun readAscii(
        inputStream: InputStream,
        count: Int,
      ): String {
        val result = StringBuilder()
    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

        // If this succeeds, too many requests were made.
        executeSynchronously("/")
          .assertFailure(IOException::class.java)
          .assertFailureMatches(
            "stream was reset: CANCEL",
            "unexpected end of stream on " + server.url("/").redact(),
          )
      }
    
      @RetryingTest(5)
      @Flaky
      fun recoverWhenRetryOnConnectionFailureIsFalse_HTTP2() {
        enableProtocol(Protocol.HTTP_2)
    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/src/test/java/okhttp3/CacheTest.kt

        testResponseCaching(TransferKind.CHUNKED)
      }
    
      @Test
      fun responseCachingAndInputStreamSkipWithNoLengthHeaders() {
        testResponseCaching(TransferKind.END_OF_STREAM)
      }
    
      /**
       * Skipping bytes in the input stream caused ResponseCache corruption.
       * http://code.google.com/p/android/issues/detail?id=8175
       */
      private fun testResponseCaching(transferKind: TransferKind) {
        val mockResponse =
    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)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Http2;-><init>()V
    HSPLokhttp3/internal/http2/Http2Connection$Builder;-><init>(ZLokhttp3/internal/concurrent/TaskRunner;)V
    HSPLokhttp3/internal/http2/Http2Connection$Listener$Companion$REFUSE_INCOMING_STREAMS$1;-><init>()V
    HSPLokhttp3/internal/http2/Http2Connection$Listener;-><clinit>()V
    HSPLokhttp3/internal/http2/Http2Connection$Listener;-><init>()V
    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)
  5. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    stcgroup
    
    // stockholm : 2014-12-18 Stockholms kommun
    stockholm
    
    // storage : 2014-12-22 XYZ.COM LLC
    storage
    
    // store : 2015-04-09 Radix FZC
    store
    
    // stream : 2016-01-08 dot Stream Limited
    stream
    
    // studio : 2015-02-11 Dog Beach, LLC
    studio
    
    // study : 2014-12-11 Registry Services, LLC
    study
    
    // style : 2014-12-04 Binky Moon, LLC
    style
    
    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