MCPcopy Create free account
hub / github.com/Allenxuxu/ringbuffer / copyByte

Function copyByte

ring_buffer.go:438–443  ·  view source on GitHub ↗
(f, e []byte)

Source from the content-addressed store, hash-verified

436}
437
438func copyByte(f, e []byte) []byte {
439 buf := make([]byte, len(f)+len(e))
440 _ = copy(buf, f)
441 _ = copy(buf[len(f):], e)
442 return buf
443}

Callers 4

TestCopyBytesFunction · 0.85
PeekUint16Method · 0.85
PeekUint32Method · 0.85
PeekUint64Method · 0.85

Calls

no outgoing calls

Tested by 1

TestCopyBytesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…