Mercurial > hg > svcore
comparison base/MatrixFileCache.h @ 93:27d726916ab3
* Remove mmap-based code again. We can be more efficient with read().
author | Chris Cannam |
---|---|
date | Wed, 03 May 2006 16:47:04 +0000 |
parents | 4988de098b25 |
children | 040a151d0897 |
comparison
equal
deleted
inserted
replaced
92:4988de098b25 | 93:27d726916ab3 |
---|---|
60 mutable off_t m_off; | 60 mutable off_t m_off; |
61 mutable size_t m_rx; | 61 mutable size_t m_rx; |
62 mutable size_t m_rw; | 62 mutable size_t m_rw; |
63 mutable bool m_userRegion; | 63 mutable bool m_userRegion; |
64 mutable float *m_region; | 64 mutable float *m_region; |
65 mutable bool m_mmapped; | |
66 mutable size_t m_mmapSize; | |
67 mutable size_t m_mmapOff; | |
68 mutable bool m_preferMmap; | |
69 float *getRegionPtr(size_t x, size_t y) const; | 65 float *getRegionPtr(size_t x, size_t y) const; |
70 | 66 |
71 bool autoSetRegion(size_t x) const; | 67 bool autoSetRegion(size_t x) const; |
72 bool setRegion(size_t x, size_t width, bool user) const; | 68 bool setRegion(size_t x, size_t width, bool user) const; |
73 | 69 |