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

Function GraphStatistics_IncEdgeCount

src/graph/graph_statistics.h:40–48  ·  view source on GitHub ↗

increment the edge counter by amount

Source from the content-addressed store, hash-verified

38
39// increment the edge counter by amount
40static inline void GraphStatistics_IncEdgeCount
41(
42 GraphStatistics *stats,
43 RelationID r,
44 uint64_t amount
45) {
46 ASSERT(r < array_len(stats->edge_count));
47 stats->edge_count[r] += amount;
48}
49
50// decrement the edge counter by amount
51static inline void GraphStatistics_DecEdgeCount

Callers 2

Graph_FormConnectionFunction · 0.85

Calls 1

array_lenFunction · 0.85

Tested by

no test coverage detected