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

Function WritePadding

libs/coding/succinct_mapper.hpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template <typename TWriter>
42void WritePadding(TWriter & writer, uint64_t & bytesWritten)
43{
44 static uint64_t const zero = 0;
45
46 uint32_t const padding = ToAlign8(bytesWritten);
47 if (padding == 0)
48 return;
49 writer.Write(&zero, padding);
50 bytesWritten += padding;
51}
52
53template <typename Source>
54void SkipPadding(Source & src)

Callers 13

FinishMethod · 0.85
BuildPostcodePointsImplFunction · 0.85
WritePaddingByEndMethod · 0.85
WritePaddingByPosMethod · 0.85
operator()Method · 0.85
FreezeVisitorClass · 0.85
operator()Method · 0.85
FreezeMethod · 0.85
FreezeMethod · 0.85
FreezeMethod · 0.85

Calls 2

ToAlign8Function · 0.85
WriteMethod · 0.45

Tested by

no test coverage detected