- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for thresholds (0.21 sec)
-
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
// With threshold 1, writing 1 byte should stay in memory ContentOutputStream cos = new ContentOutputStream(1, Curl.tmpDir); cos.write(new byte[] { 1 }); assertTrue(cos.isInMemory()); assertFalse(cos.done); cos.close(); } @Test public void testThresholdOneExceeded() throws IOException { // With threshold 1, writing 2 bytes should go to fileRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
this.encoding = encoding; return this; } /** * Sets the threshold size for the request body. * * @param threshold the threshold * @return this CurlRequest instance */ public CurlRequest threshold(final int threshold) { this.threshold = threshold; return this; } /** * Enables GZIP compression for the request. *Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
/** * Constructs a ContentOutputStream with a specified threshold and temporary directory. * * @param threshold the threshold in bytes for writing to memory before writing to a file * @param tmpDir the temporary directory to create the file in */ public ContentOutputStream(final int threshold, final File tmpDir) { super(threshold, PREFIX, SUFFIX, tmpDir); } @OverrideRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
public void testThresholdMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); int threshold = 2048; CurlRequest result = request.threshold(threshold); assertSame(request, result); // Fluent API assertEquals(threshold, request.threshold()); } @Test public void testGzipMethod() {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
} /** * Deletes old words based on a threshold date. * @param threshold The threshold date. * @return The SuggestDeleteResponse. */ public SuggestDeleteResponse deleteOldWords(final ZonedDateTime threshold) { if (logger.isInfoEnabled()) { logger.info("Deleting old words: index={}, threshold={}", index, threshold); } final long start = System.currentTimeMillis();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 34.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
* Specified failure types will not be logged or counted as errors. */ @Size(max = 1000) public String ignoreFailureType; /** * Threshold for failure count before stopping crawling of a URL. * Set to -1 to disable the threshold check. */ @Required @Min(-1) @Max(10000) @ValidateTypeFailure public Integer failureCountThreshold; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
// Minimal sleep to ensure timestamp separation (reduced from 2000ms to 100ms total) Thread.sleep(50); ZonedDateTime threshold = ZonedDateTime.now(); Thread.sleep(50); // Index new data after threshold document = new HashMap<>(); document.put(field, "検索エンジン"); suggester.indexer().indexFromDocument(new Map[] { document });Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 28.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
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) -
src/test/java/org/codelibs/curl/CurlTest.java
// ## Assert ## assertEquals(getViaFactory.method(), getViaConstructor.method()); assertEquals(getViaFactory.encoding(), getViaConstructor.encoding()); assertEquals(getViaFactory.threshold(), getViaConstructor.threshold()); } /* @Test public void test_Get_ssl() throws Exception { final String filename = "config/certs/http_ca.crt";Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0)