MCPcopy Create free account
hub / github.com/baidu/tera / Read

Method Read

src/leveldb/util/env_flash.cc:150–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 virtual Status Read(size_t n, Slice* result, char* scratch) {
151 if (flash_file_) {
152 return flash_file_->Read(n, result, scratch);
153 }
154 return dfs_file_->Read(n, result, scratch);
155 }
156
157 virtual Status Skip(uint64_t n) {
158 if (flash_file_) {

Callers 2

CopyToLocalFunction · 0.45
ReadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected