Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for currLimit (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			// 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
    				}
    				sum += currLimit
    				estimatedGetCalls++
    			}
    		}
    		if reads := recorder.GetReadsAndReset(); reads != estimatedGetCalls {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top