2021-02-05 22:11:25 -05:00
|
|
|
// +build mips mipsle
|
2020-12-30 01:08:20 -05:00
|
|
|
|
2021-02-05 22:11:25 -05:00
|
|
|
package bbolt
|
2020-12-30 01:08:20 -05:00
|
|
|
|
|
|
|
|
// maxMapSize represents the largest mmap size supported by Bolt.
|
2021-02-05 22:11:25 -05:00
|
|
|
const maxMapSize = 0x40000000 // 1GB
|
2020-12-30 01:08:20 -05:00
|
|
|
|
|
|
|
|
// maxAllocSize is the size used when creating array pointers.
|
|
|
|
|
const maxAllocSize = 0xFFFFFFF
|