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

Function GraphStatistics_IncNodeCount

src/graph/graph_statistics.h:62–70  ·  view source on GitHub ↗

increment the node counter by amount

Source from the content-addressed store, hash-verified

60
61// increment the node counter by amount
62static inline void GraphStatistics_IncNodeCount
63(
64 GraphStatistics *stats,
65 LabelID l,
66 uint64_t amount
67) {
68 ASSERT(l < array_len(stats->node_count));
69 stats->node_count[l] += amount;
70}
71
72// decrement the node counter by amount
73static inline void GraphStatistics_DecNodeCount

Callers 7

RdbLoadGraphContext_v13Function · 0.85
RdbLoadGraphContext_v11Function · 0.85
RdbLoadGraphContext_v9Function · 0.85
RdbLoadGraphContext_v10Function · 0.85
RdbLoadGraphContext_v8Function · 0.85
RdbLoadGraphContext_v12Function · 0.85
Graph_LabelNodeFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by

no test coverage detected