Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. guava/src/com/google/common/graph/Network.java

       *
       * <p>If {@code node} is removed from the network after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          Entry<K, V> entryCopy = mapEntry(entry.getKey(), entry.getValue());
    
          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
          assertThrows(IllegalStateException.class, iterator::remove);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheStats.java

     *             missCount}.
     *       </ul>
     *   <li>When an entry is evicted from the cache, {@code evictionCount} is incremented.
     *   <li>No stats are modified when a cache entry is invalidated or manually removed.
     *   <li>No stats are modified by operations invoked on the {@linkplain Cache#asMap asMap} view of
     *       the cache.
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        for (int i = 0; i < 10; i++) {
          cache.invalidate(keyPrefix + i);
          assertEquals(
              "key: " + keyPrefix + i, Integer.valueOf(i + shift2), cache.getUnchecked(keyPrefix + i));
        }
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount()); // these are the invalidated ones
    
        // old timeouts must expire after this wait
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top