MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / delete_test

Function delete_test

examples/test/avl.c:537–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537static void delete_test(void)
538{
539 for (size_t i = 0; i < loop_count; i++)
540 {
541 void *start = (void *)(uintptr_t)dataset[i];
542 struct rt_varea *varea;
543 varea = _aspace_bst_search(&aspace, start);
544 _aspace_bst_remove(&aspace, varea);
545 }
546}
547
548static void cleanup(void)
549{

Callers

nothing calls this directly

Calls 2

_aspace_bst_searchFunction · 0.70
_aspace_bst_removeFunction · 0.70

Tested by

no test coverage detected