- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for trimLeftASCII (0.2 sec)
-
src/bytes/bytes.go
} if as, ok := makeASCIISet(cutset); ok { return trimLeftASCII(s, &as) } return trimLeftUnicode(s, cutset) } func trimLeftByte(s []byte, c byte) []byte { for len(s) > 0 && s[0] == c { s = s[1:] } if len(s) == 0 { // This is what we've historically done. return nil } return s } func trimLeftASCII(s []byte, as *asciiSet) []byte { for len(s) > 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0)