- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for AppendRune (0.09 seconds)
-
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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Click Count (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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
src/bytes/bytes.go
// fine. It could also shrink but that falls out naturally. b := make([]byte, 0, len(s)) for i := 0; i < len(s); { 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:
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0)