- Sort Score
- Result 10 results
- Languages All
Results 51 - 57 of 57 for encoderune (0.14 sec)
-
src/cmd/vendor/golang.org/x/term/terminal.go
case 14: // ^N return keyDown, b[1:] case 16: // ^P return keyUp, b[1:] } } if b[0] != keyEscape { if !utf8.FullRune(b) { return utf8.RuneError, b } r, l := utf8.DecodeRune(b) return r, b[l:] } if !pasteActive && len(b) >= 3 && b[0] == keyEscape && b[1] == '[' { switch b[2] { case 'A': return keyUp, b[3:] case 'B': return keyDown, b[3:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 22.5K bytes - Viewed (0) -
src/vendor/golang.org/x/text/transform/transform.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 21 22:10:00 UTC 2020 - 21.7K bytes - Viewed (0) -
src/go/scanner/scanner.go
s.file.AddLine(s.offset) } r, w := rune(s.src[s.rdOffset]), 1 switch { case r == 0: s.error(s.offset, "illegal character NUL") case r >= utf8.RuneSelf: // not ASCII r, w = utf8.DecodeRune(s.src[s.rdOffset:]) if r == utf8.RuneError && w == 1 { s.error(s.offset, "illegal UTF-8 encoding") } else if r == bom && s.offset > 0 { s.error(s.offset, "illegal byte order mark") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 24.3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
func parseWord(data []byte) (word, rest []byte) { data = skipSpaceOrComment(data) // Parse past leading word characters. rest = data for { r, size := utf8.DecodeRune(rest) if unicode.IsLetter(r) || '0' <= r && r <= '9' || r == '_' { rest = rest[size:] continue } break } word = data[:len(data)-len(rest)] if len(word) == 0 { return nil, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
src/fmt/scan.go
var n int for n = 1; !utf8.FullRune(r.buf[:n]); n++ { r.buf[n], err = r.readByte() if err != nil { if err == io.EOF { err = nil break } return } } rr, size = utf8.DecodeRune(r.buf[:n]) if size < n { // an error, save the bytes for the next read copy(r.pendBuf[r.pending:], r.buf[size:n]) r.pending += n - size } // Flip the bits of the rune so it's available to UnreadRune.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 31.9K bytes - Viewed (0) -
api/go1.txt
pkg unicode, var Zp *RangeTable pkg unicode, var Zs *RangeTable pkg unicode/utf16, func Decode([]uint16) []int32 pkg unicode/utf16, func DecodeRune(int32, int32) int32 pkg unicode/utf16, func Encode([]int32) []uint16 pkg unicode/utf16, func EncodeRune(int32) (int32, int32) pkg unicode/utf16, func IsSurrogate(int32) bool pkg unicode/utf8, const MaxRune ideal-char pkg unicode/utf8, const RuneError ideal-char
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
src/go/build/build.go
func parseWord(data []byte) (word, rest []byte) { data = skipSpaceOrComment(data) // Parse past leading word characters. rest = data for { r, size := utf8.DecodeRune(rest) if unicode.IsLetter(r) || '0' <= r && r <= '9' || r == '_' { rest = rest[size:] continue } break } word = data[:len(data)-len(rest)] if len(word) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0)