MCPcopy Create free account
hub / github.com/ElementsProject/elements / Skip

Method Skip

src/leveldb/util/env_windows.cc:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 Status Skip(uint64_t n) override {
172 LARGE_INTEGER distance;
173 distance.QuadPart = n;
174 if (!::SetFilePointerEx(handle_.get(), distance, nullptr, FILE_CURRENT)) {
175 return WindowsError(filename_, ::GetLastError());
176 }
177 return Status::OK();
178 }
179
180 std::string GetName() const override { return filename_; }
181

Callers

nothing calls this directly

Calls 3

WindowsErrorFunction · 0.85
OKFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected