- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 480 for addresses (0.04 seconds)
-
tests/joins_table_test.go
t.Fatalf("Failed to setup join table for person, got error %v", err) } if err := DB.AutoMigrate(&Person{}, &Address{}); err != nil { t.Fatalf("Failed to migrate, got %v", err) } address1 := Address{Name: "address 1"} address2 := Address{Name: "address 2"} person := Person{Name: "person", Addresses: []Address{address1, address2}} DB.Create(&person) var addresses1 []Address
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Sep 10 13:46:18 GMT 2020 - 3.5K bytes - Click Count (1) -
src/main/java/jcifs/NameServiceClient.java
/** * Retrieve all addresses of a host by it's address. NetBIOS hosts can * 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. * * @param host * hostname to lookup all addresses for * @return resolved addresses * @throws java.net.UnknownHostExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt
/** * Implementation of HappyEyeballs Sorting Addresses. * * The current implementation does not address any of: * - Async DNS split by IP class * - Stateful handling of connectivity results * - The prioritisation of addresses * * https://datatracker.ietf.org/doc/html/rfc8305#section-4 */ internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> { if (addresses.size < 2) { return addresses }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Apr 24 15:15:15 GMT 2025 - 1.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt
import okhttp3.Dns /** * A network that always resolves two IP addresses per host. Use this when testing route selection * fallbacks to guarantee that a fallback address is available. */ class DoubleInetAddressDns : Dns { override fun lookup(hostname: String): List<InetAddress> { val addresses = Dns.SYSTEM.lookup(hostname) return listOf(addresses[0], addresses[0]) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
/** * Determines if the given address string represents an IPv6 address. * This method validates the address using InetAddress to ensure it's a valid IPv6 address. * * @param address the IP address string to check * @return true if the address is a valid IPv6 address, false otherwise */ public static boolean isIPv6Address(final String address) { if (address == null) { return false;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
/** * Resolves the given host name to an array of IP addresses. * The host name is first converted to ASCII using IDN before resolution. * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are * handled specially by removing the brackets before resolution. * * @param host the host name to resolve * @return an array of IP addresses for the hostCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 06 07:24:43 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
import okhttp3.Dns.Companion.SYSTEM /** * A domain name service that resolves IP addresses for host names. Most applications will use the * [system DNS service][SYSTEM], which is the default. Some applications may provide their own * implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4 addresses, * or to force a specific known IP address. * * Implementations of this interface must be safe for concurrent use. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java
/** * Resolves the given host name to an array of IP addresses. * The host name is first converted to ASCII using IDN before resolution. * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are * handled specially by removing the brackets before resolution. * * @param host the host name to resolve * @return an array of IP addresses for the hostCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 4.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6. /** Sets the results for `hostname`. */ operator fun set( hostname: String, addresses: List<InetAddress>, ): FakeDns { hostAddresses[hostname] = addresses return this } /** Clears the results for `hostname`. */ fun clear(hostname: String): FakeDns { hostAddresses.remove(hostname) return this }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 20:20:29 GMT 2026 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
NbtAddress[] addresses = (NbtAddress[]) addressArrayField.get(response); assertEquals(numNames, addresses.length); // Verify each address has correct data for (int i = 0; i < numNames; i++) { assertNotNull(addresses[i]); assertTrue(addresses[i].isActive); assertFalse(addresses[i].groupName); } } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0)