- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for encoderune (0.76 sec)
-
src/cmd/compile/internal/typecheck/_builtin/runtime.go
func stringtoslicebyte(*[32]byte, string) []byte func stringtoslicerune(*[32]rune, string) []rune func slicecopy(toPtr *any, toLen int, fromPtr *any, fromLen int, wid uintptr) int func decoderune(string, int) (retv rune, retk int) func countrunes(string) int // Convert non-interface type to the data word of a (empty or nonempty) interface. func convT(typ *byte, elem *any) unsafe.Pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go
} else { return false } } t = t[1:] continue } // sb is ASCII and t is not. t must be either kelvin // sign or long s; sb must be s, S, k, or K. tr, size := utf8.DecodeRune(t) switch sb { case 's', 'S': if tr != smallLongEss { return false } case 'k', 'K': if tr != kelvin { return false } default: return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 13.1K bytes - Viewed (0) -
src/cmd/internal/test2json/test2json.go
func isBenchmarkName(b []byte) bool { if !bytes.HasPrefix(b, benchmark) { return false } if len(b) == len(benchmark) { // just "Benchmark" return true } r, _ := utf8.DecodeRune(b[len(benchmark):]) return !unicode.IsLower(r) } // trimUTF8 returns a length t as close to len(b) as possible such that b[:t] // does not end in the middle of a possibly-valid UTF-8 sequence. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 14.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"slicebytetostring", funcTag, 44}, {"slicebytetostringtmp", funcTag, 45}, {"slicerunetostring", funcTag, 48}, {"stringtoslicebyte", funcTag, 50}, {"stringtoslicerune", funcTag, 53}, {"slicecopy", funcTag, 54}, {"decoderune", funcTag, 55}, {"countrunes", funcTag, 56}, {"convT", funcTag, 57}, {"convTnoptr", funcTag, 57}, {"convT16", funcTag, 59}, {"convT32", funcTag, 61}, {"convT64", funcTag, 62}, {"convTstring", funcTag, 63},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/encoding/csv/reader.go
func lengthNL(b []byte) int { if len(b) > 0 && b[len(b)-1] == '\n' { return 1 } return 0 } // nextRune returns the next rune in b or utf8.RuneError. func nextRune(b []byte) rune { r, _ := utf8.DecodeRune(b) return r } func (r *Reader) readRecord(dst []string) ([]string, error) { if r.Comma == r.Comment || !validDelim(r.Comma) || (r.Comment != 0 && !validDelim(r.Comment)) { return nil, errInvalidDelim }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:32:28 UTC 2024 - 14.2K bytes - Viewed (0) -
src/internal/poll/fd_windows.go
// Save half surrogate pair for next time. fd.readuint16 = fd.readuint16[:1] fd.readuint16[0] = uint16(r) break } r = utf8.RuneError } else { r = utf16.DecodeRune(r, rune(uint16s[i+1])) if r != utf8.RuneError { i++ } } } buf = utf8.AppendRune(buf, r) } fd.readbyte = buf fd.readbyteOffset = 0 if nw == 0 { break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 16:50:42 UTC 2024 - 34.1K bytes - Viewed (0) -
src/text/template/funcs.go
w.Write(jsEq) default: w.Write(jsLowUni) t, b := c>>4, c&0x0f w.Write(hex[t : t+1]) w.Write(hex[b : b+1]) } } else { // Unicode rune. r, size := utf8.DecodeRune(b[i:]) if unicode.IsPrint(r) { w.Write(b[i : i+size]) } else { fmt.Fprintf(w, "\\u%04X", r) } i += size - 1 } last = i + 1 } w.Write(b[last:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go
known = VerifierList() } // Must have valid UTF-8 with no non-newline ASCII control characters. for i := 0; i < len(msg); { r, size := utf8.DecodeRune(msg[i:]) if r < 0x20 && r != '\n' || r == utf8.RuneError && size == 1 { return nil, errMalformedNote } i += size } // Must end with signature block preceded by blank line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 20.1K bytes - Viewed (0) -
src/text/scanner/scanner.go
// we can get more bytes; thus also break. break } } // at least one byte ch = rune(s.srcBuf[s.srcPos]) if ch >= utf8.RuneSelf { // uncommon case: not ASCII ch, width = utf8.DecodeRune(s.srcBuf[s.srcPos:s.srcEnd]) if ch == utf8.RuneError && width == 1 { // advance for correct error position s.srcPos += width s.lastCharLen = width s.column++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/transform/transform.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 21.7K bytes - Viewed (0)