khenaidoo | 59ce9dd | 2019-11-11 13:05:32 -0500 | [diff] [blame] | 1 | package bbolt |
2 | |||||
3 | // maxMapSize represents the largest mmap size supported by Bolt. | ||||
4 | const maxMapSize = 0x7FFFFFFF // 2GB | ||||
5 | |||||
6 | // maxAllocSize is the size used when creating array pointers. | ||||
7 | const maxAllocSize = 0xFFFFFFF | ||||
8 | |||||
9 | // Are unaligned load/stores broken on this arch? | ||||
10 | var brokenUnaligned = false |