Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/samples/
Dprime_tables.h84 : is_prime_size_(max + 1), is_prime_(new bool[max + 1]) { in PreCalculatedPrimeTable()
90 return 0 <= n && n < is_prime_size_ && is_prime_[n]; in IsPrime()
94 for (int n = p + 1; n < is_prime_size_; n++) { in GetNextPrime()
103 ::std::fill(is_prime_, is_prime_ + is_prime_size_, true); in CalculatePrimesUpTo()
116 const int is_prime_size_; variable