|
Public Member Functions |
| | LInsHashSet (GC *gc) |
| LInsp | find32 (int32_t a, uint32_t &i) |
| LInsp | find64 (uint64_t a, uint32_t &i) |
| LInsp | find1 (LOpcode v, LInsp a, uint32_t &i) |
| LInsp | find2 (LOpcode v, LInsp a, LInsp b, uint32_t &i) |
| LInsp | findcall (uint32_t fid, uint32_t argc, LInsp args[], uint32_t &i) |
| LInsp | add (LInsp i, uint32_t k) |
| void | replace (LInsp i) |
| void | clear () |
Static Public Member Functions |
| static uint32_t FASTCALL | hashimm (int32_t) |
| static uint32_t FASTCALL | hashimmq (uint64_t) |
| static uint32_t FASTCALL | hash1 (LOpcode v, LInsp) |
| static uint32_t FASTCALL | hash2 (LOpcode v, LInsp, LInsp) |
| static uint32_t FASTCALL | hashcall (uint32_t fid, uint32_t argc, LInsp args[]) |
Private Member Functions |
| uint32_t FASTCALL | find (LInsp name, uint32_t hash, const LInsp *list, uint32_t cap) |
| void FASTCALL | grow () |
Static Private Member Functions |
| static uint32_t FASTCALL | hashcode (LInsp i) |
| static bool FASTCALL | equals (LInsp a, LInsp b) |
Private Attributes |
| LInsp * | m_list |
| uint32_t | m_used |
| uint32_t | m_cap |
| GC * | m_gc |
Static Private Attributes |
| static const uint32_t | kInitialCap = 64 |