Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for invalidated (0.25 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        List<Object> invalidated = new ArrayList<>();
        Cache<Integer, Integer> cache =
            new AbstractCache<Integer, Integer>() {
              @Override
              public Integer getIfPresent(Object key) {
                throw new UnsupportedOperationException();
              }
    
              @Override
              public void invalidate(Object key) {
                invalidated.add(key);
              }
            };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. 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)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. 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)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top