Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 141 for circuit (0.4 sec)

  1. pilot/pkg/config/kube/gateway/conversion.go

    	routeHost := host.Name(rawRouteHost)
    	ourListener := host.Name(r.Hostname)
    	if len(ourListener) > 0 && !ourListener.IsWildCarded() {
    		// Short circuit: this logic only applies to wildcards
    		// Not required for correctness, just an optimization
    		return true
    	}
    	if len(ourListener) > 0 && !routeHost.Matches(ourListener) {
    		return false
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    	}
    
    	// Did not match any inclusion filters, exclude from compression.
    	return true
    }
    
    // Utility which returns if a string is present in the list.
    // Comparison is case insensitive. Explicit short-circuit if
    // the list contains the wildcard "*".
    func hasStringSuffixInSlice(str string, list []string) bool {
    	str = strings.ToLower(str)
    	for _, v := range list {
    		if v == "*" {
    			return true
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. src/net/http/server.go

    //  6. the rwc, the [net.Conn].
    //
    // TODO(bradfitz): short-circuit some of the buffering when the
    // initial header contains both a Content-Type and Content-Length.
    // Also short-circuit in (1) when the header's been sent and not in
    // chunking mode, writing directly to (4) instead, if (2) has no
    // buffered data. More generally, we could short-circuit from (1) to
    // (3) even in chunking mode if the write size from (1) is over some
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. prow/config/calico.yaml

                      \"c\" \thas(label_name)  -> True if that label is present \t! expr
                      -> negation of expr \texpr && expr  -> Short-circuit and \texpr
                      || expr  -> Short-circuit or \t( expr ) -> parens for grouping \tall()
                      or the empty selector -> matches all endpoints. \n Label names are
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeToken.java

        @CanIgnoreReturnValue
        private int collectTypes(K type, Map<? super K, Integer> map) {
          Integer existing = map.get(type);
          if (existing != null) {
            // short circuit: if set contains type it already contains its supertypes
            return existing;
          }
          // Interfaces should be listed before Object.
          int aboveMe = getRawType(type).isInterface() ? 1 : 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToken.java

        @CanIgnoreReturnValue
        private int collectTypes(K type, Map<? super K, Integer> map) {
          Integer existing = map.get(type);
          if (existing != null) {
            // short circuit: if set contains type it already contains its supertypes
            return existing;
          }
          // Interfaces should be listed before Object.
          int aboveMe = getRawType(type).isInterface() ? 1 : 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

            }
            currentClass.setUsingGenerics(true);
            boolean resolved = true;
            for (GenericsType type : types) {
                // attempt resolution on all types, so don't short-circuit and stop if we've previously failed
                resolved = resolveGenericsType(type) && resolved;
            }
            return resolved;
        }
    
        private void resolveGenericsHeader(GenericsType[] types) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  8. pkg/controller/controller_utils.go

    // any API calls.
    func RemoveTaintOffNode(ctx context.Context, c clientset.Interface, nodeName string, node *v1.Node, taints ...*v1.Taint) error {
    	if len(taints) == 0 {
    		return nil
    	}
    	// Short circuit for limiting amount of API calls.
    	if node != nil {
    		match := false
    		for _, taint := range taints {
    			if taintutils.TaintExists(node.Spec.Taints, taint) {
    				match = true
    				break
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier.go

    		// true if there are endpoints that will be reached by external traffic.
    		// (But we may still have to generate externalTrafficChain even if there
    		// are no external endpoints, to ensure that the short-circuit rules for
    		// local traffic are set up.)
    		externalPolicyChain := clusterPolicyChain
    		hasExternalEndpoints := hasEndpoints
    		if svcInfo.ExternalPolicyLocal() {
    			externalPolicyChain = localPolicyChain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  10. pkg/proxy/iptables/proxier_test.go

    			// It doesn't actually make sense to short-circuit here, since if
    			// you connect directly to a NodePort from outside the cluster,
    			// you only get the local endpoints. But it's simpler for us and
    			// slightly more convenient for users to have this case get
    			// short-circuited too.
    			output: "10.180.0.2:80, 10.180.1.2:80",
    			masq:   false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
Back to top