Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 169 for cleaners (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertTrue(entry.isExpired());
            assertTrue(entry.needsRefresh());
    
            // After expiration, cache should be treated as invalid by manager
            // (In real implementation, expired entries might be cleaned up automatically)
        }
    
        @Test
        public void testDirectoryLeaseContextIntegration() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            DirectoryLeaseContext context =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        /**
         * Stores crawling information and parameters for the specified session.
         * Creates a new crawling info record if none exists or if create flag is true.
         * Also stores any accumulated information parameters and clears the info map.
         *
         * @param sessionId the session ID for the crawling information
         * @param create if true, creates a new crawling info regardless of existing records
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTreeTest.java

            assertEquals(null, result, "Should return null for incompatible type");
        }
    
        /**
         * Test for close() with resource cleanup.
         * Verifies that close properly cleans up resources.
         */
        @Test
        void testClose_withResourceCleanup() {
            // Create a mock that simulates resource cleanup
            doAnswer(invocation -> {
                // Simulate cleanup actions
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            assertTrue(entry.hasChanges());
            assertTrue(entry.needsRefresh());
    
            // Mark as complete (clears changes)
            entry.markComplete();
            assertFalse(entry.needsRefresh());
        }
    
        @Test
        public void testInconsistencyCount() {
            assertEquals(0, entry.getInconsistencyCount());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * either it has exceeded the keep alive limit or the idle connections limit.
       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
       * Returns -1 if no further cleanups are required.
       */
      fun closeConnections(now: Long): Long {
        // Find the longest-idle connections in 2 categories:
        //
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. cmd/os-readdir_test.go

    		if expected[i] != got[i] {
    			return false
    		}
    	}
    
    	// expected and got have same entries.
    	return true
    }
    
    // teardown - cleans up test directories.
    func teardown(testResults []result) {
    	for _, r := range testResults {
    		os.RemoveAll(r.dir)
    	}
    }
    
    // TestReadDir - test function to run various readDir() tests.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                final List<String> list = entry.getValue();
                paramMap.put(entry.getKey(), list.toArray(new String[list.size()]));
            }
            return paramMap;
        }
    
        /**
         * Cleans up resources when the filter is destroyed.
         * Currently performs no cleanup operations.
         */
        @Override
        public void destroy() {
            // nothing
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals(0, next.readParamCalls);
            assertEquals(1, next.readBytesCalls);
        }
    
        @Test
        @DisplayName("readAndXWireFormat clears chaining when errorCode set")
        void testReadAndXWireFormatWithErrorCode() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            assertNull(result, "Cancelled watch should return null");
            verify(tree, times(1)).close();
        }
    
        // Error code 0x10C should clear the notify list and return it
        @Test
        @DisplayName("watch() clears notify list on error 0x10C and returns it")
        void watch_clearsList_onError10C() throws Exception {
            List<FileNotifyInformation> info = spy(new ArrayList<FileNotifyInformation>());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         */
        public ProcessHelper() {
            // Default constructor
        }
    
        /**
         * Cleanup method called when the bean is destroyed.
         * Stops all running processes and cleans up resources.
         */
        @PreDestroy
        public void destroy() {
            for (final String sessionId : runningProcessMap.keySet()) {
                if (logger.isInfoEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 06:54:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top