(dst []byte, n int)
| 86 | } |
| 87 | |
| 88 | func allocNBytes(dst []byte, n int) []byte { |
| 89 | diff := n - cap(dst) |
| 90 | if diff <= 0 { |
| 91 | return dst[:n] |
| 92 | } |
| 93 | return append(dst, make([]byte, diff)...) |
| 94 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…