MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _SingleSourceCtx_LevelNotEmpty

Function _SingleSourceCtx_LevelNotEmpty

src/procedures/proc_ss_paths.c:316–322  ·  view source on GitHub ↗

check to see if context levels array has entries at position 'level'.

Source from the content-addressed store, hash-verified

314
315// check to see if context levels array has entries at position 'level'.
316static bool _SingleSourceCtx_LevelNotEmpty
317(
318 const SingleSourceCtx *ctx,
319 uint level
320) {
321 return (level < array_len(ctx->levels) && array_len(ctx->levels[level]) > 0);
322}
323
324static void addOutgoingNeighbors
325(

Callers 1

SSpaths_nextFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by

no test coverage detected