- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Smb2Lock (3.3 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
/** * SMB2 Lock data structure. * * This class represents a single lock element used in * SMB2 Lock requests for byte-range locking. * * @author mbechler */ public class Smb2Lock implements Encodable { /** * Flag indicating a shared lock that allows concurrent read access. */ public static final int SMB2_LOCKFLAG_SHARED_LOCK = 0x1; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 512L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK), new Smb2Lock(512L, 512L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK), new Smb2Lock(1024L, 512L, Smb2Lock.SMB2_LOCKFLAG_UNLOCK), new Smb2Lock(1536L, 512L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK | Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
long offset = 512L; long length = 1024L; int allFlags = Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK | Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK | Smb2Lock.SMB2_LOCKFLAG_UNLOCK | Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY; lock = new Smb2Lock(offset, length, allFlags); lock.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
public class Smb2LockRequest extends ServerMessageBlock2Request<Smb2LockResponse> implements RequestWithFileId { private int lockSequenceNumber; private int lockSequenceIndex; private byte[] fileId; private final Smb2Lock[] locks; /** * Constructs an SMB2 lock request with the specified parameters. * * @param config the configuration for this request * @param fileId the file identifier for the file to lock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
import jcifs.internal.smb2.io.Smb2FlushRequest; import jcifs.internal.smb2.io.Smb2ReadRequest; import jcifs.internal.smb2.io.Smb2WriteRequest; import jcifs.internal.smb2.ioctl.Smb2IoctlRequest; import jcifs.internal.smb2.lock.Smb2Lock; import jcifs.internal.smb2.lock.Smb2LockRequest; /** * Test class for RequestWithFileId interface. * Tests the interface contract and various implementations. */ @ExtendWith(MockitoExtension.class)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)