- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for writeQuestionSectionWireFormat (0.17 sec)
-
src/test/java/jcifs/netbios/NameQueryRequestTest.java
// Test that writeBodyWireFormat calls writeQuestionSectionWireFormat NameQueryRequest request = spy(new NameQueryRequest(mockConfig, mockName)); byte[] dst = new byte[100]; int dstIndex = 0; // Mock the superclass method to control its behavior doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameQueryRequest.java
super(config); this.questionName = name; this.questionType = NB; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return writeQuestionSectionWireFormat(dst, dstIndex); } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readQuestionSectionWireFormat(src, srcIndex); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusRequest.java
final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java
int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = questionName.hexCode; questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); questionName.hexCode = tmp; return result; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameQueryRequest.java
NameQueryRequest(final Name name) { questionName = name; questionType = NB; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return writeQuestionSectionWireFormat(dst, dstIndex); } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readQuestionSectionWireFormat(src, srcIndex); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0)