Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getNextAddress (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

                addresses = UniAddress.getAllByName(host, true);
            } else {
                addresses = UniAddress.getAllByName(host, false);
            }
    
            return getNextAddress();
        }
    
        UniAddress getNextAddress() {
            UniAddress addr = null;
            if (addressIndex < addresses.length) {
                addr = addresses[addressIndex++];
            }
            return addr;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertSame(a2, l3.getAddress());
            verify(nsc, times(1)).getAllByName("server", true);
            assertTrue(l3.hasNextAddress());
            assertSame(a3, l3.getNextAddress());
            assertFalse(l3.hasNextAddress());
    
            // UnknownHostException yields CIFSException
            when(nsc.getAllByName("badhost", true)).thenThrow(new UnknownHostException("nope"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top