File: bolt_ppc64le.go

package info (click to toggle)
golang-github-nebulouslabs-bolt 1.0+git20170823.0.a22e934-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 492 kB
  • sloc: makefile: 17
file content (12 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
// +build ppc64le

package bolt

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

// Are unaligned load/stores broken on this arch?
var brokenUnaligned = false