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

Method rgb

src/storage.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 uint64_t allocmap[OBJECT_PAGE_BUFFER_SIZE/(8*sizeof(uint64_t))];
33 struct object_page *pnext;
34 char *rgb()
35 {
36 return reinterpret_cast<char*>(this+1);
37 };
38};
39
40struct alloc_pool

Callers 2

pool_allocFunction · 0.80
pool_freeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected