gowiki/vendor/go.etcd.io/bbolt/internal/common/bolt_arm64.go
2025-10-15 22:37:57 +02:00

9 lines
239 B
Go

//go:build arm64
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