2017-11-12 17:53:43 +00:00
|
|
|
// +build mips mipsle
|
|
|
|
|
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 = 0x40000000 // 1GB
|
|
|
|
|
|
|
|
// maxAllocSize is the size used when creating array pointers.
|
|
|
|
const maxAllocSize = 0xFFFFFFF
|
|
|
|
|
|
|
|
// Are unaligned load/stores broken on this arch?
|
|
|
|
var brokenUnaligned = false
|