File.IncRef may be called on pages without an existing reference as long as MappableRelease has not been called. SetFD sets the file descriptor represented by the MmapFile. It must be called on zero-value (implementations of) MmapFile before first use. If fd >= 0, the MmapFile takes ownership of the
(fd int)
| 44 | // |
| 45 | // Preconditions: MappableRelease has never been called. |
| 46 | SetFD(fd int) |
| 47 | |
| 48 | // MappableRelease is called by the memmap.Mappable that is the nominal |
| 49 | // owner of the represented file descriptor, to indicate that the Mappable |
no outgoing calls
no test coverage detected