Searched refs:MAX_SKIPLIST_LEVEL (Results 1 – 2 of 2) sorted by relevance
26 #define MAX_SKIPLIST_LEVEL 16 macro32 struct SkipListNode *forward[MAX_SKIPLIST_LEVEL]; /* level next */33 struct SkipListNode *pre[MAX_SKIPLIST_LEVEL];44 struct SkipListNode *hnode[MAX_SKIPLIST_LEVEL]; /* point to the first node of each level */45 struct SkipListNode *tnode[MAX_SKIPLIST_LEVEL]; /* point to the last node of each level */
38 …ile ((list->randomLev[(list->randomIndex++) & (MAX_RANDOM_LEV - 1)]) && (k < MAX_SKIPLIST_LEVEL)) { in SkiplistRandomLevel()193 struct SkipListNode *prevRecord[MAX_SKIPLIST_LEVEL]; in SkiplistInsertAtMid()306 while (i < MAX_SKIPLIST_LEVEL) { in SkipListInsert()