- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 468 for exceeds (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
*/ public void test_isValid_exceedsMaxDepth() throws Exception { final UrlQueue<?> urlQueue = new UrlQueueImpl<>(); urlQueue.setUrl("http://example.com/"); urlQueue.setDepth(5); // Exceeds maxDepth of 3 when(urlFilter.match(anyString())).thenReturn(true); // Use reflection to access protected methodRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
// Multiple writes that exceed threshold should switch to file ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2 }); assertTrue(cos.isInMemory()); cos.write(new byte[] { 3, 4, 5 }); // Total 6 bytes, exceeds threshold of 5 assertFalse(cos.isInMemory()); File file = cos.getFile();Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
* @throws CrawlerSystemException if the input stream is null * @throws ExtractException if an error occurs during extraction * @throws MaxLengthExceededException if the extracted content size exceeds the maximum limit */ @Override public ExtractData getText(final InputStream in, final Map<String, String> params) { if (in == null) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
import java.util.logging.Logger; import org.apache.commons.io.output.DeferredFileOutputStream; /** * ContentOutputStream is a custom output stream that extends DeferredFileOutputStream. * It writes data to a temporary file once the data size exceeds a specified threshold. * * <p>This class ensures that the temporary file is deleted if it is not needed.
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* @param field the field to be used for keyword extraction * @return an array of keywords extracted from the query string, or an empty array if the number of keywords exceeds the maximum allowed or if any keyword exceeds the maximum length */ public static String[] parseQuery(final String q, final String field) { final List<String> keywords = getKeywords(q, new String[] { field });Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 11:21:40 UTC 2025 - 17.5K bytes - Viewed (1) -
src/main/java/org/codelibs/core/io/FileUtil.java
* <p> * <strong>Note:</strong> This method loads the entire file into memory. * An {@link IORuntimeException} will be thrown if the file exceeds the specified maxSize * to prevent OutOfMemoryError. For large files, use streaming APIs instead. * </p> * * @param file * The file. Must not be {@literal null}.Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
} } private fun loggerTag(loggerName: String): String { // We need to handle long logger names before they hit Log. // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters return knownLoggers[loggerName] ?: loggerName.take(23) } fun enable() { try { for ((logger, tag) in knownLoggers) { enableLogging(logger, tag) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} else { responseData.setResponseBody(file, false); if (logger.isDebugEnabled()) { logger.debug("File size exceeds cache threshold, using file reference: file={}, size={}, threshold={}", file.getAbsolutePath(), file.length(), maxCachedContentSize); } }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
} catch (ioe: IOException) { assertThat(ioe.message).isEqualTo("google.com") val cause = ioe.cause!! assertThat(cause).isInstanceOf<IOException>() assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes") } } @Test fun failOnBadResponse() { server.enqueue(dnsResponse("00")) try { dns.lookup("google.com") fail<Any>()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
final byte[] bytes = FileUtil.readBytes(file, 1024); assertThat(new String(bytes, "UTF-8"), is(content)); } /** * Test readBytes with custom maxSize - file exceeds limit * * @throws Exception */ @Test(expected = IORuntimeException.class) public void testReadBytes_CustomMaxSize_ExceedsLimit() throws Exception {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0)