File: bolt_s390x.go

package info (click to toggle)
golang-github-coreos-bbolt 1.3.10-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 912 kB
  • sloc: makefile: 54; sh: 7
file content (10 lines) | stat: -rw-r--r-- 254 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
//go:build s390x
// +build s390x

package bbolt

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