Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 535 for cleanly (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

     * certificate.
     *
     * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to
     * the TLS handshake and to extract the trusted CA certificate for the benefit of certificate
     * pinning.
     */
    abstract class CertificateChainCleaner {
      @Throws(SSLPeerUnverifiedException::class)
      abstract fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/transport/Transport.java

                    this.state = 6;
                    cleanupThread(timeout);
                }
            }
        }
    
        /**
         * Cleans up the transport thread.
         *
         * @param timeout the maximum time to wait for thread cleanup in milliseconds
         * @throws TransportException if thread cleanup fails
         */
        private synchronized void cleanupThread(final long timeout) throws TransportException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            // ## Act & Assert ##
            // close() should not throw even though the file was already deleted
            cos.close(); // done=true since getFile() was called, so cleanup is skipped
        }
    
        @Test
        public void testCloseWithoutGetFile_CleansUpTempFile() throws IOException {
            // ## Arrange ##
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  4. CLAUDE.md

    }
    
    @AfterClass
    public static void afterClass() {
        runner.close();
        runner.clean();
    }
    ```
    
    ### Testing Best Practices
    
    - Minimize `Thread.sleep()` - use only when absolutely necessary
    - For timestamp tests: use minimal delays (50-100ms)
    - Clean only test-specific indices (not `_all` unless needed)
    - Use `runner.refresh()` after index operations
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java

            // Before cleanup
            GetIndexResponse beforeRemove = runner.admin().indices().prepareGetIndex().addIndices(getIndexName() + "*").execute().actionGet();
            assertTrue("Should have at least 2 indices before cleanup", beforeRemove.getIndices().length >= 2);
    
            // Remove orphaned indices
            suggester.removeDisableIndices();
    
            // After cleanup
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                                    } catch (Exception e) {
                                        // Ignore cleanup errors
                                    }
                                });
                    } catch (Exception e) {
                        // Ignore cleanup errors
                    }
                }
            }
        }
    
        @Nested
        @DisplayName("Integration with AbstractUpgradeGoal")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

        }
    
        @AfterEach
        public void tearDown() throws IOException {
            if (manager != null) {
                manager.shutdown();
            }
    
            // Clean up system property
            System.clearProperty("jcifs.smb.client.handleStateDirectory");
    
            // Clean up temp directory
            if (tempDir != null && Files.exists(tempDir)) {
                Files.walk(tempDir)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            } finally {
                // Cleanup
                try {
                    client.admin().indices().prepareDelete(suggester.getIndex() + "*").execute().actionGet();
                } catch (Exception cleanupError) {
                    // Ignore cleanup errors
                }
                suggester.shutdown();
            }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/SecureCredentialStorageTest.java

        public void tearDown() throws Exception {
            if (storage != null && !storage.isDestroyed()) {
                try {
                    storage.close();
                } catch (Exception e) {
                    // Ignore cleanup exceptions
                }
            }
            if (masterPassword != null) {
                Arrays.fill(masterPassword, '\0');
            }
        }
    
        @Test
        public void testEncryptDecrypt() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                    try {
                        Files.delete(path);
                    } catch (IOException e) {
                        // Ignore cleanup errors
                    }
                });
            }
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getName() {
            // Test getting the generator name
            assertEquals("TestGenerator", thumbnailGenerator.getName());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top