Lines Matching refs:State
101 void run(benchmark::State& State) const { in run()
102 for (auto _ : State) { in run()
113 void run(benchmark::State& State) const { in run()
116 while (State.KeepRunningBatch(MapSize)) { in run()
123 State.SkipWithError("Map copy not identical"); in run()
134 void run(benchmark::State& State) const { in run()
137 while (State.KeepRunningBatch(MapSize)) { in run()
144 State.SkipWithError("Map copy not identical"); in run()
155 void run(benchmark::State& State) const { in run()
157 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
162 State.PauseTiming(); in run()
164 State.ResumeTiming(); in run()
178 void run(benchmark::State& State) const { in run()
181 for (auto _ : State) { in run()
186 State.SkipWithError("Map contains an invalid number of elements."); in run()
197 void run(benchmark::State& State) const { in run()
200 for (auto _ : State) { in run()
205 State.SkipWithError("Map contains an invalid number of elements."); in run()
220 void run(benchmark::State& State) const { in run()
222 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
227 State.PauseTiming(); in run()
229 State.ResumeTiming(); in run()
240 void run(benchmark::State& State) const { in run()
244 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
253 State.SkipWithError("Inserted a duplicate element"); in run()
256 State.SkipWithError("Failed to insert e new element"); in run()
262 State.PauseTiming(); in run()
267 State.ResumeTiming(); in run()
282 run(benchmark::State& State) const { in run()
284 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
295 State.SkipWithError("Inserted a duplicate element"); in run()
298 State.SkipWithError("Failed to insert a new element"); in run()
305 State.PauseTiming(); in run()
307 State.ResumeTiming(); in run()
313 run(benchmark::State& State) const { in run()
315 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
330 State.SkipWithError("Inserted a duplicate element"); in run()
333 State.SkipWithError("Failed to insert a new element"); in run()
339 State.PauseTiming(); in run()
341 State.ResumeTiming(); in run()
345 void run(benchmark::State& State) const { in run()
347 run<h>(State); in run()
359 void run(benchmark::State& State) const { in run()
363 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
372 State.SkipWithError("Inserted a duplicate element"); in run()
375 State.SkipWithError("Failed to insert e new element"); in run()
381 State.PauseTiming(); in run()
386 State.ResumeTiming(); in run()
401 run(benchmark::State& State) const { in run()
403 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
414 State.SkipWithError("Inserted a duplicate element"); in run()
417 State.SkipWithError("Failed to insert a new element"); in run()
424 State.PauseTiming(); in run()
426 State.ResumeTiming(); in run()
432 run(benchmark::State& State) const { in run()
434 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
449 State.SkipWithError("Inserted a duplicate element"); in run()
452 State.SkipWithError("Failed to insert a new element"); in run()
458 State.PauseTiming(); in run()
460 State.ResumeTiming(); in run()
464 void run(benchmark::State& State) const { in run()
466 run<h>(State); in run()
478 void run(benchmark::State& State) const { in run()
483 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
492 State.SkipWithError("Emplaced a duplicate element"); in run()
495 State.SkipWithError("Failed to emplace a new element"); in run()
501 State.PauseTiming(); in run()
506 State.ResumeTiming(); in run()
521 run(benchmark::State& State) const { in run()
523 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
534 State.SkipWithError("Emplaced a duplicate element"); in run()
537 State.SkipWithError("Failed to emplace a new element"); in run()
544 State.PauseTiming(); in run()
546 State.ResumeTiming(); in run()
552 run(benchmark::State& State) const { in run()
554 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
569 State.SkipWithError("Emplaced a duplicate element"); in run()
572 State.SkipWithError("Failed to emplace a new element"); in run()
578 State.PauseTiming(); in run()
580 State.ResumeTiming(); in run()
584 void run(benchmark::State& State) const { in run()
586 run<h>(State); in run()
598 void run(benchmark::State& State) const { in run()
603 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
612 State.SkipWithError("Emplaced a duplicate element"); in run()
615 State.SkipWithError("Failed to emplace a new element"); in run()
621 State.PauseTiming(); in run()
626 State.ResumeTiming(); in run()
641 run(benchmark::State& State) const { in run()
643 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
654 State.SkipWithError("Emplaced a duplicate element"); in run()
657 State.SkipWithError("Failed to emplace a new element"); in run()
664 State.PauseTiming(); in run()
666 State.ResumeTiming(); in run()
672 run(benchmark::State& State) const { in run()
674 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
689 State.SkipWithError("Emplaced a duplicate element"); in run()
692 State.SkipWithError("Failed to emplace a new element"); in run()
698 State.PauseTiming(); in run()
700 State.ResumeTiming(); in run()
704 void run(benchmark::State& State) const { in run()
706 run<h>(State); in run()
718 void run(benchmark::State& State) const { in run()
722 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
731 State.SkipWithError("Did not find the existing element"); in run()
734 State.SkipWithError("Did find the non-existing element"); in run()
740 State.PauseTiming(); in run()
745 State.ResumeTiming(); in run()
758 void run(benchmark::State& State) const { in run()
762 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
770 State.SkipWithError("Did not erase the entire map"); in run()
774 State.PauseTiming(); in run()
779 State.ResumeTiming(); in run()
791 void run(benchmark::State& State) const { in run()
793 while (State.KeepRunningBatch(MapSize * Data.Maps.size())) { in run()
800 State.SkipWithError("Did not erase the entire map"); in run()
804 State.PauseTiming(); in run()
806 State.ResumeTiming(); in run()
821 void run(benchmark::State& State) const { in run()
826 while (State.KeepRunningBatch(MapSize)) { in run()
834 State.SkipWithError("Did not find the existing element"); in run()
837 State.SkipWithError("Did find the non-existing element"); in run()
853 void run(benchmark::State& State) const { in run()
858 while (State.KeepRunningBatch(MapSize)) { in run()
866 State.SkipWithError("Did not find the existing element"); in run()
869 State.SkipWithError("Did find the non-existing element"); in run()
885 void run(benchmark::State& State) const { in run()
890 while (State.KeepRunningBatch(MapSize)) { in run()
905 State.SkipWithError("Did not find the existing element"); in run()
909 State.SkipWithError("Did find the non-existing element"); in run()
925 void run(benchmark::State& State) const { in run()
930 while (State.KeepRunningBatch(MapSize)) { in run()
938 State.SkipWithError("Did not find the existing element"); in run()
941 State.SkipWithError("Did find the non-existing element"); in run()
957 void run(benchmark::State& State) const { in run()
962 while (State.KeepRunningBatch(MapSize)) { in run()
976 State.SkipWithError("Did not find the existing element"); in run()
979 State.SkipWithError("Did find the non-existing element"); in run()