Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
523
static 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
529
void BerkeleyRODatabase::Open()
530
{
Callers
1
Open
Method · 0.85
Calls
1
seek
Method · 0.45
Tested by
no test coverage detected