Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for 30 (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          0x7ffffec, 0x7ffffed, 0x7ffffee, 0x7ffffef, 0x7fffff0, 0x3ffffee,
        )
    
      private val CODE_BIT_COUNTS =
        byteArrayOf(
          13, 23, 28, 28, 28, 28, 28, 28, 28, 24, 30, 28, 28, 30, 28, 28, 28, 28, 28, 28,
          28, 28, 30, 28, 28, 28, 28, 28, 28, 28, 28, 28, 6, 10, 10, 12, 13, 6, 8, 11, 10, 10, 8,
          11, 8, 6, 6, 6, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 8, 15, 6, 12, 10, 13, 6, 7, 7, 7, 7, 7,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.assertThrows
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Timeout(30)
    @Tag("Slowish")
    class ServerTruncatesRequestTest {
      @RegisterExtension
      @JvmField
      val platform = PlatformRule()
    
      @RegisterExtension
      @JvmField
      var clientTestRule = OkHttpClientTestRule()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

            .writeByte(0b11001001)
    
        val derReader = DerReader(buffer)
    
        derReader.read("test") { header ->
          assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_UNIVERSAL)
          assertThat(header.tag).isEqualTo(30)
          assertThat(header.constructed).isFalse()
          assertThat(header.length).isEqualTo(201)
        }
    
        assertThat(derReader.hasNext()).isFalse()
      }
    
      @Test fun `decode length encoded with leading zero byte`() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

    
    ## Version 4.9.3
    
    _2021-11-21_
    
     *  Fix: Don't fail HTTP/2 responses if they complete before a `RST_STREAM` is sent.
    
    
    ## Version 4.9.2
    
    _2021-09-30_
    
     *  Fix: Don't include potentially-sensitive header values in `Headers.toString()` or exceptions.
        This applies to `Authorization`, `Cookie`, `Proxy-Authorization`, and `Set-Cookie` headers.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://host/%/b").pathSegments).containsExactly("%", "b")
        assertThat(parse("http://host/%").pathSegments).containsExactly("%")
        assertThat(parse("http://github.com/%%30%30").pathSegments)
          .containsExactly("%00")
      }
    
      @Test
      fun malformedUtf8Encoding() {
        // Replace a partial UTF-8 sequence with the Unicode replacement character.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicInteger
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    
    @Timeout(30)
    class CustomDispatcherTest {
      private lateinit var mockWebServer: MockWebServer
    
      @BeforeEach
      fun setUp(mockWebServer: MockWebServer) {
        this.mockWebServer = mockWebServer
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Fri, 06 Jun 2014 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
        // RFC 850, obsoleted by RFC 1036 with GMT.
        assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Friday, 06-Jun-14 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              t: Throwable,
              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

          assertEquals(200, response.code)
        }
    
        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
        // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

          MockResponse.Builder()
            .body("A")
            .addHeader("Cache-Control: max-age=30")
            .addHeader("Date: " + formatDate(-31, TimeUnit.MINUTES))
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("B")
            .addHeader("Cache-Control: max-age=30")
            .addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))
            .build(),
        )
    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)
Back to top