This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix broken caused by boltdb in mips/mipsle (
#1107
)
tags/v1.2.0-rc1
Lunny Xiao
GitHub
9 years ago
parent
68798005d4
commit
ff0b973497
2 changed files
with
22 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
vendor/github.com/boltdb/bolt/bolt_mips.go
+11
-0
vendor/github.com/boltdb/bolt/bolt_mipsle.go
+ 11
- 0
vendor/github.com/boltdb/bolt/bolt_mips.go
View File
@@ -0,0 +1,11 @@
// +build mips
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x40000000 // 1GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF
// brokenUnaligned Are unaligned load/stores broken on this arch?
var brokenUnaligned = false
+ 11
- 0
vendor/github.com/boltdb/bolt/bolt_mipsle.go
View File
@@ -0,0 +1,11 @@
// +build mipsle
package bolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x40000000 // 1GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF
// brokenUnaligned Are unaligned load/stores broken on this arch?
var brokenUnaligned = false
Write
Preview
Loading…
Cancel
Save