Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for Address (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      private fun assertRoute(
        route: Route,
        address: Address,
        proxy: Proxy,
        socketAddress: InetAddress,
        socketPort: Int,
      ) {
        assertThat(route.address).isEqualTo(address)
        assertThat(route.proxy).isEqualTo(proxy)
        assertThat(route.socketAddress.address).isEqualTo(socketAddress)
        assertThat(route.socketAddress.port).isEqualTo(socketPort)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
      public static Inet4Address getCompatIPv4Address(Inet6Address ip) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/net/InetAddressesTest.java

        }
        assertEquals(address_66_255, address);
    
        address = InetAddresses.increment(address);
        assertEquals(address_67_0, address);
    
        InetAddress address_ffffff = InetAddress.getByName("255.255.255.255");
        assertThrows(IllegalArgumentException.class, () -> InetAddresses.increment(address_ffffff));
      }
    
      public void testIncrementIPv6() throws UnknownHostException {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
      private val routeB1 = factory.newRoute(addressB)
      private val addressC = factory.newAddress("c")
      private val routeC1 = factory.newRoute(addressC)
    
      @AfterEach fun tearDown() {
        factory.close()
        peer.close()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      private fun connectTls(
        sslSocket: SSLSocket,
        connectionSpec: ConnectionSpec,
      ) {
        val address = route.address
        var success = false
        try {
          if (connectionSpec.supportsTlsExtensions) {
            Platform.get().configureTlsExtensions(sslSocket, address.url.host, address.protocols)
          }
    
          // Force handshake. This can throw!
          sslSocket.startHandshake()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          ),
        )
        dns = buildLocalhost(bootstrapClient, true)
        val result = dns.lookup("google.com")
        assertThat(result.size).isEqualTo(2)
        assertThat(result).contains(address("157.240.1.18"))
        assertThat(result).contains(address("2a03:2880:f029:11:face:b00c:0:2"))
        val request1 = server.takeRequest()
        assertThat(request1.method).isEqualTo("GET")
        val request2 = server.takeRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.yaml

      - lbEndpoints:
        - endpoint:
            address:
              socketAddress:
                address: 10.244.0.8
                portValue: 53
            healthCheckConfig: {}
          healthStatus: HEALTHY
          loadBalancingWeight: 1
          metadata:
            filterMetadata:
              istio:
                workload: coredns;kube-system;;;Kubernetes
        - endpoint:
            address:
              socketAddress:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 12 02:25:59 GMT 2022
    - 17.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
      return address
    }
    
    /** Decodes an IPv4 address suffix of an IPv6 address, like 1111::5555:6666:192.168.0.1. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        }
        assertEquals(address_66_255, address);
    
        address = InetAddresses.increment(address);
        assertEquals(address_67_0, address);
    
        InetAddress address_ffffff = InetAddress.getByName("255.255.255.255");
        assertThrows(IllegalArgumentException.class, () -> InetAddresses.increment(address_ffffff));
      }
    
      public void testIncrementIPv6() throws UnknownHostException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        route: Route,
        routes: List<Route>? = null,
      ): ConnectPlan {
        if (route.address.sslSocketFactory == null) {
          if (ConnectionSpec.CLEARTEXT !in route.address.connectionSpecs) {
            throw UnknownServiceException("CLEARTEXT communication not enabled for client")
          }
    
          val host = route.address.url.host
          if (!Platform.get().isCleartextTrafficPermitted(host)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top