- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 325 for cleanUp (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/TestThread.java
// so there is no object state put at risk by stopping the threads abruptly. In some cases a test // may put a thread into an uninterruptible operation intentionally, so there is no other way to // clean up these threads. @SuppressWarnings("deprecation") @Override public void tearDown() throws Exception { stop(); join(); if (uncaughtThrowable != null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model. ## Use Case { #use-case } Let's start with an example **use case** and then see how to solve it with this.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
// Create SuggestJob after all components are registered suggestJob = new SuggestJob(); } @Override public void tearDown() throws Exception { // Clean up temp directory if (tempDir != null && tempDir.exists()) { deleteDirectory(tempDir); } super.tearDown(); } private void createRequiredDirectories() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
* and cleaning up quoted strings. * * @param list the list to retrieve the value from * @param index the index of the value to retrieve * @return the cleaned value at the specified index, or empty string if index is out of bounds */ static String getValue(final List<String> list, final int index) { if (index >= list.size()) { return StringUtil.EMPTY;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.3K bytes - Viewed (0) -
callbacks/preload.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
fail("Failed to call protected request method: " + e.getMessage()); return null; } } @Override public void tearDown() throws Exception { // Clean up system properties System.clearProperty("fess.search_engine.http_address"); System.clearProperty("fesen.http.url"); super.tearDown(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
if (handle != null) { handle.setActive(false); // Cancel any pending notifications cancelNotification(handle); // Clean up failure count to prevent memory leak failureCounts.remove(directoryPath); } } /** * Start asynchronous notification monitoring *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
cmd/object-api-utils_test.go
} }) } } func Test_pathNeedsClean(t *testing.T) { type pathTest struct { path, result string } cleantests := []pathTest{ // Already clean {"", "."}, {"abc", "abc"}, {"abc/def", "abc/def"}, {"a/b/c", "a/b/c"}, {".", "."}, {"..", ".."}, {"../..", "../.."}, {"../../abc", "../../abc"}, {"/abc", "/abc"},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
cmd/endpoint.go
} // As this is path in the URL, we should use path package, not filepath package. // On MS Windows, filepath.Clean() converts into Windows path style ie `/foo` becomes `\foo` u.Path = path.Clean(u.Path) if isEmptyPath(u.Path) { return ep, fmt.Errorf("empty or root path is not supported in URL endpoint") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 34.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
tempDir = Files.createTempDirectory("datastore-test").toFile(); tempDir.deleteOnExit(); } @Override public void tearDown() throws Exception { // Clean up temporary files if (tempDir != null && tempDir.exists()) { deleteDirectory(tempDir); } super.tearDown(); } private void deleteDirectory(File dir) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0)