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

Function GraphStatistics_init

src/graph/graph_statistics.c:10–17  ·  view source on GitHub ↗

Initialize the node_count and edge_count arrays

Source from the content-addressed store, hash-verified

8
9// Initialize the node_count and edge_count arrays
10void GraphStatistics_init
11(
12 GraphStatistics *stats
13) {
14 ASSERT(stats);
15 stats->node_count = array_new(uint64_t, 0);
16 stats->edge_count = array_new(uint64_t, 0);
17}
18
19void GraphStatistics_IntroduceRelationship
20(

Callers 1

Graph_NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected