MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / rm_reset_n_alloced

Function rm_reset_n_alloced

src/util/rmalloc.c:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29static void * (*RedisModule_Calloc_Orig)(size_t nmemb, size_t size);
30
31void rm_reset_n_alloced() {
32 n_alloced = 0;
33}
34
35// removes n_bytes from thread memory consumption
36static inline void _nmalloc_decrement(int64_t n_bytes) {

Callers 1

Globals_TrackCommandCtxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected