- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for isIpv6 (0.06 seconds)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
private static void checkBigIntegerConversion(String ip, BigInteger bigIntegerIp) { InetAddress address = InetAddresses.forString(ip); boolean isIpv6 = address instanceof Inet6Address; assertThat(InetAddresses.toBigInteger(address)).isEqualTo(bigIntegerIp); assertThat( isIpv6 ? InetAddresses.fromIPv6BigInteger(bigIntegerIp) : InetAddresses.fromIPv4BigInteger(bigIntegerIp))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* or IPv6 respectively */ private static InetAddress fromBigInteger(BigInteger address, boolean isIpv6) { checkArgument(address.signum() >= 0, "BigInteger must be greater than or equal to 0"); int numBytes = isIpv6 ? 16 : 4; byte[] addressBytes = address.toByteArray(); byte[] targetCopyArray = new byte[numBytes];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
enableProtocol(Protocol.HTTP_2) val request = Request(server1.url("/")) server1.enqueue(refusedStream) server2.enqueue(bodyResponse) dns[server1.hostName] = listOf(ipv6, ipv4) socketFactory[ipv6] = server1.socketAddress socketFactory[ipv4] = server2.socketAddress client = client .newBuilder() .fastFallback(false) .apply {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 15:25:06 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java
// IPv6 with port and path InetAddress ipv6 = InetAddress.getByName("::1"); assertEquals("http://[::1]:8080/sso/metadata", IpAddressUtil.buildUrl("http", ipv6, 8080, "/sso/metadata")); // IPv6 with port, no path assertEquals("http://[::1]:9200", IpAddressUtil.buildUrl("http", ipv6, 9200, "")); // IPv6 without portCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} // Add brackets for IPv6 return "[" + address + "]"; } return address; } /** * Compresses an IPv6 address string to its canonical compressed form. * For example, "0:0:0:0:0:0:0:1" becomes "::1" * * @param ipv6Address the IPv6 address string to compress * @return the compressed IPv6 address string */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) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
import org.junitpioneer.jupiter.RetryingTest import org.opentest4j.TestAbortedException /** * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to * `::1` will reach the IPv6 server. * * By orchestrating two different servers with the same port but different IP addresses, we can
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* Generate an error if the host might be a non-bracketed IPv6 literal. * * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]". * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and * disallow IPv6 literals that don't contain these brackets. * * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
Collections.synchronizedMap(mutableMapOf()) private val requestedHosts: MutableList<String> = Collections.synchronizedList(mutableListOf()) 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 }
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) -
docker-buildx.sh
_build "${each_osarch}" done sudo sysctl net.ipv6.conf.all.disable_ipv6=0 docker buildx build --push --no-cache \ --build-arg RELEASE="${release}" \ -t "registry.min.dev/community/minio:latest" \ -t "registry.min.dev/community/minio:${release}" \ --platform=linux/arm64,linux/amd64,linux/ppc64le \ -f Dockerfile . docker buildx prune -f sudo sysctl net.ipv6.conf.all.disable_ipv6=0 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Oct 19 08:22:05 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
.testEquals(); } public void testRequireBracketsForIPv6() { // Bracketed IPv6 works fine. assertThat(HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHost()).isEqualTo("::1"); assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()) .isEqualTo("::1"); // Non-bracketed non-IPv6 works fine.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0)