Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for allocate (0.19 sec)

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

        val address = factory.newHttpsAddress()
        proxySelector.proxies.add(proxyA)
        proxySelector.proxies.add(proxyB)
        var routeSelector = newRouteSelector(address)
        dns[PROXY_A_HOST] = dns.allocate(1)
        dns[PROXY_B_HOST] = dns.allocate(1)
    
        // Mark the ProxyA route as failed.
        val selection = routeSelector.next()
        dns.assertRequests(PROXY_A_HOST)
        val route = selection.next()
    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. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      }
    
      fun assertRequests(vararg expectedHosts: String?) {
        assertThat(requestedHosts).containsExactly(*expectedHosts)
        requestedHosts.clear()
      }
    
      /** Allocates and returns `count` fake IPv4 addresses like [255.0.0.100, 255.0.0.101].  */
      fun allocate(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
    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)
  3. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    // Node.  A ClusterCIDR is eligible to be used for a given Node when the node
    // selector matches the node in question and has free CIDRs to allocate.  In
    // case of multiple matching ClusterCIDR resources, the allocator will attempt
    // to break ties using internal heuristics, but any ClusterCIDR whose node
    // selector matches the Node may be used.
    message ClusterCIDR {
      // Standard object's metadata.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        return when {
          logger.isLoggable(Level.FINE) -> Throwable(closer) // These are expensive to allocate.
          else -> null
        }
      }
    
      open fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
        var logMessage = message
        if (stackTrace == null) {
          logMessage += " To see where this was allocated, set the OkHttpClient logger level to " +
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        allocateAndLeakAllocation(poolApi, c1)
        awaitGarbageCollection()
        assertThat(pool.closeConnections(100L)).isEqualTo(0L)
        assertThat(c1.calls).isEmpty()
    
        // Can't allocate once a leak has been detected.
        assertThat(c1.noNewExchanges).isTrue()
      }
    
      @Test fun interruptStopsThread() {
        val realTaskRunner = TaskRunner.INSTANCE
        val pool =
          factory.newConnectionPool(
    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)
  6. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional string hostIP = 5;
    
      // IP address allocated to the pod. Routable at least within the cluster.
      // Empty if not yet allocated.
      // +optional
      optional string podIP = 6;
    
      // podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
      // match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.9.md

        * It is intended to supersede the logic that is currently in range_allocator
        * and cloud_cidr_allocator. (ALPHA FEATURE)
        * Note: for this change, the other allocators still exist and are the default.
        * It supports two modes:
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Nov 16 10:46:27 GMT 2021
    - 313.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.20.md

        
    - Kubeadm: improve the validation of serviceSubnet and podSubnet.
      ServiceSubnet has to be limited in size, due to implementation details, and the mask can not allocate more than 20 bits.
      PodSubnet validates against the corresponding cluster "--node-cidr-mask-size" of the kube-controller-manager, it fail if the values are not compatible.
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.10.md

    * Fixed race conditions around devicemanager Allocate() and endpoint deletion. ([#60856](https://github.com/kubernetes/kubernetes/pull/60856), [@jiayingz](https://github.com/jiayingz))
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 341.8K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.21.md

    - Cloud-controller-manager: routes controller should not depend on --allocate-node-cidrs ([#97029](https://github.com/kubernetes/kubernetes/pull/97029), [@andrewsykim](https://github.com/andrewsykim)) [SIG Cloud Provider and Testing]
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Viewed (4)
Back to top