2020-04-22 23:06:36 +00:00
|
|
|
// +build mips mipsle
|
2017-04-18 01:02:51 +00:00
|
|
|
|
2020-04-22 23:06:36 +00:00
|
|
|
package bbolt
|
2017-04-18 01:02:51 +00:00
|
|
|
|
|
|
|
// maxMapSize represents the largest mmap size supported by Bolt.
|
2020-04-22 23:06:36 +00:00
|
|
|
const maxMapSize = 0x40000000 // 1GB
|
2017-04-18 01:02:51 +00:00
|
|
|
|
|
|
|
// maxAllocSize is the size used when creating array pointers.
|
|
|
|
const maxAllocSize = 0xFFFFFFF
|