Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
jsonbourne_pool Struct Reference

Two-region arena shared by measurement and materialization. More...

Data Fields

unsigned char * val_pool
char * str_pool
size_t val_len
size_t str_len
size_t val_cap
size_t str_cap
size_t max_memory
jsonbourne_read_code code

Detailed Description

Two-region arena shared by measurement and materialization.

Fixed-size DOM records are kept together so variable-length text cannot misalign the next record. NULL bases count bytes without writing them.

Definition at line 122 of file jsonbourne.c.

Field Documentation

◆ code

jsonbourne_read_code jsonbourne_pool::code

Arena failure carried separately from grammar errors.

Definition at line 130 of file jsonbourne.c.

◆ max_memory

size_t jsonbourne_pool::max_memory

Shared bound across both regions.

Definition at line 129 of file jsonbourne.c.

◆ str_cap

size_t jsonbourne_pool::str_cap

Maximum text bytes available in this pass.

Definition at line 128 of file jsonbourne.c.

◆ str_len

size_t jsonbourne_pool::str_len

Text bytes counted/reserved, including terminators.

Definition at line 126 of file jsonbourne.c.

◆ str_pool

char* jsonbourne_pool::str_pool

Text region, or NULL while measuring.

Definition at line 124 of file jsonbourne.c.

◆ val_cap

size_t jsonbourne_pool::val_cap

Maximum record bytes available in this pass.

Definition at line 127 of file jsonbourne.c.

◆ val_len

size_t jsonbourne_pool::val_len

Record bytes counted/reserved so far.

Definition at line 125 of file jsonbourne.c.

◆ val_pool

unsigned char* jsonbourne_pool::val_pool

Record region, or NULL while measuring.

Definition at line 123 of file jsonbourne.c.


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