MCPcopy Create free account
hub / github.com/ashvardanian/less_slow.cpp / ~mmap_array

Method ~mmap_array

less_slow.cpp:6992–6995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6990 }
6991
6992 ~mmap_array() noexcept {
6993 ::munlock(data_, size_ * sizeof(type_));
6994 ::munmap(data_, size_ * sizeof(type_));
6995 }
6996
6997 type_ *begin() const noexcept { return data_; }
6998 type_ *end() const noexcept { return data_ + size_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected