Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ lg_ceil
Function
lg_ceil
deps/jemalloc/include/jemalloc/internal/bit_util.h:216–219 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
214
#endif
215
216
BIT_UTIL_INLINE unsigned
217
lg_ceil(size_t x) {
218
return lg_floor(x) + ((x & (x - 1)) == 0 ? 0 : 1);
219
}
220
221
#undef BIT_UTIL_INLINE
222
Callers
2
bit_util.c
File · 0.85
size_classes
Function · 0.85
Calls
1
lg_floor
Function · 0.70
Tested by
no test coverage detected