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

/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddttreeset.c30 static Dtlink_t* treebalance(Dtlink_t* list, int size) function
32 static Dtlink_t* treebalance(list, size)
47 mid->left = treebalance(list, (n = size/2) );
48 mid->right = treebalance(mid->right, size - (n + 1));
80 dt->data->here = treebalance(dtflatten(dt), size);

Completed in 55 milliseconds