LCOV - code coverage report
Current view: top level - dataset - bin.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 339 345 98.3 %
Date: 2024-11-24 01:48:31 Functions: 54 55 98.2 %

Function Name Sort by function name Hit count Sort by hit count
scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<std::map<scipp::units::Dim, scipp::variable::Variable, std::less<scipp::units::Dim>, std::allocator<std::pair<scipp::units::Dim const, scipp::variable::Variable> > >, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable&, std::map<scipp::units::Dim, scipp::variable::Variable, std::less<scipp::units::Dim>, std::allocator<std::pair<scipp::units::Dim const, scipp::variable::Variable> > >&&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&)::{lambda(scipp::units::Dim)#1}::operator()(scipp::units::Dim) const 0
scipp::variable::Variable scipp::dataset::concat_bins<scipp::variable::Variable>(scipp::variable::Variable const&, scipp::units::Dim) 1
scipp::dataset::(anonymous namespace)::TargetBins<scipp::variable::Variable>::release() 1
scipp::dataset::(anonymous namespace)::TargetBins<scipp::variable::Variable>::TargetBins(scipp::variable::Variable const&, scipp::core::Dimensions const&) 1
scipp::dataset::(anonymous namespace)::TargetBins<scipp::variable::Variable>::operator*() 1
scipp::dataset::(anonymous namespace)::TargetBinBuilder::join(scipp::units::Dim, scipp::variable::Variable const&) 1
scipp::variable::Variable scipp::dataset::concat_bins<scipp::dataset::DataArray>(scipp::variable::Variable const&, scipp::units::Dim) 7
void scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<std::map<scipp::units::Dim, scipp::variable::Variable, std::less<scipp::units::Dim>, std::allocator<std::pair<scipp::units::Dim const, scipp::variable::Variable> > >, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable&, std::map<scipp::units::Dim, scipp::variable::Variable, std::less<scipp::units::Dim>, std::allocator<std::pair<scipp::units::Dim const, scipp::variable::Variable> > >&&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&) 8
scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&)::{lambda(scipp::units::Dim)#1}::operator()(scipp::units::Dim) const 8
void scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&) 13
scipp::dataset::groupby_concat_bins(scipp::dataset::DataArray const&, scipp::variable::Variable const&, scipp::variable::Variable const&, scipp::units::Dim) 13
scipp::dataset::(anonymous namespace)::TwoStageMapper::TwoStageMapper(scipp::dataset::(anonymous namespace)::SingleStageMapper&&, scipp::dataset::(anonymous namespace)::SingleStageMapper&&) 18
scipp::dataset::(anonymous namespace)::TwoStageMapper::bin_sizes(std::optional<scipp::core::Dimensions> const&) const 18
scipp::variable::Variable scipp::dataset::(anonymous namespace)::bins_from_sizes<scipp::variable::Variable>(scipp::variable::Variable&&, scipp::variable::Variable const&) 19
scipp::variable::Variable scipp::dataset::(anonymous namespace)::Mapper::apply<scipp::variable::Variable>(scipp::variable::Variable const&) 19
auto scipp::dataset::(anonymous namespace)::Mapper::apply<scipp::variable::Variable>(scipp::variable::Variable const&)::{lambda(auto:1 const&)#1}::operator()<scipp::variable::Variable>(scipp::variable::Variable const&) const 19
scipp::dataset::(anonymous namespace)::TargetBinBuilder::existing(scipp::units::Dim, long) 38
auto scipp::dataset::(anonymous namespace)::extract_unbinned<scipp::dataset::DataArray, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable> >(scipp::dataset::DataArray&, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable>&)::{lambda(auto:1 const&)#1}::operator()<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 41
scipp::dataset::(anonymous namespace)::TwoStageMapper::apply_to_variable(scipp::variable::Variable const&, scipp::variable::Variable&&) const 50
auto scipp::dataset::(anonymous namespace)::SingleStageMapper::SingleStageMapper(scipp::core::Dimensions const&, scipp::variable::Variable const&, scipp::variable::Variable const&)::{lambda(auto:1&&, auto:2&&)#1}::operator()<std::pair<scipp::units::Dim, long>&, std::pair<scipp::units::Dim, long>&>(std::pair<scipp::units::Dim, long>&, std::pair<scipp::units::Dim, long>&) const 190
void scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<scipp::dataset::bins_view_detail::BinsMapView<scipp::dataset::DataArray, scipp::dataset::get_meta::{lambda(auto:1&&)#1}>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&>(scipp::variable&, scipp::dataset::bins_view_detail::BinsMapView<scipp::dataset::DataArray, scipp::dataset::get_meta::{lambda(auto:1&&)#1}>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&) 2310
scipp::dataset::(anonymous namespace)::TargetBins<scipp::dataset::DataArray>::release() 2325
scipp::dataset::DataArray scipp::dataset::bin<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable> const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::units::Dim, std::allocator<scipp::units::Dim> > const&) 2325
scipp::dataset::(anonymous namespace)::TargetBins<scipp::dataset::DataArray>::TargetBins(scipp::variable::Variable const&, scipp::core::Dimensions const&) 2330
scipp::dataset::(anonymous namespace)::TargetBins<scipp::dataset::DataArray>::operator*() 2330
scipp::dataset::(anonymous namespace)::TargetBinBuilder::erase(scipp::units::Dim) 2707
scipp::dataset::(anonymous namespace)::TargetBinBuilder::group(scipp::variable::Variable const&) 4908
scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<scipp::dataset::bins_view_detail::BinsMapView<scipp::dataset::DataArray, scipp::dataset::get_meta::{lambda(auto:1&&)#1}>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&>(scipp::variable&, scipp::dataset::bins_view_detail::BinsMapView<scipp::dataset::DataArray, scipp::dataset::get_meta::{lambda(auto:1&&)#1}>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&)::{lambda(scipp::units)#1}::operator()(scipp::units) const 5856
void scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&) 6133
scipp::dataset::(anonymous namespace)::drop_grouped_event_coords(scipp::variable::Variable const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&) 8438
scipp::dataset::DataArray scipp::dataset::(anonymous namespace)::add_metadata<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable const&, std::unique_ptr<scipp::dataset::(anonymous namespace)::Mapper, std::default_delete<scipp::dataset::(anonymous namespace)::Mapper> >, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable> const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::units::Dim, std::allocator<scipp::units::Dim> > const&) 8451
auto scipp::dataset::(anonymous namespace)::extract_unbinned<scipp::dataset::DataArray, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable> >(scipp::dataset::DataArray&, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable>&) 8451
scipp::dataset::(anonymous namespace)::TargetBinBuilder::edges() const 8451
scipp::dataset::(anonymous namespace)::TargetBinBuilder::groups() const 8451
auto scipp::dataset::(anonymous namespace)::axis_actions<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::units::Dim, std::allocator<scipp::units::Dim> > const&) 8458
scipp::variable::Variable scipp::dataset::(anonymous namespace)::bins_from_sizes<scipp::dataset::DataArray>(scipp::dataset::DataArray&&, scipp::variable::Variable const&) 8458
scipp::dataset::DataArray scipp::dataset::(anonymous namespace)::Mapper::apply<scipp::dataset::DataArray>(scipp::variable::Variable const&) 8458
std::unique_ptr<scipp::dataset::(anonymous namespace)::Mapper, std::default_delete<scipp::dataset::(anonymous namespace)::Mapper> > scipp::dataset::(anonymous namespace)::make_mapper<scipp::dataset::(anonymous namespace)::TargetBinBuilder>(scipp::variable::Variable&&, scipp::dataset::(anonymous namespace)::TargetBinBuilder const&) 8459
bool scipp::dataset::(anonymous namespace)::use_two_stage_remap<scipp::dataset::(anonymous namespace)::TargetBinBuilder>(scipp::dataset::(anonymous namespace)::TargetBinBuilder const&) 8459
scipp::dataset::(anonymous namespace)::validate_bin_args(scipp::dataset::DataArray const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&) 8470
scipp::dataset::bin(scipp::dataset::DataArray const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::units::Dim, std::allocator<scipp::units::Dim> > const&) 8470
scipp::dataset::(anonymous namespace)::SingleStageMapper::SingleStageMapper(scipp::core::Dimensions const&, scipp::variable::Variable const&, scipp::variable::Variable const&) 8477
scipp::dataset::(anonymous namespace)::SingleStageMapper::bin_sizes(std::optional<scipp::core::Dimensions> const&) const 8477
scipp::dataset::(anonymous namespace)::TargetBinBuilder::offsets() const 8495
scipp::dataset::(anonymous namespace)::TargetBinBuilder::build<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&&)::{lambda(scipp::units::Dim)#1}::operator()(scipp::units::Dim) const 8503
scipp::dataset::(anonymous namespace)::Mapper::~Mapper() 8531
scipp::dataset::(anonymous namespace)::TargetBinBuilder::bin(scipp::variable::Variable const&) 9474
auto scipp::dataset::(anonymous namespace)::add_metadata<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable const&, std::unique_ptr<scipp::dataset::(anonymous namespace)::Mapper, std::default_delete<scipp::dataset::(anonymous namespace)::Mapper> >, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable> const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::units::Dim, std::allocator<scipp::units::Dim> > const&)::{lambda(auto:1 const&)#1}::operator()<scipp::variable::Variable>(scipp::variable::Variable const&) const 16895
auto scipp::dataset::(anonymous namespace)::extract_unbinned<scipp::dataset::DataArray, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::dataset::DataArray&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&) 16902
auto scipp::dataset::(anonymous namespace)::axis_actions<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::variable::Variable const&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&, std::vector<scipp::units::Dim, std::allocator<scipp::units::Dim> > const&)::{lambda(auto:1 const&)#1}::operator()<std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > >(std::vector<scipp::variable::Variable, std::allocator<scipp::variable::Variable> > const&) const 16916
auto scipp::dataset::(anonymous namespace)::extract_unbinned<scipp::dataset::DataArray, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(scipp::dataset::DataArray&, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>&)::{lambda(auto:1 const&)#1}::operator()<scipp::units::Dim>(scipp::units::Dim const&) const 21955
auto scipp::dataset::(anonymous namespace)::Mapper::apply<scipp::dataset::DataArray>(scipp::variable::Variable const&)::{lambda(auto:1 const&)#1}::operator()<scipp::variable::Variable>(scipp::variable::Variable const&) const 30461
scipp::dataset::(anonymous namespace)::SingleStageMapper::apply_to_variable(scipp::variable::Variable const&, scipp::variable::Variable&&) const 30512
scipp::dataset::(anonymous namespace)::TargetBinBuilder::dims() const 30886
scipp::dataset::(anonymous namespace)::TargetBinBuilder::nbin() const 32508

Generated by: LCOV version 1.14