bolt_ppc.go 307 B

123456789101112
  1. // +build ppc
  2. package bbolt
  3. // maxMapSize represents the largest mmap size supported by Bolt.
  4. const maxMapSize = 0x7FFFFFFF // 2GB
  5. // maxAllocSize is the size used when creating array pointers.
  6. const maxAllocSize = 0xFFFFFFF
  7. // Are unaligned load/stores broken on this arch?
  8. var brokenUnaligned = false