19 #include <boost/noncopyable.hpp> 20 #include <glog/logging.h> 97 bool prefault =
false;
102 bool readable =
true;
114 void* address =
nullptr;
168 void munlock(
bool dontneed = false);
180 void advise(
int advice,
size_t offset,
size_t length) const;
224 return asRange<const char>();
242 void init(off_t offset, off_t length);
void swap(MemoryMapping &other) noexcept
Options & setPrefault(bool v)
MutableByteRange writableRange() const
Options & setGrow(bool v)
Options & setReadable(bool v)
constexpr size_type size() const
—— Concurrent Priority Queue Implementation ——
requires E e noexcept(noexcept(s.error(std::move(e))))
void alignedForwardMemcpy(void *dst, const void *src, size_t size)
bool mlock(LockMode lock)
folly::Optional< PskKeyExchangeMode > mode
constexpr auto size(C const &c) -> decltype(c.size())
Range< T * > asWritableRange() const
constexpr Iter data() const
void advise(int advice) const
auto lock(Synchronized< D, M > &synchronized, Args &&...args)
static Options writable()
Options & setPageSize(off_t v)
Range< const T * > asRange() const
void munlock(bool dontneed=false)
Options & setWritable(bool v)
void init(off_t offset, off_t length)
void mmapFileCopy(const char *src, const char *dest, mode_t mode)
Options & setShared(bool v)