MCPcopy Create free account
hub / github.com/comaps/comaps / Map

Function Map

libs/coding/succinct_mapper.hpp:246–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244
245template <typename T>
246uint64_t Map(T & value, uint8_t const * base, char const * name)
247{
248 MapVisitor visitor(base);
249 visitor(value, name);
250 return visitor.BytesRead();
251}
252
253template <typename T>
254uint64_t ReverseMap(T & value, uint8_t * base, char const * name)

Callers 4

UNIT_TESTFunction · 0.50
UNIT_TESTFunction · 0.50
LoadMethod · 0.50
DeserializeMethod · 0.50

Calls 1

BytesReadMethod · 0.45

Tested by 2

UNIT_TESTFunction · 0.40
UNIT_TESTFunction · 0.40