Searched refs:_1M (Results 1 - 25 of 180) sorted by relevance

12345678

/vbox/include/VBox/
H A Dparam.h41 #define VBOX_MAX_ALLOC_PAGE_COUNT (256U * _1M / PAGE_SIZE)
62 #define MM_HYPER_AREA_MAX_SIZE (40U * _1M) /**< @todo Readjust when floating RAMRANGEs have been implemented. Used to be 20 * _1MB */
86 #define MM_RAM_HOLE_SIZE_DEFAULT (512U * _1M)
/vbox/src/VBox/ValidationKit/utils/cpu/
H A Dcpu-alloc-all-mem.cpp96 size_t const cbOneStart = 64 * _1M;
97 size_t const cbOneMin = 4 * _1M;
99 size_t const cbOneStart = 16 * _1M;
100 size_t const cbOneMin = 4 * _1M;
155 uint32_t cMBPerSec = (uint32_t)(cbTotal / ((double)cNsElapsed / RT_NS_1SEC) / _1M);
191 uint32_t cMBPerSec = (uint32_t)(cbTotal / ((double)cNsElapsed / RT_NS_1SEC) / _1M);
H A Dcpu-numa.cpp80 const uint32_t cbTestSet = _1M * 32;
113 / _1M /* MB */ );
139 / _1M /* MB */ );
155 / _1M /* MB */ );
/vbox/src/VBox/Runtime/common/log/
H A Dtracedefault.cpp27 if (cRefs >= _1M)
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUIMultiScreenLayout.cpp231 quint64 availBits = machine.GetVRAMSize() * _1M * 8;
238 msgCenter().cannotSwitchScreenInSeamless((((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M);
240 fSuccess = msgCenter().cannotSwitchScreenInFullscreen((((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M);
306 _1M * 8; /* current cache per screen - may be changed in future */
/vbox/src/VBox/Runtime/testcase/
H A DtstFile.cpp73 rc = RTFileSetSize(File, _2G + _1M);
88 else if (cb != _2G + _1M)
90 RTPrintf("RTFileGetSize return %RX64 bytes, expected %RX64.\n", cb, _2G + _1M);
162 rc = RTFileSeek(File, _2G + _1M, RTFILE_SEEK_BEGIN, NULL);
165 RTPrintf("Failed to seek to _2G + _1M in file #1. rc=%Rrc\n", rc);
171 if (offFile != _2G + _1M)
173 RTPrintf("RTFileTell -> %#llx, expected %#llx (#2)\n", offFile, _2G + _1M);
261 if (offFile != _2G + _1M + sizeof(szTestBuf)) /* assuming tail write was ok. */
263 RTPrintf("RTFileTell -> %#RX64, expected %#RX64 (#4)\n", offFile, _2G + _1M + sizeof(szTestBuf));
H A DtstTSC.cpp312 if (i > _1M)
396 else if (cHz > _1M)
398 cHz += _1M / 20;
399 RTPrintf(" %RU64.%RU64 MHz", cHz / _1M, (cHz % _1M) / (_1M / 10));
H A DtstRTSystemQueryOsInfo.cpp71 cbTotal, cbTotal / _1K, cbTotal / _1M);
76 cbAvailable, cbAvailable / _1K, cbAvailable / _1M);
H A DtstRTTime.cpp60 for (i = 0; i < 100*_1M; i++)
80 if (!(i & (_1M*2 - 1)))
H A DtstRTMemWipe.cpp48 size_t cbAlloc = RTRandS32Ex(1, _1M) * sizeof(uint8_t);
H A DtstRTZip.cpp53 size_t cbDst = RT_MAX(cbSrc * 8, _1M);
H A DtstTime-2.cpp53 #define NUMBER_OF_CALLS (100*_1M)
H A DtstRTMemSafer.cpp88 size_t cbAlloc = RTRandS32Ex(1, _1M) * sizeof(uint8_t);
/vbox/src/VBox/Runtime/generic/
H A DRTEnvDupEx-generic.cpp68 if (cbBuf >= 64 * _1M)
H A DRTDirCreateUniqueNumbered-generic.cpp72 cMaxTries = 100 * _1M;
/vbox/src/VBox/VMM/testcase/
H A DtstSSM.cpp50 # define TSTSSM_ITEM_SIZE (512*_1M)
52 # define TSTSSM_ITEM_SIZE (5*_1M)
62 uint8_t gabBigMem[_1M];
64 uint8_t gabBigMem[8*_1M];
533 uint32_t cb = 512*_1M;
590 if (cb != 512*_1M)
592 RTPrintf("Item04: loaded size doesn't match the real thing. %#x != %#x\n", cb, 512*_1M);
605 RTPrintf("Item04: SSMR3GetMem(,,%#x) -> %Rrc offset %#x\n", PAGE_SIZE, rc, 512*_1M - cb);
610 RTPrintf("Item04: compare failed. mem offset=%#x\n", 512*_1M - cb);
725 rc = SSMR3RegisterInternal(pVM, "SSM Testcase Data Item no.2 (rand mem)", 2, 0, _1M *
[all...]
H A DtstPDMAsyncCompletionStress.cpp55 #define TEST_PATTERN_SIZE (100*_1M)
57 #define FILE_SIZE_MIN (100 * _1M)
59 #define FILE_SIZE_MAX (10000UL * _1M)
67 #define TASK_TRANSFER_SIZE_MAX (10*_1M)
72 #define TEST_PATTERN_SIZE (10*_1M)
74 #define FILE_SIZE_MIN (100 * _1M)
76 #define FILE_SIZE_MAX (1000UL * _1M)
84 #define TASK_TRANSFER_SIZE_MAX (_1M)
/vbox/src/VBox/Runtime/common/checksum/
H A DRTSha1Digest.cpp68 size_t cbRead = RT_MIN(cbBuf - cbReadTotal, _1M);
136 size_t cbBuf = _1M;
H A DRTSha256Digest.cpp67 size_t cbRead = RT_MIN(cbBuf - cbReadTotal, _1M);
139 size_t cbBuf = _1M;
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/seamless/
H A DUIMachineLogicSeamless.cpp70 quint64 availBits = machine().GetVRAMSize() /* VRAM */ * _1M /* MiB to bytes */ * 8 /* to bits */;
75 (((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M);
/vbox/src/VBox/Runtime/r3/
H A Dalloc-ef.h83 #define RTALLOC_EFENCE_FREE_DELAYED (20 * _1M)
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/
H A DVBoxModBallooning.cpp123 uint64_t cbSafety = (uint64_t)g_ulMemoryBalloonSafetyMB * _1M;
130 else if ((uint64_t)(-lBalloonDelta) > (cbHostRamAvail - cbSafety) / _1M)
131 lBalloonDelta = -(long)((cbHostRamAvail - cbSafety) / _1M);
/vbox/src/VBox/Storage/testcase/
H A DtstVDSnap.cpp155 uint8_t *pbBuf = (uint8_t *)RTMemAlloc(_1M);
167 size_t cbToRead = RT_MIN(cbRead, _1M);
426 Test.cbTestPattern = 10 * _1M;
H A DtstVDShareable.cpp142 rc = tstVDCreateShareDelete("VDI", "tmpVDCreate.vdi", 10 * _1M,
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DVBoxGuestRAMSlider.cpp77 mMaxRAM = RT_MIN (RT_ALIGN (fullSize, _1G / _1M), sys.GetMaxGuestRAM());

Completed in 4335 milliseconds

12345678