- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getByAddress (0.07 sec)
-
guava/src/com/google/common/net/InetAddresses.java
return Inet6Address.getByAddress( v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex); } try { NetworkInterface asInterface = NetworkInterface.getByName(scope); if (asInterface == null) { throw formatIllegalArgumentException("No such interface: '%s'", scope); } return Inet6Address.getByAddress(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1") socketAddress = InetSocketAddress(InetAddress.getByAddress(byteArrayOf(127, 0, 0, 1)), 1234) assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1") socketAddress = InetSocketAddress( InetAddress.getByAddress("foobar", byteArrayOf(127, 0, 0, 1)), 1234, ) assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress)) // Define two host names for the DNS routing of fake proxy servers val proxyServer1 = InetAddress.getByAddress("proxyServer1", byteArrayOf(127, 0, 0, 2)) val proxyServer2 = InetAddress.getByAddress("proxyServer2", byteArrayOf(127, 0, 0, 3)) println("Proxy Server 1 is ${server1.socketAddress}") println("Proxy Server 2 is ${server2.socketAddress}")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
return Inet6Address.getByAddress( v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex); } try { NetworkInterface asInterface = NetworkInterface.getByName(scope); if (asInterface == null) { throw formatIllegalArgumentException("No such interface: '%s'", scope); } return Inet6Address.getByAddress(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
} } @Test fun startIsIdempotentIfAddressIsConsistent() { val other = MockWebServer() val addressA = InetAddress.getByAddress("localhost", byteArrayOf(127, 0, 0, 1)) val addressB = InetAddress.getByAddress("localhost", byteArrayOf(127, 0, 0, 2)) other.use { other.start(addressA, 0) // Same address is okay. other.start(addressA, 0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
this.addresses = new UniAddress[1]; this.addresses[0] = new UniAddress(java.net.InetAddress.getByAddress(host, ip)); } } else if (host.length() == 0) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
.build() assert200Http2Response(execute(url), server.hostName) val sanUrl = url.newBuilder().host("san.com").build() dns["san.com"] = Arrays.asList( InetAddress.getByAddress("san.com", byteArrayOf(0, 0, 0, 0)), serverIps[0], ) assert200Http2Response(execute(sanUrl), "san.com") assertThat(client.connectionPool.connectionCount()).isEqualTo(1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0)