Zig 0.17.0-dev (Split by item)
?
×
Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by
ZigDoc
, an alternative to Zig's built-in
Auto Doc
feature. See also
examples in other modes/formats
. The project being documented here (as the example) is the Zig standard library.
std
›
heap
›
SafeAllocator
›
Options
›
page_size_log2
Private Constant
page_size_log2
Doc
Source
Private Constant
std.heap.SafeAllocator.Options.page_size_log2
const
page_size_log2
=
@max
(
math
.
log2_int
(
usize
,
std
.
heap
.
page_size_max
),
8
)
File
heap/SafeAllocator.zig
:
43
43
const
page_size_log2
=
@max
(
math
.
log2_int
(
usize
,
std
.
heap
.
page_size_max
),
8
)