- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 234 for leave (0.96 sec)
-
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
*/ package jcifs.internal.smb2.lease; /** * SMB2 Lease State constants * * MS-SMB2 2.2.13.2.8 */ public class Smb2LeaseState { /** * No lease caching */ public static final int SMB2_LEASE_NONE = 0x00; /** * Read caching lease (R) */ public static final int SMB2_LEASE_READ_CACHING = 0x01; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(0, cleaned); assertNotNull(leaseManager.getLease(key)); } @Test @DisplayName("Should detect lease capabilities") void testLeaseCapabilities() { String path = "/share/file.txt"; // Test full lease Smb2LeaseKey fullKey = leaseManager.requestLease(path + "1", Smb2LeaseState.SMB2_LEASE_FULL);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
/** * Gets the lease state granted by the server * @return the granted lease state */ public int getLeaseState() { return leaseState; } /** * Gets the lease flags from the server response * @return the lease flags */ public int getLeaseFlags() { return leaseFlags; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertArrayEquals(testKey.getKey(), encodedKey); // Verify lease state at offset 40 (24 + 16 for key) assertEquals(testState, SMBUtil.readInt4(buffer, 40)); // Verify lease flags at offset 44 (40 + 4 for state) assertEquals(0, SMBUtil.readInt4(buffer, 44)); // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
} /** * Gets the granted lease state from the break response * @return the lease state */ public int getLeaseState() { return leaseState; } /** * Gets the lease flags from the break response * @return the lease flags */ public int getLeaseFlags() { return flags; } /** * Gets the lease duration from the break responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
- **MS-SMB2 Section 2.2.36**: SMB2 Change Notify Response - **MS-SMB2 Section 3.3.5.9.11**: Directory Leasing and Caching ## 3. Directory Lease Types ### 3.1 Directory-Specific Lease States ```java public class DirectoryLeaseState extends Smb2LeaseState { // Standard lease states apply, plus directory-specific semantics: // READ_CACHING for directories means: // - Can cache directory enumeration resultsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.29.md
- Updated...
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Mar 12 00:36:01 UTC 2025 - 429.6K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ private final long createTime; /** * The timestamp of the last access to this handle */ private volatile long lastAccessTime; /** * The associated lease key if this handle has an SMB2 lease */ private final Smb2LeaseKey leaseKey; /** * Flag indicating whether this handle is currently being reconnected */ private volatile boolean reconnecting;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
cmd/data-usage-cache.go
return } sz := d.sizeRecursive(path.Key()) leaves = append(leaves, struct { objects uint64 path dataUsageHash }{objects: sz.Objects, path: path}) for ch := range e.Children { add(dataUsageHash(ch)) } } // Add path recursively. add(path) sort.Slice(leaves, func(i, j int) bool { return leaves[i].objects < leaves[j].objects }) for remove > 0 && len(leaves) > 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
@Test @DisplayName("Should generate random lease key with correct size") void testRandomLeaseKeyGeneration() { Smb2LeaseKey key = new Smb2LeaseKey(); assertNotNull(key.getKey()); assertEquals(16, key.getKey().length); assertFalse(key.isZero()); } @Test @DisplayName("Should create lease key from byte array") void testLeaseKeyFromBytes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0)