Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 234 for writeInt4 (0.05 sec)

  1. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            dstIndex += 8; // 7 Reserved
            dstIndex += 8; // RootDirectory = 0
    
            final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
    
            SMBUtil.writeInt4(nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length);
            dstIndex += nameBytes.length;
    
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            dstIndex += 4;
    
            SMBUtil.writeInt4(this.outputBufferLength, dst, dstIndex);
            dstIndex += 4;
    
            if (this.fileName == null) {
                SMBUtil.writeInt2(0, dst, fnOffsetOffset);
                SMBUtil.writeInt2(0, dst, fnLengthOffset);
            } else {
                final byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex + CMD_OFFSET] = command;
            dst[dstIndex + FLAGS_OFFSET] = flags;
            writeInt2(flags2, dst, dstIndex + FLAGS_OFFSET + 1);
            dstIndex += TID_OFFSET;
            writeInt2(tid, dst, dstIndex);
            writeInt2(pid, dst, dstIndex + 2);
            writeInt2(uid, dst, dstIndex + 4);
            writeInt2(mid, dst, dstIndex + 6);
            return HEADER_LENGTH;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            SMBUtil.writeInt4(this.securityInformation, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.sourceOffset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.targetOffset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.length, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // reserved
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                dstIndex += recordName.writeWireFormat(dst, dstIndex);
            }
            writeInt2(recordType, dst, dstIndex);
            dstIndex += 2;
            writeInt2(recordClass, dst, dstIndex);
            dstIndex += 2;
            writeInt4(ttl, dst, dstIndex);
            dstIndex += 4;
            rDataLength = writeRDataWireFormat(dst, dstIndex + 2);
            writeInt2(rDataLength, dst, dstIndex);
            dstIndex += 2 + rDataLength;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServicePacket.java

            }
            writeInt2(this.recordType, dst, dstIndex);
            dstIndex += 2;
            writeInt2(this.recordClass, dst, dstIndex);
            dstIndex += 2;
            writeInt4(this.ttl, dst, dstIndex);
            dstIndex += 4;
            this.rDataLength = writeRDataWireFormat(dst, dstIndex + 2);
            writeInt2(this.rDataLength, dst, dstIndex);
            dstIndex += 2 + this.rDataLength;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top