Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 141 for circuit (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
            String originalId = originalRepository.getId();
    
            // simple checks first to short circuit processing below.
            if (WILDCARD.equals(pattern) || pattern.equals(originalId)) {
                result = true;
            } else {
                // process the list
                String[] repos = pattern.split(",");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    func cachedHasSynced(hasSynced func() bool) func() bool {
    	cache := &atomic.Bool{}
    	cache.Store(false)
    	return func() bool {
    		if cache.Load() {
    			// short-circuit if already synced
    			return true
    		}
    		if hasSynced() {
    			// remember we synced
    			cache.Store(true)
    			return true
    		}
    		return false
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	}
    	return nil
    }
    
    // lockPath returns a typePath describing the location of a lock value
    // contained in typ. If there is no contained lock, it returns nil.
    //
    // The seen map is used to short-circuit infinite recursion due to type cycles.
    func lockPath(tpkg *types.Package, typ types.Type, seen map[types.Type]bool) typePath {
    	if typ == nil || seen[typ] {
    		return nil
    	}
    	if seen == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top