- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for invalidpath (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @Nested @DisplayName("Invalid input – null file handling") class InvalidPath { @Test void acceptWithNullThrows() { SmbFileFilter throwOnNull = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
when(mockConfig.isDfsDisabled()).thenReturn(false); DfsReferralData mockReferralData = mock(DfsReferralData.class); assertDoesNotThrow(() -> dfsResolver.cache(mockContext, "invalidPath", mockReferralData)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class); // Should not throw any exception. assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "invalidpath", mockReferral)); } @Test void testCache_ValidPath() { // Scenario: A valid referral is cached. DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
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) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
*/ 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 * * @return local key */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.3K bytes - Viewed (0) -
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) -
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) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L); entry.markComplete(); // Invalidate the cache entry.invalidate(); assertFalse(entry.isComplete()); assertTrue(entry.hasChanges()); assertTrue(entry.getChildren().isEmpty()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0)