Changeset 10790 in vbox for trunk/src/VBox/Runtime/common/misc
- Timestamp:
- Jul 21, 2008 6:43:39 PM (17 years ago)
- Location:
- trunk/src/VBox/Runtime/common/misc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/handletablectx.cpp
r10789 r10790 159 159 } 160 160 161 /* insert the table we allocated */ 162 if (pThis->cCur < pThis->cMax) 163 { 164 uint32_t iLevel1New = pThis->cCur / RTHT_LEVEL2_ENTRIES; 161 /* insert the table we allocated. */ 162 uint32_t iLevel1New = pThis->cCur / RTHT_LEVEL2_ENTRIES; 163 if ( iLevel1New < pThis->cLevel1 164 && pThis->cCur < pThis->cMax) 165 { 165 166 pThis->papvLevel1[iLevel1New] = paTable; 166 167 -
trunk/src/VBox/Runtime/common/misc/handletablesimple.cpp
r10789 r10790 158 158 } 159 159 160 /* insert the table we allocated */ 161 if (pThis->cCur < pThis->cMax) 162 { 163 uint32_t iLevel1New = pThis->cCur / RTHT_LEVEL2_ENTRIES; 160 /* insert the table we allocated. */ 161 uint32_t iLevel1New = pThis->cCur / RTHT_LEVEL2_ENTRIES; 162 if ( iLevel1New < pThis->cLevel1 163 && pThis->cCur < pThis->cMax) 164 { 164 165 pThis->papvLevel1[iLevel1New] = paTable; 165 166
Note:
See TracChangeset
for help on using the changeset viewer.