Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 15 of 15 for readRDataWireFormat (0.18 seconds)

  1. src/main/java/jcifs/netbios/NameQueryResponse.java

            return readResourceRecordWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readRDataWireFormat(final byte[] src, int srcIndex) {
            if (this.resultCode != 0 || this.opCode != QUERY) {
                return 0;
            }
            final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            return readResourceRecordWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readRDataWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            numberOfNames = src[srcIndex] & 0xFF;
            final int namesLength = numberOfNames * 18;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NameServicePacketTest.java

            int writeRDataWireFormat(byte[] dst, int dstIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
            int readRDataWireFormat(byte[] src, int srcIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                // Create a dummy Name object for NbtAddress constructor
    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)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Statistics (6 bytes)
            byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
            System.arraycopy(stats, 0, src, srcIndex + 61, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
            assertEquals(67, result);
    
            // Verify parsed data
            Field addressArrayField = NodeStatusResponse.class.getDeclaredField("addressArray");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            byte[] src = new byte[100];
    
            // Act & Assert
            assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 0));
            assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 50));
            assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 99));
        }
    
        @Test
        void toString_shouldReturnFormattedString() {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
Back to Top