#include <lib/utils/include/array.h>
Data Fields | |
uint32_t | alloced |
uint32_t | length |
TIFA_BITSTRING_T * | data |
This structure defines an array of bits which knows its current length and its allocated memory space.
TIFA_BITSTRING_T
array. Definition at line 1127 of file array.h.
uint32_t struct_binary_array_t::alloced |
Memory space allocated for this array's data
field, given as a multiple of sizeof(TIFA_BITSTRING_T)
. This is the maximum number of TIFA_BITSTRING_T
that the array can accommodate. The number of bits that the array can hold is hence CHAR_BIT * sizeof(TIFA_BITSTRING_T)
times this value (CHAR_BIT
being the number of bits used to represent a char
, usually 8 on most current architectures).
uint32_t struct_binary_array_t::length |
TIFA_BITSTRING_T* struct_binary_array_t::data |
Array of TIFA_BITSTRING_T
whose size is given by the alloced
field.
Definition at line 1147 of file array.h.
Referenced by flip_array_bit(), get_array_bit(), set_array_bit_to_one(), and set_array_bit_to_zero().