github.com/lheiskan/zebrapack@v4.1.1-0.20181107023619-e955d028f9bf+incompatible/msgp/advise_other.go (about) 1 // +build !linux appengine 2 3 package msgp 4 5 import ( 6 "os" 7 ) 8 9 // TODO: darwin, BSD support 10 11 func adviseRead(mem []byte) {} 12 13 func adviseWrite(mem []byte) {} 14 15 func fallocate(f *os.File, sz int64) error { 16 return f.Truncate(sz) 17 }