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

Function raxDefragStackPeek

rax.c:2353–2356  ·  view source on GitHub ↗

Return the frame at the top of the defragmentation stack, or NULL if there * are no more nodes to visit. */

Source from the content-addressed store, hash-verified

2351/* Return the frame at the top of the defragmentation stack, or NULL if there
2352 * are no more nodes to visit. */
2353static inline raxDefragFrame *raxDefragStackPeek(raxDefragIterator *it) {
2354 if (it->items == 0) return NULL;
2355 return &it->stack[it->items-1];
2356}
2357
2358/* Pop the current frame from the defragmentation stack. */
2359static inline void raxDefragStackPop(raxDefragIterator *it) {

Callers 2

raxDefragNextFunction · 0.85
raxDefragReplaceNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected