- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for encoderFunc (0.23 sec)
-
src/bufio/bufio.go
if b.Flush(); b.err != nil { return 0, b.err } n = b.Available() if n < utf8.UTFMax { // Can only happen if buffer is silly small. return b.WriteString(string(r)) } } size = utf8.EncodeRune(b.buf[b.n:], r) b.n += size return size, nil } // WriteString writes a string. // It returns the number of bytes written. // If the count is less than len(s), it also returns an error explaining
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
} } buf[n-1] = '\x00' } } func bmIndexRune(index func([]byte, rune) int) func(b *testing.B, n int) { return func(b *testing.B, n int) { buf := bmbuf[0:n] utf8.EncodeRune(buf[n-3:], '世') for i := 0; i < b.N; i++ { j := index(buf, '世') if j != n-3 { b.Fatal("bad index", j) } } buf[n-3] = '\x00' buf[n-2] = '\x00' buf[n-1] = '\x00' } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
doc/go_spec.html
integer-to-string conversions as potential errors. Library functions such as <a href="/pkg/unicode/utf8#AppendRune"><code>utf8.AppendRune</code></a> or <a href="/pkg/unicode/utf8#EncodeRune"><code>utf8.EncodeRune</code></a> should be used instead. </li> </ol> <h4 id="Conversions_from_slice_to_array_or_array_pointer">Conversions from slice to array or array pointer</h4> <p>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (1) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"DecodeRune", Func, 0}, {"Encode", Func, 0}, {"EncodeRune", Func, 0}, {"IsSurrogate", Func, 0}, }, "unicode/utf8": { {"AppendRune", Func, 18}, {"DecodeLastRune", Func, 0}, {"DecodeLastRuneInString", Func, 0}, {"DecodeRune", Func, 0}, {"DecodeRuneInString", Func, 0}, {"EncodeRune", Func, 0}, {"FullRune", Func, 0}, {"FullRuneInString", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
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 pkg unicode/utf8, const RuneSelf ideal-int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)