MCPcopy Create free account
hub / github.com/Singular/Singular / malloc

Function malloc

omalloc/omalloc.c:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83#endif
84
85void* malloc(size_t size)
86{
87 void* addr;
88 if (size == 0) size = 1;
89
90 omTypeAllocAligned(void*, addr, size);
91 OM_MARK_AS_STATIC(addr);
92 return addr;
93}
94
95void freeSize(void* addr, size_t size)
96{

Callers 15

gf_get_tableFunction · 0.85
pSingular_register_initFunction · 0.85
pSingular_alloc_varFunction · 0.85
feFopenFunction · 0.85
feInitResourcesFunction · 0.85
feResourceDefaultFunction · 0.85
feCleanUpPathFunction · 0.85
allocMethod · 0.85
copyMethod · 0.85
setWindowNameMethod · 0.85
AddProcFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 2

setWindowNameMethod · 0.68
mainFunction · 0.68