Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for questionName (0.15 sec)

  1. src/test/java/jcifs/netbios/NameServicePacketTest.java

            packet.questionName = mockQuestionName; // Ensure questionName is set
    
            int read = packet.readResourceRecordWireFormat(src, 0);
            assertEquals(18, read); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 6 (rData)
            assertEquals(packet.questionName, packet.recordName);
            assertEquals(NameServicePacket.A, packet.recordType);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. 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);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            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);
            dstIndex += 2;
            writeInt2(recordClass, 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)
  4. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Act
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    
            // Assert
            assertSame(mockName, nodeStatusRequest.questionName);
            assertEquals(NameServicePacket.NBSTAT, nodeStatusRequest.questionType);
            assertFalse(nodeStatusRequest.isRecurDesired);
            assertFalse(nodeStatusRequest.isBroadcast);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // rDataLength (2 bytes)
            src[srcIndex + 10] = 0x00;
            src[srcIndex + 11] = 0x06; // 6 bytes of data
    
            // Initialize questionName to avoid NPE
            Field questionNameField = NameServicePacket.class.getDeclaredField("questionName");
            questionNameField.setAccessible(true);
            questionNameField.set(nameQueryResponse, mockRecordName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Setup recordName and questionName for the test
            Field recordNameField = NameServicePacket.class.getDeclaredField("recordName");
            recordNameField.setAccessible(true);
            recordNameField.set(response, new Name(mockConfig));
    
            Field questionNameField = NameServicePacket.class.getDeclaredField("questionName");
            questionNameField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top