- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 75 for getByName (0.08 sec)
-
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
this.addresses[0] = this.ctx.getNameServiceClient().getByName(server); } final String address = queryLookup(query, "address"); if (address != null && address.length() > 0) { final byte[] ip = java.net.InetAddress.getByName(address).getAddress(); this.addresses = new UniAddress[1];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
} @Test @DisplayName("toInetAddress should return valid InetAddress") void testToInetAddressContract() throws UnknownHostException { // Given InetAddress expectedInetAddress = InetAddress.getByName("127.0.0.1"); when(mockAddress.toInetAddress()).thenReturn(expectedInetAddress); // When InetAddress inetAddress = mockAddress.toInetAddress(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (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") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
* name resolution and session services are handled internally by the smb package. * * * * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * * * * <b>About NetBIOS:</b> The NetBIOS name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
_domains = null; } if (_domains != null) { return _domains.map; } try { final UniAddress addr = UniAddress.getByName(auth.domain, true); final SmbTransport trans = SmbTransport.getSmbTransport(addr, 0); final CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
public static InetAddress getInetAddress(final String key, InetAddress def) { final String addr = prp.getProperty(key); if (addr != null) { try { def = InetAddress.getByName(addr); } catch (final UnknownHostException uhe) { if (LogStream.level > 0) { log.println(addr); uhe.printStackTrace(log); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
ASN1EncodableVector addressVector = new ASN1EncodableVector(); addressVector.add(new ASN1Integer(KerberosConstants.AF_INTERNET)); addressVector.add(new DEROctetString(InetAddress.getByName("127.0.0.1").getAddress())); addressesVector.add(new DERSequence(addressVector)); vector.add(new DERTaggedObject(9, new DERSequence(addressesVector)));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
private var listener = RecordingEventListener() private val handshakeCertificates = platform.localhostHandshakeCertificates() val dns = FakeDns() val ipv4 = InetAddress.getByName("203.0.113.1") val ipv6 = InetAddress.getByName("2001:db8:ffff:ffff:ffff:ffff:ffff:1") val refusedStream = MockResponse .Builder() .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode)) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
@JvmStatic fun awaitGarbageCollection() { Runtime.getRuntime().gc() Thread.sleep(100) System.runFinalization() } @JvmStatic fun assumeNetwork() { try { InetAddress.getByName("www.google.com") } catch (uhe: UnknownHostException) { assumeTrue(false, "requires network") } } @JvmStatic fun assumeNotWindows() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
testDfs.setDisabled(true); assertNull(testDfs.getDc("domain.com", auth)); } @Test void testGetDc_Success() throws IOException, SmbAuthException { lenient().when(UniAddress.getByName("domain.com", true)).thenReturn(uniAddress); lenient().when(SmbTransport.getSmbTransport(uniAddress, 0)).thenReturn(smbTransport); DfsReferral referral = new DfsReferral();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0)