- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 255 for writeInt (0.23 sec)
-
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
@Test void testInt2ReadWrite() { byte[] buffer = new byte[2]; ServerMessageBlock.writeInt2(0x1234, buffer, 0); assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0)); } @Test void testInt4ReadWrite() { byte[] buffer = new byte[4]; ServerMessageBlock.writeInt4(0x12345678, buffer, 0); assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt2(this.maxCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.minCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.openTimeout, dst, dstIndex); dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// inputOffset (relative to header start) SMBUtil.writeInt4(inputOffsetField, buf, pos); pos += 4; // inputCount SMBUtil.writeInt4(inputCount, buf, pos); pos += 4; // outputOffset (relative to header start) SMBUtil.writeInt4(outputOffsetField, buf, pos); pos += 4; // outputCount SMBUtil.writeInt4(outputCount, buf, pos); pos += 4; // ioctlFlags
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
// status (2 bytes) SMBUtil.writeInt2(0, buffer, bufferIndex); bufferIndex += 2; // converter (2 bytes) SMBUtil.writeInt2(100, buffer, bufferIndex); bufferIndex += 2; // numEntries (2 bytes) SMBUtil.writeInt2(3, buffer, bufferIndex); bufferIndex += 2; // totalAvailableEntries (2 bytes) SMBUtil.writeInt2(5, buffer, bufferIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K 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/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java
// Write context header SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last) dstIndex += 4; SMBUtil.writeInt2(16, 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
SMBUtil.writeInt2(23, buffer, offset); // sa_family: AF_INET6 SMBUtil.writeInt2(445, buffer, offset + 2); // sin6_port SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id } else {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0)