Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for writeInt4 (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
            SMBUtil.writeInt4(0x00000001, buf, start + 16);
            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            // Write context header
            SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
    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/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            dstIndex += 4;
            writeInt4(parameterCount == 0 ? 0 : parameterOffset, dst, dstIndex);
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4(parameterDisplacement, dst, dstIndex);
                dstIndex += 4;
            }
            writeInt4(dataCount, dst, dstIndex);
            dstIndex += 4;
            writeInt4(dataCount == 0 ? 0 : dataOffset, 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)
  4. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

                SMBUtil.writeInt2(80, dst, dstIndex); // ReadChannelInfoOffset (after header)
                SMBUtil.writeInt2(16, dst, dstIndex + 2); // ReadChannelInfoLength
                dstIndex += 4;
            } else {
                SMBUtil.writeInt2(0, dst, dstIndex);
                SMBUtil.writeInt2(0, dst, dstIndex + 2);
                dstIndex += 4;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

            SMBUtil.writeInt4(this.totalParameterCount, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.totalDataCount, dst, dstIndex);
            dstIndex += 4;
            if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) {
                SMBUtil.writeInt4(this.maxParameterCount, dst, dstIndex);
                dstIndex += 4;
                SMBUtil.writeInt4(this.maxDataCount, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            dstIndex += 4;
            SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.queryFlags, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            if (this.inputBuffer == null) {
                SMBUtil.writeInt2(0, dst, inBufferOffsetOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            SMBUtil.writeInt4(this.originalMessageSize, dst, dstIndex);
            dstIndex += 4;
    
            // Reserved (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (2 bytes)
            SMBUtil.writeInt2(this.flags, dst, dstIndex);
            dstIndex += 2;
    
            // Session ID (8 bytes)
            SMBUtil.writeInt8(this.sessionId, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            byte[] buffer = new byte[32];
            // Mock data for FsFullSizeInformation
            writeInt8(3000, buffer, 0); // total allocation units
            writeInt8(1500, buffer, 8); // caller available allocation units
            writeInt8(1500, buffer, 16); // actual free units (skipped)
            writeInt4(4, buffer, 24); // sectors per allocation unit
            writeInt4(8192, buffer, 28); // bytes per sector
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4(flags0, dst, dstIndex);
            dstIndex += 4;
            writeInt4(rootDirectoryFid, dst, dstIndex);
            dstIndex += 4;
            writeInt4(desiredAccess, dst, dstIndex);
            dstIndex += 4;
            writeInt8(allocationSize, dst, dstIndex);
            dstIndex += 8;
            writeInt4(extFileAttributes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            // totalParameterCount = 10
            writeInt4(10, buffer, bufferIndex);
            bufferIndex += 4;
            // totalDataCount = 20
            writeInt4(20, buffer, bufferIndex);
            bufferIndex += 4;
            // parameterCount = 5
            writeInt4(5, buffer, bufferIndex);
            bufferIndex += 4;
            // parameterOffset = 30
            writeInt4(30, buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top