Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 358 for cleaner (0.08 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    3. Ensure tests are independent and can run in any order
    4. Clean up resources in finally blocks or use try-with-resources
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Nov 19 08:55:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/CloseableIterator.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.util.Iterator;
    
    /**
     * An iterator that implements AutoCloseable to allow resource cleanup.
     * This interface combines Iterator functionality with automatic resource management.
     *
     * @param <T> the type of elements returned by this iterator
     * @author mbechler
     */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/UserInfoService.java

         */
        public UserInfoService() {
            // Default constructor
        }
    
        /**
         * Deletes user information records older than the specified number of days.
         * This method is used for data cleanup and maintenance operations.
         *
         * @param days the number of days to keep user information records
         */
        public void deleteBefore(final int days) {
            userInfoBhv.queryDelete(cb -> {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java

     * documents and converting them into a key-value structure.
     *
     * <p>This interface extends {@link java.io.Closeable}, so implementations
     * should also handle resource cleanup when the {@link #close()} method is called.</p>
     */
    public interface DocumentReader extends Closeable {
        /**
         * Reads a document and returns its contents as a map.
         *
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            tryDrainReferenceQueues();
            return null;
          }
    
          return value;
        }
    
        /**
         * Performs routine cleanup following a read. Normally cleanup happens during writes, or from
         * the cleanupExecutor. If cleanup is not observed after a sufficient number of reads, try
         * cleaning up from the read thread.
         */
        void postReadCleanup() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     * <p>Thread Safety: This class is thread-safe. Each evaluate() call creates
     * a new GroovyShell instance to ensure thread isolation.</p>
     *
     * <p>Resource Management: GroovyClassLoader instances are properly managed
     * and cleaned up after script evaluation to prevent memory leaks.</p>
     */
    public class GroovyEngine extends AbstractScriptEngine {
        private static final Logger logger = LogManager.getLogger(GroovyEngine.class);
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/FinalizableWeakReference.java

       * @param queue that should finalize the referent
       */
      protected FinalizableWeakReference(@Nullable T referent, FinalizableReferenceQueue queue) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.19.md

    ### Other (Cleanup or Flake)
    
    - Adds additional testing to ensure that udp pods conntrack are cleaned up ([#90180](https://github.com/kubernetes/kubernetes/pull/90180), [@JacobTanenbaum](https://github.com/JacobTanenbaum)) [SIG Architecture, Network and Testing]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Jan 05 05:42:32 GMT 2022
    - 489.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

        }
    
        /**
         * Deletes all crawling sessions and their parameters except for the specified active sessions.
         * This is a cleanup operation that removes inactive session data while preserving active ones.
         *
         * @param activeSessionId a set of session IDs to preserve during the cleanup operation
         */
        public void deleteOldSessions(final Set<String> activeSessionId) {
            final List<CrawlingInfo> activeSessionList =
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/HandlerTest.java

        @DisplayName("parseURL: fragment is moved into path and ref cleared")
        void testParseURL_FragmentMovedToPath() throws MalformedURLException {
            // Arrange & Act
            Handler handler = newHandler();
            URL url = new URL(null, "smb://server/share#frag", handler);
    
            // Assert: ref is moved into path by Handler.parseURL
            assertNull(url.getRef(), "Ref must be cleared by Handler");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top