- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 105 for ensures (0.04 sec)
-
src/main/java/org/codelibs/fess/storage/StorageClient.java
* * @param objectName the name/path of the object * @param tags the tags to set */ void setObjectTags(String objectName, Map<String, String> tags); /** * Ensures the bucket exists, creating it if necessary. */ void ensureBucketExists(); /** * Checks if storage is properly configured and accessible. * * @return true if storage is availableRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
if (host == null) { return; } // Atomically get or create the AtomicLong for this host using Cache.get() // This ensures thread-safe, atomic get-or-create behavior // Initialize with 0 to mark uninitialized state final AtomicLong lastTime = lastTimes.get(host, () -> new AtomicLong(0));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
*/ public boolean isDeleted() { return isUpdated() && newInputs.length == 0; } /** * Sorts both the current inputs and new inputs arrays in place. * This ensures consistent ordering for comparison and equality operations. */ public void sort() { if (inputs != null) { Arrays.sort(inputs); } if (newInputs != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
/** * 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. * It uses a logger to log warnings if there are issues deleting the temporary file.</p> * * <p>Fields:</p> * <ul>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import org.codelibs.core.io.FileUtil; /** * A custom InputStream that wraps a temporary file. This class ensures that the temporary file * is deleted when the stream is closed. */ public class TemporaryFileInputStream extends InputStream { private final File tempFile; private final FileInputStream fileInputStream;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} catch (RuntimeException e) { assertEquals("Simulated processing error", e.getMessage()); // If InputStream wasn't properly closed, this would leak resources // try-with-resources ensures cleanup happens } catch (IOException e) { fail("Should not throw IOException: " + e.getMessage()); } } /** * Test resource content integrity.
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java
import org.codelibs.fess.crawler.exception.ExtractException; import org.dbflute.utflute.core.PlainTestCase; /** * Test class to verify proper resource management in Extractor implementations. * This test ensures that resources are properly closed even when exceptions occur. */ public class ExtractorResourceManagementTest extends PlainTestCase {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
* * <p>The job supports selective crawling by specifying configuration IDs for different * types of crawlers (web, file, data). It manages the crawler process lifecycle, * handles timeout scenarios, and ensures proper cleanup of resources.</p> * * <p>Key features:</p> * <ul> * <li>Concurrent crawler process management with configurable limits</li> * <li>Selective crawling based on configuration IDs</li>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
assertEquals(before + 1, after); // default implementation pads and calls process() processCalled--; // don't count the tail invocation (makes tests a bit more understandable) } // ensures that the number of invocations looks sane void assertInvariants(int expectedBytes) { // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0)