- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 234 for writeInt2 (0.09 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
NameServicePacket.writeInt2(0x1234, src, 0); src[2] = (byte) (0x80 | (NameServicePacket.QUERY << 3) | 0x04 | 0x02 | 0x01); src[3] = (byte) (0x80 | 0x10 | NameServicePacket.FMT_ERR); NameServicePacket.writeInt2(1, src, 4); NameServicePacket.writeInt2(2, src, 6); NameServicePacket.writeInt2(3, src, 8); NameServicePacket.writeInt2(4, src, 10);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; dst[dstIndex] = this.typeOfLock; dst[dstIndex + 1] = this.newOpLockLevel; dstIndex += 2; SMBUtil.writeInt4(this.timeout, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt2(this.unlocks != null ? this.unlocks.length : 0, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
SMBUtil.writeInt4(0, buffer, SmbConstants.ERROR_CODE_OFFSET); buffer[SmbConstants.FLAGS_OFFSET] = 0x12; SMBUtil.writeInt2(0x3456, buffer, SmbConstants.FLAGS_OFFSET + 1); SMBUtil.writeInt2(0x1234, buffer, SmbConstants.TID_OFFSET); SMBUtil.writeInt2(0x5678, buffer, SmbConstants.TID_OFFSET + 2); SMBUtil.writeInt2(0x9ABC, buffer, SmbConstants.TID_OFFSET + 4);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
int testSecurityMode = 0x0001; int testDialect = 0x0202; // Write to buffer SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16); SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20); SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22); // Execute decodeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K 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/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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0)