Home
last modified time | relevance | path

Searched refs:TestRandomRWFile (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/test_util/
Dfault_injection_test_env.cc164 TestRandomRWFile::TestRandomRWFile(const std::string& /*fname*/, in TestRandomRWFile() function in ROCKSDB_NAMESPACE::TestRandomRWFile
171 TestRandomRWFile::~TestRandomRWFile() { in ~TestRandomRWFile()
177 Status TestRandomRWFile::Write(uint64_t offset, const Slice& data) { in Write()
184 Status TestRandomRWFile::Read(uint64_t offset, size_t n, Slice* result, in Read()
192 Status TestRandomRWFile::Close() { in Close()
197 Status TestRandomRWFile::Flush() { in Flush()
204 Status TestRandomRWFile::Sync() { in Sync()
281 result->reset(new TestRandomRWFile(fname, std::move(*result), this)); in NewRandomRWFile()
Dfault_injection_test_env.h87 class TestRandomRWFile : public RandomRWFile {
89 explicit TestRandomRWFile(const std::string& fname,
92 virtual ~TestRandomRWFile();