MemoryMapping
authorTom Jackson <tjackson@fb.com>
Thu, 21 Feb 2013 00:13:00 +0000 (16:13 -0800)
committerJordan DeLong <jdelong@fb.com>
Tue, 19 Mar 2013 00:07:50 +0000 (17:07 -0700)
commit2b8ea38174dea68f56f0e809f05c9d1867a93621
tree488a173d380b3c8e0ee0eed22665589b817008c0
parent88b49f3e6b5592135a756d02e1b8dbb78631ecf5
MemoryMapping

Summary: MemoryMapping is a C++ wrapper object around mmap. It works with `folly::File`s, and provides bitwise-range access for reading and writing files.

Test Plan: Unit test

Reviewed By: lucian@fb.com

FB internal diff: D452384
folly/MemoryMapping.cpp [new file with mode: 0644]
folly/MemoryMapping.h [new file with mode: 0644]
folly/test/MemoryMappingTest.cpp [new file with mode: 0644]