MCPcopy
hub / github.com/CodisLabs/codis / cgo_malloc

Function cgo_malloc

pkg/utils/unsafe2/je_malloc.go:14–16  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

12)
13
14func cgo_malloc(n int) unsafe.Pointer {
15 return jemalloc.Malloc(n)
16}
17
18func cgo_free(ptr unsafe.Pointer) {
19 jemalloc.Free(ptr)

Callers 1

newCGoSliceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected