Searched refs:tbalance (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libast/cdt/
H A Ddttree.c250 static Dtlink_t* tbalance(Dtlink_t* list, ssize_t size) function
252 static Dtlink_t* tbalance(list, size)
267 mid->_left = tbalance(list, (n = size/2) );
268 mid->_rght = tbalance(mid->_rght, size - (n + 1));
281 tree->root = tbalance(list, size);

Completed in 7 milliseconds