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

Function GraphDecodeContext_Reset

src/serializers/decode_context.c:22–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void GraphDecodeContext_Reset(GraphDecodeContext *ctx) {
23 ASSERT(ctx);
24
25 ctx->keys_processed = 0;
26 ctx->graph_keys_count = 1;
27
28 if(ctx->multi_edge) {
29 array_free(ctx->multi_edge);
30 ctx->multi_edge = NULL;
31 }
32}
33
34void GraphDecodeContext_SetKeyCount(GraphDecodeContext *ctx, uint64_t key_count) {
35 ASSERT(ctx);

Callers 6

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

Calls 1

array_freeFunction · 0.85

Tested by

no test coverage detected