32 #include "params/FPC.hh"
37 : CompData(), zeroRunSizeBits(zero_run_size_bits)
45 if (pattern->getPatternNumber() ==
ZERO_RUN) {
48 if (!entries.size() ||
49 (entries.back()->getPatternNumber() !=
ZERO_RUN)) {
55 const int run_length =
56 static_cast<ZeroRun*
>(entries.back().get())->getRunLength();
60 static_cast<ZeroRun*
>(pattern.get())->setRealSize(
67 static_cast<ZeroRun*
>(pattern.get())->setRunLength(
73 CompData::addEntry(std::move(pattern));
90 std::unique_ptr<DictionaryCompressor<uint32_t>::CompData>
93 return std::unique_ptr<DictionaryCompressor<uint32_t>::CompData>(