1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 17:08:00 +02:00

New nullable support

This commit is contained in:
Brian Fiete 2019-11-21 08:23:18 -08:00
parent 59233cc996
commit 88adb3a1cd
16 changed files with 963 additions and 143 deletions

View file

@ -414,8 +414,7 @@ namespace System.Collections.Generic
int_cosize* newBuckets = new int_cosize[newSize]*;
for (int_cosize i = 0; i < newSize; i++) newBuckets[i] = -1;
Entry* newEntries = new Entry[newSize]*;
//mEntries.CopyTo(newEntries, 0, 0, mCount);
Internal.MemCpy(newEntries, mEntries, mCount * sizeof(Entry), alignof(Entry));
Internal.MemCpy(newEntries, mEntries, mCount * strideof(Entry), alignof(Entry));
if (forceNewHashCodes)
{