Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 152 for circuit (0.17 sec)

  1. cmd/kubeadm/app/phases/upgrade/policy.go

    func detectUnstableVersionError(newK8sVersion *version.Version, newK8sVersionStr string, allowExperimentalUpgrades, allowRCUpgrades bool) error {
    	// Short-circuit quickly if this is not an unstable version
    	if len(newK8sVersion.PreRelease()) == 0 {
    		return nil
    	}
    	// If the user has specified that unstable versions are fine, then no error should be returned
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    // materialized (at the position of the function's closing brace).
    //
    // The CFG does not record conditions associated with conditional branch
    // edges, nor the short-circuit semantics of the && and || operators,
    // nor abnormal control flow caused by panic.  If you need this
    // information, use golang.org/x/tools/go/ssa instead.
    package cfg
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolver.java

            if (selectors.size() == 1) {
                ResolvableSelectorState selectorState = selectors.first();
                // Short-circuit selector merging for single selector without 'prefer'
                if (selectorState.getVersionConstraint() == null || selectorState.getVersionConstraint().getPreferredSelector() == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 14:22:29 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  4. pkg/controller/serviceaccount/tokens_controller.go

    	if apierrors.IsNotFound(err) {
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    	// Short-circuit if the UID doesn't match
    	if len(saUID) > 0 && saUID != serviceAccount.UID {
    		return nil
    	}
    
    	// Short-circuit if the secret is no longer referenced
    	if !getSecretReferences(serviceAccount).Has(secretName) {
    		return nil
    	}
    
    	// Remove the secret
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. cmd/utils.go

    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    		return ""
    	}
    	xfix := strs[0]
    	// short-circuit single-element list
    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    		// short-circuit empty strings
    		if xfixl == 0 || strl == 0 {
    			return ""
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. src/reflect/deepequal.go

    		addr2 := ptrval(v2)
    		if uintptr(addr1) > uintptr(addr2) {
    			// Canonicalize order to reduce number of entries in visited.
    			// Assumes non-moving garbage collector.
    			addr1, addr2 = addr2, addr1
    		}
    
    		// Short circuit if references are already seen.
    		typ := v1.Type()
    		v := visit{addr1, addr2, typ}
    		if visited[v] {
    			return true
    		}
    
    		// Remember for later.
    		visited[v] = true
    	}
    
    	switch v1.Kind() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    	}
    
    	m := &argMatcher{t: t, seen: make(map[types.Type]bool)}
    	ok = m.match(typ, true)
    	return m.reason, ok
    }
    
    // argMatcher recursively matches types against the printfArgType t.
    //
    // To short-circuit recursion, it keeps track of types that have already been
    // matched (or are in the process of being matched) via the seen map. Recursion
    // arises from the compound types {map,chan,slice} which may be printed with %d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/upgrade/common.go

    }
    
    // printConfiguration prints the external version of the API to yaml
    func printConfiguration(clustercfg *kubeadmapi.ClusterConfiguration, w io.Writer, printer output.Printer) {
    	// Short-circuit if cfg is nil, so we can safely get the value of the pointer below
    	if clustercfg == nil {
    		return
    	}
    
    	cfgYaml, err := configutil.MarshalKubeadmConfigObject(clustercfg, kubeadmapiv1.SchemeGroupVersion)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/common/equality.go

    				if r.mapList == nil {
    					// Treat non-correlatable array as a unit with reflect.DeepEqual
    					return reflect.DeepEqual(oldAsArray, newAsArray)
    				}
    
    				// If array is correlatable, but old not found. Just short circuit
    				// comparison
    				return false
    
    			} else if !child.CachedDeepEqual() {
    				// If one child is not equal the entire object is not equal
    				return false
    			}
    		}
    
    		return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 21:53:21 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/FinalizerGroup.java

            for (Node member : members) {
                if (isFinalizerNode(member) || memberCanStartAtAnyTime(member)) {
                    // Short-circuit for these, they are handled separately
                    continue;
                }
                if (blockedFinalizedMembers.contains(member)) {
                    if (!finalizedNodesToBlockOn.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jul 01 16:25:48 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top