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

Function write_one_bits

arch/victor9k/encoder.cc:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28static void write_one_bits(
29 std::vector<bool>& bits, unsigned& cursor, unsigned count)
30{
31 while (count--)
32 {
33 if (cursor < bits.size())
34 lastBit = bits[cursor++] = 1;
35 }
36}
37
38static void write_bits(
39 std::vector<bool>& bits, unsigned& cursor, const std::vector<bool>& src)

Callers 1

write_sectorFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected