You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
316 B

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