khenaidoo | ab1f7bd | 2019-11-14 14:00:27 -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 |