Codebase list golang-github-boltdb-bolt / debian/1.3.0-1_bpo8+1 bolt_s390x.go
debian/1.3.0-1_bpo8+1

Tree @debian/1.3.0-1_bpo8+1 (Download .tar.gz)

bolt_s390x.go @debian/1.3.0-1_bpo8+1raw · history · blame

1
2
3
4
5
6
7
8
9
// +build s390x

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