- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for getByName (0.2 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
if (altNames.isNotEmpty()) { val extensionValue = altNames.map { when { it.canParseAsIpAddress() -> { generalNameIpAddress to InetAddress.getByName(it).address.toByteString() } else -> { generalNameDnsName to it } } } result += Extension(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1) -
src/main/java/jcifs/smb/DfsImpl.java
// seems to be correct according to // https://lists.samba.org/archive/samba-technical/2009-August/066486.html // UniAddress addr = UniAddress.getByName(authDomain, true, tf); // SmbTransport trans = tf.getTransportPool().getSmbTransport(tf, addr, 0); try ( SmbTransport dc = getDc(tf, authDomain) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(expected).hasMessage("constructed octet strings not supported for DER") } } @Test fun `choice IP address`() { val bytes = "8704c0a80201".decodeHex() val localhost = InetAddress.getByName("192.168.2.1").address.toByteString() assertThat(CertificateAdapters.generalName.fromDer(bytes)) .isEqualTo(generalNameIpAddress to localhost)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
* use port 0 to avoid flakiness when a specific port is unavailable. */ @Throws(IOException::class) @JvmOverloads fun start(port: Int = 0) = start(InetAddress.getByName("localhost"), port) /** * Starts the server on the given address and port. * * @param inetAddress the address to create the server socket on
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
if ( this.fileLocator.getType() == TYPE_WORKGROUP ) { getContext().getNameServiceClient().getByName(this.url.getHost(), true); } else { getContext().getNameServiceClient().getByName(this.url.getHost()).getHostName(); } } else {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
import java.util.Arrays; import java.util.Locale; import javax.annotation.CheckForNull; /** * Static utility methods pertaining to {@link InetAddress} instances. * * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never * cause DNS services to be accessed. For this reason, you should prefer these methods as much as * possible over their JDK equivalents whenever you are expecting to handle only IP address string
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
} public void usePipeline() { this.usePipeline = true; } protected InetAddress getInetAddressByName(final String host) { try { return InetAddress.getByName(host); } catch (final UnknownHostException e) { throw new FessSystemException("Failed to resolve the hostname: " + host, e); } } @PostConstruct public void open() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 84.1K bytes - Viewed (0)