Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 230 for SMBUtil (0.03 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/Referral.java

            bufferIndex += 2;
            this.rflags = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            if (this.version == 3) {
                this.proximity = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                this.ttl = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Write valid structure (16 bytes)
            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)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0));
        }
    
        @Test
        @DisplayName("Test encode with buffer offset")
        void testEncodeWithBufferOffset() throws SMBProtocolDecodingException {
            // First decode to set internal state
            byte[] sourceBuffer = new byte[8];
            long expectedIndexNumber = 0xAABBCCDDEEFF1122L;
            SMBUtil.writeInt8(expectedIndexNumber, sourceBuffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            this.parameterDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            setDataCount(SMBUtil.readInt4(buffer, bufferIndex));
            bufferIndex += 4;
            this.dataOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.dataDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            // Original message size
            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/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Verify FID values
            assertEquals(0x1111, SMBUtil.readInt2(dst1, 4));
            assertEquals(0x2222, SMBUtil.readInt2(dst2, 4));
            assertEquals(0x3333, SMBUtil.readInt2(dst3, 4));
    
            // Verify completion filters
            assertEquals(FILE_NOTIFY_CHANGE_FILE_NAME, SMBUtil.readInt4(dst1, 0));
            assertEquals(FILE_NOTIFY_CHANGE_DIR_NAME, SMBUtil.readInt4(dst2, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

                SMBUtil.writeInt2(23, buffer, offset); // sa_family: AF_INET6
                SMBUtil.writeInt2(445, buffer, offset + 2); // sin6_port
                SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo
                System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr
                SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top