Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for circuit (0.17 sec)

  1. pkg/proxy/nftables/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: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            // at this level, otherwise we spam for no reason. We can remove this once the deprecation
            // turns into an error, since the error will short-circuit the child notifications.
            if (emittedDeprecation) {
                DeprecationLogger.whileDisabled(() -> notifyChildren(type));
            } else {
                notifyChildren(type);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  3. cmd/kubelet/app/server.go

    				return fmt.Errorf("unknown command %+s", cmds[0])
    			}
    
    			// short-circuit on help
    			help, err := cleanFlagSet.GetBool("help")
    			if err != nil {
    				return errors.New(`"help" flag is non-bool, programmer error, please correct`)
    			}
    			if help {
    				return cmd.Help()
    			}
    
    			// short-circuit on verflag
    			verflag.PrintAndExitIfRequested()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    	{"or", "{{or 0 0}} {{or 1 0}} {{or 0 true}} {{or 1 1}}", "0 1 true 1", nil, true},
    	{"or short-circuit", "{{or 0 1 (die)}}", "1", nil, true},
    	{"and short-circuit", "{{and 1 0 (die)}}", "0", nil, true},
    	{"or short-circuit2", "{{or 0 0 (die)}}", "", nil, false},
    	{"and short-circuit2", "{{and 1 1 (die)}}", "", nil, false},
    	{"and pipe-true", "{{1 | and 1}}", "1", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		}
    	}
    
    	// the start containers routines depend on pod ip(as in primary pod ip)
    	// instead of trying to figure out if we have 0 < len(podIPs)
    	// everytime, we short circuit it here
    	podIP := ""
    	if len(podIPs) != 0 {
    		podIP = podIPs[0]
    	}
    
    	// Get podSandboxConfig for containers to start.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. src/go/build/build.go

    	l := strings.Split(name, "_")
    	if n := len(l); n > 0 && l[n-1] == "test" {
    		l = l[:n-1]
    	}
    	n := len(l)
    	if n >= 2 && knownOS[l[n-2]] && knownArch[l[n-1]] {
    		if allTags != nil {
    			// In case we short-circuit on l[n-1].
    			allTags[l[n-2]] = true
    		}
    		return ctxt.matchTag(l[n-1], allTags) && ctxt.matchTag(l[n-2], allTags)
    	}
    	if n >= 1 && (knownOS[l[n-1]] || knownArch[l[n-1]]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      TF::VariantType variant_ty =
          getElementTypeOrSelf(type).dyn_cast<TF::VariantType>();
      if (!variant_ty) {
        return type;
      }
      if (!variant_ty.getSubtypes().empty()) {
        // Short-circut if the variant type has subtype info.
        return UnrankedTensorType::get(
            variant_ty.getSubtypes()[0].getElementType());
      }
      Type value_type = value.getType();
      Type element_type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			return input, nil, nil
    		}, input)
    	if err != nil {
    		t.Fatalf("Update failed: %v", err)
    	}
    	if out.ResourceVersion != lastVersion {
    		t.Errorf("guaranteed update should have short-circuited write, got %#v", out)
    	}
    
    	revertTransformer = store.UpdatePrefixTransformer(
    		func(transformer *PrefixTransformer) value.Transformer {
    			transformer.stale = true
    			return transformer
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top