We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e424982 commit 0da6efdCopy full SHA for 0da6efd
stdlib/public/core/HashedCollections.swift.gyb
@@ -2549,7 +2549,7 @@ final internal class _Native${Self}StorageImpl<${TypeParameters}> :
2549
/// padding to align the start to word alignment.
2550
internal static func bytesForBitMap(capacity: Int) -> Int {
2551
let numWords = _BitMap.wordsFor(capacity)
2552
- return numWords * sizeof(UInt) + alignof(UInt)
+ return numWords * strideof(UInt) + alignof(UInt)
2553
}
2554
2555
/// Returns the bytes necessary to store 'capacity' keys and padding to align
0 commit comments