Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for invalidpath (0.11 sec)

  1. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            }
        }
    
        public void test_writeThreadDump_withInvalidPath() {
            // Test with invalid file path (directory that doesn't exist)
            String invalidPath = "/nonexistent/directory/thread-dump.txt";
    
            try {
                ThreadDumpUtil.writeThreadDump(invalidPath);
                // Should not throw exception but log warning
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                if ((newState & Smb2LeaseState.SMB2_LEASE_READ_CACHING) == 0) {
                    // Lost read cache - invalidate directory cache
                    entry.invalidate();
                }
            } else {
                // Lease completely broken - invalidate cache
                entry.invalidate();
            }
    
            if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. 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)
  5. cmd/erasure-multipart.go

    		}
    		partInfosInQuorum[pidx] = ObjectPartInfo{
    			Number: partNumbers[pidx],
    			Error: InvalidPart{
    				PartNumber: partNumbers[pidx],
    			}.Error(),
    		}
    	}
    	return partInfosInQuorum, nil
    }
    
    func objPartToPartErr(part ObjectPartInfo) error {
    	if strings.Contains(part.Error, "file not found") {
    		return InvalidPart{PartNumber: part.Number}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

      }
    
    
      public void testInvalidate_empty() {
        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked("a");
          cache.getUnchecked("b");
          cache.invalidate("a");
          cache.invalidate("b");
          cache.invalidate(0);
          checkEmpty(cache);
        }
      }
    
      public void testInvalidateAll_empty() {
        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked("a");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(0, 10);
    
        assertEquals(Integer.valueOf(10), cache.get(0, loader));
        assertEquals(Integer.valueOf(1), cache.get(20, loader));
        assertEquals(Integer.valueOf(2), cache.get(34, loader));
    
        cache.invalidate(0);
        assertEquals(Integer.valueOf(3), cache.get(0, loader));
    
        cache.put(0, 10);
        cache.invalidateAll();
        assertEquals(Integer.valueOf(4), cache.get(0, loader));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

                this.lastUpdateTime = System.currentTimeMillis();
            } finally {
                lock.writeLock().unlock();
            }
        }
    
        /**
         * Invalidate the cache
         */
        public void invalidate() {
            lock.writeLock().lock();
            try {
                children.clear();
                isComplete = false;
                hasChanges = true;
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                if (Smb2LeaseState.hasWriteCaching(oldState) && !Smb2LeaseState.hasWriteCaching(newState)) {
                    flushCachedWrites(entry.getPath());
                }
    
                // Invalidate cached data if losing read cache
                if (Smb2LeaseState.hasReadCaching(oldState) && !Smb2LeaseState.hasReadCaching(newState)) {
                    invalidateReadCache(entry.getPath());
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. 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)
Back to top