| 790 | } |
| 791 | |
| 792 | uint16_t* WorkingMemory::GetHashTable(size_t fragment_size, |
| 793 | int* table_size) const { |
| 794 | const size_t htsize = CalculateTableSize(fragment_size); |
| 795 | memset(table_, 0, htsize * sizeof(*table_)); |
| 796 | *table_size = htsize; |
| 797 | return table_; |
| 798 | } |
| 799 | } // end namespace internal |
| 800 | |
| 801 | // Flat array compression that does not emit the "uncompressed length" |