Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for circuit (0.51 sec)

  1. 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)
  2. 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)
  3. 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)
  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. 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. 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/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. src/main/java/jcifs/Configuration.java

         * 
         * @return socket timeout for netbios connections, in milliseconds
         */
        int getNetbiosSoTimeout ();
    
    
        /**
         * 
         * 
         * @return virtual circuit number to use
         */
        int getVcNumber ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.capabilities</tt> (int)
         * 
         * @return custom capabilities
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. pkg/kubelet/certificate/bootstrap/bootstrap.go

    // The certificate and key file are stored in certDir.
    func LoadClientCert(ctx context.Context, kubeconfigPath, bootstrapPath, certDir string, nodeName types.NodeName) error {
    	// Short-circuit if the kubeconfig file exists and is valid.
    	ok, err := isClientConfigStillValid(kubeconfigPath)
    	if err != nil {
    		return err
    	}
    	if ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
Back to top