Lines Matching refs:getKey

110   typename T::key_type getKey(int i = 0) {  in getKey()  function in __anona16976e80111::DenseMapTest
137 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST()
138 EXPECT_EQ(nullptr, this->Map.find(this->getKey())); in TYPED_TEST()
140 this->Map.lookup(this->getKey())); in TYPED_TEST()
152 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
159 EXPECT_TRUE(this->Map.count(this->getKey())); in TYPED_TEST()
160 EXPECT_NE(nullptr, this->Map.find(this->getKey())); in TYPED_TEST()
161 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST()
162 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
167 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
176 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
177 this->Map.erase(this->Map.find(this->getKey())); in TYPED_TEST()
185 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
186 this->Map.erase(this->getKey()); in TYPED_TEST()
195 typename TypeParam::value_type(this->getKey(), this->getValue())); in TYPED_TEST()
197 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
202 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
206 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
212 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
217 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
230 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
239 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
243 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
248 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
253 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
258 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
264 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
269 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
276 EXPECT_EQ(this->getValue(), otherMap[this->getKey()]); in TYPED_TEST()
282 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
285 for (int i = 0; i < 100; ++i) this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()
292 EXPECT_EQ(this->getValue(i), otherMap[this->getKey(i)]); in TYPED_TEST()
299 EXPECT_EQ(this->getValue(i), this->Map[this->getKey(i)]); in TYPED_TEST()
310 visitedIndex[this->getKey(i)] = i; in TYPED_TEST()
312 this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()