Changeset 93709 in vbox for trunk/src/VBox
- Timestamp:
- Feb 11, 2022 11:09:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTAvl.cpp
r93694 r93709 1124 1124 1125 1125 1126 static DECLCALLBACK(int) hardAvlRangeTreeGCPhysEnumCallbackDescBy4(TESTNODE *pNode, void *pvUser) 1127 { 1128 PRTGCPHYS pExpect = (PRTGCPHYS)pvUser; 1129 if (pNode->Key != *pExpect) 1130 RTTestIFailed("Key=%RGp, expected %RGp\n", pNode->Key, *pExpect); 1131 *pExpect = pNode->Key - 4; 1132 return VINF_SUCCESS; 1133 } 1134 1135 1126 1136 static DECLCALLBACK(int) hardAvlRangeTreeGCPhysEnumCallbackCount(TESTNODE *pNode, void *pvUser) 1127 1137 { … … 1316 1326 if (rc != VINF_SUCCESS) 1317 1327 RTTestIFailed("enumeration after linear insert failed: %Rrc", rc); 1328 1329 Expect -= 4; 1330 rc = Tree.doWithAllFromRight(&Allocator, hardAvlRangeTreeGCPhysEnumCallbackDescBy4, &Expect); 1331 if (rc != VINF_SUCCESS) 1332 RTTestIFailed("enumeration after linear insert failed: %Rrc", rc); 1318 1333 } 1319 1334
Note:
See TracChangeset
for help on using the changeset viewer.