func strings.Count
8 uses
strings (current package)
replace.go#L516: if c := Count(s, x); c != 0 {
strings.go#L40: func Count(s, substr string) int {
strings.go#L248: n = Count(s, sep) + 1
strings.go#L1071: if m := Count(s, old); m == 0 {
mime
encodedword.go#L201: if len(word) < 8 || !strings.HasPrefix(word, "=?") || !strings.HasSuffix(word, "?=") || strings.Count(word, "?") != 4 {
net/http
cookie.go#L283: cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))
net/url
url.go#L524: if strings.HasSuffix(rest, "?") && strings.Count(rest, "?") == 1 {
path/filepath
path.go#L367: seps := strings.Count(base[b0:bl], string(Separator))
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |