Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 296 for addresses (0.15 sec)

  1. 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
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress addressV6_66_ff = InetAddress.getByName("2001:db8::66ff");
        InetAddress addressV6_67_0 = InetAddress.getByName("2001:db8::6700");
    
        InetAddress address = addressV6_66_0;
        for (int i = 0; i < 255; i++) {
          address = InetAddresses.increment(address);
        }
        assertEquals(addressV6_66_ff, address);
    
        address = InetAddresses.increment(address);
        assertEquals(addressV6_67_0, address);
    
    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)
  3. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress addressV6_66_ff = InetAddress.getByName("2001:db8::66ff");
        InetAddress addressV6_67_0 = InetAddress.getByName("2001:db8::6700");
    
        InetAddress address = addressV6_66_0;
        for (int i = 0; i < 255; i++) {
          address = InetAddresses.increment(address);
        }
        assertEquals(addressV6_66_ff, address);
    
        address = InetAddresses.increment(address);
        assertEquals(addressV6_67_0, address);
    
    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)
  4. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // addressType specifies the type of address carried by this EndpointSlice.
      // All addresses in this slice must be the same type. This field is
      // immutable after creation. The following address types are currently
      // supported:
      // * IPv4: Represents an IPv4 Address.
      // * IPv6: Represents an IPv6 Address.
      // * FQDN: Represents a Fully Qualified Domain Name.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

        val latch = CountDownLatch(1)
    
        // assumes an IPv4 address
        AndroidAsyncDns.IPv4.query(
          hostname,
          object : AsyncDns.Callback {
            override fun onResponse(
              hostname: String,
              addresses: List<InetAddress>,
            ) {
              allAddresses.addAll(addresses)
              latch.countDown()
            }
    
            override fun onFailure(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        dnsResults =
          listOf(
            localhostIpv4,
            localhostIpv6,
            TestUtil.UNREACHABLE_ADDRESS_IPV4.address,
          )
        serverIpv4.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
        serverIpv6.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
    
        // Yield the first IP address so the second IP address completes first.
        val firstConnectLatch = CountDownLatch(1)
        val socketFactory =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/discovery/v1/generated.proto

      // addressType specifies the type of address carried by this EndpointSlice.
      // All addresses in this slice must be the same type. This field is
      // immutable after creation. The following address types are currently
      // supported:
      // * IPv4: Represents an IPv4 Address.
      // * IPv6: Represents an IPv6 Address.
      // * FQDN: Represents a Fully Qualified Domain Name.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/testdata/mesh-config.yaml

      # outbound connections.
      # If "REDIRECT", use iptables REDIRECT to NAT and redirect to Envoy.
      # The "REDIRECT" mode loses source addresses during redirection.
      # If "TPROXY", use iptables TPROXY to redirect to Envoy.
      # The "TPROXY" mode preserves both the source and destination IP
      # addresses and ports, so that they can be used for advanced filtering
      # and manipulation.
      # The "TPROXY" mode also configures the sidecar to run with the
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      companion object {
        /**
         * A network that resolves only one IP address per host. Use this when testing route selection
         * fallbacks to prevent the host machine's various IP addresses from interfering.
         */
        private val SINGLE_INET_ADDRESS_DNS =
          Dns { hostname ->
            val addresses = Dns.SYSTEM.lookup(hostname)
            listOf(addresses[0])
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. internal/handlers/proxy.go

    		// Only grab the first (client) address. Note that '192.168.0.1,
    		// 10.1.1.1' is a valid key for X-Forwarded-For where addresses after
    		// the first may represent forwarding proxies earlier in the chain.
    		s := strings.Index(fwd, ", ")
    		if s == -1 {
    			s = len(fwd)
    		}
    		addr = fwd[:s]
    	} else if fwd := r.Header.Get(xRealIP); fwd != "" {
    		// X-Real-IP should only contain one IP address (the client making the
    		// request).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top