Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addrIndex (0.32 sec)

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

            // Set 'addrEntry' and 'addrIndex' fields in superclass for the response to be stored
            Field addrEntryField = NameServicePacket.class.getDeclaredField("addrEntry");
            addrEntryField.setAccessible(true);
            addrEntryField.set(nameQueryResponse, new NbtAddress[1]);
    
            Field addrIndexField = NameServicePacket.class.getDeclaredField("addrIndex");
            addrIndexField.setAccessible(true);
    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/main/java/jcifs/smb1/netbios/NameServicePacket.java

            the loop might fix that. But I would need to see a capture to confirm.
            if (resultCode != 0) {
                srcIndex += rDataLength;
            } else {
            */
            for (addrIndex = 0; srcIndex < end; addrIndex++) {
                srcIndex += readRDataWireFormat(src, srcIndex);
            }
    
            return srcIndex - start;
        }
    
        abstract int writeBodyWireFormat(byte[] dst, int 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)
  3. src/main/java/jcifs/netbios/NameServicePacket.java

             * the loop might fix that. But I would need to see a capture to confirm.
             * if (resultCode != 0) {
             * srcIndex += rDataLength;
             * } else {
             */
            for (this.addrIndex = 0; srcIndex < end; this.addrIndex++) {
                srcIndex += readRDataWireFormat(src, srcIndex);
            }
    
            return srcIndex - start;
        }
    
        abstract int writeBodyWireFormat(byte[] dst, int 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/test/java/jcifs/netbios/NameServicePacketTest.java

                // Create a dummy Name object for NbtAddress constructor
                Name dummyName = new Name(config, "DUMMY_NAME", 0, null);
                addrEntry[addrIndex] = new NbtAddress(dummyName, 0, false, NbtAddress.B_NODE);
                return 6; // NbtAddress is 6 bytes
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top