func internal/bytealg.CountString
6 uses
internal/bytealg (current package)
count_native.go#L13: func CountString(s string, c byte) int
net
dnsclient_unix.go#L513: hasNdots := bytealg.CountString(name, '.') >= conf.ndots
ipsock.go#L87: want6 = bytealg.CountString(addr, ':') > 0
ipsock.go#L90: want6 = bytealg.CountString(addr, '[') > 0
path/filepath
path.go#L235: seps := bytealg.CountString(base[b0:bl], Separator)
strings
strings.go#L47: return bytealg.CountString(s, substr[0])
![]() |
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. |