Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 233 for writeInt8 (0.16 sec)

  1. 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)
  2. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            byte[] result = new byte[4 + data.length];
            SMBUtil.writeInt2(avId, result, 0);
            SMBUtil.writeInt2(data.length, result, 2);
            System.arraycopy(data, 0, result, 4, data.length);
            return result;
        }
    
        private byte[] createEolData() {
            byte[] result = new byte[4];
            SMBUtil.writeInt2(AvPair.MsvAvEOL, result, 0);
            SMBUtil.writeInt2(0, result, 2);
            return result;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(17, buffer, 0); // Structure size
                SMBUtil.writeInt2(0, buffer, 2); // Reserved
                SMBUtil.writeInt4(4096, buffer, 4); // Count
                SMBUtil.writeInt4(2048, buffer, 8); // Remaining
                SMBUtil.writeInt2(100, buffer, 12); // WriteChannelInfoOffset (ignored)
                SMBUtil.writeInt2(200, buffer, 14); // WriteChannelInfoLength (ignored)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            SMBUtil.writeInt2(16, buffer, offset); // Structure size
            buffer[offset + 2] = (byte) 0x01; // Share type (DISK)
            buffer[offset + 3] = 0; // Reserved
            SMBUtil.writeInt4(0x8001, buffer, offset + 4); // Share flags (DFS | ENCRYPT_DATA)
            SMBUtil.writeInt4(0x28, buffer, offset + 8); // Capabilities (DFS | SCALEOUT)
            SMBUtil.writeInt4(0x1F01FF, buffer, offset + 12); // Maximal access
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBUtil.writeInt2(9, buffer, offset);
            SMBUtil.writeInt2(80 - 64, buffer, offset + 2);
            SMBUtil.writeInt4(12 + fileNameBytes.length, buffer, offset + 4);
    
            // Write notification
            int notifyOffset = 80;
            SMBUtil.writeInt4(0, buffer, notifyOffset);
            SMBUtil.writeInt4(1, buffer, notifyOffset + 4);
            SMBUtil.writeInt4(fileNameBytes.length, buffer, notifyOffset + 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(0x0311, buffer, 4);
            SMBUtil.writeInt2(1, buffer, 6);
            SMBUtil.writeInt4(128, buffer, 60); // Context offset
    
            // At offset 128 + 64 (header start), set context with excessive data length
            int contextPos = 192;
            SMBUtil.writeInt2(1, buffer, contextPos); // Context type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            final int start = dstIndex;
    
            writeInt2(flags, dst, dstIndex);
            dstIndex += 2;
            writeInt2(desiredAccess, dst, dstIndex);
            dstIndex += 2;
            writeInt2(searchAttributes, dst, dstIndex);
            dstIndex += 2;
            writeInt2(fileAttributes, dst, dstIndex);
            dstIndex += 2;
            creationTime = 0;
            writeInt4(creationTime, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            int idx = 0;
            SMBUtil.writeInt2(transformCount, data, idx);
            idx += 2;
            SMBUtil.writeInt2(reserved1, data, idx);
            idx += 2;
            SMBUtil.writeInt4(reserved2, data, idx);
            idx += 4;
    
            // SMB_DIRECT_RDMA_TRANSFORM array (only one element)
            SMBUtil.writeInt2(rdmaTransformId, data, idx);
            idx += 2;
            SMBUtil.writeInt2(0, data, idx); // Reserved
            idx += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.tflags, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.desiredAccess, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex);
            dstIndex += 2;
            this.creationTime = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top