Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for dataDisplacement (0.29 sec)

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

                    + parameterCount + ",parameterOffset=" + parameterOffset + ",parameterDisplacement=" + parameterDisplacement + ",dataCount="
                    + dataCount + ",dataOffset=" + dataOffset + ",dataDisplacement=" + dataDisplacement + ",setupCount=" + setupCount + ",pad="
                    + pad + ",pad1=" + pad1);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 27), "dataOffset should be written correctly");
            assertEquals(smbComNtTransaction.dataDisplacement, SmbComTransaction.readInt4(dst, 31),
                    "dataDisplacement should be written correctly");
            assertEquals(0, dst[35], "Reserved byte should be 0");
        }
    
        @Test
        void testWriteParameterWordsWireFormat_ZeroCounts() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            // dataCount = 15
            writeInt4(15, buffer, bufferIndex);
            bufferIndex += 4;
            // dataOffset = 40
            writeInt4(40, buffer, bufferIndex);
            bufferIndex += 4;
            // dataDisplacement = 0
            writeInt4(0, buffer, bufferIndex);
            bufferIndex += 4;
            // setupCount = 0 (1 byte + 1 padding byte)
            buffer[bufferIndex] = 0;
            buffer[bufferIndex + 1] = 0; // padding byte
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            setDataCount(SMBUtil.readInt4(buffer, bufferIndex));
            bufferIndex += 4;
            this.dataOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.dataDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((this.setupCount != 0) && log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            dataCount = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            dataOffset = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            dataDisplacement = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            setupCount = buffer[bufferIndex] & 0xFF;
            bufferIndex += 2;
            if ((setupCount != 0) && (LogStream.level >= 3)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            dstIndex += 4;
            writeInt4(dataCount == 0 ? 0 : dataOffset, dst, dstIndex);
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4(dataDisplacement, dst, dstIndex);
                dstIndex += 4;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
            } else {
                dst[dstIndex++] = (byte) setupCount;
                writeInt2(function, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

            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;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
            } else {
                dst[dstIndex++] = (byte) this.setupCount;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top