Home
last modified time | relevance | path

Searched refs:next_prime (Results 1 – 10 of 10) sorted by relevance

/third_party/googletest/googletest/samples/
Dsample8_unittest.cc69 int next_prime = -1; in GetNextPrime() local
71 next_prime = precalc_impl_->GetNextPrime(p); in GetNextPrime()
73 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p); in GetNextPrime()
/third_party/boost/libs/unordered/test/unordered/
Ddetail_tests.cpp39 std::size_t x = boost::unordered::detail::next_prime(value); in test_next_prime()
63 BOOST_TEST(boost::unordered::detail::next_prime(0) > 0); in UNORDERED_AUTO_TEST()
93 BOOST_TEST(boost::unordered::detail::next_prime(i) == max_prime); in UNORDERED_AUTO_TEST()
/third_party/gettext/gnulib-local/lib/
Dmem-hash-map.c73 next_prime (unsigned long int seed) in next_prime() function
92 init_size = next_prime (init_size); in hash_init()
244 htab->size = next_prime (htab->size * 2); in resize()
Dmem-hash-map.h84 extern unsigned long int next_prime (unsigned long int seed);
DChangeLog.0154 next_prime): Use ANSI C function declarations.
156 find_entry, iterate_table, lookup, compute_hashval, next_prime,
/third_party/boost/boost/math/differentiation/
Dlanczos_smoothing.hpp51 Real next_prime() in next_prime() function in boost::math::differentiation::detail::discrete_legendre
151 dlp.next_prime(); in interior_velocity_filter()
152 coeffs[l] = dlp.next_prime()/ dlp.norm_sq(l); in interior_velocity_filter()
191 coeffs[l] = dlp.next_prime()/ dlp.norm_sq(l); in boundary_velocity_filter()
/third_party/gettext/gettext-tools/src/
Dwrite-qt.c512 table_size = next_prime (num_contexts * 1.7); in write_qm()
Dwrite-mo.c408 hash_tab_size = next_prime ((mlp->nitems * 4) / 3); in write_table()
/third_party/boost/libs/math/test/
Dlanczos_smoothing_test.cpp129 BOOST_CHECK_CLOSE(dlp.next_prime(), dlp.prime(x, k), tol); in test_dlp_next()
/third_party/boost/boost/unordered/detail/
Dimplementation.hpp326 inline std::size_t next_prime(std::size_t num) in next_prime() function
2609 return boost::unordered::detail::next_prime(min); in new_bucket_count()