MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaH_resizearray

Function luaH_resizearray

3rd/lua-5.4.3/src/ltable.c:579–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577
578
579void luaH_resizearray (lua_State *L, Table *t, unsigned int nasize) {
580 int nsize = allocsizenode(t);
581 luaH_resize(L, t, nasize, nsize);
582}
583
584/*
585** nums[i] = number of keys 'k' where 2^(i - 1) < k <= 2^i

Callers 1

luaV_executeFunction · 0.85

Calls 1

luaH_resizeFunction · 0.85

Tested by

no test coverage detected