net/http.http2dataBuffer.chunks (field)
17 uses
net/http (current package)
h2_bundle.go#L1009: chunks [][]byte
h2_bundle.go#L1033: if b.r == len(b.chunks[0]) {
h2_bundle.go#L1034: http2putDataBufferChunk(b.chunks[0])
h2_bundle.go#L1035: end := len(b.chunks) - 1
h2_bundle.go#L1036: copy(b.chunks[:end], b.chunks[1:])
h2_bundle.go#L1037: b.chunks[end] = nil
h2_bundle.go#L1038: b.chunks = b.chunks[:end]
h2_bundle.go#L1046: if len(b.chunks) == 1 {
h2_bundle.go#L1047: return b.chunks[0][b.r:b.w]
h2_bundle.go#L1049: return b.chunks[0][b.r:]
h2_bundle.go#L1079: if len(b.chunks) != 0 {
h2_bundle.go#L1080: last := b.chunks[len(b.chunks)-1]
h2_bundle.go#L1086: b.chunks = append(b.chunks, chunk)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |