func unicode/utf8.DecodeLastRune
6 uses
unicode/utf8 (current package)
utf8.go#L247: func DecodeLastRune(p []byte) (r rune, size int) {
bytes
bytes.go#L300: r, size := utf8.DecodeLastRune(s[:i])
bytes.go#L317: r, size := utf8.DecodeLastRune(s[:i])
bytes.go#L893: r, size = utf8.DecodeLastRune(s[0:i])
bytes.go#L1060: r, n = utf8.DecodeLastRune(s)
regexp
regexp.go#L467: r1, _ = utf8.DecodeLastRune(i.str[:pos])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |