MCPcopy Create free account
hub / github.com/antirez/ds4 / raxEOF

Function raxEOF

rax.c:2603–2605  ·  view source on GitHub ↗

Return if the iterator is in an EOF state. This happens when raxSeek() * failed to seek an appropriate element, so that raxNext() or raxPrev() * will return zero, or when an EOF condition was reached while iterating * with raxNext() and raxPrev(). */

Source from the content-addressed store, hash-verified

2601 * will return zero, or when an EOF condition was reached while iterating
2602 * with raxNext() and raxPrev(). */
2603int raxEOF(raxIterator *it) {
2604 return it->flags & RAX_ITER_EOF;
2605}
2606
2607/* Return the number of elements inside the radix tree. */
2608uint64_t raxSize(rax *rax) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected