| 615 | // Reserve a key in the table and return the index |
| 616 | template <typename KeyT> |
| 617 | int64_t tableReserve(Table * tab, const KeyT & key, uint32_t valueTypeSize) { |
| 618 | auto hfn = hash_function(ctx, key); |
| 619 | TableHash<KeyT> thh(&ctx, valueTypeSize); |
| 620 | return thh.reserve(*tab, key, hfn, at); |
| 621 | } |
| 622 | |
| 623 | // Parse key from string and reserve in table (for compound key types) |
| 624 | template <typename KeyT> |
nothing calls this directly
no test coverage detected