go.opencensus.io/tag.encoderGRPC.buf (field)
26 uses
go.opencensus.io/tag (current package)
map_codec.go#L37: buf []byte
map_codec.go#L69: eg.writeIdx += binary.PutUvarint(eg.buf[eg.writeIdx:], uint64(length))
map_codec.go#L70: copy(eg.buf[eg.writeIdx:], bytes)
map_codec.go#L78: eg.writeIdx += binary.PutUvarint(eg.buf[eg.writeIdx:], uint64(length))
map_codec.go#L79: copy(eg.buf[eg.writeIdx:], s)
map_codec.go#L85: eg.buf[eg.writeIdx] = v
map_codec.go#L91: binary.LittleEndian.PutUint32(eg.buf[eg.writeIdx:], i)
map_codec.go#L97: binary.LittleEndian.PutUint64(eg.buf[eg.writeIdx:], i)
map_codec.go#L102: b := eg.buf[eg.readIdx]
map_codec.go#L108: i := binary.LittleEndian.Uint32(eg.buf[eg.readIdx:])
map_codec.go#L114: i := binary.LittleEndian.Uint64(eg.buf[eg.readIdx:])
map_codec.go#L121: return nil, fmt.Errorf("unexpected end while readBytesWithVarintLen '%x' starting at idx '%v'", eg.buf, eg.readIdx)
map_codec.go#L123: length, valueStart := binary.Uvarint(eg.buf[eg.readIdx:])
map_codec.go#L125: return nil, fmt.Errorf("unexpected end while readBytesWithVarintLen '%x' starting at idx '%v'", eg.buf, eg.readIdx)
map_codec.go#L130: if valueEnd > len(eg.buf) {
map_codec.go#L131: return nil, fmt.Errorf("malformed encoding: length:%v, upper:%v, maxLength:%v", length, valueEnd, len(eg.buf))
map_codec.go#L135: return eg.buf[valueStart:valueEnd], nil
map_codec.go#L147: if len(eg.buf)-eg.writeIdx < expected {
map_codec.go#L148: tmp := make([]byte, 2*(len(eg.buf)+1)+expected)
map_codec.go#L149: copy(tmp, eg.buf)
map_codec.go#L150: eg.buf = tmp
map_codec.go#L155: return eg.readIdx >= len(eg.buf)
map_codec.go#L159: return eg.buf[:eg.writeIdx]
map_codec.go#L169: buf: make([]byte, len(m.m)),
map_codec.go#L197: buf: bytes,
map_codec.go#L199: if len(eg.buf) == 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. |