aboutsummaryrefslogtreecommitdiff
path: root/vendor/go.etcd.io/bbolt/bolt_amd64.go
blob: 5dd8f3f2aeb9e8b63f5d346bc4041c5890305b88 (plain)
1
2
3
4
5
6
7
package bbolt

// 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