Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for http2putDataBufferChunk (0.26 sec)

  1. src/net/http/h2_bundle.go

    	case size <= 8<<10:
    		return http2dataChunkPools[3].Get().(*[8 << 10]byte)[:]
    	default:
    		return http2dataChunkPools[4].Get().(*[16 << 10]byte)[:]
    	}
    }
    
    func http2putDataBufferChunk(p []byte) {
    	switch len(p) {
    	case 1 << 10:
    		http2dataChunkPools[0].Put((*[1 << 10]byte)(p))
    	case 2 << 10:
    		http2dataChunkPools[1].Put((*[2 << 10]byte)(p))
    	case 4 << 10:
    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