Debian Codegraph @

debian/patches/bolt-0005-add-loong64-support.patch

raw symbols SCIP
1 Descriptionscip-debian debian golang-github-boltdb-bolt 1.3.1-7.1 golang-github-boltdb-bolt/patches/`bolt-0005-add-loong64-support.patch`#Description.: Add loong64 support
2 Last-Updatescip-debian debian golang-github-boltdb-bolt 1.3.1-7.1 golang-github-boltdb-bolt/patches/`bolt-0005-add-loong64-support.patch`#Last-Update.: 2024-07-11
3
4 --- /dev/nullscip-debian debian golang-github-boltdb-bolt 1.3.1-7.1 golang-github-boltdb-bolt/upstream/`/dev/null`:
5 +++ golang-github-boltdb-bolt-1.3.1/bolt_loong64.goscip-debian debian golang-github-boltdb-bolt 1.3.1-7.1 golang-github-boltdb-bolt/upstream/`golang-github-boltdb-bolt-1.3.1/bolt_loong64.go`:
6 @@ -0,0 +1,12 @@
7 +// +build loong64
8 +
9 +package bolt
10 +
11 +// maxMapSize represents the largest mmap size supported by Bolt.
12 +const maxMapSize = 0xFFFFFFFFFFFF // 256TB
13 +
14 +// maxAllocSize is the size used when creating array pointers.
15 +const maxAllocSize = 0x7FFFFFFF
16 +
17 +// Are unaligned load/stores broken on this arch?
18 +var brokenUnaligned = false