Searched refs:is_prime_size_ (Results 1 – 2 of 2) sorted by relevance
84 : 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
83 : is_prime_size_(max + 1), is_prime_(new bool[max + 1]) { in PreCalculatedPrimeTable()89 return 0 <= n && n < is_prime_size_ && is_prime_[n]; in IsPrime()93 for (int n = p + 1; n < is_prime_size_; n++) { in GetNextPrime()102 ::std::fill(is_prime_, is_prime_ + is_prime_size_, true); in CalculatePrimesUpTo()119 const int is_prime_size_; variable