- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for invalidated (0.34 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Simulate file addition directoryLeaseManager.handleDirectoryChange(directoryPath, "newfile.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED); // Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 9: Test lease break // Re-populate cache directoryLeaseManager.updateDirectoryCache(directoryPath, files);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
int newState = Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING; // Lost read cache directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, newState); // Cache should be invalidated assertFalse(entry.isComplete()); // Verify base lease manager was called verify(baseLeaseManager).handleLeaseBreak(leaseKey, newState); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
assertTrue(context.isValid()); // Simulate validation failure (context should be invalidated) byte[] incorrectHash = new byte[64]; secureRandom.nextBytes(incorrectHash); try { preauthService.validatePreauthIntegrity(sessionId, incorrectHash);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
additionalPatterns.add("http://test.com/.*"); additionalPatterns.add("http://sample.org/.*"); urlFilterService.addIncludeUrlFilter(sessionId, additionalPatterns); // Cache should be invalidated and new patterns should be retrieved patterns = urlFilterService.getIncludeUrlPatternList(sessionId); assertEquals(3, patterns.size()); urlFilterService.delete(sessionId); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
// Invalidate affected cache entries DirectoryCacheEntry entry = leaseManager.getCacheEntry(directoryPath); if (entry != null) { entry.removeChild(fileName); // If too many inconsistencies, invalidate entire cache if (entry.getInconsistencyCount() > 5) { entry.invalidate(); } } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} /** * Invalidate this memory region */ public abstract void invalidate(); protected abstract int generateLocalKey(); protected abstract int generateRemoteKey(); protected abstract long getBufferAddress(ByteBuffer buffer); @Override public void close() { invalidate(); valid = false; } } ```Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
if (file != null) { try { // Invalidate any cached read data // This would typically clear file's internal read buffers // For now, we log the action as the actual implementation // depends on SmbFile's internal caching mechanism log.info("Invalidated read cache for: {}", path); } catch (Exception e) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
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/main/java/jcifs/smb/PreauthIntegrityService.java
this.currentHash = newHash.clone(); } } } public boolean isValid() { return isValid; } public void invalidate() { this.isValid = false; // Clear sensitive data synchronized (hashLock) { Arrays.fill(currentHash, (byte) 0); } } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0)