Lines Matching refs:reader
119 CuckooTableReader reader(ioptions, std::move(file_reader), file_size, ucomp, in CreateCuckooFileAndCheckReader() local
121 ASSERT_OK(reader.status()); in CreateCuckooFileAndCheckReader()
129 reader.Get(ReadOptions(), Slice(keys[i]), &get_context, nullptr)); in CreateCuckooFileAndCheckReader()
149 CuckooTableReader reader(ioptions, std::move(file_reader), file_size, ucomp, in CheckIterator() local
151 ASSERT_OK(reader.status()); in CheckIterator()
152 InternalIterator* it = reader.NewIterator( in CheckIterator()
193 it = reader.NewIterator(ReadOptions(), /*prefix_extractor=*/nullptr, &arena, in CheckIterator()
221 CuckooTableReader reader(ioptions, nullptr, 0, nullptr, nullptr); in TEST_F() local
222 ASSERT_TRUE(reader.status().IsInvalidArgument()); in TEST_F()
223 ASSERT_STREQ("File is not mmaped", reader.status().getState()); in TEST_F()
340 CuckooTableReader reader(ioptions, std::move(file_reader), file_size, ucmp, in TEST_F() local
342 ASSERT_OK(reader.status()); in TEST_F()
354 reader.Get(ReadOptions(), Slice(not_found_key), &get_context, nullptr)); in TEST_F()
356 ASSERT_OK(reader.status()); in TEST_F()
368 reader.Get(ReadOptions(), Slice(not_found_key2), &get_context2, nullptr)); in TEST_F()
370 ASSERT_OK(reader.status()); in TEST_F()
374 reader.GetTableProperties()->user_collected_properties.at( in TEST_F()
384 reader.Get(ReadOptions(), Slice(unused_key), &get_context3, nullptr)); in TEST_F()
386 ASSERT_OK(reader.status()); in TEST_F()
452 CuckooTableReader reader(ioptions, std::move(file_reader), file_size, in WriteFile() local
454 ASSERT_OK(reader.status()); in WriteFile()
464 ASSERT_OK(reader.Get(r_options, Slice(keys[i]), &get_context, nullptr)); in WriteFile()
485 CuckooTableReader reader(ioptions, std::move(file_reader), file_size, in ReadKeys() local
487 ASSERT_OK(reader.status()); in ReadKeys()
489 reader.GetTableProperties()->user_collected_properties; in ReadKeys()
514 reader.Prepare(Slice(reinterpret_cast<char*>(&keys[j]), 16)); in ReadKeys()
517 reader.Get(r_options, Slice(reinterpret_cast<char*>(&keys[j]), 16), in ReadKeys()
523 reader.Get(r_options, Slice(reinterpret_cast<char*>(&keys[i]), 16), in ReadKeys()