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

Function GraphStatistics_NodeCount

src/graph/graph_statistics.c:50–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50uint64_t GraphStatistics_NodeCount
51(
52 const GraphStatistics *stats,
53 LabelID l
54) {
55 ASSERT(stats != NULL);
56 ASSERT(l < ((LabelID)array_len(stats->node_count)));
57
58 if(l < 0) {
59 return 0;
60 }
61
62 return stats->node_count[l];
63}
64
65void GraphStatistics_FreeInternals
66(

Callers 1

Graph_LabeledNodeCountFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by

no test coverage detected