- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for podMounts (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
// copied from pred.Limit). // The expected number of calls is n+1 where n is the smallest n so that: // pageSize + pageSize * 2 + pageSize * 4 + ... + pageSize * 2^n >= podCount. // For pageSize = 1, podCount = 1000, we get n+1 = 10, 2 ^ 10 = 1024. currLimit := pageSize for sum := uint64(1); sum < estimatedProcessedObjects; { currLimit *= 2 if currLimit > maxLimit { currLimit = maxLimit
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
validation(t, 1, 1) } } func RunTestListPaginationRareObject(ctx context.Context, t *testing.T, store storage.Interface, validation CallsValidation) { podCount := 1000 var pods []*example.Pod for i := 0; i < podCount; i++ { obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("pod-%d", i)}} key := computePodKey(obj) storedObj := &example.Pod{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0)