- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 234 for writeInt4 (0.06 sec)
-
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
idx += 2; SMBUtil.writeInt4(status, data, idx); idx += 4; SMBUtil.writeInt4(maxReadWriteSize, data, idx); idx += 4; SMBUtil.writeInt4(preferredSendSize, data, idx); idx += 4; SMBUtil.writeInt4(maxReceiveSize, data, idx); idx += 4; SMBUtil.writeInt4(maxFragmentedSize, data, idx); return data; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
int nameLen = getName().length(); writeInt4(buffer, offset, 16); // Next writeInt2(buffer, offset + 4, nameLen); // NameOffset writeInt2(buffer, offset + 6, nameLen); // NameLength writeInt2(buffer, offset + 8, 0); // Reserved writeInt2(buffer, offset + 10, STRUCTURE_SIZE); // DataOffset writeInt4(buffer, offset + 12, STRUCTURE_SIZE); // DataLength
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
byte[] buffer = new byte[100]; buffer[0] = 1; // replaceIfExists = true // Skip 7 reserved bytes (1-7) // Skip 8 bytes for RootDirectory (8-15) SMBUtil.writeInt4(nameBytes.length, buffer, 16); System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length); FileRenameInformation2 info = new FileRenameInformation2();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, buffer, ctxOffset); SMBUtil.writeInt2(38, buffer, ctxOffset + 2); // Data length ctxOffset += 8; // Skip reserved // Hash algorithm count and salt length SMBUtil.writeInt2(1, buffer, ctxOffset); SMBUtil.writeInt2(32, buffer, ctxOffset + 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(value, dst, 0); assertEquals((byte) ((value >> 8) & 0xFF), dst[0]); assertEquals((byte) (value & 0xFF), dst[1]); } @Test @DisplayName("writeInt2 with offset should write at correct position")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
int idx = 0; SMBUtil.writeInt2(minVersion, data, idx); idx += 2; SMBUtil.writeInt2(maxVersion, data, idx); idx += 2; SMBUtil.writeInt2(reserved, data, idx); idx += 2; SMBUtil.writeInt2(creditsRequested, data, idx); idx += 2; SMBUtil.writeInt4(preferredSendSize, data, idx); idx += 4; SMBUtil.writeInt4(maxReceiveSize, data, idx);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.4K bytes - Viewed (0)