func bytes.Count
8 uses
bytes (current package)
bytes.go#L55: func Count(s, sep []byte) int {
bytes.go#L349: n = Count(s, sep) + 1
bytes.go#L993: m = Count(s, old)
github.com/golang/protobuf/proto
text_encode.go#L126: newlines := bytes.Count(p, newline)
go/build
build.go#L1262: line = 1 + bytes.Count(data[:cap(data)-cap(arg)], newline)
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L415: numLines := bytes.Count(src, []byte("\n")) + 1
google.golang.org/protobuf/internal/encoding/json
decode.go#L227: line = bytes.Count(b, []byte("\n")) + 1
google.golang.org/protobuf/internal/encoding/text
decode.go#L614: line = bytes.Count(b, []byte("\n")) + 1
![]() |
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. |