HomeSort by relevance Sort by last modified time
    Searched refs:GetNextPrime (Results 1 - 12 of 12) sorted by null

  /external/chromium/testing/gtest/samples/
sample8_unittest.cc 69 virtual int GetNextPrime(int p) const {
72 next_prime = precalc_impl_->GetNextPrime(p);
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p);
140 EXPECT_EQ(2, table_->GetNextPrime(0));
141 EXPECT_EQ(3, table_->GetNextPrime(2));
142 EXPECT_EQ(5, table_->GetNextPrime(3));
143 EXPECT_EQ(7, table_->GetNextPrime(5));
144 EXPECT_EQ(11, table_->GetNextPrime(7));
145 EXPECT_EQ(131, table_->GetNextPrime(128));
sample6_unittest.cc 126 EXPECT_EQ(2, this->table_->GetNextPrime(0));
127 EXPECT_EQ(3, this->table_->GetNextPrime(2));
128 EXPECT_EQ(5, this->table_->GetNextPrime(3));
129 EXPECT_EQ(7, this->table_->GetNextPrime(5));
130 EXPECT_EQ(11, this->table_->GetNextPrime(7));
131 EXPECT_EQ(131, this->table_->GetNextPrime(128));
190 EXPECT_EQ(2, this->table_->GetNextPrime(0));
191 EXPECT_EQ(3, this->table_->GetNextPrime(2));
192 EXPECT_EQ(5, this->table_->GetNextPrime(3));
193 EXPECT_EQ(7, this->table_->GetNextPrime(5))
    [all...]
sample7_unittest.cc 100 EXPECT_EQ(2, table_->GetNextPrime(0));
101 EXPECT_EQ(3, table_->GetNextPrime(2));
102 EXPECT_EQ(5, table_->GetNextPrime(3));
103 EXPECT_EQ(7, table_->GetNextPrime(5));
104 EXPECT_EQ(11, table_->GetNextPrime(7));
105 EXPECT_EQ(131, table_->GetNextPrime(128));
prime_tables.h 52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const {
93 virtual int GetNextPrime(int p) const {
  /external/gtest/samples/
sample8_unittest.cc 69 virtual int GetNextPrime(int p) const {
72 next_prime = precalc_impl_->GetNextPrime(p);
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p);
140 EXPECT_EQ(2, table_->GetNextPrime(0));
141 EXPECT_EQ(3, table_->GetNextPrime(2));
142 EXPECT_EQ(5, table_->GetNextPrime(3));
143 EXPECT_EQ(7, table_->GetNextPrime(5));
144 EXPECT_EQ(11, table_->GetNextPrime(7));
145 EXPECT_EQ(131, table_->GetNextPrime(128));
sample6_unittest.cc 126 EXPECT_EQ(2, this->table_->GetNextPrime(0));
127 EXPECT_EQ(3, this->table_->GetNextPrime(2));
128 EXPECT_EQ(5, this->table_->GetNextPrime(3));
129 EXPECT_EQ(7, this->table_->GetNextPrime(5));
130 EXPECT_EQ(11, this->table_->GetNextPrime(7));
131 EXPECT_EQ(131, this->table_->GetNextPrime(128));
190 EXPECT_EQ(2, this->table_->GetNextPrime(0));
191 EXPECT_EQ(3, this->table_->GetNextPrime(2));
192 EXPECT_EQ(5, this->table_->GetNextPrime(3));
193 EXPECT_EQ(7, this->table_->GetNextPrime(5))
    [all...]
sample7_unittest.cc 102 EXPECT_EQ(2, table_->GetNextPrime(0));
103 EXPECT_EQ(3, table_->GetNextPrime(2));
104 EXPECT_EQ(5, table_->GetNextPrime(3));
105 EXPECT_EQ(7, table_->GetNextPrime(5));
106 EXPECT_EQ(11, table_->GetNextPrime(7));
107 EXPECT_EQ(131, table_->GetNextPrime(128));
prime_tables.h 52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const {
93 virtual int GetNextPrime(int p) const {
  /external/protobuf/gtest/samples/
sample8_unittest.cc 69 virtual int GetNextPrime(int p) const {
72 next_prime = precalc_impl_->GetNextPrime(p);
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p);
140 EXPECT_EQ(2, table_->GetNextPrime(0));
141 EXPECT_EQ(3, table_->GetNextPrime(2));
142 EXPECT_EQ(5, table_->GetNextPrime(3));
143 EXPECT_EQ(7, table_->GetNextPrime(5));
144 EXPECT_EQ(11, table_->GetNextPrime(7));
145 EXPECT_EQ(131, table_->GetNextPrime(128));
sample6_unittest.cc 126 EXPECT_EQ(2, this->table_->GetNextPrime(0));
127 EXPECT_EQ(3, this->table_->GetNextPrime(2));
128 EXPECT_EQ(5, this->table_->GetNextPrime(3));
129 EXPECT_EQ(7, this->table_->GetNextPrime(5));
130 EXPECT_EQ(11, this->table_->GetNextPrime(7));
131 EXPECT_EQ(131, this->table_->GetNextPrime(128));
190 EXPECT_EQ(2, this->table_->GetNextPrime(0));
191 EXPECT_EQ(3, this->table_->GetNextPrime(2));
192 EXPECT_EQ(5, this->table_->GetNextPrime(3));
193 EXPECT_EQ(7, this->table_->GetNextPrime(5))
    [all...]
sample7_unittest.cc 102 EXPECT_EQ(2, table_->GetNextPrime(0));
103 EXPECT_EQ(3, table_->GetNextPrime(2));
104 EXPECT_EQ(5, table_->GetNextPrime(3));
105 EXPECT_EQ(7, table_->GetNextPrime(5));
106 EXPECT_EQ(11, table_->GetNextPrime(7));
107 EXPECT_EQ(131, table_->GetNextPrime(128));
prime_tables.h 52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const {
93 virtual int GetNextPrime(int p) const {

Completed in 811 milliseconds