Home | History | Annotate | Download | only in benchmarks

Lines Matching refs:NumStrings

172   static constexpr size_t NumStrings = 1024;
174 std::aligned_storage<sizeof(std::string)>::type Storage[NumStrings];
176 while (state.KeepRunningBatch(NumStrings)) {
179 for (size_t I = 0; I < NumStrings; ++I) {
186 for (size_t I = 0; I < NumStrings; ++I) {
495 static constexpr size_t NumStrings =
499 static_assert((NumStrings & (NumStrings - 1)) == 0,
500 "NumStrings should be a power of two to reduce overhead.");
502 std::vector<std::string> Values(NumStrings, makeString(Length()));
506 // coprime with NumStrings to ensure we visit every element.
507 I = (I + 17) % NumStrings;