Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for dataOffset (0.05 sec)

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

                writeInt4(parameterDisplacement, dst, dstIndex);
                dstIndex += 4;
            }
            writeInt4(dataCount, dst, dstIndex);
            dstIndex += 4;
            writeInt4(dataCount == 0 ? 0 : dataOffset, dst, dstIndex);
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4(dataDisplacement, dst, dstIndex);
                dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(52, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength
            ci += 4;
            // Reserved (2) + DataOffset (2)
            // Put data at offset 0x20
            SMBUtil.writeInt2(0, ctx, ci); // Reserved
            SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset
            ci += 4;
            SMBUtil.writeInt4(8, ctx, ci); // DataLength
            ci += 4;
            // Name bytes at 0x10
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(32, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
            SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

                dstIndex += 4;
            }
            SMBUtil.writeInt4(this.dataCount, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.dataCount == 0 ? 0 : this.dataOffset, dst, dstIndex);
            dstIndex += 4;
            if (this.getCommand() == SMB_COM_NT_TRANSACT_SECONDARY) {
                SMBUtil.writeInt4(this.dataDisplacement, dst, dstIndex);
                dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertEquals(4, SMBUtil.readInt2(buffer, 6)); // NameLength
            assertEquals(0, SMBUtil.readInt2(buffer, 8)); // Reserved
            assertEquals(24, SMBUtil.readInt2(buffer, 10)); // DataOffset
            assertEquals(52, SMBUtil.readInt4(buffer, 12)); // DataLength
    
            // Verify context name
            byte[] nameBytes = new byte[4];
            System.arraycopy(buffer, 16, nameBytes, 0, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            public void setDataCount(int value) {
                this.dataCount = value;
            }
    
            public int getDataOffset() {
                return dataOffset;
            }
    
            public void setDataOffset(int value) {
                this.dataOffset = value;
            }
    
            public int getDataDisplacement() {
                return dataDisplacement;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    int off = HEADER_LENGTH;
                    /* WordCount thru dataOffset always 27 */
                    readn(in, BUF, 4 + off, 27);
                    off += 27;
                    resp.decode(BUF, 4);
                    /* EMC can send pad w/o data */
                    final int pad = r.dataOffset - off;
                    if (r.byteCount > 0 && pad > 0 && pad < 4) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            headerStartField.set(response, 0);
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, bodyStart);
    
            // Then
            // When dataLength is 0, it returns max(16, dataOffset + 0 - bodyStart) = max(16, 80) = 80
            assertEquals(80, bytesRead);
            assertEquals(0, response.getDataLength());
            assertEquals(0, response.getDataRemaining());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top