| 32 | |
| 33 | public: |
| 34 | static LongHashTable* allocate(LongHashTable* prev, u32 capacity) { |
| 35 | LongHashTable* table = (LongHashTable*)OS::safeAlloc(getSize(capacity)); |
| 36 | if (table != NULL) { |
| 37 | table->_prev = prev; |
| 38 | table->_capacity = capacity; |
| 39 | table->_size = 0; |
| 40 | } |
| 41 | return table; |
| 42 | } |
| 43 | |
| 44 | LongHashTable* destroy() { |
| 45 | LongHashTable* prev = _prev; |
nothing calls this directly
no outgoing calls
no test coverage detected