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

Function insert_test

examples/test/avl.c:513–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513static void insert_test(void)
514{
515 for (size_t i = 0; i < loop_count; i++)
516 {
517 struct rt_varea *varea;
518 varea = &_varea_buf[i];
519 varea->start = (void *)(uintptr_t)dataset[i];
520 varea->size = 1;
521 _aspace_bst_insert(&aspace, varea);
522 }
523}
524
525static void search_test(void)
526{

Callers

nothing calls this directly

Calls 1

_aspace_bst_insertFunction · 0.70

Tested by

no test coverage detected