|
#define | dummynode (&dummynode_) |
|
#define | hashboolean(t, p) hashpow2(t, p) |
|
#define | hashint(t, i) hashpow2(t, i) |
|
#define | hashmod(t, n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) |
|
#define | hashpointer(t, p) hashmod(t, point2uint(p)) |
|
#define | hashpow2(t, n) (gnode(t, lmod((n), sizenode(t)))) |
|
#define | hashstr(t, str) hashpow2(t, (str)->hash) |
|
#define | limitasasize(t) check_exp(isrealasize(t), t->alimit) |
|
#define | limitequalsasize(t) (isrealasize(t) || ispow2((t)->alimit)) |
|
#define | ltable_c |
|
#define | LUA_CORE |
|
#define | MAXABITS cast_int(sizeof(int) * CHAR_BIT - 1) |
|
#define | MAXASIZE luaM_limitN(1u << MAXABITS, TValue) |
|
#define | MAXHBITS (MAXABITS - 1) |
|
#define | MAXHSIZE luaM_limitN(1u << MAXHBITS, Node) |
|
|
static unsigned int | arrayindex (lua_Integer k) |
|
static unsigned int | binsearch (const TValue *array, unsigned int i, unsigned int j) |
|
static unsigned int | computesizes (unsigned int nums[], unsigned int *pna) |
|
static int | countint (lua_Integer key, unsigned int *nums) |
|
static int | equalkey (const TValue *k1, const Node *n2, int deadok) |
|
static void | exchangehashpart (Table *t1, Table *t2) |
|
static unsigned int | findindex (lua_State *L, Table *t, TValue *key, unsigned int asize) |
|
static void | freehash (lua_State *L, Table *t) |
|
static Node * | getfreepos (Table *t) |
|
static const TValue * | getgeneric (Table *t, const TValue *key, int deadok) |
|
static lua_Unsigned | hash_search (Table *t, lua_Unsigned j) |
|
static int | ispow2realasize (const Table *t) |
|
static int | l_hashfloat (lua_Number n) |
|
void | luaH_finishset (lua_State *L, Table *t, const TValue *key, const TValue *slot, TValue *value) |
|
void | luaH_free (lua_State *L, Table *t) |
|
const TValue * | luaH_get (Table *t, const TValue *key) |
|
const TValue * | luaH_getint (Table *t, lua_Integer key) |
|
lua_Unsigned | luaH_getn (Table *t) |
|
const TValue * | luaH_getshortstr (Table *t, TString *key) |
|
const TValue * | luaH_getstr (Table *t, TString *key) |
|
Table * | luaH_new (lua_State *L) |
|
void | luaH_newkey (lua_State *L, Table *t, const TValue *key, TValue *value) |
|
int | luaH_next (lua_State *L, Table *t, StkId key) |
|
LUAI_FUNC unsigned int | luaH_realasize (const Table *t) |
|
void | luaH_resize (lua_State *L, Table *t, unsigned int newasize, unsigned int nhsize) |
|
void | luaH_resizearray (lua_State *L, Table *t, unsigned int nasize) |
|
void | luaH_set (lua_State *L, Table *t, const TValue *key, TValue *value) |
|
void | luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) |
|
static Node * | mainposition (const Table *t, int ktt, const Value *kvl) |
|
static Node * | mainpositionTV (const Table *t, const TValue *key) |
|
static unsigned int | numusearray (const Table *t, unsigned int *nums) |
|
static int | numusehash (const Table *t, unsigned int *nums, unsigned int *pna) |
|
static void | rehash (lua_State *L, Table *t, const TValue *ek) |
|
static void | reinsert (lua_State *L, Table *ot, Table *t) |
|
static unsigned int | setlimittosize (Table *t) |
|
static void | setnodevector (lua_State *L, Table *t, unsigned int size) |
|