Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/foundationdb
/ pageCeiling
Function
pageCeiling
fdbserver/DiskQueue.actor.cpp:39–41 ·
view source on GitHub ↗
0 -> 0 1 -> 4k 4k -> 4k
Source
from the content-addressed store, hash-verified
37
// 1 -> 4k
38
// 4k -> 4k
39
int64_t pageCeiling(int64_t loc) {
40
return (loc + _PAGE_SIZE - 1) / _PAGE_SIZE * _PAGE_SIZE;
41
}
42
43
// 0 -> 0
44
// 1 -> 0
Callers
1
push
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected