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

Function Union

libs/coding/coding_tests/compressed_bit_vector_test.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void Union(vector<uint64_t> & setBits1, vector<uint64_t> & setBits2, vector<uint64_t> & result)
32{
33 sort(setBits1.begin(), setBits1.end());
34 sort(setBits2.begin(), setBits2.end());
35 set_union(setBits1.begin(), setBits1.end(), setBits2.begin(), setBits2.end(), back_inserter(result));
36}
37
38template <typename TBinaryOp>
39void CheckBinaryOp(TBinaryOp op, vector<uint64_t> & setBits1, vector<uint64_t> & setBits2,

Callers 3

MergeMethod · 0.85
CheckUnionFunction · 0.85
UnionMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected