Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,049 for effort (0.12 sec)

  1. pkg/apis/core/v1/helper/qos/qos_test.go

    		},
    		{
    			pod: newPod("best-effort-best-effort", []v1.Container{
    				newContainer("best-effort", getResourceList("", ""), getResourceList("", "")),
    				newContainer("best-effort", getResourceList("", ""), getResourceList("", "")),
    			}),
    			expected: v1.PodQOSBestEffort,
    		},
    		{
    			pod: newPod("best-effort", []v1.Container{
    				newContainer("best-effort", getResourceList("", ""), getResourceList("", "")),
    			}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 14:47:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/topology_manager_test.go

    	}{
    		{
    			description:    "Policy is set to none",
    			policyName:     "none",
    			expectedPolicy: "none",
    		},
    		{
    			description:    "Policy is set to best-effort",
    			policyName:     "best-effort",
    			expectedPolicy: "best-effort",
    		},
    		{
    			description:    "Policy is set to restricted",
    			policyName:     "restricted",
    			expectedPolicy: "restricted",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 13:04:32 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/policy_best_effort.go

    	numaInfo *NUMAInfo
    	opts     PolicyOptions
    }
    
    var _ Policy = &bestEffortPolicy{}
    
    // PolicyBestEffort policy name.
    const PolicyBestEffort string = "best-effort"
    
    // NewBestEffortPolicy returns best-effort policy.
    func NewBestEffortPolicy(numaInfo *NUMAInfo, opts PolicyOptions) Policy {
    	return &bestEffortPolicy{numaInfo: numaInfo, opts: opts}
    }
    
    func (p *bestEffortPolicy) Name() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/ModelContainer.java

     */
    public interface ModelContainer<T> {
    
        /**
         * Runs the given function to calculate a value from the public mutable model. Applies best effort synchronization to prevent concurrent access to a particular project from multiple threads.
         * However, it is currently easy for state to leak from one project to another so this is not a strong guarantee.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/archive/tar/stat_unix.go

    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/telemetry/telemetry.go

    	// Note: This is best effort; this may be empty if generated by Sidecar config, and there may be multiple
    	// Services that make up the filter chain.
    	InstanceHostname host.Name
    	// KubernetesServiceNamespace is the namespace the service is defined in, if it is for a Kubernetes Service.
    	// Note: This is best effort; this may be empty if generated by Sidecar config, and there may be multiple
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 02:38:43 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/lockedfile/lockedfile.go

    		if _, err := f.WriteAt(new[len(old):], int64(len(old))); err != nil {
    			// Make a best effort to remove the incomplete tail.
    			f.Truncate(int64(len(old)))
    			return err
    		}
    	}
    
    	// We're about to overwrite the old contents. In case of failure, make a best
    	// effort to roll back before we close the file.
    	defer func() {
    		if err != nil {
    			if _, err := f.WriteAt(old, 0); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/install_modcacherw_issue64282.txt

    # Regression test for https://go.dev/issue/64282.
    #
    # 'go install' and 'go run' with pkg@version arguments should make
    # a best effort to parse flags relevant to downloading modules
    # (currently only -modcacherw) before actually downloading the module
    # to identify which toolchain version to use.
    #
    # However, the best-effort flag parsing should not interfere with
    # actual flag parsing if we don't switch toolchains. In particular,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 17:53:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. pkg/kubelet/images/puller.go

    		}
    		startTime := time.Now()
    		imageRef, err := pip.imageService.PullImage(ctx, spec, pullSecrets, podSandboxConfig)
    		var size uint64
    		if err == nil && imageRef != "" {
    			// Getting the image size with best effort, ignoring the error.
    			size, _ = pip.imageService.GetImageSize(ctx, spec)
    		}
    		pullChan <- pullResult{
    			imageRef:     imageRef,
    			imageSize:    size,
    			err:          err,
    			pullDuration: time.Since(startTime),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 00:30:31 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/runtime/pprof/pe.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package pprof
    
    import "os"
    
    // peBuildID returns a best effort unique ID for the named executable.
    //
    // It would be wasteful to calculate the hash of the whole file,
    // instead use the binary name and the last modified time for the buildid.
    func peBuildID(file string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:18:04 UTC 2022
    - 536 bytes
    - Viewed (0)
Back to top