Home
last modified time | relevance | path

Searched refs:MB_SIZE (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/hdf_core/adapter/uhdf2/test/unittest/platform/i2c/
H A Dui2c_test.cpp39 static constexpr size_t MB_SIZE = 1024 * 1024; // 1MB variable
64 for (size_t i = 0; i < MB_SIZE / I2C_TRANS_SIZE; i++) {
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/core/
H A Dnstackx_congestion.c39 #define MB_SIZE 1048576 macro
134 *sendRateResult = (uint16_t)(sendRateOri * MB_SIZE / (mtu + GetProtocolHead()) * in GetWlanConngestSendRate()
157 …(uint16_t)(sendRateOri * MB_SIZE / (uint32_t)mtu * DATA_FRAME_SEND_INTERVAL_MS / MS_NUM_PER_SECOND… in GetP2pCongestSendRate()