Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 228 for SMBUtil (0.03 sec)

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

            final int start = dstIndex;
            SMBUtil.writeTime(this.createTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.changeTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.attributes, dst, dstIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Verify first chunk
                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
                assertEquals(200L, SMBUtil.readInt8(buffer, 8));
                assertEquals(300, SMBUtil.readInt4(buffer, 16));
    
                // Verify second chunk
                assertEquals(400L, SMBUtil.readInt8(buffer, EXPECTED_SIZE));
                assertEquals(500L, SMBUtil.readInt8(buffer, EXPECTED_SIZE + 8));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            int dataOffset = offset;
            SMBUtil.writeInt4(0, buffer, dataOffset);
            dataOffset += 4;
            SMBUtil.writeInt4(8, buffer, dataOffset);
            dataOffset += 4;
            SMBUtil.writeInt4(1000000, buffer, dataOffset);
            dataOffset += 4;
            SMBUtil.writeInt4(500000, buffer, dataOffset);
            dataOffset += 4;
            SMBUtil.writeInt2(512, buffer, dataOffset);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Write FileFsFullSizeInformation data (32 bytes)
            SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units
            SMBUtil.writeInt8(500000, buffer, 28); // Caller available units
            SMBUtil.writeInt8(600000, buffer, 36); // Actual available units
            SMBUtil.writeInt4(512, buffer, 44); // Sectors per unit
            SMBUtil.writeInt4(4096, buffer, 48); // Bytes per sector
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            assertEquals(100, SMBUtil.readInt4(dst, 3));
    
            // Verify total data count (4 bytes at position 7)
            assertEquals(200, SMBUtil.readInt4(dst, 7));
    
            // Verify max parameter count (4 bytes at position 11)
            assertEquals(1024, SMBUtil.readInt4(dst, 11));
    
            // Verify max data count (4 bytes at position 15)
            assertEquals(2048, SMBUtil.readInt4(dst, 15));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Server start time
            SMBUtil.writeTime(System.currentTimeMillis() - 3600000, buffer, offset + 48);
    
            // Security buffer offset and length
            SMBUtil.writeInt2(128, buffer, offset + 56); // Offset
            SMBUtil.writeInt2(0, buffer, offset + 58); // Length
    
            // Negotiate context offset
            SMBUtil.writeInt4(0, buffer, offset + 60);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    
            // Write values to buffer
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
            SMBUtil.writeInt4(numberOfMessages, buffer, bufferIndex + 8);
            SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            testBuffer[0] = 0x01; // revision
            testBuffer[1] = 0x00; // padding
            SMBUtil.writeInt2(0x8004, testBuffer, 2); // type
            SMBUtil.writeInt4(0, testBuffer, 4); // owner offset
            SMBUtil.writeInt4(0, testBuffer, 8); // group offset
            SMBUtil.writeInt4(100, testBuffer, 12); // SACL offset (non-zero but ignored)
            SMBUtil.writeInt4(0, testBuffer, 16); // DACL offset
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top