Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for invalidated (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java

         *
         * @return true if valid, false if invalidated
         */
        public boolean isValid() {
            return valid;
        }
    
        /**
         * Invalidate this memory region
         *
         * After invalidation, the region cannot be used for RDMA operations.
         */
        public abstract void invalidate();
    
        /**
         * Generate local key for this memory region
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

            }
            buf.readOctetArray(contextHandle, 0, 20);
        }
    
        /**
         * Checks if the context handle has been invalidated (all zeros).
         * A successful unregistration typically results in a zeroed context handle.
         *
         * @return true if the context handle has been invalidated
         */
        public boolean isContextHandleInvalidated() {
            if (contextHandle == null) {
                return true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

        }
    
        @Override
        public void invalidate() {
            if (valid && memoryRegister != null) {
                try {
                    // In real implementation, this would deregister the memory:
                    // memoryRegister.deregisterMemory();
    
                    log.debug("DiSNI memory region invalidated");
                } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

        }
    
        /**
         * Repositions this stream to the position at the time the mark method was last called.
         *
         * @throws IOException if this stream has not been marked or if the mark has been invalidated
         */
        @Override
        public synchronized void reset() throws IOException {
            inputStream.reset();
        }
    
        /**
         * Skips over and discards n bytes of data from this input stream.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top