- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for 4096 (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt
val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" for (i in s.indices) { assertRoundTrip(s.substring(0, i).encodeUtf8()) } val random = Random(123456789L) val buf = ByteArray(4096) random.nextBytes(buf) assertRoundTrip(buf.toByteString()) } private fun assertRoundTrip(data: ByteString) { val encodeBuffer = Buffer() encode(data, encodeBuffer)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
hpackWriter = Hpack.Writer(4096, false, bytesOut) } /** * Variable-length quantity special cases strings which are longer than 127 bytes. Values such as * cookies can be 4KiB, and should be possible to send. * * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-5.2 */ @Test fun largeHeaderValue() { val value = CharArray(4096) Arrays.fill(value, '!')
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
*/ public abstract class InputStreamUtil { /** * Do not instantiate. */ protected InputStreamUtil() { } /** Default buffer size. */ private static final int BUF_SIZE = 4096; /** * Creates a {@link FileInputStream}. * * @param file the file (must not be {@literal null}) * @return a {@link FileInputStream} to read from the file
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
* * @return the content as a string. * @throws CurlException if an error occurs while accessing the content. */ public String getContentAsString() { final byte[] bytes = new byte[4096]; try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream()); ByteArrayOutputStream baos = new ByteArrayOutputStream()) { int length = bis.read(bytes);
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
class Http2Reader( /** Creates a frame reader with max header table size of 4096. */ private val source: BufferedSource, private val client: Boolean, ) : Closeable { private val continuation: ContinuationSource = ContinuationSource(this.source) private val hpackReader: Hpack.Reader = Hpack.Reader( source = continuation, headerTableSizeSetting = 4096, ) @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
*/ protected FileUtil() { } /** The encoding name for UTF-8. */ private static final String UTF8 = "UTF-8"; /** Default Buffer Size */ protected static final int DEFAULT_BUF_SIZE = 4096; // 4k /** Max Buffer Size */ protected static final int MAX_BUF_SIZE = 10 * 1024 * 1024; // 10m /** * Returns the canonical path string for this abstract pathname. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
*/ public abstract class ReaderUtil { /** * Do not instantiate. */ protected ReaderUtil() { } /** Default buffer size */ private static final int BUF_SIZE = 4096; /** * Creates a {@link Reader} to read from a file with the specified encoding. * * @param is * the input stream (must not be {@literal null}) * @param encoding
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
private static void copy(URL url, File file) throws IOException { InputStream in = url.openStream(); try { OutputStream out = new FileOutputStream(file); try { byte[] buf = new byte[4096]; for (int read = in.read(buf); read != -1; read = in.read(buf)) { out.write(buf, 0, read); } } finally { out.close(); } } finally { in.close();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
try (BufferedInputStream bis = new BufferedInputStream(handler.get()); ContentOutputStream dfos = new ContentOutputStream(threshold, Curl.tmpDir)) { final byte[] bytes = new byte[4096]; int length = bis.read(bytes); while (length != -1) { if (length != 0) { final int len = length; logger.fine(() -> {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
public String getCookieSearchParameterKeys() { return "q,lang"; } @Override public Integer getCookieSearchParameterMaxLengthAsInteger() { return 4096; } @Override public String getCookieSearchParameterName() { return "FESS_SEARCH_PARAM"; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0)