MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / align8

Function align8

src/Chain/libraries/glua/lstate.cpp:367–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367static size_t align8(size_t s) {
368 if ((s & 0x7) == 0)
369 return s;
370 return ((s >> 3) + 1) << 3;
371};
372
373// FIXME: use memory page, and use best fit malloc strategy
374// TODO: �ijɸ�����Ҫ�ֽ��������ڴ�أ���һ��ʼ����������ڴ�أ��ֳɶ������ʽ��С���ڴ�أ�

Callers 1

lua_mallocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected