• Home
  • Raw
  • Download

Lines Matching refs:estimator

91 static bool check_coverage_size(graph::class_def_size_estimator_t& estimator,  in check_coverage_size()  argument
95 unsigned result = estimator.coverage_size(); in check_coverage_size()
104 static bool check_add_class_def_size(graph::class_def_size_estimator_t& estimator, in check_add_class_def_size() argument
108 unsigned result = estimator.add_class_def_size(klass); in check_add_class_def_size()
115 return check_coverage_size(estimator, map, klasses); in check_add_class_def_size()
120 graph::class_def_size_estimator_t estimator (list.iter ()); in check_add_class_def_size() local
122 unsigned result = estimator.add_class_def_size (klass); in check_add_class_def_size()
137 result = estimator.coverage_size (); in check_add_class_def_size()
280 graph::class_def_size_estimator_t estimator(map.iter()); in test_running_class_size_estimates_with_locally_consecutive_glyphs() local
281 assert(check_add_class_def_size(estimator, map, 1, {1})); in test_running_class_size_estimates_with_locally_consecutive_glyphs()
282 assert(check_add_class_def_size(estimator, map, 2, {1, 2})); in test_running_class_size_estimates_with_locally_consecutive_glyphs()
283 assert(check_add_class_def_size(estimator, map, 3, {1, 2, 3})); in test_running_class_size_estimates_with_locally_consecutive_glyphs()
285 estimator.reset(); in test_running_class_size_estimates_with_locally_consecutive_glyphs()
286 assert(check_add_class_def_size(estimator, map, 2, {2})); in test_running_class_size_estimates_with_locally_consecutive_glyphs()
287 assert(check_add_class_def_size(estimator, map, 3, {2, 3})); in test_running_class_size_estimates_with_locally_consecutive_glyphs()