MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / rtree_node_alloc_impl

Function rtree_node_alloc_impl

deps/jemalloc/src/rtree.c:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30static rtree_node_elm_t *
31rtree_node_alloc_impl(tsdn_t *tsdn, rtree_t *rtree, size_t nelms) {
32 return (rtree_node_elm_t *)base_alloc(tsdn, b0get(), nelms *
33 sizeof(rtree_node_elm_t), CACHELINE);
34}
35rtree_node_alloc_t *JET_MUTABLE rtree_node_alloc = rtree_node_alloc_impl;
36
37static void

Callers

nothing calls this directly

Calls 2

base_allocFunction · 0.70
b0getFunction · 0.70

Tested by

no test coverage detected