Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 249 for writeInt (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // inputOffset (relative to header start)
            SMBUtil.writeInt4(inputOffsetField, buf, pos);
            pos += 4;
            // inputCount
            SMBUtil.writeInt4(inputCount, buf, pos);
            pos += 4;
            // outputOffset (relative to header start)
            SMBUtil.writeInt4(outputOffsetField, buf, pos);
            pos += 4;
            // outputCount
            SMBUtil.writeInt4(outputCount, buf, pos);
            pos += 4;
            // ioctlFlags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            
            // InterfaceIndex (4 bytes)
            writeInt4(buffer, 0, interfaceIndex);
            
            // Capability (4 bytes)
            writeInt4(buffer, 4, capability);
            
            // Reserved (4 bytes)
            writeInt4(buffer, 8, 0);
            
            // LinkSpeed (8 bytes)
            writeInt8(buffer, 12, linkSpeed * 1000000L);  // Convert to bps
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.numberOfLinks, dst, dstIndex);
            dstIndex += 4;
            dst[dstIndex] = (byte) (this.deletePending ? 1 : 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.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
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            writeInt2(questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(answerCount, dst, start + ANSWER_OFFSET);
            writeInt2(authorityCount, dst, start + AUTHORITY_OFFSET);
            writeInt2(additionalCount, dst, start + ADDITIONAL_OFFSET);
            return HEADER_LENGTH;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServicePacket.java

            writeInt2(this.questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(this.answerCount, dst, start + ANSWER_OFFSET);
            writeInt2(this.authorityCount, dst, start + AUTHORITY_OFFSET);
            writeInt2(this.additionalCount, dst, start + ADDITIONAL_OFFSET);
            return HEADER_LENGTH;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            int idx = 0;
            SMBUtil.writeInt2(minVersion, data, idx);
            idx += 2;
            SMBUtil.writeInt2(maxVersion, data, idx);
            idx += 2;
            SMBUtil.writeInt2(reserved, data, idx);
            idx += 2;
            SMBUtil.writeInt2(creditsRequested, data, idx);
            idx += 2;
            SMBUtil.writeInt4(preferredSendSize, data, idx);
            idx += 4;
            SMBUtil.writeInt4(maxReceiveSize, data, idx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.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
    - 3K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/netbios/NameServicePacketTest.java

            NameServicePacket.writeInt2(0x1234, src, 0);
            src[2] = (byte) (0x80 | (NameServicePacket.QUERY << 3) | 0x04 | 0x02 | 0x01);
            src[3] = (byte) (0x80 | 0x10 | NameServicePacket.FMT_ERR);
            NameServicePacket.writeInt2(1, src, 4);
            NameServicePacket.writeInt2(2, src, 6);
            NameServicePacket.writeInt2(3, src, 8);
            NameServicePacket.writeInt2(4, src, 10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top