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

Function Freeze

libs/coding/succinct_mapper.hpp:262–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261template <typename T, typename TWriter>
262uint64_t Freeze(T & val, TWriter & writer, char const * name)
263{
264 FreezeVisitor<TWriter> visitor(writer);
265 visitor(val, name);
266 return visitor.BytesWritten();
267}
268
269template <typename T, typename TWriter>
270uint64_t ReverseFreeze(T & val, TWriter & writer, char const * name)

Callers 5

UNIT_TESTFunction · 0.85
UNIT_TESTFunction · 0.85
GetCompressionRatioFunction · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85

Calls 1

BytesWrittenMethod · 0.45

Tested by 3

UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
GetCompressionRatioFunction · 0.68