MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / count

Method count

source/MRMesh/MRBitSet.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27auto BitSet::count() const noexcept -> size_type
28{
29 size_type res = 0;
30 for ( const auto b : blocks_ )
31 res += std::popcount( b );
32 return res;
33}
34
35void BitSet::setUnusedBits_()
36{

Callers 15

test_numpy_conversionsFunction · 0.80
test_fix_undercutsFunction · 0.80
test_fix_tunnelsFunction · 0.80
test_self_intersectionsFunction · 0.80
test_delete_facesFunction · 0.80
test_segmentationFunction · 0.80
test_ValidFacesIterationFunction · 0.80
test_select_componentsFunction · 0.80
test_subdividerFunction · 0.80
test_shrink_expandFunction · 0.80
test_numpy_pointsbuild1Function · 0.80

Calls

no outgoing calls

Tested by 15

test_numpy_conversionsFunction · 0.64
test_fix_undercutsFunction · 0.64
test_fix_tunnelsFunction · 0.64
test_self_intersectionsFunction · 0.64
test_delete_facesFunction · 0.64
test_segmentationFunction · 0.64
test_ValidFacesIterationFunction · 0.64
test_select_componentsFunction · 0.64
test_subdividerFunction · 0.64
test_shrink_expandFunction · 0.64
test_numpy_pointsbuild1Function · 0.64