google.golang.org/grpc/internal/transport.bufWriter.offset (field)
8 uses
google.golang.org/grpc/internal/transport (current package)
controlbuf.go#L550: if l.framer.writer.offset < minBatchSize {
http_util.go#L532: offset int
http_util.go#L556: nn := copy(w.buf[w.offset:], b)
http_util.go#L558: w.offset += nn
http_util.go#L560: if w.offset >= w.batchSize {
http_util.go#L571: if w.offset == 0 {
http_util.go#L577: _, w.err = w.conn.Write(w.buf[:w.offset])
http_util.go#L578: w.offset = 0
![]() |
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. |