MCPcopy Index your code
hub / github.com/Monibuca/engine / Cap

Method Cap

util/buffer.go:187–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 return b.Len() >= n
186}
187func (b Buffer) Cap() int {
188 return cap(b)
189}
190func (b Buffer) SubBuf(start int, length int) Buffer {
191 return b[start : start+length]
192}

Callers 2

WriteMethod · 0.95
MallocMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected