- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 71 for vfunc (0.32 sec)
-
pkg/kubelet/eviction/helpers.go
func (ms *multiSorter) Sort(pods []*v1.Pod) { ms.pods = pods sort.Sort(ms) } // OrderedBy returns a Sorter that sorts using the cmp functions, in order. // Call its Sort method to sort the data. func orderedBy(cmp ...cmpFunc) *multiSorter { return &multiSorter{ cmp: cmp, } } // Len is part of sort.Interface. func (ms *multiSorter) Len() int {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/security_windows.go
} // IsValid returns whether the SID has a valid revision and length. func (sid *SID) IsValid() bool { return isValidSid(sid) } // Equals compares two SIDs for equality. func (sid *SID) Equals(sid2 *SID) bool { return EqualSid(sid, sid2) } // IsWellKnown determines whether the SID matches the well-known sidType. func (sid *SID) IsWellKnown(sidType WELL_KNOWN_SID_TYPE) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 52.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
if isNamespaced { e.KeyRootFunc = func(ctx context.Context) string { return NamespaceKeyRootFunc(ctx, prefix) } e.KeyFunc = func(ctx context.Context, name string) (string, error) { return NamespaceKeyFunc(ctx, prefix, name) } } else { e.KeyRootFunc = func(ctx context.Context) string { return prefix } e.KeyFunc = func(ctx context.Context, name string) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
o.podInitialBackoffDuration = duration } } // WithPodMaxBackoffDuration sets pod max backoff duration for PriorityQueue. func WithPodMaxBackoffDuration(duration time.Duration) Option { return func(o *priorityQueueOptions) { o.podMaxBackoffDuration = duration } } // WithPodLister sets pod lister for PriorityQueue. func WithPodLister(pl listersv1.PodLister) Option {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
Terminating string = "terminating" Other string = "other" ) func pluginPVOmittingClient(dswp *desiredStateOfWorldPopulator) { fakeClient := &fake.Clientset{} fakeClient.AddReactor("get", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) { return false, nil, nil }) fakeClient.AddReactor("get", "persistentvolumes", func(action core.Action) (bool, runtime.Object, error) { return false, nil, nil })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
tests/query_test.go
t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String()) } } type Int64 int64 func (v Int64) Value() (driver.Value, error) { return v - 1, nil } func (f *Int64) Scan(v interface{}) error { y := v.(int64) *f = Int64(y + 1) return nil } func TestPluck(t *testing.T) { users := []*User{ GetUser("pluck-user1", Config{}), GetUser("pluck-user2", Config{}),
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
} }) } } func TestPodLifecycleSleepActionEnablement(t *testing.T) { getLifecycle := func(pod *api.Pod) *api.Lifecycle { return pod.Spec.Containers[0].Lifecycle } defaultTerminationGracePeriodSeconds := int64(30) podWithHandler := func() *api.Pod { return &api.Pod{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
src/math/big/float_test.go
var _ error = ErrNaN{} func (x *Float) uint64() uint64 { u, acc := x.Uint64() if acc != Exact { panic(fmt.Sprintf("%s is not a uint64", x.Text('g', 10))) } return u } func (x *Float) int64() int64 { i, acc := x.Int64() if acc != Exact { panic(fmt.Sprintf("%s is not an int64", x.Text('g', 10))) } return i } func TestFloatZeroValue(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller.go
// to avoid the problem with time skew across the cluster. now func() metav1.Time enterPartialDisruptionFunc func(nodeNum int) float32 enterFullDisruptionFunc func(nodeNum int) float32 computeZoneStateFunc func(nodeConditions []*v1.NodeCondition) (int, ZoneState) knownNodeSet map[string]*v1.Node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.6K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
name string modify func(new *storage.CSIDriver) }{{ name: "no change", modify: func(new *storage.CSIDriver) {}, }, { name: "change TokenRequests", modify: func(new *storage.CSIDriver) { new.Spec.TokenRequests = []storage.TokenRequest{{Audience: gcp}} }, }, { name: "change RequiresRepublish", modify: func(new *storage.CSIDriver) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0)