MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SeekToPage

Function SeekToPage

src/wallet/migrate.cpp:523–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521};
522
523static void SeekToPage(AutoFile& s, uint32_t page_num, uint32_t page_size)
524{
525 int64_t pos = int64_t{page_num} * page_size;
526 s.seek(pos, SEEK_SET);
527}
528
529void BerkeleyRODatabase::Open()
530{

Callers 1

OpenMethod · 0.85

Calls 1

seekMethod · 0.45

Tested by

no test coverage detected