/third_party/boost/libs/math/test/ |
D | test_root_iterations.cpp | 155 boost::uintmax_t iters; in BOOST_AUTO_TEST_CASE() local 166 iters = 1000; in BOOST_AUTO_TEST_CASE() 168 …t(cbrt_functor_noderiv(arg), guess, 2.0, true, boost::math::tools::eps_tolerance<double>(), iters); in BOOST_AUTO_TEST_CASE() 170 BOOST_CHECK_LE(iters, 14); in BOOST_AUTO_TEST_CASE() 172 iters = 1000; in BOOST_AUTO_TEST_CASE() 173 …wton_raphson_iterate(cbrt_functor_deriv(arg), guess, guess / 2, result * 10, newton_limits, iters); in BOOST_AUTO_TEST_CASE() 175 BOOST_CHECK_LE(iters, 12); in BOOST_AUTO_TEST_CASE() 177 iters = 1000; in BOOST_AUTO_TEST_CASE() 178 …s::halley_iterate(cbrt_functor_2deriv(arg), guess, result / 10, result * 10, newton_limits, iters); in BOOST_AUTO_TEST_CASE() 180 BOOST_CHECK_LE(iters, 7); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/re2/util/ |
D | benchmark.cc | 58 static void RunFunc(Benchmark* b, int iters, int arg) { in RunFunc() argument 63 b->func()(iters, arg); in RunFunc() 76 int iters, last; in RunBench() local 79 iters = 1; in RunBench() 80 RunFunc(b, iters, arg); in RunBench() 81 while (ns < (int)1e9 && iters < (int)1e9) { in RunBench() 82 last = iters; in RunBench() 83 if (ns / iters == 0) { in RunBench() 84 iters = (int)1e9; in RunBench() 86 iters = (int)1e9 / static_cast<int>(ns / iters); in RunBench() [all …]
|
D | benchmark.h | 37 explicit Iterator(int64_t iters) : iters_(iters) {} in Iterator() argument 63 explicit State(int64_t iters) in State() argument 64 : iters_(iters), arg_(0), has_arg_(false) {} in State() 66 State(int64_t iters, int64_t arg) in State() argument 67 : iters_(iters), arg_(arg), has_arg_(true) {} in State() 102 func_([func](int iters, int arg) { in Benchmark() 103 benchmark::State state(iters); in Benchmark() 114 func_([func](int iters, int arg) { in Benchmark() 115 benchmark::State state(iters, arg); in Benchmark()
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure2/ |
D | annotation.hpp | 29 std::vector<Iterator>& iters; member 30 annotation(std::vector<Iterator>& iters) in annotation() 31 : iters(iters) {} in annotation() 59 int id = iters.size(); in operator ()() 60 iters.push_back(pos); in operator ()() 66 int id = iters.size(); in operator ()() 67 iters.push_back(pos); in operator ()() 73 int id = iters.size(); in operator ()() 74 iters.push_back(pos); in operator ()() 80 int id = iters.size(); in operator ()() [all …]
|
D | statement_def.hpp | 115 annotation_function(error_handler.iters)(_val, _1)); in statement() 117 annotation_function(error_handler.iters)(_val, _1)); in statement() 119 annotation_function(error_handler.iters)(_val, _1)); in statement()
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure1/ |
D | annotation.hpp | 29 std::vector<Iterator>& iters; member 30 annotation(std::vector<Iterator>& iters) in annotation() 31 : iters(iters) {} in annotation() 59 int id = iters.size(); in operator ()() 60 iters.push_back(pos); in operator ()() 66 int id = iters.size(); in operator ()() 67 iters.push_back(pos); in operator ()() 73 int id = iters.size(); in operator ()() 74 iters.push_back(pos); in operator ()() 80 int id = iters.size(); in operator ()() [all …]
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/mini_c/ |
D | annotation.hpp | 29 std::vector<Iterator>& iters; member 30 annotation(std::vector<Iterator>& iters) in annotation() 31 : iters(iters) {} in annotation() 59 int id = iters.size(); in operator ()() 60 iters.push_back(pos); in operator ()() 66 int id = iters.size(); in operator ()() 67 iters.push_back(pos); in operator ()() 73 int id = iters.size(); in operator ()() 74 iters.push_back(pos); in operator ()() 80 int id = iters.size(); in operator ()() [all …]
|
D | statement_def.hpp | 116 annotation_function(error_handler.iters)(_val, _1)); in statement() 118 annotation_function(error_handler.iters)(_val, _1)); in statement() 120 annotation_function(error_handler.iters)(_val, _1)); in statement()
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure3/ |
D | annotation.hpp | 90 std::vector<Iterator>& iters; member 91 annotation(std::vector<Iterator>& iters) in annotation() 92 : iters(iters) {} in annotation() 96 int id = iters.size(); in operator ()() 97 iters.push_back(pos); in operator ()() 104 int id = iters.size(); in operator ()() 105 iters.push_back(pos); in operator ()() 112 int id = iters.size(); in operator ()() 113 iters.push_back(pos); in operator ()() 119 int id = iters.size(); in operator ()() [all …]
|
D | expression_def.hpp | 96 annotation_function(error_handler.iters)(_val, _1)); in expression() 98 annotation_function(error_handler.iters)(_val, _1)); in expression() 100 annotation_function(error_handler.iters)(_val, _1)); in expression()
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc8/ |
D | annotation.hpp | 29 std::vector<Iterator>& iters; member 30 annotation(std::vector<Iterator>& iters) in annotation() 31 : iters(iters) {} in annotation() 63 int id = iters.size(); in operator ()() 64 iters.push_back(pos); in operator ()() 70 int id = iters.size(); in operator ()() 71 iters.push_back(pos); in operator ()()
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc7/ |
D | annotation.hpp | 29 std::vector<Iterator>& iters; member 30 annotation(std::vector<Iterator>& iters) in annotation() 31 : iters(iters) {} in annotation() 63 int id = iters.size(); in operator ()() 64 iters.push_back(pos); in operator ()() 70 int id = iters.size(); in operator ()() 71 iters.push_back(pos); in operator ()()
|
/third_party/boost/libs/regex/example/timer/ |
D | regex_timer.cpp | 152 unsigned iters = 100; in main() local 206 iters = 10; in main() 220 iters *= static_cast<unsigned>((tim > 0.001) ? (1.1/tim) : 100); in main() 222 for(i =0; i < iters; ++i) in main() 229 cout << "regex time: " << (tim * 1000000 / iters) << "us" << endl; in main() 249 iters = 10; in main() 254 iters *= static_cast<unsigned>((tim > 0.001) ? (1.1/tim) : 100); in main() 256 for(i = 0; i < iters; ++i) in main() 262 cout << "wregex time: " << (tim * 1000000 / iters) << "us" << endl; in main() 287 iters = 10; in main() [all …]
|
/third_party/benchmark/src/ |
D | benchmark_runner.cc | 118 void RunInThread(const BenchmarkInstance* b, IterationCount iters, in RunInThread() argument 126 b->Run(iters, thread_id, &timer, manager, perf_counters_measurement); in RunInThread() 154 iters(has_explicit_iteration_count ? b.iterations() : 1), in BenchmarkRunner() 178 BM_VLOG(2) << "Running " << b.name().str() << " for " << iters << "\n"; in DoNIterations() 185 pool[ti] = std::thread(&RunInThread, &b, iters, static_cast<int>(ti + 1), in DoNIterations() 191 RunInThread(&b, iters, 0, manager.get(), perf_counters_measurement_ptr); in DoNIterations() 218 i.iters = i.results.iterations / b.threads(); in DoNIterations() 246 std::lround(std::max(multiplier * static_cast<double>(i.iters), in PredictNumItersNeeded() 247 static_cast<double>(i.iters) + 1.0))); in PredictNumItersNeeded() 261 i.iters >= kMaxIterations || // Too many iterations already. in ShouldReportIterationResults() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkCubicSolver.h | 43 int iters = 0; in cubic_solver() local 45 for (; iters < MAX_ITERS; ++iters) { in cubic_solver() 61 if (max_iters < iters) { in cubic_solver() 62 max_iters = iters; in cubic_solver()
|
D | SkCubicClipper.cpp | 41 int iters = 0; in ChopMonoAtY() local 55 ++iters; in ChopMonoAtY() 56 } while (!converged && (iters < maxiters)); in ChopMonoAtY() 85 int iters = 0; in ChopMonoAtY() local 100 ++iters; in ChopMonoAtY()
|
/third_party/skia/src/core/ |
D | SkCubicSolver.h | 43 int iters = 0; in cubic_solver() local 45 for (; iters < MAX_ITERS; ++iters) { in cubic_solver() 61 if (max_iters < iters) { in cubic_solver() 62 max_iters = iters; in cubic_solver()
|
D | SkCubicClipper.cpp | 41 int iters = 0; in ChopMonoAtY() local 55 ++iters; in ChopMonoAtY() 56 } while (!converged && (iters < maxiters)); in ChopMonoAtY() 85 int iters = 0; in ChopMonoAtY() local 100 ++iters; in ChopMonoAtY()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | control_dependence.cpp | 146 uint32_t iters = 0; in TEST() local 147 EXPECT_TRUE(cdg.WhileEachBlockLabel([&iters](uint32_t) { in TEST() 148 ++iters; in TEST() 151 EXPECT_EQ((uint32_t)block_labels.size(), iters); in TEST() 152 iters = 0; in TEST() 153 EXPECT_FALSE(cdg.WhileEachBlockLabel([&iters](uint32_t) { in TEST() 154 ++iters; in TEST() 157 EXPECT_EQ(1, iters); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | control_dependence.cpp | 146 uint32_t iters = 0; in TEST() local 147 EXPECT_TRUE(cdg.WhileEachBlockLabel([&iters](uint32_t) { in TEST() 148 ++iters; in TEST() 151 EXPECT_EQ((uint32_t)block_labels.size(), iters); in TEST() 152 iters = 0; in TEST() 153 EXPECT_FALSE(cdg.WhileEachBlockLabel([&iters](uint32_t) { in TEST() 154 ++iters; in TEST() 157 EXPECT_EQ(1, iters); in TEST()
|
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-go-gif/ |
D | main.go | 114 iters := uint64(tc.itersUnscaled) * iterscale 120 for i := uint64(1); i < iters; i++ { 126 kbPerS := numBytes * uint64(iters) * 1000000 / uint64(elapsedNanos) 133 tc.benchname, iters, uint64(elapsedNanos)/iters, kbPerS/1000, kbPerS%1000)
|
/third_party/boost/boost/geometry/srs/projections/proj/ |
D | robin.hpp | 175 int iters; in inv() local 202 for (iters = max_iter; iters ; --iters) { /* Newton-Raphson */ in inv() 207 if( iters == 0 ) in inv()
|
/third_party/flutter/skia/tests/ |
D | PathOpsCubicLineIntersectionIdeas.cpp | 55 int* iters) { in binary_search() argument 58 *iters += 1; in binary_search() 143 int iters = 0; in DEF_TEST() local 221 double newT = binary_search(cubic, step, pt, t, &iters); in DEF_TEST() 241 SkDebugf("errors=%d avgIter=%1.9g", errors, (double) iters / errors); in DEF_TEST() 268 int iters = 0; in testOneFailure() local 269 double newT = binary_search(cubic, 0.1, pt, t, &iters); in testOneFailure()
|
/third_party/skia/tests/ |
D | PathOpsCubicLineIntersectionIdeas.cpp | 55 int* iters) { in binary_search() argument 58 *iters += 1; in binary_search() 143 int iters = 0; in DEF_TEST() local 221 double newT = binary_search(cubic, step, pt, t, &iters); in DEF_TEST() 241 SkDebugf("errors=%d avgIter=%1.9g", errors, (double) iters / errors); in DEF_TEST() 268 int iters = 0; in testOneFailure() local 269 double newT = binary_search(cubic, 0.1, pt, t, &iters); in testOneFailure()
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | benchmark.cc | 162 size_t iters, int thread_id, in RunInThread() argument 165 State st(iters, b->arg, thread_id, b->threads, &timer, manager); in RunInThread() 190 size_t iters = has_explicit_iteration_count ? b.iterations : 1; in RunBenchmark() local 203 VLOG(2) << "Running " << b.name << " for " << iters << "\n"; in RunBenchmark() 207 pool[ti] = std::thread(&RunInThread, &b, iters, in RunBenchmark() 210 RunInThread(&b, iters, 0, manager.get()); in RunBenchmark() 242 || iters >= kMaxIterations // No chance to try again, we hit the limit. in RunBenchmark() 268 double next_iters = std::max(multiplier * iters, iters + 1.0); in RunBenchmark() 273 iters = static_cast<int>(next_iters + 0.5); in RunBenchmark()
|