Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
438
func
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
TestCopyBytes
Function · 0.85
PeekUint16
Method · 0.85
PeekUint32
Method · 0.85
PeekUint64
Method · 0.85
Calls
no outgoing calls
Tested by
1
TestCopyBytes
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…