MCPcopy Create free account
hub / github.com/comaps/comaps / Clone

Method Clone

libs/coding/compressed_bit_vector.cpp:343–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343unique_ptr<CompressedBitVector> DenseCBV::Clone() const
344{
345 DenseCBV * cbv = new DenseCBV();
346 cbv->m_popCount = m_popCount;
347 cbv->m_bitGroups = m_bitGroups;
348 return unique_ptr<CompressedBitVector>(cbv);
349}
350
351SparseCBV::SparseCBV(vector<uint64_t> const & setBits) : m_positions(setBits)
352{

Callers 3

GetMethod · 0.45
ValueListMethod · 0.45
MatchInTrieFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected