MCPcopy Index your code
hub / github.com/CodisLabs/codis / FreeSlice

Function FreeSlice

pkg/utils/unsafe2/slice.go:47–51  ·  view source on GitHub ↗
(s Slice)

Source from the content-addressed store, hash-verified

45}
46
47func FreeSlice(s Slice) {
48 if s != nil {
49 s.reclaim()
50 }
51}

Callers 1

TestMakeCGoSliceFunction · 0.85

Calls 1

reclaimMethod · 0.65

Tested by 1

TestMakeCGoSliceFunction · 0.68