MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / write_bits

Function write_bits

arch/macintosh/encoder.cc:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static void write_bits(
141 std::vector<bool>& bits, unsigned& cursor, const std::vector<bool>& src)
142{
143 for (bool bit : src)
144 {
145 if (cursor < bits.size())
146 bits[cursor++] = bit;
147 }
148}
149
150static void write_bits(
151 std::vector<bool>& bits, unsigned& cursor, uint64_t data, int width)

Callers 1

write_sectorFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected