Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for str1 (0.07 sec)

  1. src/net/http/h2_bundle.go

    			})
    		} else {
    			vv := header[key]
    			if vv == nil && len(strs) > 0 {
    				// More than likely this will be a single-element key.
    				// Most headers aren't multi-valued.
    				// Set the capacity on strs[0] to 1, so any future append
    				// won't extend the slice into the other strings.
    				vv, strs = strs[:1:1], strs[1:]
    				vv[0] = hf.Value
    				header[key] = vv
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top