- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 75 for getByName (0.04 sec)
-
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testNetworkAddressDelegation() throws UnknownHostException { // Given InetAddress localAddr = InetAddress.getByName("127.0.0.1"); InetAddress broadcastAddr = InetAddress.getByName("192.168.1.255"); InetAddress[] winsServers = { InetAddress.getByName("192.168.1.1") }; when(mockDelegate.getLocalAddr()).thenReturn(localAddr);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
} dc = chal.dc; challenge = chal.challenge; } else { dc = UniAddress.getByName(domainController, true); challenge = SmbSession.getChallenge(dc); } ntlm = NtlmSsp.authenticate(req, resp, challenge); if (ntlm == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
add(buildCryptoSx(client)) // 521 - server down } add(buildChantra(client)) } private fun getByIp(host: String): InetAddress = try { InetAddress.getByName(host) } catch (e: UnknownHostException) { // unlikely throw RuntimeException(e) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
if (pathInfo == null || server == null) { final String mb = NbtAddress.getByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress(); dc = UniAddress.getByName(mb); } else { dc = UniAddress.getByName(server, possibleWorkgroup); } req.getSession(); /* ensure session id is set for cluster env. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (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());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
} // Query for cluster witness service via DNS try { String clusterName = getClusterName(serverAddress); if (clusterName != null) { return InetAddress.getByName(clusterName + "-witness"); } } catch (Exception e) { log.debug("Failed to discover cluster witness via DNS", e); } return null; // No witness service found }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
} dc = chal.dc; challenge = chal.challenge; } else { dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true); challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
private ChannelInfo failedChannel; @BeforeEach void setUp() throws UnknownHostException { failover = new ChannelFailover(mockChannelManager); InetAddress addr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000); NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
.includeIPv6(includeIPv6) .resolvePrivateAddresses(true) .url(url) .post(post) .build() } companion object { private fun address(host: String) = InetAddress.getByName(host) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
mockName = new Name(mockConfig, "TESTHOST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); InetAddress expectedInetAddress = InetAddress.getByName("192.168.1.1"); assertEquals(expectedInetAddress, nbtAddress.getInetAddress()); } @Test void testToInetAddress() throws UnknownHostException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0)