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

Function GxB_Iterator_new

deps/GraphBLAS/Source/GxB_Iterator_new.c:12–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "GB.h"
11
12GrB_Info GxB_Iterator_new (GxB_Iterator *iterator)
13{
14 GB_WHERE1 ("GxB_Iterator_new (&iterator)") ;
15 GB_RETURN_IF_NULL (iterator) ;
16 size_t header_size ;
17 (*iterator) = GB_CALLOC (1, struct GB_Iterator_opaque, &header_size) ;
18 if (*iterator == NULL)
19 {
20 // out of memory
21 return (GrB_OUT_OF_MEMORY) ;
22 }
23 (*iterator)->header_size = header_size ;
24 return (GrB_SUCCESS) ;
25}
26

Callers 4

Proc_BFS_StepFunction · 0.85
mexFunctionFunction · 0.85
mexFunctionFunction · 0.85
mexFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected