Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getByteOffset (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

        public int getPid() {
            return this.pid;
        }
    
        /**
         * Returns the starting byte offset of the lock range.
         *
         * @return the starting byte offset
         */
        public long getByteOffset() {
            return this.byteOffset;
        }
    
        /**
         * Returns the byte length of the lock range.
         *
         * @return the byte length of the range
         */
        public long getLengthInBytes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            int decodedSize = decoded.decode(dst, 0, dst.length);
            assertEquals(10, decodedSize, "Decode should return size 10");
            assertEquals(99, decoded.getPid());
            assertEquals(123456L, decoded.getByteOffset());
            assertEquals(654321L, decoded.getLengthInBytes());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top