3 type pendingRequests struct {
7 func (p *pendingRequests) Dec(r RequestIndex) {
15 func (p *pendingRequests) Inc(r RequestIndex) {
19 func (p *pendingRequests) Init(maxIndex RequestIndex) {
20 p.m = make([]int, maxIndex)
23 func (p *pendingRequests) AssertEmpty() {
24 for _, count := range p.m {
31 func (p *pendingRequests) Get(r RequestIndex) int {