Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for circuit (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. plugin/pkg/auth/authorizer/node/graph.go

    	nodeVertex := g.getOrCreateVertex_locked(nodeVertexType, "", pod.Spec.NodeName)
    	g.graph.SetEdge(newDestinationEdge(podVertex, nodeVertex, nodeVertex))
    
    	// Short-circuit adding edges to other resources for mirror pods.
    	// A node must never be able to create a pod that grants them permissions on other API objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeRangeMap.java

          remove(range);
          entriesByLowerBound.put(range.lowerBound, new RangeMapEntry<K, V>(range, value));
        }
      }
    
      @Override
      public void putCoalescing(Range<K> range, V value) {
        // don't short-circuit if the range is empty - it may be between two ranges we can coalesce.
        if (entriesByLowerBound.isEmpty()) {
          put(range, value);
          return;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top