- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 58 for getByName (0.14 sec)
-
okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt
assertThat(response.code).isEqualTo(200) assertThat(response.cacheResponse).isNotNull() } } private fun assumeNetwork() { try { InetAddress.getByName("www.google.com") } catch (uhe: UnknownHostException) { throw AssumptionViolatedException(uhe.message, uhe) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName(getTestServer())); } // #68 @Test ( expected = SmbException.class ) public void testPoolLogonFail () throws CIFSException, UnknownHostException { CIFSContext ctx = withTestNTLMCredentials(getContext()); ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName("0.0.0.0"), 12345); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
(offerBasic && msg.startsWith("Basic ")))) { if( loadBalance ) { dc = new UniAddress( NbtAddress.getByName( domainController, 0x1C, null )); } else { dc = UniAddress.getByName( domainController, true ); } NtlmPasswordAuthentication ntlm; if (msg.startsWith("NTLM ")) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
* name resolution and session services are handled internally by the smb package. * * <p> * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * * <p> * <b>About NetBIOS:</b> The NetBIOS name
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 17.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
private var listener = RecordingEventListener() private val handshakeCertificates = platform.localhostHandshakeCertificates() val dns = FakeDns() val ipv4 = InetAddress.getByName("203.0.113.1") val ipv6 = InetAddress.getByName("2001:db8:ffff:ffff:ffff:ffff:ffff:1") val refusedStream = MockResponse( socketPolicy = ResetStreamAtStart(ErrorCode.REFUSED_STREAM.httpCode), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue May 14 17:48:07 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
} dc = chal.dc; challenge = chal.challenge; } else { dc = UniAddress.getByName( domainController, true ); challenge = SmbSession.getChallenge( dc ); } if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
add(buildCryptoSx(client)) // 521 - server down } add(buildChantra(client)) } } private fun getByIp(host: String): InetAddress { return try { InetAddress.getByName(host) } catch (e: UnknownHostException) { // unlikely throw RuntimeException(e) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
if( pathInfo == null || server == null ) { String mb = NbtAddress.getByName( NbtAddress.MASTER_BROWSER_NAME, 0x01, null ).getHostAddress(); dc = UniAddress.getByName( mb ); } else { dc = UniAddress.getByName( server, possibleWorkgroup ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 22 03:57:31 UTC 2020 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
this.addresses[ 0 ] = this.ctx.getNameServiceClient().getByName(server); } String address = queryLookup(query, "address"); if ( address != null && address.length() > 0 ) { byte[] ip = java.net.InetAddress.getByName(address).getAddress(); this.addresses = new UniAddress[1];
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0)