Searched refs:SKIPLIST_MAX_DEPTH (Results 1 – 1 of 1) sorted by relevance
12 #define SKIPLIST_MAX_DEPTH 31 macro40 for (i = 0; i <= SKIPLIST_MAX_DEPTH; i++) { in init_head()76 RSkipListNode *update[SKIPLIST_MAX_DEPTH + 1], *x; in delete_element()114 list->head = r_skiplist_node_new (NULL, SKIPLIST_MAX_DEPTH); in r_skiplist_new()158 RSkipListNode *update[SKIPLIST_MAX_DEPTH + 1]; in r_skiplist_insert()170 for (x_level = 0; rand () < RAND_MAX / 2 && x_level < SKIPLIST_MAX_DEPTH; x_level++) { in r_skiplist_insert()