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. Public Struct

ALLOCATE

Public Struct
std.os.windows.MEM.ALLOCATE
pub const ALLOCATE = packed struct(ULONG)

Fields

Reserved0: u12 = 0
COMMIT: bool = false
RESERVE: bool = false
REPLACE_PLACEHOLDER: bool = false
Reserved15: u3 = 0
RESERVE_PLACEHOLDER: bool = false
RESET: bool = false
TOP_DOWN: bool = false
WRITE_WATCH: bool = false
PHYSICAL: bool = false
Reserved23: u1 = 0
RESET_UNDO: bool = false
Reserved25: u4 = 0
LARGE_PAGES: bool = false
Reserved30: u1 = 0
@"4MB_PAGES": bool = false

Values

File

os/windows.zig:3405
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
    pub const ALLOCATE = packed struct(ULONG) {
        Reserved0: u12 = 0,
        COMMIT: bool = false,
        RESERVE: bool = false,
        REPLACE_PLACEHOLDER: bool = false,
        Reserved15: u3 = 0,
        RESERVE_PLACEHOLDER: bool = false,
        RESET: bool = false,
        TOP_DOWN: bool = false,
        WRITE_WATCH: bool = false,
        PHYSICAL: bool = false,
        Reserved23: u1 = 0,
        RESET_UNDO: bool = false,
        Reserved25: u4 = 0,
        LARGE_PAGES: bool = false,
        Reserved30: u1 = 0,
        @"4MB_PAGES": bool = false,

        pub const @"64K_PAGES": ALLOCATE = .{
            .LARGE_PAGES = true,
            .PHYSICAL = true,
        };
    }