- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ToUpper (0.31 sec)
-
src/bytes/bytes.go
for bp < n { chunk := bp if chunk > chunkMax { chunk = chunkMax } bp += copy(nb[bp:], nb[:chunk]) } return nb } // ToUpper returns a copy of the byte slice s with all Unicode letters mapped to // their upper case. func ToUpper(s []byte) []byte { isASCII, hasLower := true, false for i := 0; i < len(s); i++ { c := s[i] if c >= utf8.RuneSelf { isASCII = false break }
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)