Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 232 for writeInt2 (0.09 sec)

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

            final int start = dstIndex;
    
            writeInt2(searchAttributes, dst, dstIndex);
            dstIndex += 2;
            writeInt2(LIST_COUNT, dst, dstIndex);
            dstIndex += 2;
            writeInt2(flags, dst, dstIndex);
            dstIndex += 2;
            writeInt2(informationLevel, dst, dstIndex);
            dstIndex += 2;
            writeInt4(searchStorageType, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            buf[1] = 0x66; // andxCommand
            ServerMessageBlock.writeInt2(50, buf, 3); // andxOffset
            ServerMessageBlock.writeInt2(20, buf, 9); // byteCount for main block
    
            // At offset 50, the implementation writes andx.wordCount (0) to buffer
            // Then reads byteCount at offset 51
            ServerMessageBlock.writeInt2(20, buf, 51);
    
            int n = block.readAndXWireFormat(buf, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.negotiated.getNegotiatedSendBufferSize(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.negotiated.getNegotiatedMpxCount(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(getConfig().getVcNumber(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.negotiated.getNegotiatedSessionKey(), dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.maxCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.minCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.openTimeout, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            dstIndex += 2;
            SMBUtil.writeInt2(this.token != null ? this.token.length : 0, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
            dstIndex += pad8(dstIndex);
    
            if (this.token != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            SMBUtil.writeInt2(this.totalParameterCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.totalDataCount, dst, dstIndex);
            dstIndex += 2;
            if (this.getCommand() != SMB_COM_TRANSACTION_SECONDARY) {
                SMBUtil.writeInt2(this.maxParameterCount, dst, dstIndex);
                dstIndex += 2;
                SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            // Write context header
            SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last)
            offset += 4;
    
            SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context)
            offset += 2;
    
            SMBUtil.writeInt2(4, buffer, offset); // NameLength
            offset += 2;
    
            SMBUtil.writeInt2(0, buffer, offset); // Reserved
            offset += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, 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
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped)
            offset += 4;
            SMBUtil.writeInt4(sectPerAlloc, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4((int) alloc, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4((int) free, buffer, offset);
            offset += 4;
            SMBUtil.writeInt2(bytesPerSect, buffer, offset);
            offset += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, 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: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top