go.opencensus.io/internal/tagencoding.Values.Buffer (field)
12 uses
go.opencensus.io/internal/tagencoding (current package)
tagencoding.go#L22: Buffer []byte
tagencoding.go#L28: if len(vb.Buffer)-vb.WriteIndex < expected {
tagencoding.go#L29: tmp := make([]byte, 2*(len(vb.Buffer)+1)+expected)
tagencoding.go#L30: copy(tmp, vb.Buffer)
tagencoding.go#L31: vb.Buffer = tmp
tagencoding.go#L41: vb.Buffer[vb.WriteIndex] = byte(length)
tagencoding.go#L50: copy(vb.Buffer[vb.WriteIndex:], v[:length])
tagencoding.go#L57: length := int(vb.Buffer[vb.ReadIndex])
tagencoding.go#L67: copy(v, vb.Buffer[vb.ReadIndex:endIdx])
tagencoding.go#L74: return vb.Buffer[:vb.WriteIndex]
go.opencensus.io/stats/view
collector.go#L63: Buffer: make([]byte, len(keys)),
collector.go#L75: vb := &tagencoding.Values{Buffer: buf}
![]() |
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. |