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

Function array_len

src/util/arr.h:217–219  ·  view source on GitHub ↗

Get the length of the array */

Source from the content-addressed store, hash-verified

215
216/* Get the length of the array */
217static inline uint32_t array_len(const array_t arr) {
218 return arr ? array_hdr(arr)->len : 0;
219}
220
221#define ARR_CAP_NOSHRINK ((uint32_t)-1)
222static inline void *array_trimm(array_t arr, uint32_t len, uint32_t cap) {

Callers 15

_DeleteGraphMetaKeysFunction · 0.85
RG_AfterForkChildFunction · 0.85
Globals_GetGraphCountFunction · 0.85
Globals_AddGraphFunction · 0.85
Globals_RemoveGraphFunction · 0.85
Globals_ClearGraphsFunction · 0.85
GraphIterator_NextFunction · 0.85
_compose_rangesFunction · 0.85
FilterTreeToQueryNodeFunction · 0.85
_ResultSet_SetColumnsFunction · 0.85

Calls

no outgoing calls