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

Function Path_Len

src/datatypes/path/path.c:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68size_t Path_Len(const Path *p) {
69 return Path_EdgeCount(p);
70}
71
72bool Path_ContainsNode(const Path *p, Node *n) {
73 uint32_t pathDepth = Path_NodeCount(p);

Callers 11

path_cmpFunction · 0.85
SPpaths_single_minimalFunction · 0.85
SPpaths_k_minimalFunction · 0.85
path_cmpFunction · 0.85
SSpaths_single_minimalFunction · 0.85
SSpaths_k_minimalFunction · 0.85
SIPath_LengthFunction · 0.85
test_longest_PathsFunction · 0.85
test_upToThreeLegsPathsFunction · 0.85
test_twoLegPathsFunction · 0.85
test_pathFunction · 0.85

Calls 1

Path_EdgeCountFunction · 0.85

Tested by 4

test_longest_PathsFunction · 0.68
test_upToThreeLegsPathsFunction · 0.68
test_twoLegPathsFunction · 0.68
test_pathFunction · 0.68