- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 888 for leases (0.04 sec)
-
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/smb/SmbFileDirectoryLeasingExtension.java
throw SmbException.wrap(e); } } /** * Request directory lease for the given directory * * @param smbFile the directory to request lease for * @param requestedState requested lease state * @param scope cache scope * @return lease key or null if not supported * @throws SmbException if an error occurs */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this directory lease context * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this directory lease context * @param leaseKey the lease key to set */ public void setLeaseKey(Smb2LeaseKey leaseKey) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K 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) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only) // Write name System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4); // Write lease key Smb2LeaseKey key = new Smb2LeaseKey(); key.encode(buffer, 24); // Write lease state SMBUtil.writeInt4(DirectoryLeaseState.DIRECTORY_READ_HANDLE, buffer, 40);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
*/ public boolean isDurableHandleGranted() { return hasDurableHandleResponse(); } /** * Get the lease key from the response * @return the lease key or null if no lease was granted */ public jcifs.internal.smb2.lease.Smb2LeaseKey getLeaseKey() { LeaseV2CreateContextResponse v2 = getLeaseV2Context(); if (v2 != null) { return v2.getLeaseKey();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java
* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; /** * Defines the scope of directory caching for SMB3 directory leasing */ public enum DirectoryCacheScope { /** * Cache only direct children of the directory */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
* @return the directory path */ public String getDirectoryPath() { return directoryPath; } /** * Gets the lease key associated with this notification handle * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)