Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 238 for cleaner (0.03 sec)

  1. 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);
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            }
        }
    
        /**
         * Emergency cleanup method to prevent resource leaks during finalization
         */
        private void emergencyCloseHandle() {
            try {
                synchronized (this) {
                    // Force close the handle
                    this.open = false;
                    this.usageCount.set(0);
    
                    // Clear mutable references to free memory
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

                int bytesRead = fis.read(buffer);
                String content = new String(buffer, 0, bytesRead);
                assertEquals("Test response body", content);
            } finally {
                // Clean up
                tempFile.delete();
            }
        }
    
        public void test_createResponseBodyFile_emptyBody() throws Exception {
            // Create a mock ResponseData with empty body
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            assertTrue(mockService.getPort() > 0);
            assertEquals(0, mockService.getRegistrationCount());
        }
    
        /**
         * Test the complete workflow of witness registration, notification, and cleanup
         */
        @Test
        void testCompleteWitnessWorkflow() throws Exception {
            // Simulate complete witness workflow
    
            // 1. Service discovery and registration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      /** Returns the trailers after the HTTP response if they're ready. May be empty. */
      @Throws(IOException::class)
      fun peekTrailers(): Headers?
    
      /**
       * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously.
       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
       * Carries an exchange. This is usually a connection, but it could also be a connect plan for
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

            public static class Config {
                public static final String KEEP_ORIGINAL_BODY = "keep.original.body";
                public static final String CLEANUP_ALL = "cleanup.all";
                public static final String CLEANUP_URL_FILTERS = "cleanup.urlFilters";
                public static final String JCIFS_PREFIX = "jcifs.";
                public static final String HTML_CANONICAL_XPATH = "html.canonical.xpath";
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. 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 -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. 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
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertEquals("Braces should be balanced", openBraces, closeBraces);
            }
        }
    
        /**
         * Test that InputStream is properly closed even when exception occurs.
         * Verifies try-with-resources cleanup behavior.
         */
        @Test
        public void testResourceLoading_exceptionHandling() {
            try {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. 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();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top