MCPcopy Create free account
hub / github.com/chen3feng/toft / DoAppendToString

Method DoAppendToString

container/bitmap.cpp:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void BitmapBase::DoAppendToString(const WordType* words, uint64_t num_bits, std::string* out)
255{
256 out->reserve(out->size() + num_bits);
257 for (uint64_t i = num_bits; i > 0; --i)
258 out->push_back(DoGetAt(words, i - 1) ? '1' : '0');
259}
260
261} // namespace details
262

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected