- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 230 for SMBUtil (2.32 sec)
-
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
// When using RDMA channel, this points to SMB2_RDMA_TRANSFORM in Buffer SMBUtil.writeInt2(80, dst, dstIndex); // ReadChannelInfoOffset (after header) SMBUtil.writeInt2(16, dst, dstIndex + 2); // ReadChannelInfoLength dstIndex += 4; } else { SMBUtil.writeInt2(0, dst, dstIndex); SMBUtil.writeInt2(0, dst, dstIndex + 2); dstIndex += 4; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.extFileAttributes = 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 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
SMBUtil.writeUTime(0L, dst, 0); assertEquals(0, SMBUtil.readInt4(dst, 0)); // Test with specific value (Unix timestamp in milliseconds) SMBUtil.writeUTime(1500000000000L, dst, 4); assertEquals(1500000000, SMBUtil.readInt4(dst, 4)); } @Test void testSMBHeader() { assertNotNull(SMBUtil.SMB_HEADER); assertEquals(24, SMBUtil.SMB_HEADER.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
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) -
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) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
final int start = bufferIndex; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.deletePending = (buffer[bufferIndex] & 0xFF) > 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
import org.junit.jupiter.api.Test; import jcifs.internal.util.SMBUtil; public class AvTimestampTest { /** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.extFileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
System.arraycopy(SMBUtil.SMB_HEADER, 0, buffer, 0, SMBUtil.SMB_HEADER.length); buffer[SmbConstants.CMD_OFFSET] = 0x25; SMBUtil.writeInt4(0, buffer, SmbConstants.ERROR_CODE_OFFSET); buffer[SmbConstants.FLAGS_OFFSET] = 0x12; SMBUtil.writeInt2(0x3456, buffer, SmbConstants.FLAGS_OFFSET + 1); SMBUtil.writeInt2(0x1234, buffer, SmbConstants.TID_OFFSET);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0)