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

Method DoSetAll

container/bitmap.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void BitmapBase::DoSetAll(WordType* words, uint64_t size)
33{
34 size_t word_size = WordSizeOfBits(size);
35 memset(words, 0xFF, word_size * sizeof(WordType));
36 MaskOffTailBits(words, size);
37}
38
39bool BitmapBase::DoAllAreSet(const WordType* words, uint64_t num_bits)
40{

Callers 1

FixedBitmapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected