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

Function try_get_block_from_free_list

deps/concurrentqueue/concurrentqueue.h:3067–3070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3065 }
3066
3067 inline Block* try_get_block_from_free_list()
3068 {
3069 return freeList.try_get();
3070 }
3071
3072 // Gets a free block from one of the memory pools, or allocates a new one (if applicable)
3073 template<AllocationMode canAlloc>

Callers 1

requisition_blockFunction · 0.85

Calls 1

try_getMethod · 0.80

Tested by

no test coverage detected