Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for recordName (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top