- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IndexString (0.05 sec)
-
src/bytes/bytes.go
// r is 2 to 4 bytes if len(chars) == width { if chars == string(r) { return i } continue } // Use bytealg.IndexString for performance if available. if bytealg.MaxLen >= width { if bytealg.IndexString(chars, string(r)) >= 0 { return i } continue } } for _, ch := range chars { if r == ch { return i } } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0)