- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 234 for writeInt4 (0.05 sec)
-
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
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) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(12 + fileNameBytes.length, buffer, offset + 4); // Write notification int notifyOffset = 80; SMBUtil.writeInt4(0, buffer, notifyOffset); SMBUtil.writeInt4(1, buffer, notifyOffset + 4); SMBUtil.writeInt4(fileNameBytes.length, buffer, notifyOffset + 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
int ci = 0; SMBUtil.writeInt4(0, ctx, ci); // Next = 0 ci += 4; SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength ci += 4; SMBUtil.writeInt2(0, ctx, ci); // Reserved SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset ci += 4; SMBUtil.writeInt4(8, ctx, ci); // DataLength ci += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
byte[] buffer = new byte[32]; // Mock data for FsFullSizeInformation writeInt8(3000, buffer, 0); // total allocation units writeInt8(1500, buffer, 8); // caller available allocation units writeInt8(1500, buffer, 16); // actual free units (skipped) writeInt4(4, buffer, 24); // sectors per allocation unit writeInt4(8192, buffer, 28); // bytes per sector
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
buffer[bufferIndex + 2] = 0x00; SMBUtil.writeInt4(totalParams, buffer, bufferIndex + 3); SMBUtil.writeInt4(totalData, buffer, bufferIndex + 7); SMBUtil.writeInt4(paramCount, buffer, bufferIndex + 11); SMBUtil.writeInt4(paramOffset, buffer, bufferIndex + 15); SMBUtil.writeInt4(paramDisp, buffer, bufferIndex + 19); SMBUtil.writeInt4(dataCount, buffer, bufferIndex + 23);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
namelen_index = dstIndex; dstIndex += 2; writeInt4(flags0, dst, dstIndex); dstIndex += 4; writeInt4(rootDirectoryFid, dst, dstIndex); dstIndex += 4; writeInt4(desiredAccess, dst, dstIndex); dstIndex += 4; writeInt8(allocationSize, dst, dstIndex); dstIndex += 8; writeInt4(extFileAttributes, dst, dstIndex); dstIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
// totalParameterCount = 10 writeInt4(10, buffer, bufferIndex); bufferIndex += 4; // totalDataCount = 20 writeInt4(20, buffer, bufferIndex); bufferIndex += 4; // parameterCount = 5 writeInt4(5, buffer, bufferIndex); bufferIndex += 4; // parameterOffset = 30 writeInt4(30, buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
// Entry 1 writeInt4(120, buffer, bufferIndex); // nextEntryOffset = 120 (relative) writeInt4(1, buffer, bufferIndex + 4); // fileIndex = 1 writeTime(1672531200000L, buffer, bufferIndex + 8); // creationTime writeTime(1672617600000L, buffer, bufferIndex + 24); // lastWriteTime writeInt8(2048, buffer, bufferIndex + 40); // endOfFile
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
if (this.largeFile) { SMBUtil.writeInt2(this.pid, dst, dstIndex); SMBUtil.writeInt4(this.byteOffset >> 32, dst, dstIndex + 4); SMBUtil.writeInt4(this.byteOffset & 0xFFFFFFFF, dst, dstIndex + 8); SMBUtil.writeInt4(this.lengthInBytes >> 32, dst, dstIndex + 12); SMBUtil.writeInt4(this.lengthInBytes & 0xFFFFFFFF, dst, dstIndex + 16); return 20;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); SMBUtil.writeInt2(0xFFFF, buffer, 2); // Max flags SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max reserved (ignored) SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 8); // Max times SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 16); SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 24);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)