MCPcopy Create free account
hub / github.com/apache/cloudberry / palloc

Function palloc

src/common/fe_memutils.c:115–119  ·  view source on GitHub ↗

* Frontend emulation of backend memory management functions. Useful for * programs that compile backend files. */

Source from the content-addressed store, hash-verified

113 * programs that compile backend files.
114 */
115void *
116palloc(Size size)
117{
118 return pg_malloc_internal(size, 0);
119}
120
121void *
122palloc0(Size size)

Callers 15

scram_build_secretFunction · 0.70
parse_scalarFunction · 0.70
extract_tokenFunction · 0.70
psprintfFunction · 0.70
pgfnamesFunction · 0.70
get_controlfileFunction · 0.70
makeStringInfoFunction · 0.70
initStringInfoFunction · 0.70
initStringInfoOfSizeFunction · 0.70
get_configdataFunction · 0.70

Calls 1

pg_malloc_internalFunction · 0.85

Tested by 15

server_loopFunction · 0.40
prepare_estateFunction · 0.40
test_patternFunction · 0.40
formTextDatumFunction · 0.40
spgist_name_chooseFunction · 0.40
irbt_allocFunction · 0.40
GetPermutationFunction · 0.40
testdeleteFunction · 0.40
dibuildFunction · 0.40