Searched refs:kTableSize (Results 1 – 3 of 3) sorted by relevance
28 constexpr size_t kTableSize = 1 << 26; // 64M mapping size in TEST() local31 constexpr size_t kTableSize = 1 << 14; // 16k mapping size in TEST()38 CreateMemfdBackedMapOrDie(memfd, kTableSize * sizeof(default_value), kMemfdFileSize)); in TEST()51 MunmapOrDie(ptr, kTableSize * sizeof(default_value)); in TEST()
43 CreateMemfdBackedMapOrDie(main_memfd, kTableSize * sizeof(T*), kMemfdRegionSize)); in TableOfTables()51 for (size_t i = 0; i < kTableSize; ++i) { in ~TableOfTables()57 MunmapOrDie(main_table_, kTableSize * sizeof(T*)); in ~TableOfTables()100 explicit SplitKey(Key key) : low(key & (kTableSize - 1)), high(key >> kTableBits) { in SplitKey()101 CHECK_EQ(high & ~(kTableSize - 1), 0); in SplitKey()156 static constexpr size_t kTableSize = 1 << kTableBits; variable157 static constexpr size_t kChildTableBytes = kTableSize * sizeof(T);
429 constexpr size_t kTableSize = 8; in getCoverage() local440 if (kHeaderSize + numTables * kTableSize > cmap_size) { in getCoverage()449 const uint32_t tableHeadOffset = kHeaderSize + i * kTableSize; in getCoverage()