- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for getAllByName (0.18 sec)
-
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
} @Test @DisplayName("Should get all addresses by name") void testGetAllByName() throws UnknownHostException { // When Address[] addresses = nameServiceClient.getAllByName("localhost", false); // Then assertNotNull(addresses, "Should return addresses array"); assertTrue(addresses.length > 0, "Should return at least one address"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* @param possibleNTDomainOrWorkgroup if true, perform additional master browser lookup * @return found addresses * @throws UnknownHostException if the hostname cannot be resolved */ Address[] getAllByName(String hostname, boolean possibleNTDomainOrWorkgroup) throws UnknownHostException; /** * Lookup <code>hostname</code> and return it's <code>UniAddress</code>. If theRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
} /** Prepares the socket addresses to attempt for the current proxy or host. */ @Throws(IOException::class) private fun resetNextInetSocketAddress(proxy: Proxy) { // Clear the addresses. Necessary if getAllByName() below throws! val mutableInetSocketAddresses = mutableListOf<InetSocketAddress>() inetSocketAddresses = mutableInetSocketAddresses val socketHost: String val socketPort: Int
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (1) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
* @throws UnknownHostException if there is an error resolving the name */ public static NbtAddress[] getAllByName(final String host, final int type, final String scope, final InetAddress svr) throws UnknownHostException { return CLIENT.getAllByName(new Name(host, type, scope), svr); } /** * Retrieve all addresses of a host by it's address. NetBIOS hosts canRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
NbtAddress.switchWINS(); } request.addr = NbtAddress.getWINSAddress(); } } } } NbtAddress[] getAllByName(final Name name, final InetAddress addr) throws UnknownHostException { int n; final NameQueryRequest request = new NameQueryRequest(name); final NameQueryResponse response = new NameQueryResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
* it to prefer IPv6. */ private var dnsResults = listOf<InetAddress>() @BeforeEach internal fun setUp() { val inetAddresses = InetAddress.getAllByName("localhost") localhostIpv4 = inetAddresses.firstOrNull { it is Inet4Address } ?: throw TestAbortedException() localhostIpv6 = inetAddresses.firstOrNull { it is Inet6Address } ?: throw TestAbortedException()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
final long now = System.currentTimeMillis(); int retry = 1; do { if (dc_list_expiration < now) { final NbtAddress[] list = NbtAddress.getAllByName(DOMAIN, 0x1C, null, null); dc_list_expiration = now + CACHE_POLICY * 1000L; if (list != null && list.length > 0) { dc_list = list;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
final boolean forceSigning) throws IOException { final Address[] addrs = tf.getNameServiceClient().getAllByName(name, true); if (addrs == null || addrs.length == 0) { throw new UnknownHostException(name); } Arrays.sort(addrs, (o1, o2) -> {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
throw uhe; } addresses = UniAddress.getAllByName(NtlmPasswordAuthentication.DEFAULT_DOMAIN, true); } } else if (path.length() == 0 || path.equals("/")) { addresses = UniAddress.getAllByName(host, true); } else { addresses = UniAddress.getAllByName(host, false); } return getNextAddress(); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* | `http://a%20b:c%20d@host/` | `"c d"` | */ @get:JvmName("password") val password: String, /** * The host address suitable for use with [InetAddress.getAllByName]. May be: * * * A regular host name, like `android.com`. * * * An IPv4 address, like `127.0.0.1`. * * * An IPv6 address, like `::1`. Note that there are no square braces. *Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0)