Differences From Artifact [63de509839]:
- File src/OFData.m — part of check-in [e479cef7b3] at 2020-08-13 22:29:39 on branch trunk — OFData: ASN1DERValue -> objectByParsingASN1DER (user: js, size: 14782) [annotate] [blame] [check-ins using] [more...]
To Artifact [fe0918c4c9]:
- File
src/OFData.m
— part of check-in
[aeb403a1ed]
at
2020-10-10 14:27:37
on branch trunk
— OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (user: js, size: 14787) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
485 486 487 488 489 490 491 | if (comparison > 0) return OF_ORDERED_DESCENDING; else return OF_ORDERED_ASCENDING; } | | | 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 | if (comparison > 0) return OF_ORDERED_DESCENDING; else return OF_ORDERED_ASCENDING; } - (unsigned long)hash { uint32_t hash; OF_HASH_INIT(hash); for (size_t i = 0; i < _count * _itemSize; i++) OF_HASH_ADD(hash, ((uint8_t *)_items)[i]); |
︙ | ︙ |