5 #ifndef CVMFS_INGESTION_TASK_COMPRESS_H_
6 #define CVMFS_INGESTION_TASK_COMPRESS_H_
38 return MurmurHash2(&value,
sizeof(value), 0x07387a4f);
52 #endif // CVMFS_INGESTION_TASK_COMPRESS_H_
virtual void Process(BlockItem *input_block)
ItemAllocator * allocator_
TaskCompress(Tube< BlockItem > *tube_in, TubeGroup< BlockItem > *tubes_out, ItemAllocator *allocator)
SmallHashDynamic< int64_t, BlockItem * > TagMap
static const unsigned kCompressedBlockSize
static uint32_t hasher_int64t(const int64_t &value)
void Init(uint32_t expected_size, Key empty, uint32_t(*hasher)(const Key &key))
TubeGroup< BlockItem > * tubes_out_
uint32_t MurmurHash2(const void *key, int len, uint32_t seed)