Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 116 for compareIDs (0.26 sec)

  1. pkg/kubelet/container/runtime.go

    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    // Version interface allow to consume the runtime versions - compare and format to string.
    type Version interface {
    	// Compare compares two versions of the runtime. On success it returns -1
    	// if the version is less than the other, 1 if it is greater than the other,
    	// or 0 if they are equal.
    	Compare(other string) (int, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/storage/v1/types.go

    //
    // They are consumed by the kube-scheduler when a CSI driver opts into
    // capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler
    // compares the MaximumVolumeSize against the requested size of pending volumes
    // to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back
    // to a comparison against the less precise Capacity. If that is also unset,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/cmd/go/internal/script/cmds.go

    			}
    
    			for _, arg := range args[1:] {
    				err := os.Chmod(s.Path(arg), fs.FileMode(perm))
    				if err != nil {
    					return nil, err
    				}
    			}
    			return nil, nil
    		})
    }
    
    // Cmp compares the contents of two files, or the contents of either the
    // "stdout" or "stderr" buffer and a file, returning a non-nil error if the
    // contents differ.
    func Cmp() Cmd {
    	return Command(
    		CmdUsage{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. src/time/format_test.go

    		f.Add(tt.value)
    	}
    	for _, tt := range longFractionalDigitsTests {
    		f.Add(tt.value)
    	}
    
    	f.Fuzz(func(t *testing.T, s string) {
    		// equalTime is like time.Time.Equal, but also compares the time zone.
    		equalTime := func(t1, t2 Time) bool {
    			name1, offset1 := t1.Zone()
    			name2, offset2 := t2.Zone()
    			return t1.Equal(t2) && name1 == name2 && offset1 == offset2
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/types.go

    	// Lazily allocate scalar resource map.
    	if r.ScalarResources == nil {
    		r.ScalarResources = map[v1.ResourceName]int64{}
    	}
    	r.ScalarResources[name] = quantity
    }
    
    // SetMaxResource compares with ResourceList and takes max value for each Resource.
    func (r *Resource) SetMaxResource(rl v1.ResourceList) {
    	if r == nil {
    		return
    	}
    
    	for rName, rQuantity := range rl {
    		switch rName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/telemetry.go

    }
    
    func disableHostHeaderFallback(class networking.ListenerClass) bool {
    	return class == networking.ListenerClassSidecarInbound || class == networking.ListenerClassGateway
    }
    
    // Equal compares two computedTelemetries for equality. This was created to help with testing. Because of the nature of the structs being compared,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/debug_test.go

    // TestNexting go-builds a file, then uses a debugger (default delve, optionally gdb)
    // to next through the generated executable, recording each line landed at, and
    // then compares those lines with reference file(s).
    // Flag -u updates the reference file(s).
    // Flag -g changes the debugger to gdb (and uses gdb-specific reference files)
    // Flag -v is ever-so-slightly verbose.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	{'x', sharpNumFlag, argRune | argInt | argString | argPointer | argFloat | argComplex},
    	{'X', sharpNumFlag, argRune | argInt | argString | argPointer | argFloat | argComplex},
    }
    
    // okPrintfArg compares the formatState to the arguments actually present,
    // reporting any discrepancies it can discern. If the final argument is ellipsissed,
    // there's little it can do for that.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    	UsageLine: "module-auth",
    	Short:     "module authentication using go.sum",
    	Long: `
    When the go command downloads a module zip file or go.mod file into the
    module cache, it computes a cryptographic hash and compares it with a known
    value to verify the file hasn't changed since it was first downloaded. Known
    hashes are stored in a file in the module root directory named go.sum. Hashes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    			}
    			s = nodeSorter{ns, scoreOrder}
    		}
    	default:
    		return fmt.Errorf("report: unrecognized sort ordering: %d", o)
    	}
    	sort.Sort(s)
    	return nil
    }
    
    // compareNodes compares two nodes to provide a deterministic ordering
    // between them. Two nodes cannot have the same Node.Info value.
    func compareNodes(l, r *Node) bool {
    	return fmt.Sprint(l.Info) < fmt.Sprint(r.Info)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top