I stumbled across line 5623 in the AllocateAlignedMemory function:
inc(Size,((Align shl 1)+SizeOf(pointer)));
My understanding is that the maximum misalignment is Align-1 bytes.
Therefore the doubling by means of "Align shl 1" is not clear to me or do I miss something?
Kind regards,
Werner
I stumbled across line 5623 in the AllocateAlignedMemory function:
inc(Size,((Align shl 1)+SizeOf(pointer)));My understanding is that the maximum misalignment is Align-1 bytes.
Therefore the doubling by means of "Align shl 1" is not clear to me or do I miss something?
Kind regards,
Werner