- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for IsValidRune (0.06 seconds)
-
src/bytes/bytes_test.go
// tests of invalid UTF-8 {"\x801", isDigit, 1, 1}, {"\x80abc", isDigit, -1, -1}, {"\xc0a\xc0", isValidRune, 1, 1}, {"\xc0a\xc0", not(isValidRune), 0, 2}, {"\xc0☺\xc0", not(isValidRune), 0, 4}, {"\xc0☺\xc0\xc0", not(isValidRune), 0, 5}, {"ab\xc0a\xc0cd", not(isValidRune), 2, 4}, {"a\xe0\x80cd", not(isValidRune), 1, 2}, } func TestIndexFunc(t *testing.T) { for _, tc := range indexFuncTests {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)