Derive-C
Loading...
Searching...
No Matches
SELF Struct Reference

An allocator that prints to stdout when it allocates or frees memory. More...

#include <template.h>

Collaboration diagram for SELF:

Public Attributes

char const * name
ALLOCbase
size_t used
char buffer [CAPACITY]
gdb_marker derive_c_staticbumpalloc
ALLOCalloc
ENTRIES_VECTOR entries
SLOTslots
size_t capacity
INDEX_TYPE free_list
size_t exclusive_end
size_t count
ITEMdata
size_t head
size_t tail
bool empty
gdb_marker derive_c_circular
ITEM_VECTORS front
ITEM_VECTORS back
gdb_marker derive_c_deque
size_t items
KEY_ENTRYkeys
VALUEvalues
gdb_marker derive_c_hashmap
union { 
   ITEM   item 
}; 
bool present
gdb_marker derive_c_option
INPLACE_TYPE size
ITEM data [INPLACE_CAPACITY]
gdb_marker derive_c_staticvec
size_t size
gdb_marker derive_c_vector

Detailed Description

An allocator that prints to stdout when it allocates or frees memory.

  • Takes a specific instance, so we can define different printers for

Definition at line 14 of file template.h.

Member Data Documentation

◆ [union]

union { ... } SELF

◆ alloc

ALLOC * SELF::alloc

Definition at line 63 of file template.h.

◆ back

ITEM_VECTORS SELF::back

Definition at line 58 of file template.h.

◆ base

ALLOC* SELF::base

Definition at line 16 of file template.h.

◆ buffer

char SELF::buffer[CAPACITY]

Definition at line 36 of file template.h.

◆ capacity

size_t SELF::capacity

Definition at line 97 of file template.h.

◆ count

size_t SELF::count

Definition at line 108 of file template.h.

◆ data [1/2]

ITEM * SELF::data

Definition at line 38 of file template.h.

◆ data [2/2]

ITEM SELF::data[INPLACE_CAPACITY]

Definition at line 53 of file template.h.

◆ derive_c_circular

gdb_marker SELF::derive_c_circular

Definition at line 44 of file template.h.

◆ derive_c_deque

gdb_marker SELF::derive_c_deque

Definition at line 60 of file template.h.

◆ derive_c_hashmap

gdb_marker SELF::derive_c_hashmap

Definition at line 88 of file template.h.

◆ derive_c_option

gdb_marker SELF::derive_c_option

Definition at line 41 of file template.h.

◆ derive_c_staticbumpalloc

gdb_marker SELF::derive_c_staticbumpalloc

Definition at line 37 of file template.h.

◆ derive_c_staticvec

gdb_marker SELF::derive_c_staticvec

Definition at line 54 of file template.h.

◆ derive_c_vector

gdb_marker SELF::derive_c_vector

Definition at line 42 of file template.h.

◆ empty

bool SELF::empty

Definition at line 42 of file template.h.

◆ entries

ENTRIES_VECTOR SELF::entries

Definition at line 64 of file template.h.

◆ exclusive_end

size_t SELF::exclusive_end

Definition at line 104 of file template.h.

◆ free_list

INDEX_TYPE SELF::free_list

Definition at line 98 of file template.h.

◆ front

ITEM_VECTORS SELF::front

Definition at line 57 of file template.h.

◆ head

size_t SELF::head

Definition at line 40 of file template.h.

◆ item

ITEM SELF::item

Definition at line 38 of file template.h.

◆ items

size_t SELF::items

Definition at line 82 of file template.h.

◆ keys

KEY_ENTRY* SELF::keys

Definition at line 85 of file template.h.

◆ name

char const* SELF::name

Definition at line 15 of file template.h.

◆ present

bool SELF::present

Definition at line 40 of file template.h.

◆ size [1/2]

INPLACE_TYPE SELF::size

Definition at line 52 of file template.h.

◆ size [2/2]

size_t SELF::size

Definition at line 38 of file template.h.

◆ slots

SLOT* SELF::slots

Definition at line 96 of file template.h.

◆ tail

size_t SELF::tail

Definition at line 41 of file template.h.

◆ used

size_t SELF::used

Definition at line 35 of file template.h.

◆ values

VALUE* SELF::values

Definition at line 86 of file template.h.


The documentation for this struct was generated from the following files:
  • /home/runner/work/derive-C/derive-C/src/derive-c/allocs/debug/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/allocs/staticbump/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/allocs/test/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/structures/arena/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/structures/circular/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/structures/deque/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/structures/hashmap/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/structures/option/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/structures/staticvec/template.h
  • /home/runner/work/derive-C/derive-C/src/derive-c/structures/vector/template.h