Lines Matching refs:size
58 // The size of a benchmark family determines is the number of inputs to repeat
103 size_t index = families_.size();
152 const size_t family_size = family->args_.size() * thread_counts->size();
160 // family size. this doesn't take into account any disabled benchmarks
162 if (spec == ".") benchmarks->reserve(benchmarks->size() + family_size);
262 BM_CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast<int>(ranges.size()));
263 std::vector<std::vector<int64_t>> arglists(ranges.size());
264 for (std::size_t i = 0; i < ranges.size(); i++) {
276 BM_CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast<int>(arglists.size()));
278 std::vector<std::size_t> indices(arglists.size());
282 return res * arglist.size();
285 args.reserve(arglists.size());
287 for (std::size_t arg = 0; arg < arglists.size(); arg++) {
295 indices[arg] = (indices[arg] + 1) % arglists[arg].size();
296 } while (indices[arg++] == 0 && arg < arglists.size());
309 BM_CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast<int>(names.size()));
324 BM_CHECK(ArgsCnt() == -1 || ArgsCnt() == static_cast<int>(args.size()));
478 return static_cast<int>(arg_names_.size());
480 return static_cast<int>(args_.front().size());
485 BM_CHECK_LT(arg, static_cast<int>(arg_names_.size()));