Lines Matching refs:rep
25 explicit MockMemTableRep(Allocator* allocator, MemTableRep* rep) in MockMemTableRep() argument
26 : MemTableRep(allocator), rep_(rep), num_insert_with_hint_(0) {} in MockMemTableRep()
92 MockMemTableRep* rep() { return mock_rep_; } in rep() function in ROCKSDB_NAMESPACE::MockMemTableRepFactory
286 MockMemTableRep* rep = in TEST_F() local
288 ->rep(); in TEST_F()
290 ASSERT_EQ(nullptr, rep->last_hint_in()); in TEST_F()
291 void* hint_foo = rep->last_hint_out(); in TEST_F()
293 ASSERT_EQ(hint_foo, rep->last_hint_in()); in TEST_F()
294 ASSERT_EQ(hint_foo, rep->last_hint_out()); in TEST_F()
296 ASSERT_EQ(hint_foo, rep->last_hint_in()); in TEST_F()
297 ASSERT_EQ(hint_foo, rep->last_hint_out()); in TEST_F()
299 ASSERT_EQ(nullptr, rep->last_hint_in()); in TEST_F()
300 void* hint_bar = rep->last_hint_out(); in TEST_F()
303 ASSERT_EQ(hint_bar, rep->last_hint_in()); in TEST_F()
304 ASSERT_EQ(hint_bar, rep->last_hint_out()); in TEST_F()
305 ASSERT_EQ(5, rep->num_insert_with_hint()); in TEST_F()
307 ASSERT_EQ(5, rep->num_insert_with_hint()); in TEST_F()