Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canonicalizeInetAddressMapped (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

        val addressG = decodeIpv6("0:0:0:0:0:ffff:c0a8:1")!!
        assertThat(canonicalizeInetAddress(addressG)).isEqualTo(addressC)
      }
    
      @Test
      fun canonicalizeInetAddressMapped() {
        val addressAIpv6 = decodeIpv6("0:0:0:0:0:ffff:7f00:1")!!
        val addressAIpv4 = byteArrayOf(127, 0, 0, 1)
        assertThat(canonicalizeInetAddress(addressAIpv6)).isEqualTo(addressAIpv4)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 30 06:23:33 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top