Codebase list golang-github-nebulouslabs-bolt / upstream/1.0+git20181203.0.0366476 bolt_386.go
upstream/1.0+git20181203.0.0366476

Tree @upstream/1.0+git20181203.0.0366476 (Download .tar.gz)

bolt_386.go @upstream/1.0+git20181203.0.0366476raw · history · blame

package bolt

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

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