- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for 4096 (0.01 sec)
-
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) -
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) -
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) -
src/main/java/org/codelibs/core/io/CopyUtil.java
public abstract class CopyUtil { /** * Do not instantiate. */ protected CopyUtil() { } /** Buffer size used for copying. */ protected static final int DEFAULT_BUF_SIZE = 4096; // //////////////////////////////////////////////////////////////// // from InputStream to OutputStream // /** * Copies from an input stream to an output stream. * <p>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
*/ @ParameterizedTest @ArgumentsSource(ProtocolParamProvider::class) fun readTimeoutMoreGranularThanBodySize(protocol: Protocol) { setUp(protocol) val body = CharArray(4096) // 4KiB to read. Arrays.fill(body, 'y') server.enqueue( MockResponse .Builder() .body(String(body)) .throttleBody(1024, 1, TimeUnit.SECONDS) // Slow connection 1KiB/second.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
@Override public Long getTimeAdjustTimeMillisAsLong() { return 4096L; // Decimal equivalent } }; FessTimeResourceProvider specialProvider = new FessTimeResourceProvider(specialConfig); assertNotNull(specialProvider); assertEquals(Long.valueOf(4096L), specialConfig.getTimeAdjustTimeMillisAsLong()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertCached(false, 401) assertCached(false, 402) assertCached(false, 403) assertCached(true, 404) assertCached(true, 405) assertCached(false, 406) assertCached(false, 408) assertCached(false, 409) // the HTTP spec permits caching 410s, but the RI doesn't. assertCached(true, 410) assertCached(false, 411) assertCached(false, 412) assertCached(false, 413)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0)