Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nudge (0.02 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    		capacity := max(w.capacity/2, w.lowerBoundCapacity)
    		if capacity < w.capacity {
    			w.doCacheResizeLocked(capacity)
    		}
    		return
    	}
    }
    
    // isCacheFullLocked used to judge whether watchCacheEvent is full.
    // Assumes that lock is already held for write.
    func (w *watchCache) isCacheFullLocked() bool {
    	return w.endIndex == w.startIndex+w.capacity
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top