- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 118 for InetAddress (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/witness/WitnessRegistration.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.witness; import java.net.InetAddress; import java.util.concurrent.atomic.AtomicLong; /** * Represents a witness service registration for SMB resource monitoring. * This class maintains registration state, heartbeat information, and
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 6.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
when { domainName.equals(HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS, ignoreCase = true) -> { InetAddress.getByName("localhost") } else -> { InetAddress.getByName(domainName) } } } else -> { throw ProtocolException("unsupported address type: $addressType")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
final String ipv6Address = host.substring(1, host.length() - 1); return InetAddress.getAllByName(ipv6Address); } return InetAddress.getAllByName(toAscii(host)); } /** * Decodes the given host string using the specified encoding. * * @param host the host string to decode * @return the decoded host string */
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 06 07:24:43 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt
package okhttp3.dnsoverhttps import java.net.InetAddress import java.net.UnknownHostException import okhttp3.Dns /** * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server. * * Returns hardcoded results for the known host. */ internal class BootstrapDns( private val dnsHostname: String, private val dnsServers: List<InetAddress>, ) : Dns { @Throws(UnknownHostException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt
* - The prioritisation of addresses * * https://datatracker.ietf.org/doc/html/rfc8305#section-4 */ internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> { if (addresses.size < 2) { return addresses } val (ipv6, ipv4) = addresses.partition { it is Inet6Address } return if (ipv6.isEmpty() || ipv4.isEmpty()) { addresses } else { interleave(ipv6, ipv4)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Apr 24 15:15:15 GMT 2025 - 1.3K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
assertThat(request.url.toString()).isEqualTo("http://host-from-header.com/") } private class FakeSocket( private val localAddress: InetAddress, private val localPort: Int, private val remoteAddress: InetAddress = localAddress, private val remotePort: Int = 1234, ) : Socket() { override fun getInputStream() = Buffer().inputStream()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/NameServiceClientTest.java
@Test void testGetNbtAllByName() throws UnknownHostException { // Arrange String host = "testHost"; int type = 0x20; String scope = "testScope"; InetAddress svr = mock(InetAddress.class); NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) }; when(nameServiceClient.getNbtAllByName(host, type, scope, svr)).thenReturn(expectedAddresses); // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// Then // getWinsServers() returns InetAddress[], not String InetAddress[] winsServers = testConfig.getWinsServers(); assertNotNull(winsServers); assertEquals(1, winsServers.length); assertEquals("192.168.1.1", winsServers[0].getHostAddress()); // getBroadcastAddress() returns InetAddress, not String InetAddress broadcastAddr = testConfig.getBroadcastAddress();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
} @Test @DisplayName("Test initResolverOrder with WINS server") void testInitResolverOrderWithWinsServer() throws UnknownHostException { config.winsServer = new InetAddress[] { InetAddress.getByName("192.168.1.1") }; config.initResolverOrder(null); List<ResolverType> order = config.getResolveOrder(); assertEquals(4, order.size());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0)