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

Function rewind_block_index_tail

deps/concurrentqueue/concurrentqueue.h:2918–2922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2916 }
2917
2918 inline void rewind_block_index_tail()
2919 {
2920 auto localBlockIndex = blockIndex.load(std::memory_order_relaxed);
2921 localBlockIndex->tail.store((localBlockIndex->tail.load(std::memory_order_relaxed) - 1) & (localBlockIndex->capacity - 1), std::memory_order_relaxed);
2922 }
2923
2924 inline BlockIndexEntry* get_block_index_entry_for_index(index_t index) const
2925 {

Callers 3

enqueueMethod · 0.85
MOODYCAMEL_CATCHMethod · 0.85
enqueue_bulkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected