Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for onValidate (0.07 sec)

  1. android/guava/src/com/google/common/cache/RemovalCause.java

     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
       * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link
       * Map#remove}, {@link ConcurrentMap#remove}, or {@link Iterator#remove}.
       */
      EXPLICIT {
        @Override
        boolean wasEvicted() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L);
            entry.markComplete();
    
            // Test FILE_ADDED - should invalidate cache
            directoryLeaseManager.handleDirectoryChange(directoryPath, "file3.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED);
            assertFalse(entry.isComplete());
    
            // Re-setup for next 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)
  3. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

              @Override
              public Integer getIfPresent(Object key) {
                throw new UnsupportedOperationException();
              }
    
              @Override
              public void invalidate(Object key) {
                invalidated.add(key);
              }
            };
    
        List<Integer> toInvalidate = ImmutableList.of(1, 2, 3, 4);
        cache.invalidateAll(toInvalidate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         * Used in SMB2 READ and WRITE requests to indicate RDMA channel
         */
        public static final int SMB2_CHANNEL_RDMA_V1 = 0x00000001;
    
        /**
         * SMB2 Channel constant for RDMA V1 invalidate
         * Used to indicate RDMA with invalidation
         */
        public static final int SMB2_CHANNEL_RDMA_V1_INVALIDATE = 0x00000002;
    
        /**
         * SMB2 RDMA Transform Capabilities negotiate context ID
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        }
    
        /**
         * Encode the JSP content.
         * @param value The value.
         * @return The encoded value.
         */
        public static String encodeJsp(final String value) {
            return value.replace("<% try{ %>", TRY_STATEMENT)
                    .replace("<% }catch(Exception e){session.invalidate();} %>", CACHE_AND_SESSION_INVALIDATE_STATEMENT);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            new Receiver<ReferenceEntry<Integer, Integer>>() {
              @Override
              public void accept(ReferenceEntry<Integer, Integer> entry) {
                Integer key = entry.getKey();
                cache.invalidate(key);
              }
            });
      }
    
      public void testEviction_lru() {
        // test lru within a single segment
        IdentityLoader<Integer> loader = identityLoader();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. 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)
  8. docs/smb3-features/01-smb3-lease-design.md

                entry.updateState(newState);
                // Flush any cached data if losing write cache
                if (!entry.hasWriteCache()) {
                    flushCachedWrites(entry.path);
                }
                // Invalidate cached data if losing read cache
                if (!entry.hasReadCache()) {
                    invalidateReadCache(entry.path);
                }
                entry.breaking = false;
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          Key key2 = new Key(2);
          String value2 = key2.toString();
          assertSame(value1, cache.getUnchecked(key1));
          assertSame(value2, cache.getUnchecked(key2));
          cache.invalidate(key1);
          assertFalse(cache.asMap().containsKey(key1));
          assertTrue(cache.asMap().containsKey(key2));
          assertEquals(1, cache.size());
          assertEquals(ImmutableSet.of(key2), cache.asMap().keySet());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            // }
    
            this.memoryRegister = new Object(); // Placeholder
    
            log.debug("DiSNI memory region registered, size: {}", buffer.remaining());
        }
    
        @Override
        public void invalidate() {
            if (valid && memoryRegister != null) {
                try {
                    // In real implementation, this would deregister the memory:
                    // memoryRegister.deregisterMemory();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top