• Home
  • Raw
  • Download

Lines Matching refs:pair

38 std::vector<std::pair<T, T>> GetRandomClass128SampleUniformDivisor() {  in GetRandomClass128SampleUniformDivisor()
39 std::vector<std::pair<T, T>> values; in GetRandomClass128SampleUniformDivisor()
55 for (const auto& pair : values) { in BM_DivideClass128UniformDivisor() local
56 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideClass128UniformDivisor()
67 for (const auto& pair : values) { in BM_RemainderClass128UniformDivisor() local
68 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderClass128UniformDivisor()
78 std::vector<std::pair<T, H>> GetRandomClass128SampleSmallDivisor() { in GetRandomClass128SampleSmallDivisor()
79 std::vector<std::pair<T, H>> values; in GetRandomClass128SampleSmallDivisor()
95 for (const auto& pair : values) { in BM_DivideClass128SmallDivisor() local
96 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideClass128SmallDivisor()
107 for (const auto& pair : values) { in BM_RemainderClass128SmallDivisor() local
108 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderClass128SmallDivisor()
115 std::vector<std::pair<absl::uint128, absl::uint128>> GetRandomClass128Sample() { in GetRandomClass128Sample()
116 std::vector<std::pair<absl::uint128, absl::uint128>> values; in GetRandomClass128Sample()
131 for (const auto& pair : values) { in BM_MultiplyClass128() local
132 benchmark::DoNotOptimize(pair.first * pair.second); in BM_MultiplyClass128()
141 for (const auto& pair : values) { in BM_AddClass128() local
142 benchmark::DoNotOptimize(pair.first + pair.second); in BM_AddClass128()
169 std::vector<std::pair<T, T>> GetRandomIntrinsic128SampleUniformDivisor() { in GetRandomIntrinsic128SampleUniformDivisor()
170 std::vector<std::pair<T, T>> values; in GetRandomIntrinsic128SampleUniformDivisor()
187 for (const auto& pair : values) { in BM_DivideIntrinsic128UniformDivisor() local
188 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideIntrinsic128UniformDivisor()
199 for (const auto& pair : values) { in BM_RemainderIntrinsic128UniformDivisor() local
200 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderIntrinsic128UniformDivisor()
210 std::vector<std::pair<T, H>> GetRandomIntrinsic128SampleSmallDivisor() { in GetRandomIntrinsic128SampleSmallDivisor()
211 std::vector<std::pair<T, H>> values; in GetRandomIntrinsic128SampleSmallDivisor()
228 for (const auto& pair : values) { in BM_DivideIntrinsic128SmallDivisor() local
229 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideIntrinsic128SmallDivisor()
240 for (const auto& pair : values) { in BM_RemainderIntrinsic128SmallDivisor() local
241 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderIntrinsic128SmallDivisor()
248 std::vector<std::pair<unsigned __int128, unsigned __int128>>
250 std::vector<std::pair<unsigned __int128, unsigned __int128>> values; in GetRandomIntrinsic128Sample()
263 for (const auto& pair : values) { in BM_MultiplyIntrinsic128() local
264 benchmark::DoNotOptimize(pair.first * pair.second); in BM_MultiplyIntrinsic128()
273 for (const auto& pair : values) { in BM_AddIntrinsic128() local
274 benchmark::DoNotOptimize(pair.first + pair.second); in BM_AddIntrinsic128()