reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
123 for (unsigned i = 0; i < 10000; ++i) { 123 for (unsigned i = 0; i < 10000; ++i) { 124 uintptr_t CodeSize = i % 16 + 1; 125 uintptr_t DataSize = i % 8 + 1; 127 bool isReadOnly = i % 3 == 0; 128 unsigned Align = 8 << (i % 4); 130 code[i] = MemMgr->allocateCodeSection(CodeSize, Align, i, ""); 130 code[i] = MemMgr->allocateCodeSection(CodeSize, Align, i, ""); 131 data[i] = MemMgr->allocateDataSection(DataSize, Align, i + 10000, "", 131 data[i] = MemMgr->allocateDataSection(DataSize, Align, i + 10000, "", 135 code[i][j] = 1 + (i % 254); 135 code[i][j] = 1 + (i % 254); 139 data[i][j] = 2 + (i % 254); 139 data[i][j] = 2 + (i % 254); 142 EXPECT_NE((uint8_t *)nullptr, code[i]); 143 EXPECT_NE((uint8_t *)nullptr, data[i]); 145 uintptr_t CodeAlign = Align ? (uintptr_t)code[i] % Align : 0; 146 uintptr_t DataAlign = Align ? (uintptr_t)data[i] % Align : 0;