Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RedisGraph/RedisGraph
/ Path_EnsureLen
Function
Path_EnsureLen
src/datatypes/path/path.c:18–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
void Path_EnsureLen(Path *p, size_t len) {
19
p->nodes = array_ensure_len(p->nodes, len);
20
p->edges = array_ensure_len(p->edges, len - 1);
21
}
22
23
void Path_AppendNode(Path *p, Node n) {
24
array_append(p->nodes, n);
Callers
1
AllShortestPaths_NextPath
Function · 0.85
Calls
1
array_ensure_len
Function · 0.85
Tested by
1
AllShortestPaths_NextPath
Function · 0.68