"Fossies" - the Fresh Open Source Software Archive

Member "mattermost-server-6.0.1/vendor/github.com/tinylib/msgp/msgp/advise_other.go" (18 Oct 2021, 225 Bytes) of package /linux/www/mattermost-server-6.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Go source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    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 }