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

Function _SinglePairCtx_LevelNotEmpty

src/procedures/proc_sp_paths.c:321–327  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

319
320// check to see if context levels array has entries at position 'level'.
321static bool _SinglePairCtx_LevelNotEmpty
322(
323 const SinglePairCtx *ctx,
324 uint level
325) {
326 return (level < array_len(ctx->levels) && array_len(ctx->levels[level]) > 0);
327}
328
329static void addOutgoingNeighbors
330(

Callers 1

SPpaths_nextFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by

no test coverage detected