Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pathOffset (0.59 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

                    bufferIndex += 2;
                    pathOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    altPathOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    nodeOffset = readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
    
                    path = readString(buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/Referral.java

                    final int pathOffset = SMBUtil.readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    final int altPathOffset = SMBUtil.readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
                    final int nodeOffset = SMBUtil.readInt2(buffer, bufferIndex);
                    bufferIndex += 2;
    
                    if (pathOffset > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 1); // serverType
            bb.putShort((short) 0); // rflags (no name list)
            bb.putShort((short) 5); // proximity
            bb.putShort((short) 300); // ttl
            bb.putShort((short) 22); // pathOffset (relative to start of referral)
            bb.putShort((short) 54); // altPathOffset
            bb.putShort((short) 76); // nodeOffset
    
            // Path string at offset 22 (relative to start of referral at position 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            // Path offset should be relative to headerStart
            int pathOffset = SMBUtil.readInt2(buffer, bodyOffset + 4);
            int expectedOffset = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            assertEquals(expectedOffset, pathOffset);
        }
    
        @Test
        @DisplayName("Should verify tree flags field")
        void testTreeFlagsField() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 2); // rflags
                bb.putShort((short) 10); // proximity
                bb.putShort((short) 300); // ttl
                bb.putShort((short) 20); // pathOffset
                bb.putShort((short) 24); // altPathOffset
                bb.putShort((short) 28); // nodeOffset
    
                // Add path string at offset 20 (8 + 20 = 28)
                bb.position(28);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top