Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 8192 (0.01 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

       * write to {@code sink()} and close it to complete the post.
       */
      static final class PipeBody extends RequestBody {
        private final Pipe pipe = new Pipe(8192);
        private final BufferedSink sink = Okio.buffer(pipe.sink());
    
        public BufferedSink sink() {
          return sink;
        }
    
        @Override public MediaType contentType() {
          return MEDIA_TYPE_MARKDOWN;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          } else {
            // This is a subsequent part or a preamble. Skip until "\r\n--" followed by the boundary.
            while (true) {
              val toSkip = currentPartBytesRemaining(maxByteCount = 8192)
              if (toSkip == 0L) break
              source.skip(toSkip)
            }
            source.skip(crlfDashDashBoundary.size.toLong())
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

          ByteArray(12) +
            byteArrayOf(
              192.toByte(),
              168.toByte(),
              0,
              1,
            ),
        )
      }
    
      @Test
      fun canonicalizeInetAddressIPv6RepresentationOfMappedIPV4() {
        val addressAIpv6 = decodeIpv6("::FFFF:192.168.0.1")!!
        assertThat(canonicalizeInetAddress(addressAIpv6)).isEqualTo(byteArrayOf(192.toByte(), 168.toByte(), 0, 1))
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

            "Parsing: <http://f:\n/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:999999/c> against <http://example.org/foo/bar>",
            "Parsing: <http://192.0x00A80001> against <about:blank>",
            "Parsing: <http://%30%78%63%30%2e%30%32%35%30.01> against <http://other.com/>",
            "Parsing: <http://192.168.0.257> against <http://other.com/>",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

          threadName(name) {
            val buffer = Buffer()
            try {
              sink.use {
                source.use {
                  while (true) {
                    val byteCount = source.read(buffer, 8192L)
                    if (byteCount == -1L) break
                    sink.write(buffer, byteCount)
                    sink.emit()
                  }
                }
              }
            } catch (e: IOException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. gradle/libs.versions.toml

    [versions]
    agp = "8.12.2"
    biz-aQute-bnd = "7.1.0"
    checkStyle = "11.0.1"
    com-squareup-moshi = "1.15.2"
    com-squareup-okio = "3.16.0"
    de-mannodermaus-junit5 = "1.8.0"
    graalvm = "24.2.2"
    #noinspection UnusedVersionCatalogEntry
    junit-platform = "1.13.4"
    kotlinx-serialization = "1.9.0"
    ksp = "2.2.10-2.0.2"
    lintGradle = "1.0.0-alpha05"
    mockserverClient = "5.15.0"
    org-bouncycastle = "1.81"
    org-conscrypt = "2.5.2"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 31 17:41:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top