- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for writeBodyWireFormat (0.61 sec)
-
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
byte[] dst = new byte[200]; // Act int result1 = nodeStatusRequest.writeBodyWireFormat(dst, 0); int result2 = nodeStatusRequest.writeBodyWireFormat(dst, 50); int result3 = nodeStatusRequest.writeBodyWireFormat(dst, 100); // Assert assertEquals(result1, result2); assertEquals(result2, result3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameQueryRequest.java
NameQueryRequest(final Configuration config, final Name name) { 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) {
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/smb1/netbios/NodeStatusRequest.java
NodeStatusRequest(final Name name) { questionName = name; questionType = NBSTAT; isRecurDesired = false; isBroadcast = false; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = questionName.hexCode; questionName.hexCode = 0x00; // type has to be 0x00 for node status
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/netbios/NodeStatusRequest.java
super(cfg); this.questionName = name; this.questionType = NBSTAT; this.isRecurDesired = false; this.isBroadcast = false; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status
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/test/java/jcifs/netbios/NameQueryRequestTest.java
assertEquals(mockName, request.questionName); assertEquals(NameServicePacket.NB, request.questionType); } @Test void testWriteBodyWireFormat() { // Test that writeBodyWireFormat calls writeQuestionSectionWireFormat NameQueryRequest request = spy(new NameQueryRequest(mockConfig, mockName)); byte[] dst = new byte[100]; int dstIndex = 0;
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/NodeStatusResponse.java
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 int readBodyWireFormat(final byte[] src, final int srcIndex) { return readResourceRecordWireFormat(src, srcIndex); }
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/NameQueryRequest.java
package jcifs.smb1.netbios; class NameQueryRequest extends NameServicePacket { 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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
} int writeWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeBodyWireFormat(dst, dstIndex); return dstIndex - start; } int readWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex; srcIndex += readHeaderWireFormat(src, 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
questionClass = IN; } int writeWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeBodyWireFormat(dst, dstIndex); return dstIndex - start; } int readWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex; srcIndex += readHeaderWireFormat(src, 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/smb1/netbios/NameQueryResponse.java
*/ package jcifs.smb1.netbios; class NameQueryResponse extends NameServicePacket { NameQueryResponse() { recordName = new Name(); } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readResourceRecordWireFormat(src, srcIndex); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0)