Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for heldRequestsMap (0.59 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    	var hrs []heldRequest
    	for {
    		for plName, hrs = range cts.heldRequestsMap {
    			goto GotOne
    		}
    		return "", nil, 0
    	GotOne:
    		if nhr := len(hrs); nhr > 0 {
    			hrv := hrs[nhr-1]
    			hrs = hrs[:nhr-1]
    			hr = &hrv
    		}
    		if len(hrs) == 0 {
    			delete(cts.heldRequestsMap, plName)
    		} else {
    			cts.heldRequestsMap[plName] = hrs
    		}
    		if hr != nil {
    			nCount = len(hrs)
    			return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top