- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 234 for writeInt4 (0.04 sec)
-
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt4(0, buffer, 0); // nextEntryOffset SMBUtil.writeInt4(0, buffer, 4); // fileIndex SMBUtil.writeInt8(0, buffer, 8); // creationTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 16); // lastAccessTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 24); // lastWriteTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 32); // changeTime - raw 0 in wire format
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
// Status at +8 SMBUtil.writeInt4(status, buf, start + 8); // Command at +12 SMBUtil.writeInt2(command, buf, start + 12); // Flags at +16: server-to-redirector SMBUtil.writeInt4(0x00000001, buf, start + 16); // SessionId at +40 (sync header) SMBUtil.writeInt8(sessionId, buf, start + 40); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java
dstIndex += 4; writeInt4(parameterCount == 0 ? 0 : parameterOffset, dst, dstIndex); dstIndex += 4; if (command == SMB_COM_NT_TRANSACT_SECONDARY) { writeInt4(parameterDisplacement, dst, dstIndex); dstIndex += 4; } writeInt4(dataCount, dst, dstIndex); dstIndex += 4; writeInt4(dataCount == 0 ? 0 : dataOffset, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
@Test void testNegativeValueHandling() { byte[] buffer = new byte[8]; // Test negative values in writeInt4 SMBUtil.writeInt4(-1L, buffer, 0); assertEquals(-1, SMBUtil.readInt4(buffer, 0)); // Test negative values in writeInt8 SMBUtil.writeInt8(-1L, buffer, 0); assertEquals(-1L, SMBUtil.readInt8(buffer, 0)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
// Write context header writeInt4(buffer, offset, getName().length()); // NameOffset writeInt4(buffer, offset + 4, getName().length()); // NameLength writeInt4(buffer, offset + 8, 16); // Reserved int dataOffset = offset + 16 + getName().length(); dataOffset = (dataOffset + 7) & ~7; // 8-byte alignment
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
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) -
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)