- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 158 for cleanly (1.95 sec)
-
src/main/java/jcifs/util/SecureKeyManager.java
import org.slf4j.LoggerFactory; /** * Secure key management for SMB encryption. * Provides centralized management of encryption keys with secure storage and cleanup. * * Features: * - Secure key storage with optional KeyStore integration * - Automatic key cleanup on close * - Thread-safe key management * - Key derivation utilities * - Memory wiping capabilities */ public class SecureKeyManager implements AutoCloseable {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
this.leaseToPath = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(1); this.changeNotifier = new DirectoryChangeNotifier(this); // Schedule periodic cache cleanup scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS); } /** * Request a directory lease * * @param directoryPath directory path
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
// Release the regions back to the pool before cleanup bufferManager.releaseSendRegion(region1); bufferManager.releaseReceiveRegion(region2); long allocatedBeforeCleanup = bufferManager.getTotalAllocated(); // Cleanup should not throw exception assertDoesNotThrow(() -> bufferManager.cleanup()); // After cleanup, all regions should be released (but the count may not match exactlyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
this.numOfThreads = numOfThreads; return this; } /** * Enables cleanup operations for this job. * * @return this job instance for method chaining */ public GenerateThumbnailJob cleanup() { cleanup = true; return this; } @Override public String execute() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
assertTrue(PreauthIntegrityService.getHashAlgorithmName(0xFF).startsWith("Unknown")); } @Test @DisplayName("Test service cleanup") public void testServiceCleanup() throws CIFSException { String sessionId1 = "cleanup-test-1"; String sessionId2 = "cleanup-test-2"; byte[] salt = preauthService.generatePreauthSalt();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
import org.junit.jupiter.api.Timeout; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Simple memory management tests to validate basic resource cleanup functionality */ public class SimpleMemoryManagementTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport; private Configuration mockConfig;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, nameFilter); // Then: Iterator should have no elements assertFalse(iterator.hasNext()); // Cleanup iterator.close(); } @Test @DisplayName("Iterator should handle filter that throws CIFSException") void testIterator_FilterThrowsException() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Then - Session should be in consistent state // The double-check pattern should prevent inconsistent cleanup assertTrue(releaseCount.get() > 0 || acquireCount.get() > 0, "Release and acquire counts should be processed"); } /** * Test that trees collection is properly cleared during cleanup. */ @Test public void testTreesCollectionCleanup() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
* * @param executorService the executor service for parallel processing * @param cleanup whether to run in cleanup mode * @return the number of tasks processed */ public int generate(final ExecutorService executorService, final boolean cleanup) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final List<String> idList = new ArrayList<>();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
System.out.println("Sample decryption failed (acceptable for concurrent test): " + e.getMessage()); } } // Cleanup context.close(); } @Test @DisplayName("Should handle AES-CCM encryption correctly") void testAESCCMEncryption() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)