- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for getAllByName (0.1 sec)
-
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
@Override public SmbTransportImpl getSmbTransport ( CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning ) throws IOException { Address[] addrs = tf.getNameServiceClient().getAllByName(name, true); if ( addrs == null || addrs.length == 0 ) { throw new UnknownHostException(name); } Arrays.sort(addrs, new Comparator<Address>() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
synchronized (DOMAIN) { long now = System.currentTimeMillis(); int retry = 1; do { if (dc_list_expiration < now) { 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 Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} } public static NbtAddress[] getAllByName( String host, int type, String scope, InetAddress svr ) throws UnknownHostException { return CLIENT.getAllByName( new Name( host, type, scope ), svr ); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 30.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
NbtAddress.switchWINS(); request.addr = NbtAddress.getWINSAddress(); } } } } NbtAddress[] getAllByName( Name name, InetAddress addr ) throws UnknownHostException { int n; NameQueryRequest request = new NameQueryRequest( name );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 17.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 Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0)