File ns_free_tests.c
FileList > neuralSPOT > neuralspot > ns-utils > tests > ns_free_tests.c
Go to the source code of this file
#include "ns_malloc.h"
#include "unity/unity.h"
#include "ns_core.h"
Public Attributes
Type | Name |
---|---|
size_t const | ucHeapSize = = configTOTAL_HEAP_SIZE |
Public Functions
Type | Name |
---|---|
uint8_t ucHeap[NS_MALLOC_HEAP_SIZE_IN_K *1024] | __attribute__ ((aligned(4))) |
void | ns_free_test_basic () |
void | ns_free_test_memory_fragmentation () |
void | ns_free_test_non_malloced_pointer () |
void | ns_free_test_null_pointer () |
void | ns_free_test_twice () |
void | ns_free_tests_post_test_hook () |
void | ns_free_tests_pre_test_hook () |
Macros
Type | Name |
---|---|
define | configTOTAL_HEAP_SIZE NS_MALLOC_HEAP_SIZE_IN_K * 1024 |
Public Attributes Documentation
variable ucHeapSize
size_t const ucHeapSize;
Public Functions Documentation
function __attribute__
uint8_t ucHeap[NS_MALLOC_HEAP_SIZE_IN_K *1024] __attribute__ (
(aligned(4))
)
function ns_free_test_basic
void ns_free_test_basic ()
function ns_free_test_memory_fragmentation
void ns_free_test_memory_fragmentation ()
function ns_free_test_non_malloced_pointer
void ns_free_test_non_malloced_pointer ()
function ns_free_test_null_pointer
void ns_free_test_null_pointer ()
function ns_free_test_twice
void ns_free_test_twice ()
function ns_free_tests_post_test_hook
void ns_free_tests_post_test_hook ()
function ns_free_tests_pre_test_hook
void ns_free_tests_pre_test_hook ()
Macro Definition Documentation
define configTOTAL_HEAP_SIZE
#define configTOTAL_HEAP_SIZE NS_MALLOC_HEAP_SIZE_IN_K * 1024
The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-utils/tests/ns_free_tests.c