2017-11-12 17:53:43 +00:00
|
|
|
// +build arm64
|
|
|
|
|
2019-02-09 12:50:35 +00:00
|
|
|
package bbolt
|
2017-11-12 17:53:43 +00:00
|
|
|
|
|
|
|
// maxMapSize represents the largest mmap size supported by Bolt.
|
|
|
|
const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
|
|
|
|
|
|
|
// maxAllocSize is the size used when creating array pointers.
|
|
|
|
const maxAllocSize = 0x7FFFFFFF
|
|
|
|
|
|
|
|
// Are unaligned load/stores broken on this arch?
|
|
|
|
var brokenUnaligned = false
|