func strings.Count
8 uses
strings (current package)
replace.go#L516: if c := Count(s, x); c != 0 {
strings.go#L41: func Count(s, substr string) int {
strings.go#L244: n = Count(s, sep) + 1
strings.go#L1097: 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#L339: cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))
server.go#L2713: return len(n.pattern.segments) == strings.Count(path, "/")
net/url
url.go#L532: if strings.HasSuffix(rest, "?") && strings.Count(rest, "?") == 1 {
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |