- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for rDataLength (0.04 sec)
-
src/test/java/jcifs/netbios/NameServicePacketTest.java
NameServicePacket.writeInt2(12, src, 10); // rDataLength (for two NbtAddress) packet.questionName = mockQuestionName; int read = packet.readResourceRecordWireFormat(src, 0); assertEquals(24, read); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 12 (rData) assertEquals(12, packet.rDataLength); assertNotNull(packet.addrEntry);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Prepare test data byte[] src = new byte[200]; int srcIndex = 0; // Set rDataLength for the test Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength"); rDataLengthField.setAccessible(true); rDataLengthField.set(response, 67); // 1 + 18 * 3 + 6 + 6 = 67 (3 names example) // Number of names
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
dstIndex += 2; writeInt4(this.ttl, dst, dstIndex); dstIndex += 4; this.rDataLength = writeRDataWireFormat(dst, dstIndex + 2); writeInt2(this.rDataLength, dst, dstIndex); dstIndex += 2 + this.rDataLength; return dstIndex - start; } int readResourceRecordWireFormat(final byte[] src, int srcIndex) {
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/main/java/jcifs/smb1/netbios/NameServicePacket.java
writeInt2(recordClass, dst, dstIndex); dstIndex += 2; writeInt4(ttl, dst, dstIndex); dstIndex += 4; rDataLength = writeRDataWireFormat(dst, dstIndex + 2); writeInt2(rDataLength, dst, dstIndex); dstIndex += 2 + rDataLength; return dstIndex - start; } int readResourceRecordWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex;
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/NodeStatusResponse.java
final int start = srcIndex; this.numberOfNames = src[srcIndex] & 0xFF; final int namesLength = this.numberOfNames * 18; final int statsLength = this.rDataLength - namesLength - 1; this.numberOfNames = src[srcIndex] & 0xFF; srcIndex++; // gotta read the mac first so we can populate addressArray with it
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
int readRDataWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex; numberOfNames = src[srcIndex] & 0xFF; final int namesLength = numberOfNames * 18; final int statsLength = rDataLength - namesLength - 1; numberOfNames = src[srcIndex] & 0xFF; srcIndex++; // gotta read the mac first so we can populate addressArray with it
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)