- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for recordName (0.31 sec)
-
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// Verify that the 'recordName' field in the superclass (NameServicePacket) is initialized Field recordNameField = NameServicePacket.class.getDeclaredField("recordName"); recordNameField.setAccessible(true); // Allow access to protected field Name recordName = (Name) recordNameField.get(nameQueryResponse); assertNotNull(recordName, "recordName should be initialized by the constructor"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
assertEquals(expectedString, packet.toString()); // Test recordName == questionName branch in toString packet.recordName = packet.questionName; expectedString =
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/main/java/jcifs/netbios/NameServicePacket.java
final int start = dstIndex; if (this.recordName == this.questionName) { dst[dstIndex] = (byte) 0xC0; // label string pointer to dstIndex++; dst[dstIndex++] = (byte) 0x0C; // questionName (offset 12) } else { dstIndex += this.recordName.writeWireFormat(dst, dstIndex); } writeInt2(this.recordType, dst, dstIndex);
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
final int start = dstIndex; if (recordName == questionName) { dst[dstIndex] = (byte) 0xC0; // label string pointer to dstIndex++; dst[dstIndex++] = (byte) 0x0C; // questionName (offset 12) } else { dstIndex += recordName.writeWireFormat(dst, dstIndex); } writeInt2(recordType, dst, dstIndex);
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/smb1/netbios/NameQueryResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.netbios; class NameQueryResponse extends NameServicePacket { NameQueryResponse() { recordName = new Name(); } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameQueryResponse.java
import java.util.Arrays; import jcifs.Configuration; class NameQueryResponse extends NameServicePacket { NameQueryResponse(final Configuration config) { super(config); this.recordName = new Name(config); } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
queryAddressField.setAccessible(true); assertSame(mockQueryAddress, queryAddressField.get(response)); // Verify recordName is initialized Field recordNameField = NameServicePacket.class.getDeclaredField("recordName"); recordNameField.setAccessible(true); assertNotNull(recordNameField.get(response)); // Verify macAddress is initialized with correct size
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/NodeStatusResponse.java
* returned by the node status. */ NodeStatusResponse(final Configuration cfg, final NbtAddress queryAddress) { super(cfg); this.queryAddress = queryAddress; this.recordName = new Name(cfg); this.macAddress = new byte[6]; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
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
* the data of the existing address that should be one of several * returned by the node status. */ NodeStatusResponse(final NbtAddress queryAddress) { this.queryAddress = queryAddress; recordName = new Name(); macAddress = new byte[6]; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0)