MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / empty

Method empty

compute/perf/perf_tbb_merge.cpp:28–28  ·  view source on GitHub ↗

where to put merged sequence

Source from the content-addressed store, hash-verified

26 Iterator begin2, end2; // [begin2,end2) is 2nd sequence to be merged
27 Iterator out; // where to put merged sequence
28 bool empty() const {return (end1-begin1)+(end2-begin2)==0;}
29 bool is_divisible() const {
30 return (std::min)( end1-begin1, end2-begin2 ) > grainsize;
31 }

Callers 15

BoostFromAverageMethod · 0.45
OutputMetricMethod · 0.45
SaveModelToStringMethod · 0.45
LoadModelFromStringMethod · 0.45
DroppingTreesMethod · 0.45
ParseMachineListMethod · 0.45
GreedyFindBinFunction · 0.45
FindBinWithZeroAsOneBinFunction · 0.45
FindBinMethod · 0.45
InitMethod · 0.45
PartitionLabelMethod · 0.45

Calls

no outgoing calls

Tested by 9

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36