|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Cross-platform memory-mapped file I/O utility. More...
#include <cstddef>#include <cstdint>#include <stdexcept>#include <string>#include <fcntl.h>#include <sys/mman.h>#include <sys/stat.h>#include <unistd.h>

Go to the source code of this file.
Classes | |
| class | correlation::core::MappedFile |
| RAII memory-mapped read-only file view. More... | |
Namespaces | |
| namespace | correlation |
| namespace | correlation::core |
Variables | |
| constexpr std::uint64_t | correlation::core::K_MAX_TRAJECTORY_BYTES |
| Maximum trajectory file size (4 GiB). | |
Cross-platform memory-mapped file I/O utility.
Provides a lightweight RAII wrapper around OS-level memory mapping:
The mapped region is read-only and immutable after construction.