Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxTableIndex (0.2 sec)

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

    func (dt *dynamicTable) evict() {
    	var n int
    	for dt.size > dt.maxSize && n < dt.table.len() {
    		dt.size -= dt.table.ents[n].Size()
    		n++
    	}
    	dt.table.evictOldest(n)
    }
    
    func (d *Decoder) maxTableIndex() int {
    	// This should never overflow. RFC 7540 Section 6.5.2 limits the size of
    	// the dynamic table to 2^32 bytes, where each entry will occupy more than
    	// one byte. Further, the staticTable has a fixed, small length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 14 18:30:34 UTC 2023
    - 14.7K bytes
    - Viewed (0)
Back to top