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

9 lines
230 B
Go

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