blob: 4d35ee7cf3d257f8939bfc10708305aea1ff3623 [file] [log] [blame]
khenaidoo59ce9dd2019-11-11 13:05:32 -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