1 // Copyright 2018 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // -build !amd64,!arm64
9 func Count(b
[]byte, c
byte) int {
19 func CountString(s
string, c
byte) int {
21 for i
:= 0; i
< len(s
); i
++ {