Differences From Artifact [9a08c57256]:
- File
src/OFMapTable.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 16841) [annotate] [blame] [check-ins using]
To Artifact [1517e60617]:
- File src/OFMapTable.m — part of check-in [836314f39a] at 2017-10-11 20:59:32 on branch 0.90 — Fix shadowed variables and enable -Wshadow (user: js, size: 16849) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
205 206 207 208 209 210 211 | if (mapTable->_count != _count || mapTable->_keyFunctions.equal != _keyFunctions.equal || mapTable->_objectFunctions.equal != _objectFunctions.equal) return false; for (uint32_t i = 0; i < _capacity; i++) { if (_buckets[i] != NULL && _buckets[i] != &deleted) { | | | | 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | if (mapTable->_count != _count || mapTable->_keyFunctions.equal != _keyFunctions.equal || mapTable->_objectFunctions.equal != _objectFunctions.equal) return false; for (uint32_t i = 0; i < _capacity; i++) { if (_buckets[i] != NULL && _buckets[i] != &deleted) { void *objectIter = [mapTable objectForKey: _buckets[i]->key]; if (!_objectFunctions.equal(objectIter, _buckets[i]->object)) return false; } } return true; } |
︙ | ︙ |