|
ADS
Algorithms and Data Structures
|
A file mapped in memory, shared by the structures that are read from it in place. More...
Files | |
| file | ADS/external/MappedFile.h |
| A file mapped in memory, shared by the structures that are read from it in place [see Persistence.h]: with ADS_WITH_BOOST, MappedFile maps a whole file by Boost.Interprocess in its mode copy_on_write (the private and writable mapping of every system), so that a page is read from the disk at its first access and a page that a structure writes is copied for the process and never reaches the file; without Boost, the file is read whole into a block aligned to a page, on which the views are made in the same way. | |
Classes | |
| class | ADS::PersistError |
| the error of a file (or a stream, or a buffer) of a structure that cannot be read: not a file of ADS, of another structure or version, truncated, corrupted, or refused by the system More... | |
| class | ADS::MappedFile |
| a whole file mapped privately in memory, shared by its copies More... | |
| class | ADS::MappableAllocator< T, V > |
| std::allocator, which also makes a vector over the bytes of a mapped file [see restoreMapped()]; an item constructed with no argument is value-initialized if \( V \), else left uninitialized (the numbers about to be written of a matrix) More... | |
A file mapped in memory, shared by the structures that are read from it in place.
The definitions, the invariants and the costs of the area are in Theory of external memory.