- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for NameServicePacket (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/netbios/NameServicePacket.java
*/ package jcifs.netbios; import java.net.InetAddress; import jcifs.Configuration; import jcifs.util.Hexdump; abstract class NameServicePacket { // opcode static final int QUERY = 0; static final int WACK = 7; // rcode static final int FMT_ERR = 0x1; static final int SRV_ERR = 0x2; static final int IMP_ERR = 0x4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.netbios; import java.net.InetAddress; import jcifs.smb1.util.Hexdump; abstract class NameServicePacket { // opcode static final int QUERY = 0; static final int WACK = 7; // rcode static final int FMT_ERR = 0x1; static final int SRV_ERR = 0x2; static final int IMP_ERR = 0x4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
// Mock the superclass method to control its behavior doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt()); int result = request.writeBodyWireFormat(dst, dstIndex); // Verify that writeQuestionSectionWireFormat was called verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex); assertEquals(10, result);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameQueryRequest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.netbios; import jcifs.Configuration; class NameQueryRequest extends NameServicePacket { NameQueryRequest(final Configuration config, final Name name) { super(config); this.questionName = name; this.questionType = NB; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.netbios; class NodeStatusRequest extends NameServicePacket { NodeStatusRequest(final Name name) { questionName = name; questionType = NBSTAT; isRecurDesired = false; isBroadcast = false; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameQueryRequest.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ 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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
byte[] src = new byte[NameServicePacket.HEADER_LENGTH]; 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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameQueryResponse.java
* License along with this library; if not, write to the Free Software * 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; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2K bytes - Click Count (0)