Buckets:

soixantesept's picture
download
raw
481 Bytes
#pragma once
#include <cstdint>
#include "Array.hpp"
#include "DivisionTable.hpp"
#include "Shared.hpp"
/**
* This is the base class for StateMap and APM.
* Purpose: common members are here
*/
class AdaptiveMap {
protected:
const Shared * const shared;
Array<uint32_t> t; /**< cxt -> prediction in high 22 bits, count in low 10 bits */
int *dt; /**< Pointer to division table */
AdaptiveMap(const Shared* const sh, int n);
void update(uint32_t *p, int limit);
};

Xet Storage Details

Size:
481 Bytes
·
Xet hash:
7842789b41885422dbebfb49482bb25a8e9642084d846b343738ab02bbe81e36

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.