- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 232 for writeInt2 (0.04 sec)
-
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
SMBUtil.writeInt2(transformOffset, dst, dstIndex); // writeChannelInfoOffset SMBUtil.writeInt2(16, dst, dstIndex + 2); // writeChannelInfoLength (size of SMB2_RDMA_TRANSFORM) } else { SMBUtil.writeInt2(0, dst, dstIndex); // writeChannelInfoOffset SMBUtil.writeInt2(0, dst, dstIndex + 2); // writeChannelInfoLength } dstIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
writeInt2(questionCount, dst, start + QUESTION_OFFSET); writeInt2(answerCount, dst, start + ANSWER_OFFSET); writeInt2(authorityCount, dst, start + AUTHORITY_OFFSET); writeInt2(additionalCount, dst, start + ADDITIONAL_OFFSET); return HEADER_LENGTH; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
writeInt2(this.questionCount, dst, start + QUESTION_OFFSET); writeInt2(this.answerCount, dst, start + ANSWER_OFFSET); writeInt2(this.authorityCount, dst, start + AUTHORITY_OFFSET); writeInt2(this.additionalCount, dst, start + ADDITIONAL_OFFSET); return HEADER_LENGTH; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K 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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K 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/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
byte[] buffer1 = new byte[256]; byte[] buffer2 = new byte[256]; // Prepare both buffers with valid structure SMBUtil.writeInt2(4, buffer1, 0); SMBUtil.writeInt2(0, buffer1, 2); SMBUtil.writeInt2(4, buffer2, 10); SMBUtil.writeInt2(0, buffer2, 12); // When int bytes1 = response.readBytesWireFormat(buffer1, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K 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/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;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
byte[] buffer = new byte[10]; SMBUtil.writeInt2(0, buffer, 0); SMBUtil.writeInt2(0, buffer, 2); SMBUtil.writeInt2(TransPeekNamedPipeResponse.STATUS_CONNECTION_OK, buffer, 4); response.readParametersWireFormat(buffer, 0, 6); assertEquals(0, response.getAvailable()); // Test maximum unsigned 16-bit value (65535) SMBUtil.writeInt2(0xFFFF, buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)