blob: 4d35ee7cf3d257f8939bfc10708305aea1ff3623 [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001package bbolt
2
3// maxMapSize represents the largest mmap size supported by Bolt.
4const maxMapSize = 0x7FFFFFFF // 2GB
5
6// maxAllocSize is the size used when creating array pointers.
7const maxAllocSize = 0xFFFFFFF
8
9// Are unaligned load/stores broken on this arch?
10var brokenUnaligned = false