- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 232 for Clean (0.18 sec)
-
internal/lru/lru.go
diff := c.evictList.Length() - size if diff < 0 { diff = 0 } for i := 0; i < diff; i++ { c.removeOldest() } c.size = size return diff } // Close destroys cleanup goroutine. To clean up the cache, run Purge() before Close(). // func (c *LRU[K, V]) Close() { // c.mu.Lock() // defer c.mu.Unlock() // select { // case <-c.done: // return // default: // } // close(c.done) // }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
docs/en/docs/contributing.md
/// ### Format the code There is a script that you can run that will format and clean all your code: <div class="termy"> ```console $ bash scripts/format.sh ``` </div> It will also auto-sort all your imports. ## Tests
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Jul 26 11:35:42 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
fun processNextFrame(): Boolean = try { reader!!.processNextFrame() receivedCloseCode == -1 } catch (e: Exception) { failWebSocket(e = e) false } /** * Clean up and publish necessary close events when the reader is done. Invoked only by the reader * thread. */ fun finishReader() { val code: Int val reason: String? val sendOnClosed: Boolean
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
} } } log.info("Force rotated {} keys", rotated); return rotated; } /** * Clean up old archived key versions * * @param keepVersions number of versions to keep (minimum 1) */ public void cleanupArchivedKeys(int keepVersions) { checkNotClosed();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
* Cleans up processed access results by updating their status in the data service. * This marks the access results as processed and clears the list. * * @param accessResultList the list of access results to clean up * @return the time taken for the cleanup operation in milliseconds, or -1 if no cleanup was needed */ private long cleanupAccessResults(final List<OpenSearchAccessResult> accessResultList) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
@AfterAll void teardownContainer() throws Exception { if (sambaContainer != null) { sambaContainer.stop(); } if (tempDir != null && Files.exists(tempDir)) { // Clean up temporary directory deleteDirectory(tempDir); } } @BeforeEach void setupTest() throws Exception { // No specific setup needed - tests will create their own files
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
case LEASE_BREAK: // Release handle, create new one releaseAndRecreate(handle); break; case EXPLICIT_CLOSE: // Clean release releaseHandle(handle); break; } } } ``` ## 10. Performance Considerations ### 10.1 Handle Caching Strategy ```java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
cmd/common-main.go
if value := env.Get(config.EnvConsoleDebugLogLevel, ""); value != "" { os.Setenv("CONSOLE_DEBUG_LOGLEVEL", value) } // pass the console subpath configuration if globalBrowserRedirectURL != nil { subPath := path.Clean(pathJoin(strings.TrimSpace(globalBrowserRedirectURL.Path), SlashSeparator)) if subPath != SlashSeparator { os.Setenv("CONSOLE_SUBPATH", subPath) } } // Enable if prometheus URL is set.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
((TestDataService) dataService).setThrowRuntimeException(true); indexUpdater.start(); // Give the thread time to process exceptions Thread.sleep(2000); // Clean up the thread indexUpdater.setFinishCrawling(true); indexUpdater.interrupt(); indexUpdater.join(2000); // Test passes if no exception is thrown and thread terminates properly
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
} } // Close the writer to release its resources (such as deflaters). ignoreIoExceptions { writer.close() } // Cancel the socket to break out the reader thread, which will clean up after itself. ignoreIoExceptions { socket.cancel() } // Release the threads. writerQueue.shutdown() pushQueue.shutdown() settingsListenerQueue.shutdown() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0)