- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for isComplete (0.05 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 9: Test lease break // Re-populate cache directoryLeaseManager.updateDirectoryCache(directoryPath, files); assertTrue(cacheEntry.isComplete()); // Simulate lease break with loss of read cacheRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
return leaseKey; } /** * Checks if the complete directory enumeration has been cached * @return true if full enumeration is cached */ public boolean isComplete() { return isComplete; } /** * Gets the cache scope (ALL or IMMEDIATE_CHILDREN) * @return the cache scope */ public DirectoryCacheScope getScope() { return scope;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(cacheEntry); assertTrue(cacheEntry.isComplete()); assertEquals(2, cacheEntry.getChildren().size()); // Verify the cached files have correct names List<DirectoryCacheEntry.FileInfo> children = cacheEntry.getChildren();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
try { this.isComplete = true; this.hasChanges = false; this.lastUpdateTime = System.currentTimeMillis(); } finally { lock.writeLock().unlock(); } } public void invalidate() { lock.writeLock().lock(); try { children.clear(); isComplete = false; hasChanges = true;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
*/ public List<SmbFile> getCachedDirectoryListing(String directoryPath) { DirectoryCacheEntry entry = getCacheEntry(directoryPath); if (entry == null || !entry.isComplete()) { return null; } List<SmbFile> files = new ArrayList<>(); for (DirectoryCacheEntry.FileInfo fileInfo : entry.getChildren()) { try {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
@Override public String getRealm() { return null; } @Override public boolean isConnectionBased() { return false; } @Override public boolean isComplete() { return false; } @Override public Header authenticate(final Credentials credentials, final HttpRequest request) throws AuthenticationException { return null; }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
}); assertEquals("unexpected EOF reading netbios session header", exception.getMessage()); } @Test @DisplayName("readPacketType should throw IOException on incomplete header") void testReadPacketTypeIncompleteHeader() { byte[] headerData = { (byte) 0x81, (byte) 0x00 }; // Only 2 bytes instead of 4 ByteArrayInputStream bais = new ByteArrayInputStream(headerData);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/bufio/scan.go
// Is the error because there wasn't a full rune to be decoded? // FullRune distinguishes correctly between erroneous and incomplete encodings. if !atEOF && !utf8.FullRune(data) { // Incomplete; get more bytes. return 0, nil, nil } // We have a real UTF-8 encoding error. Return a properly encoded error rune
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
if tracker.ItemsFailed > 0 && tracker.RetryAttempts < 4 { tracker.RetryAttempts++ healingLogEvent(ctx, "Healing of drive '%s' is incomplete, retrying %s time (healed: %d, skipped: %d, failed: %d).", disk, humanize.Ordinal(int(tracker.RetryAttempts)), tracker.ItemsHealed, tracker.ItemsSkipped, tracker.ItemsFailed) tracker.resetHealing()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
int bytesRead = readPacket.readTrailerWireFormat(bais, buffer, 0); assertEquals(written, bytesRead); } @Test @DisplayName("readTrailerWireFormat should throw IOException on incomplete data") void testReadTrailerWireFormatIncompleteData() { byte[] buffer = new byte[10]; // Too small buffer ByteArrayInputStream bais = new ByteArrayInputStream(buffer);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)