- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 82 for getByName (0.04 sec)
-
android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt
val httpUrl = "https://www.google.co.uk".toHttpUrl() assertThat(httpUrl.topPrivateDomain()).isEqualTo("google.co.uk") } private fun assumeNetwork() { try { InetAddress.getByName("www.google.com") } catch (uhe: UnknownHostException) { throw AssumptionViolatedException(uhe.message, uhe) } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 22 20:03:31 UTC 2025 - 2.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.6K bytes - Viewed (0) -
buildSrc/src/main/kotlin/JavaModules.kt
configure<MultiReleaseExtension> { targetVersions(defaultVersion, javaModuleVersion) } tasks.named<JavaCompile>("compileJava9Java").configure { val compileKotlinTask = tasks.getByName("compileKotlin") as KotlinJvmCompile dependsOn(compileKotlinTask) if (enableValidation) { compileKotlinTask.source(file("src/main/java9")) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 1.9K 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(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)