MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / seek

Method seek

lib/hal/HalStorage.cpp:152–152  ·  view source on GitHub ↗

already thread-safe, no need to wrap

Source from the content-addressed store, hash-verified

150size_t HalFile::fileSize() { HAL_FILE_FORWARD_CALL(fileSize, ); } // already thread-safe, no need to wrap
151uint64_t HalFile::fileSize64() { HAL_FILE_FORWARD_CALL(fileSize, ); } // already thread-safe, no need to wrap
152bool HalFile::seek(size_t pos) { HAL_FILE_WRAPPED_CALL(seekSet, pos); }
153bool HalFile::seek64(uint64_t pos) { HAL_FILE_WRAPPED_CALL(seekSet, pos); }
154bool HalFile::seekCur(int64_t offset) { HAL_FILE_WRAPPED_CALL(seekCur, offset); }
155bool HalFile::seekSet(size_t offset) { HAL_FILE_WRAPPED_CALL(seekSet, offset); }

Callers 15

readTitleMethod · 0.80
readAuthorMethod · 0.80
readChaptersMethod · 0.80
readContentMethod · 0.80
enumerateFilePathsMethod · 0.80
loadAllFileStatSlimsMethod · 0.80
loadFileStatSlimMethod · 0.80
getDataOffsetMethod · 0.80
loadZipDetailsMethod · 0.80
fillUncompressedSizesMethod · 0.80
readFileToMemoryMethod · 0.80
readFileToStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected