Comment on Pray for him in these trying times
VigorouSchematic@fedinsfw.app 2 weeks agomalloc(18,446,744,073,709,551,615)
ULLONG_MAX from limits.h - so on a 64bit machine size_t = unsigned long long = uint64
Comment on Pray for him in these trying times
VigorouSchematic@fedinsfw.app 2 weeks agomalloc(18,446,744,073,709,551,615)
ULLONG_MAX from limits.h - so on a 64bit machine size_t = unsigned long long = uint64
0x0@lemmy.dbzer0.com 2 weeks ago
How about the equivalent
malloc(-1)?Also, it’s cheap to allocate memory if you never write to it. You should follow it up with memset() if you really wanna max out your Resident Set Size 🐏