internal/bytealg/bytealg_arm64.go
raw| 1 | // Copyright 2023 Charlie Vieth. All rights reserved. |
| 2 | // Use of this source code is governed by the MIT license. |
| 3 | |
| 4 | package bytealg |
| 5 | |
| 6 | //go:noescape |
| 7 | func IndexByte(b []byte, c byte) int |
| 8 | |
| 9 | //go:noescape |
| 10 | func IndexByteString(s string, c byte) int |
| 11 | |
| 12 | //go:noescape |
| 13 | func IndexNonASCII(s string) int |
| 14 | |
| 15 | //go:noescape |
| 16 | func IndexByteNonASCII(b []byte) int |
| 17 | |
| 18 | //go:noescape |
| 19 | func Count(b []byte, c byte) int |
| 20 | |
| 21 | //go:noescape |
| 22 | func CountString(s string, c byte) int |