- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 220 for writeInt4 (0.05 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (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); // endOfFileCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.5K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (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 alignmentCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
final int start = dstIndex; writeInt2(flags, dst, dstIndex); dstIndex += 2; writeInt2(desiredAccess, dst, dstIndex); dstIndex += 2; writeInt2(searchAttributes, dst, dstIndex); dstIndex += 2; writeInt2(fileAttributes, dst, dstIndex); dstIndex += 2; creationTime = 0; writeInt4(creationTime, dst, dstIndex); dstIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
final int start = dstIndex; writeInt2(fid, dst, dstIndex); dstIndex += 2; writeInt4(offset, dst, dstIndex); dstIndex += 4; writeInt2(maxCount, dst, dstIndex); dstIndex += 2; writeInt2(minCount, dst, dstIndex); dstIndex += 2; writeInt4(openTimeout, dst, dstIndex); dstIndex += 4; writeInt2(remaining, dst, dstIndex); dstIndex += 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public static void writeInt4(long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dstIndex++; dst[dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >> 8); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0)