| 120 | #endif |
| 121 | |
| 122 | const char* pointerInData(const QVector<TopDUContextDynamicData::ArrayWithPosition>& data, uint totalOffset) |
| 123 | { |
| 124 | for (auto& awp : data) { |
| 125 | if (totalOffset < awp.position) { |
| 126 | return awp.array.constData() + totalOffset; |
| 127 | } |
| 128 | totalOffset -= awp.position; |
| 129 | } |
| 130 | |
| 131 | Q_ASSERT_X(false, Q_FUNC_INFO, "Offset doesn't exist in the data."); |
| 132 | return nullptr; |
| 133 | } |
| 134 | |
| 135 | void verifyDataInfo(const TopDUContextDynamicData::ItemDataInfo& info, |
| 136 | const QVector<TopDUContextDynamicData::ArrayWithPosition>& data) |
no outgoing calls
no test coverage detected