Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for slow (0.36 sec)

  1. .junit.run/Not Slow.run.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Not Slow" type="JUnit" factoryName="JUnit" singleton="false">
        <useClassPathOnly />
        <option name="MAIN_CLASS_NAME" value="" />
        <option name="METHOD_NAME" value="" />
        <option name="TEST_OBJECT" value="tags" />
        <option name="VM_PARAMETERS" value="-ea -Djunit.jupiter.extensions.autodetection.enabled=true" />
        <option name="PARAMETERS" value="" />
    XML
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Nov 21 13:28:45 GMT 2020
    - 730 bytes
    - Viewed (0)
  2. mockwebserver/README.md

    testing everything. You can even copy & paste HTTP responses from your real web
    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Use MockWebServer the same way that you use mocking frameworks like
    [Mockito](https://github.com/mockito/mockito):
    
    1. Script the mocks.
    2. Run application code.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  3. docs/contribute/concurrency.md

    a timeout elapses. If we get bytes but there's nobody asking for them, we buffer them. We don't consider bytes as delivered for flow control until they're consumed by the application.
    
    Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the user unpauses her video the buffer drains, the read...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  4. docs/features/connections.md

    (like HTTP/2).
    
    URLs that share the same address may also share the same underlying TCP socket connection. Sharing a connection has substantial performance benefits: lower latency, higher throughput (due to [TCP slow start](https://www.igvita.com/2011/10/20/faster-web-vs-tcp-slow-start/)) and conserved battery. OkHttp uses a [ConnectionPool](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-connection-pool/) that automatically reuses HTTP/1.x connections and multiplexes HTTP/2 connections....
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

     *   }
     * }
     * ```
     *
     * Note that [nextPart] will skip any unprocessed data from the preceding part. If the preceding
     * part is particularly large or if the underlying source is particularly slow, the [nextPart] call
     * may be slow!
     *
     * Closing a part **does not** close this multipart reader; callers must explicitly close this with
     * [close].
     *
     * [rfc_2046]: http://www.ietf.org/rfc/rfc2046.txt
     */
    class MultipartReader
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    @Flaky // STDOUT logging enabled for test
    @Timeout(30)
    @Tag("Slow")
    open class ConnectionListenerTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private var server: MockWebServer? = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
      }
    
      @Tag("Slow")
      @Test
      fun successfulExpectContinuePermitsConnectionReuseWithHttp2() {
        enableProtocol(Protocol.HTTP_2)
        successfulExpectContinuePermitsConnectionReuse()
      }
    
      @Tag("Slow")
      @Test
      fun unsuccessfulExpectContinuePreventsConnectionReuse() {
        server.enqueue(MockResponse())
    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)
  8. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

            mr.groupValues[1].replace('/', '.')
          }.replace("(.*)\\.kt".toRegex()) { mr ->
            mr.groupValues[1].replace('/', '.') + "Kt"
          }
        }.sorted()
      }
    }
    
    @Disabled("Don't run by default")
    @Tag("Slow")
    class AllMainsTest {
      @ParameterizedTest
      @ArgumentsSource(MainTestProvider::class)
      fun runMain(className: String) {
        val mainMethod =
          Class.forName(className)
            .methods.find { it.name == "main" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

          codePoint.toChar() in encodeSet ||
          codePoint == '%'.code &&
          (!alreadyEncoded || strict && !isPercentEncoded(i, limit)) ||
          codePoint == '+'.code && plusIsSpace
        ) {
          // Slow path: the character at i requires encoding!
          val out = Buffer()
          out.writeUtf8(this, pos, i)
          out.writeCanonicalized(
            input = this,
            pos = i,
            limit = limit,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.api.io.TempDir
    import org.opentest4j.TestAbortedException
    
    /** Android's URLConnectionTest, ported to exercise OkHttp's Call API.  */
    @Tag("Slow")
    class URLConnectionTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @TempDir
      lateinit var tempDir: File
    
    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)
Back to top