- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 146 for InetAddress (0.06 seconds)
-
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) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
private Configuration mockConfig; @Mock private WitnessRpcClient mockRpcClient; private InetAddress witnessServer; private InetAddress serverAddress; @BeforeEach void setUp() throws Exception { witnessServer = InetAddress.getByName("192.168.1.200"); serverAddress = InetAddress.getByName("192.168.1.100"); // Setup mock configuration with lenient stubbingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
if (!path.startsWith("/")) { path = "/" } this.path = path val scheme = if (socket is SSLSocket) "https" else "http" val inetAddress = socket.localAddress var hostname = inetAddress.hostName if (inetAddress is Inet6Address && hostname.contains(':')) { // hostname is likely some form representing the IPv6 bytes // 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
writeShort(1) // CLASS_IN }.readByteString() @Throws(Exception::class) fun decodeAnswers( hostname: String, byteString: ByteString, ): List<InetAddress> { val result = mutableListOf<InetAddress>() val buf = Buffer() buf.write(byteString) buf.readShort() // query id val flags = buf.readShort().toInt() and 0xffff require(flags shr 15 != 0) { "not a response" }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.witness; import java.io.IOException; import java.net.InetAddress; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executors;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
private NetworkInterfaceInfo remoteInterface; private ChannelInfo channelInfo; @BeforeEach void setUp() throws UnknownHostException { InetAddress localAddr = InetAddress.getByName("192.168.1.100"); InetAddress remoteAddr = InetAddress.getByName("192.168.1.200"); localInterface = new NetworkInterfaceInfo(localAddr, 1000); remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
*/ public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } /** * Sets the IP address from an InetAddress. * * @param address the InetAddress */ public void setIpAddress(InetAddress address) { if (address != null) { this.ipAddress = address.getHostAddress(); } } /** * Gets the IP address.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt
*/ package okhttp3.internal import java.net.InetAddress import okhttp3.Dns /** * A network that always resolves two IP addresses per host. Use this when testing route selection * fallbacks to guarantee that a fallback address is available. */ class DoubleInetAddressDns : Dns { override fun lookup(hostname: String): List<InetAddress> { val addresses = Dns.SYSTEM.lookup(hostname)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NbtAddress.java
} /** * To convert this address to an <code>InetAddress</code>. * * @return the {@link java.net.InetAddress} representation of this address. * @throws UnknownHostException if the address cannot be resolved */ public InetAddress getInetAddress() throws UnknownHostException { return InetAddress.getByName(getHostAddress()); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
val clientTestRule = OkHttpClientTestRule() // Don't use JUnit 5 test rules for these; otherwise we can't bind them to a single local IP. private lateinit var localhostIpv4: InetAddress private lateinit var localhostIpv6: InetAddress private lateinit var serverIpv4: MockWebServer private lateinit var serverIpv6: MockWebServer private val eventRecorder = EventRecorder() private lateinit var client: OkHttpClient
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0)