- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 144 for InetAddress (0.04 sec)
-
src/main/java/jcifs/internal/witness/WitnessNotification.java
* @param address the IP address */ public WitnessIPAddress(InetAddress address) { this.address = address; this.flags = address.getAddress().length == 4 ? IPV4 : IPV6; } /** * Gets the IP address. * * @return the IP address */ public InetAddress getAddress() { return address; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
* limitations under the License. */ package okhttp3.dnsoverhttps import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import java.net.InetAddress import java.net.UnknownHostException import kotlin.test.assertFailsWith import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_A import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_AAAA
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu May 29 20:09:10 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
/* * Determine the InetAddress of the local interface * if one was not specified. */ InetAddress localInetAddress = tc.getConfig().getNetbiosLocalAddress(); if (localInetAddress == null) { try { localInetAddress = InetAddress.getLocalHost(); } catch (final UnknownHostException uhe) { /*Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (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); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
return Collections.emptyList(); } } private InetAddress getLocalAddressForInterface(NetworkInterface netInterface) { return netInterface.getInetAddresses().nextElement(); } private SmbTransportImpl createChannelTransport(InetAddress localAddress, InetAddress serverAddress) throws CIFSException { try { // Create Address wrapper for server address
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
private byte[] sockaddrStorage; private InetAddress address; private boolean ipv6; private boolean rssCapable; // Receive Side Scaling private boolean rdmaCapable; /** * Create network interface info * * @param address interface address * @param linkSpeed link speed in Mbps */ public NetworkInterfaceInfo(InetAddress address, int linkSpeed) { this.address = address;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (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 stubbingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/Address.java
* * @return the ip address */ String getHostAddress(); /** * Converts this address to an InetAddress. * * @return this address as an InetAddress * @throws UnknownHostException if the host cannot be resolved */ InetAddress toInetAddress() throws UnknownHostException; /** * Guess called name to try for session establishment. TheseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
class SpecificHostSocketFactory( val defaultAddress: InetSocketAddress?, ) : DelegatingSocketFactory(getDefault()) { private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>() /** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) { hostMapping[requested] = real } override fun createSocket(): Socket = object : Socket() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.client.http.conn; import java.net.InetAddress; import java.net.UnknownHostException; import org.dbflute.utflute.core.PlainTestCase; public class IdnDnsResolverTest extends PlainTestCase { public void test_toAscii() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.6K bytes - Viewed (0)