MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / node_pos

Method node_pos

benchmarks/simplelockfree.h:178–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 char nodes[sizeof(Node) * BLOCK_SIZE];
177
178 inline char* node_pos(idx_t idx) { return nodes + ((idx & BLOCK_MASK) >> BLOCK_SHIFT) * sizeof(Node); }
179 };
180
181 template<typename TSubBlock, int BlockSize>

Callers 2

get_node_atMethod · 0.80
new_node_addressMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected