docstore/vendor/go.etcd.io/bbolt/internal/common/bolt_amd64.go
2025-10-15 22:51:08 +02:00

7 lines
221 B
Go

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