|
◆ temporal_skiplist_common()
int temporal_skiplist_common |
( |
SkipList * |
list, |
|
|
void ** |
values, |
|
|
int |
count, |
|
|
int * |
lower, |
|
|
int * |
upper, |
|
|
int |
update[SKIPLIST_MAXLEVEL] |
|
) |
| |
Determine the segment of the list that overlaps with the new set of temporal values.
- Parameters
-
[in] | list | Skiplist |
[in] | values | Array of values |
[in] | count | Number of elements in the array |
[out] | lower | Array index of the start of the segment |
[out] | upper | Array index of the end of the segment |
[out] | update | Array of indices keeping the levels of the elements to insert |
- Returns
- Number of elements in the list that will be aggregated with the new values, on error return -1
|