- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 230 for SMBUtil (2.16 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
long lastWriteTime = System.currentTimeMillis(); int fileSize = 12345678; SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex); SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2); SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6); // Read the data int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K 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) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
*/ package jcifs.internal.fscc; import java.nio.charset.StandardCharsets; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * File System Control Code (FSCC) structure for File Rename Information. * Used in SMB2/SMB3 set file information operations to rename files or directories,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
SMBUtil.writeInt2(transformOffset, dst, dstIndex); // writeChannelInfoOffset SMBUtil.writeInt2(16, dst, dstIndex + 2); // writeChannelInfoLength (size of SMB2_RDMA_TRANSFORM) } else { SMBUtil.writeInt2(0, dst, dstIndex); // writeChannelInfoOffset SMBUtil.writeInt2(0, dst, dstIndex + 2); // writeChannelInfoLength }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
if (this.inputData != null) { SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, inputOffsetOffset); final int len = this.inputData.encode(dst, dstIndex); SMBUtil.writeInt4(len, dst, inputLengthOffset); dstIndex += len; } else { SMBUtil.writeInt4(0, dst, inputOffsetOffset); SMBUtil.writeInt4(0, dst, inputLengthOffset); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
int offset = 0; SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped) offset += 4; SMBUtil.writeInt4(sectPerAlloc, buffer, offset); offset += 4; SMBUtil.writeInt4((int) alloc, buffer, offset); offset += 4; SMBUtil.writeInt4((int) free, buffer, offset); offset += 4; SMBUtil.writeInt2(bytesPerSect, buffer, offset);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for FileRenameInformation2 */ @DisplayName("FileRenameInformation2 Tests") class FileRenameInformation2Test { private FileRenameInformation2 fileRenameInfo; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
* @param dstIndex starting index * @return number of bytes written */ public int encode(byte[] dst, int dstIndex) { SMBUtil.writeInt8(offset, dst, dstIndex); SMBUtil.writeInt4(token, dst, dstIndex + 8); SMBUtil.writeInt4(length, dst, dstIndex + 12); return 16; } /** * Decode from byte array * * @param buffer source bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0)