- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for getByName (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt
@Suppress("ktlint:standard:property-naming") class InetAddressOrderTest { val ipv4_10_0_0_6 = Inet4Address.getByName("10.0.0.6") val ipv4_10_0_0_1 = Inet4Address.getByName("10.0.0.1") val ipv4_10_0_0_4 = Inet4Address.getByName("10.0.0.4") val ipv6_ab = Inet6Address.getByName("::ac") val ipv6_fc = Inet6Address.getByName("::fc") @Test fun prioritiseIpv6Example() { val result = reorderForHappyEyeballs( listOf(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
InetAddress[] defaultArray = { InetAddress.getByName("0.0.0.0") }; InetAddress[] result = Config.getInetAddressArray(testProperties, "test.hosts", ",", defaultArray); assertEquals(2, result.length); assertEquals(InetAddress.getByName("localhost"), result[0]); assertEquals(InetAddress.getByName("127.0.0.1"), result[1]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
( "00008180000100010000000006676f6f676c6503636f6d0000010001c00c0001000100000043" + "0004d83ad54e" ).decodeHex(), ) assertThat(encoded).containsExactly(InetAddress.getByName("216.58.213.78")) } @Test fun testGoogleDotComDecodingFromGoogle() { val decoded = decodeAnswers( hostname = "test.com", byteString = (
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 20:09:10 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
} @Test void testAddIPAddresses() throws Exception { InetAddress ipv4 = InetAddress.getByName("192.168.1.100"); InetAddress ipv6 = InetAddress.getByName("2001:db8::1"); notification.addNewIPAddress(ipv4); notification.addNewIPAddress(ipv6); notification.addOldIPAddress(ipv4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
buildSrc/src/main/kotlin/Osgi.kt
bndProperties: Array<out String>, ) { val osgi = project.sourceSets.create("osgi") val osgiApi = project.configurations.getByName(osgiApiConfigurationName) project.dependencies { osgiApi(kotlinOsgi) } val jarTask = tasks.getByName<Jar>(jarTaskName) val bundleExtension = jarTask.extensions.findByType() ?: jarTask.extensions.create( BundleTaskExtension.NAME,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
* @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */ public synchronized static NbtAddress getByName(final String host) { return getByName(new Name(host, 0x20, null)); } synchronized static NbtAddress getByName(final Name name) { NbtAddress result = null; try { if (FILENAME != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* have many names for a given IP address. The name and IP address make * the NetBIOS address. This provides a way to retrieve the other names * for a host with the same IP address. See {@link #getByName} * for a description of <code>type</code> * and <code>scope</code>. * * @param host * hostname to lookup all addresses for * @param type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
} @Test void testChannelInfoCreation() throws Exception { // Test ChannelInfo creation InetAddress localAddr = InetAddress.getByName("192.168.1.10"); InetAddress remoteAddr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localNic = new NetworkInterfaceInfo(localAddr, 1); NetworkInterfaceInfo remoteNic = new NetworkInterfaceInfo(remoteAddr, 445);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
* @param tc the CIFS context * @return resolved name, null if not found */ public synchronized NbtAddress getByName(final String host, final CIFSContext tc) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) { NbtAddress result = null; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/README.md
val dns = DnsOverHttps.Builder().client(bootstrapClient) .url("https://dns.google/dns-query".toHttpUrl()) .bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8")) .build() val client = bootstrapClient.newBuilder().dns(dns).build() ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 739 bytes - Viewed (0)