No Matches
Data Fields
as_queue Struct Reference

Detailed Description

A fast, non-thread-safe dynamic queue implementation. as_queue is not part of the generic as_val family.

Definition at line 34 of file as_queue.h.

#include "as_queue.h"

+ Collaboration diagram for as_queue:

Data Fields

uint32_t capacity
uint8_t * data
uint32_t flags
uint32_t head
uint32_t item_size
uint32_t tail
uint32_t total

Field Documentation

◆ capacity

uint32_t as_queue::capacity

The total number of items allocated.

Definition at line 43 of file as_queue.h.

◆ data

uint8_t* as_queue::data

The block of items in the queue.

Definition at line 38 of file as_queue.h.

◆ flags

uint32_t as_queue::flags

Internal queue flags.

Definition at line 68 of file as_queue.h.

◆ head

uint32_t as_queue::head

Item offset of head.

Definition at line 48 of file as_queue.h.

◆ item_size

uint32_t as_queue::item_size

The size of a single item.

Definition at line 58 of file as_queue.h.

◆ tail

uint32_t as_queue::tail

Item offset of tail.

Definition at line 53 of file as_queue.h.

◆ total

uint32_t as_queue::total

Total items used which includes items in queue and items popped from queue.

Definition at line 63 of file as_queue.h.

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