Searched refs:table_ (Results 1 – 4 of 4) sorted by relevance
60 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} in PrimeTableTest()62 ~PrimeTableTest() override { delete table_; } in ~PrimeTableTest()71 PrimeTable* const table_; member in __anonbfa595480111::PrimeTableTest103 EXPECT_FALSE(this->table_->IsPrime(-5)); in TYPED_TEST()104 EXPECT_FALSE(this->table_->IsPrime(0)); in TYPED_TEST()105 EXPECT_FALSE(this->table_->IsPrime(1)); in TYPED_TEST()106 EXPECT_FALSE(this->table_->IsPrime(4)); in TYPED_TEST()107 EXPECT_FALSE(this->table_->IsPrime(6)); in TYPED_TEST()108 EXPECT_FALSE(this->table_->IsPrime(100)); in TYPED_TEST()112 EXPECT_TRUE(this->table_->IsPrime(2)); in TYPED_TEST()[all …]
64 ~PrimeTableTestSmpl7() override { delete table_; } in ~PrimeTableTestSmpl7()65 void SetUp() override { table_ = (*GetParam())(); } in SetUp()67 delete table_; in TearDown()68 table_ = nullptr; in TearDown()72 PrimeTable* table_; member in __anon0f049ec90111::PrimeTableTestSmpl776 EXPECT_FALSE(table_->IsPrime(-5)); in TEST_P()77 EXPECT_FALSE(table_->IsPrime(0)); in TEST_P()78 EXPECT_FALSE(table_->IsPrime(1)); in TEST_P()79 EXPECT_FALSE(table_->IsPrime(4)); in TEST_P()80 EXPECT_FALSE(table_->IsPrime(6)); in TEST_P()[all …]
98 table_ = new HybridPrimeTable(force_on_the_fly, max_precalculated); in SetUp()101 delete table_; in TearDown()102 table_ = nullptr; in TearDown()104 HybridPrimeTable* table_; member in __anon5e63a84a0111::PrimeTableTest114 EXPECT_FALSE(table_->IsPrime(-5)); in TEST_P()115 EXPECT_FALSE(table_->IsPrime(0)); in TEST_P()116 EXPECT_FALSE(table_->IsPrime(1)); in TEST_P()117 EXPECT_FALSE(table_->IsPrime(4)); in TEST_P()118 EXPECT_FALSE(table_->IsPrime(6)); in TEST_P()119 EXPECT_FALSE(table_->IsPrime(100)); in TEST_P()[all …]
105 Bucket *table_; variable115 Bucket *bucket = &table_[n]; in ForEach()200 table_ = (Bucket*)MmapOrDie(kSize * sizeof(table_[0]), "AddrHashMap"); in AddrHashMap()208 Bucket *b = &table_[hash]; in acquire()