Searched refs:kMapSize (Results 1 – 2 of 2) sorted by relevance
91 const int kMapSize = 80; in TEST() local92 char local_map[kMapSize]; in TEST()93 for (int i = 0; i < kMapSize; i++) in TEST()96 disk_cache::Bitmap bitmap(kMapSize * 8, false); in TEST()97 bitmap.SetMap(reinterpret_cast<uint32*>(local_map), kMapSize / 4); in TEST()98 for (int i = 0; i < kMapSize; i++) { in TEST()105 EXPECT_EQ(0, memcmp(local_map, bitmap.GetMap(), kMapSize)); in TEST()109 kMapSize * 8, kMapSize / 4); in TEST()110 EXPECT_EQ(0, memcmp(local_map, bitmap2.GetMap(), kMapSize)); in TEST()112 local_map[kMapSize / 2] = 'a'; in TEST()[all …]
581 const int kMapSize = Map::kSize; in TEST() local635 for (int i = 0; i + kMapSize <= size; i += kMapSize) { in TEST()639 int page_fullness = (i + kMapSize) % Page::kPageSize; in TEST()647 reinterpret_cast<char*>(map_last) + kMapSize); in TEST()