Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for entre (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * | `http://host/a/b/c`  | `3`          |
       * | `http://host/a/b/c/` | `4`          |
       */
      @get:JvmName("pathSize")
      val pathSize: Int
        get() = pathSegments.size
    
      /**
       * The entire path of this URL encoded for use in HTTP resource resolution. The returned path will
       * start with `"/"`.
       *
       * | URL                     | `encodedPath()` |
       * | :---------------------- | :-------------- |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun recoverFromInitializationFailure(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
        // attempt to delete the file. Do not explicitly close the cache here so the entry is left as
        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values
         * must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The call timeout spans the entire call: resolving DNS, connecting, writing the request body,
         * server processing, and reading the response body. If the call requires redirects or retries
         * all must complete within one timeout period.
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        assertThat(response.body.string()).isEqualTo("a")
        assertThat(listener.recordedEventTypes())
          .containsExactly("CallStart", "CallEnd")
      }
    
      /** Response headers start, then the entire request body, then response headers end.  */
      @Test
      fun expectContinueStartsResponseHeadersEarly() {
        server.enqueue(
          MockResponse.Builder()
            .add100Continue()
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

          object : AsyncTimeout() {
            override fun timedOut() {
              latch.countDown()
            }
          }
        watchdogJob.deadlineNanoTime(System.nanoTime()) // Due immediately!
        watchdogJob.enter()
        latch.await()
      }
    
      private fun connectWithSettings(
        client: Boolean,
        settings: Settings?,
      ): Http2Connection {
        peer.setClient(client)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top