MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Cap

Method Cap

util/atomic/slice.go:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func (a *Slice) Cap() uintptr {
43 return atomic.LoadUintptr(&a.cap)
44}
45
46func (a *Slice) Pointer() unsafe.Pointer {
47 return unsafe.Pointer(atomic.LoadUintptr(&a.ptr))

Callers 6

AtMethod · 0.95
TrimStartMethod · 0.95
TrimEndMethod · 0.95
AppendMethod · 0.95
SizeFunction · 0.80
DecompressLZ4Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected