MCPcopy Create free account
hub / github.com/ceph/ceph / populate_bitset_set

Method populate_bitset_set

src/common/mini_flat_map.h:478–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476
477 template<size_t N>
478 void populate_bitset_set(bitset_set<N, KeyT> &set) const {
479 for (IntT ki = 0; static_cast<unsigned>(ki) < data.size(); ++ki) {
480 KeyT k(ki);
481 if (_at(k)) {
482 set.insert(k);
483 }
484 }
485 }
486
487 /** Standard ostream operator */
488 friend std::ostream &operator<<(std::ostream &lhs,

Callers 4

populate_shard_id_setMethod · 0.80
get_shard_id_setMethod · 0.80
decodeMethod · 0.80
match_in_shardsMethod · 0.80

Calls 2

sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected