MMgr v2.3.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
mmgr_ring_span Struct Reference

A byte region a pinned loculus retains out: the storage, its extent, and how far a reader got. More...

#include <memoria_anularis.h>

Data Fields

uint8_t * buf
size_t bytes
size_t read_offset

Detailed Description

A byte region a pinned loculus retains out: the storage, its extent, and how far a reader got.

Note
Carried here and not taken from spatium, and so this module reaches nothing outside config.

Definition at line 37 of file memoria_anularis.h.

Field Documentation

◆ buf

uint8_t* mmgr_ring_span::buf

First byte of the region [BORROWS].

Definition at line 39 of file memoria_anularis.h.

◆ bytes

size_t mmgr_ring_span::bytes

Bytes at buf.

Definition at line 40 of file memoria_anularis.h.

◆ read_offset

size_t mmgr_ring_span::read_offset

How far a reader walked it, counted in bytes from buf.

Definition at line 41 of file memoria_anularis.h.


The documentation for this struct was generated from the following file: