- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AppendRune (0.04 sec)
-
api/go1.18.txt
pkg text/template/parse, type ContinueNode struct, Line int pkg text/template/parse, type ContinueNode struct, embedded NodeType pkg text/template/parse, type ContinueNode struct, embedded Pos
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/bytes/buffer.go
if uint32(r) < utf8.RuneSelf { b.WriteByte(byte(r)) return 1, nil } b.lastRead = opInvalid m, ok := b.tryGrowByReslice(utf8.UTFMax) if !ok { m = b.grow(utf8.UTFMax) } b.buf = utf8.AppendRune(b.buf[:m], r) return len(b.buf) - m, nil } // Read reads the next len(p) bytes from the buffer or until the buffer // is drained. The return value n is the number of bytes read. If the
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
src/bytes/bytes.go
b := make([]byte, 0, len(s)) for i := 0; i < len(s); { wid := 1 r := rune(s[i]) if r >= utf8.RuneSelf { r, wid = utf8.DecodeRune(s[i:]) } r = mapping(r) if r >= 0 { b = utf8.AppendRune(b, r) } i += wid } return b } // Despite being an exported symbol, // Repeat is linknamed by widely used packages. // Notable members of the hall of shame include:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0)