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

Function base_extent_bump_alloc

deps/jemalloc/src/base.c:231–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231static void *
232base_extent_bump_alloc(base_t *base, extent_t *extent, size_t size,
233 size_t alignment) {
234 void *ret;
235 size_t gap_size;
236
237 ret = base_extent_bump_alloc_helper(extent, &gap_size, size, alignment);
238 base_extent_bump_alloc_post(base, extent, gap_size, ret, size);
239 return ret;
240}
241
242/*
243 * Allocate a block of virtual memory that is large enough to start with a

Callers 1

base_alloc_implFunction · 0.70

Calls 2

Tested by

no test coverage detected