mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-08-14 12:38:35 +00:00
8 lines
214 B
Go
8 lines
214 B
Go
package common
|
|
|
|
// MaxMapSize represents the largest mmap size supported by Bolt.
|
|
const MaxMapSize = 0x7FFFFFFF // 2GB
|
|
|
|
// MaxAllocSize is the size used when creating array pointers.
|
|
const MaxAllocSize = 0xFFFFFFF
|