Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for idToIndex (0.09 sec)

  1. src/vendor/golang.org/x/net/http2/hpack/tables.go

    		if id := t.byNameValue[pairNameValue{f.Name, f.Value}]; id != 0 {
    			return t.idToIndex(id), true
    		}
    	}
    	if id := t.byName[f.Name]; id != 0 {
    		return t.idToIndex(id), false
    	}
    	return 0, false
    }
    
    // idToIndex converts a unique id to an HPACK index.
    // See Section 2.3.3.
    func (t *headerFieldTable) idToIndex(id uint64) uint64 {
    	if id <= t.evictCount {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 22:32:44 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top