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

Function _AllPathsCtx_LevelNotEmpty

src/algorithms/all_paths.c:39–41  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

37
38// Check to see if context levels array has entries at position 'level'.
39static bool _AllPathsCtx_LevelNotEmpty(const AllPathsCtx *ctx, uint level) {
40 return (level < array_len(ctx->levels) && array_len(ctx->levels[level]) > 0);
41}
42
43void addOutgoingNeighbors
44(

Callers 1

_AllPathsCtx_NextPathFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by

no test coverage detected