Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for circuit (0.15 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            @Override
            void execute(CompatibilityCheckDetails<String> details) {
                details.incompatible()
            }
        }
    
        def "compatibility rules can mark values as incompatible and short-circuit evaluation"() {
            def attr = Attribute.of(String)
    
            given:
            schema.attribute(attr).compatibilityRules.add(IncompatibleStringsRule)
            schema.attribute(attr).compatibilityRules.add(BrokenRule)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. pilot/pkg/status/distribution/reporter.go

    	reportbytes, err := yaml.Marshal(report)
    	if err != nil {
    		scope.Errorf("Error serializing Distribution Report: %v", err)
    		return
    	}
    	r.cm.Data[dataField] = string(reportbytes)
    	// TODO: short circuit this write in the leader
    	_, err = CreateOrUpdateConfigMap(ctx, r.cm, r.client)
    	if err != nil {
    		scope.Errorf("Error writing Distribution Report: %v", err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/start.go

    		// child.
    		//
    		// On the other hand, if telemetryChildVar were simply unset, then the
    		// delegated go commands would fork themselves recursively. Short-circuit
    		// this recursion.
    		os.Setenv(telemetryChildVar, "2")
    		upload := os.Getenv(telemetryUploadVar) == "1"
    		child(reportCrashes, upload, config.UploadStartTime, config.UploadURL)
    		os.Exit(0)
    	case "2":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubeletconfig/util/files/files_test.go

    					errs = append(errs, fmt.Errorf("no prior parent directory in c.expects for file %s", f.name))
    					continue
    				}
    				dirs[path][filepath.Base(f.name)] = f.data
    			}
    		}
    
    		// short-circuit test case validation errors
    		if len(errs) > 0 {
    			return errs
    		}
    
    		// call ReplaceDir for each desired dir
    		for path, files := range dirs {
    			if err := ReplaceDir(fs, path, files); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/policy_static.go

    	// resource when considering pod alignment.
    	// In terms of hints, this is equal to: TopologyHints[NUMANodeAffinity: nil, Preferred: true].
    	if requested == 0 {
    		return nil
    	}
    
    	// Short circuit to regenerate the same hints if there are already
    	// guaranteed CPUs allocated to the Container. This might happen after a
    	// kubelet restart, for example.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  6. src/go/doc/doc.go

    		}
    	}
    
    	// TODO(dmitshur,gri): A relatively high level call to ast.NewPackage with a simpleImporter
    	// ast.Importer implementation is made below. It might be possible to short-circuit and simplify.
    
    	// Compute package documentation.
    	pkg, _ := ast.NewPackage(fset, goFiles, simpleImporter, nil) // Ignore errors that can happen due to unresolved identifiers.
    	p := New(pkg, importPath, mode)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/controller.go

    	}
    	return slices.Filter(cfgs, func(c config.Config) bool {
    		return c.Namespace == namespace
    	})
    }
    
    // hasResources determines if there are any gateway-api resources created at all.
    // If not, we can short circuit all processing to avoid excessive work.
    func (kr GatewayResources) hasResources() bool {
    	return len(kr.GatewayClass) > 0 ||
    		len(kr.Gateway) > 0 ||
    		len(kr.HTTPRoute) > 0 ||
    		len(kr.GRPCRoute) > 0 ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. cluster/addons/calico-policy-controller/networkpolicies-crd.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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 44.2K bytes
    - Viewed (0)
  9. pilot/pkg/model/config.go

    func OldestMatchingHost(needle host.Name, specific map[host.Name]config.Config, wildcard map[host.Name]config.Config) (host.Name, config.Config, bool) {
    	// The algorithm is a bit different than MostSpecificHostMatch. We can't short-circuit on the first
    	// match, regardless of whether it's specific or wildcarded. This is because we have to check the timestamp
    	// of all configs to make sure there's not an older matching one that we should use instead.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/network.go

    func (n *networkManager) extractGatewaysInner(svc *model.Service) bool {
    	n.Lock()
    	defer n.Unlock()
    	previousGateways := n.networkGatewaysBySvc[svc.Hostname]
    	gateways := n.getGatewayDetails(svc)
    	// short circuit for most services.
    	if len(previousGateways) == 0 && len(gateways) == 0 {
    		return false
    	}
    
    	newGateways := make(model.NetworkGatewaySet)
    	// check if we have node port mappings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top