Differences From Artifact [bd7b819877]:
- File
src/OFDataArray.m
— part of check-in
[951f530aee]
at
2016-07-24 00:06:30
on branch trunk
— Rename OFHash to OFCryptoHash
OFHash is too generic, as this protocol is for cryptographic hashes. It
also solves the ambiguity of the +[hash] method (which is now
+[cryptoHash]), which conflicted with -[hash] on the class itself,
resulting in classes conforming to OFHash not being able to be used as a
key in an OFDictionary. (user: js, size: 14882) [annotate] [blame] [check-ins using]
To Artifact [dc88f78688]:
- File src/OFDataArray.m — part of check-in [3519c1e727] at 2016-09-07 21:15:26 on branch trunk — OFDataArray: Fix a missing underscore (user: js, size: 14883) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
427 428 429 430 431 432 433 | atIndex: index count: 1]; } - (void)addItems: (const void*)items count: (size_t)count { | | | 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 | atIndex: index count: 1]; } - (void)addItems: (const void*)items count: (size_t)count { if (count > SIZE_MAX - _count) @throw [OFOutOfRangeException exception]; if (_count + count > _capacity) { _items = [self resizeMemory: _items size: _itemSize count: _count + count]; _capacity = _count + count; |
︙ | ︙ |