Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for 8192 (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

          'o'.code,
          'o'.code,
          3,
          'b'.code,
          'a'.code,
          'r'.code,
        )
        hpackWriter!!.resizeHeaderTable(8192)
        hpackWriter!!.writeHeaders(listOf(Header("bar", "foo")))
        assertBytes(
          // Dynamic table size update (size = 8192).
          0x3F,
          0xE1,
          0x3F,
          0x40,
          3,
          'b'.code,
          'a'.code,
          'r'.code,
          3,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K 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/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        } else {
          Long.MAX_VALUE
        }
      timeout().deadlineNanoTime(nowNs + minOf(originalDurationNs, timeUnit.toNanos(duration.toLong())))
      return try {
        val skipBuffer = Buffer()
        while (read(skipBuffer, 8192) != -1L) {
          skipBuffer.clear()
        }
        true // Success! The source has been exhausted.
      } catch (_: InterruptedIOException) {
        false // We ran out of time before exhausting the source.
      } finally {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new ReaderInputStream(CharSource.this.openStream(), charset, 8192);
        }
    
        @Override
        public String toString() {
          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new ReaderInputStream(CharSource.this.openStream(), charset, 8192);
        }
    
        @Override
        public String toString() {
          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            override fun contentType() = "text/plain".toMediaType()
    
            override fun writeTo(sink: BufferedSink) {
              sink.write(ByteArray(8192))
              sink.flush()
            }
          }
        requestBodySuccess(requestBody, CoreMatchers.equalTo(8192L), CoreMatchers.equalTo(19L))
      }
    
      @Test
      fun requestBodySuccessEmpty() {
        requestBodySuccess(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response1.body.contentLength()).isEqualTo(
          Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE.toLong(),
        )
        val read = response1.body.source().read(ByteArray(8192))
        assertThat(read).isEqualTo(8192)
    
        // Make a second call that should transmit the response headers. The response body won't be
        // transmitted until the flow-control window is updated from the first request.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

     *
     * @author Chris Nokleberg
     * @author Colin Decker
     * @since 1.0
     */
    @GwtIncompatible
    public final class ByteStreams {
    
      private static final int BUFFER_SIZE = 8192;
    
      /** Creates a new byte array for buffering reads or writes. */
      static byte[] createBuffer() {
        return new byte[BUFFER_SIZE];
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            url = "smb://example.com/test%E3%81%82.txt";
            exp = "test%E3%81%82.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "smb1://example.com/test%E3%81%82.txt";
            exp = "test%E3%81%82.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "ftp://example.com/test%E3%81%82.txt";
            exp = "test%E3%81%82.txt";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

                    "http://www.codelibs.org/");
            assertUrlLink("http://www.codelibs.org/あ", //
                    "http://www.codelibs.org/あ");
            assertUrlLink("http://www.codelibs.org/%E3%81%82", //
                    "http://www.codelibs.org/%E3%81%82");
            assertUrlLink("http://www.codelibs.org/%z", //
                    "http://www.codelibs.org/%z");
            assertUrlLink("http://www.codelibs.org/?a=1&b=2", //
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
Back to top