Searched refs:SparseTable (Results 1 – 8 of 8) sorted by relevance
21 const int SparseTable::NOT_EXIST = -1;22 const int SparseTable::INDEX_SIZE = 4;24 bool SparseTable::contains(const int id) const { in contains()33 uint32_t SparseTable::get(const int id) const { in get()47 bool SparseTable::set(const int id, const uint32_t value) { in set()88 int SparseTable::getIndexFromContentTablePos(const int contentTablePos) const { in getIndexFromContentTablePos()92 int SparseTable::getPosInIndexTable(const int id) const { in getPosInIndexTable()96 int SparseTable::getPosInContentTable(const int id, const int index) const { in getPosInContentTable()
28 class SparseTable {30 SparseTable(BufferWithExtendableBuffer *const indexTableBuffer, in SparseTable() function43 DISALLOW_IMPLICIT_CONSTRUCTORS(SparseTable);
60 SparseTable *getUpdatableAddressLookupTable() { in getUpdatableAddressLookupTable()64 const SparseTable *getAddressLookupTable() const { in getAddressLookupTable()88 SparseTable mAddressLookupTable;
55 const SparseTable *const addressLookupTable = getAddressLookupTable(); in getShortcutListHeadPos()
90 SparseTable *getUpdatableAddressLookupTable() { in getUpdatableAddressLookupTable()94 const SparseTable *getAddressLookupTable() const { in getAddressLookupTable()118 SparseTable mAddressLookupTable;
63 const SparseTable *const addressLookupTable = getAddressLookupTable(); in getBigramListHeadPos()
64 const SparseTable *const addressLookupTable = getAddressLookupTable(); in getShortcutListHeadPos()
33 SparseTable sparseTable(&indexTableBuffer, &contentTableBuffer, BLOCK_SIZE, DATA_SIZE); in TEST()