MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
ScrutWordNs Struct Reference

Type of the word dispatch table. More...

#include <verbum_scrutor.h>

Data Fields

embed_word(*) load (const ScrutWordCfg *args)
embed_word(*) load_al (const ScrutWordCfg *args)
embed_word(*) fold_lower (const ScrutWordCfg *args)
size_t(*) count (const ScrutWordCfg *args)

Detailed Description

Type of the word dispatch table.

Note
EMBED_TABLE_LAYOUT asserts the four members sit at consecutive EMBED_FUNCTION_POINTER_BYTES offsets, with nothing else.
Its count member converts a byte count into a word count, where the lane table's count counts lanes.

Definition at line 199 of file verbum_scrutor.h.

Field Documentation

◆ load

embed_word(*) ScrutWordNs::load(const ScrutWordCfg *args)

Reads a word from any address.

Definition at line 201 of file verbum_scrutor.h.

◆ load_al

embed_word(*) ScrutWordNs::load_al(const ScrutWordCfg *args)

Reads a word from an aligned address.

Definition at line 202 of file verbum_scrutor.h.

◆ fold_lower

embed_word(*) ScrutWordNs::fold_lower(const ScrutWordCfg *args)

Turns every letter lane to lower case.

Definition at line 203 of file verbum_scrutor.h.

◆ count

size_t(*) ScrutWordNs::count(const ScrutWordCfg *args)

Words a scan of a byte count must read.

Definition at line 204 of file verbum_scrutor.h.


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