const google.golang.org/protobuf/proto.speculativeLength
6 uses
google.golang.org/protobuf/proto (current package)
encode.go#L326: const speculativeLength = 1
encode.go#L330: b = append(b, "\x00\x00\x00\x00"[:speculativeLength]...)
encode.go#L335: mlen := len(b) - pos - speculativeLength
encode.go#L337: if msiz != speculativeLength {
encode.go#L338: for i := 0; i < msiz-speculativeLength; i++ {
encode.go#L341: copy(b[pos+msiz:], b[pos+speculativeLength:])
![]() |
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. |