rocksdb/port
Dmitri Smirnov 78ab11cd71 Return new operator for Status allocations for Windows (#4128)
Summary: Windows requires new/delete for memory allocations to be overriden. Refactor to be less intrusive.

Differential Revision: D8878047

Pulled By: siying

fbshipit-source-id: 35f2b5fec2f88ea48c9be926539c6469060aab36
2018-07-19 15:09:06 -07:00
..
win Return new operator for Status allocations for Windows (#4128) 2018-07-19 15:09:06 -07:00
dirent.h Change RocksDB License 2017-07-15 16:11:23 -07:00
likely.h Change RocksDB License 2017-07-15 16:11:23 -07:00
port_example.h Change RocksDB License 2017-07-15 16:11:23 -07:00
port_posix.cc port_posix: use posix_memalign() for aligned_alloc 2018-05-24 12:13:16 -07:00
port_posix.h Explictly fail writes if key or value is not smaller than 4GB 2018-02-09 14:57:54 -08:00
port.h Change RocksDB License 2017-07-15 16:11:23 -07:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
stack_trace.cc Comment out unused variables 2018-03-05 13:13:41 -08:00
stack_trace.h Change RocksDB License 2017-07-15 16:11:23 -07:00
sys_time.h Change RocksDB License 2017-07-15 16:11:23 -07:00
util_logger.h Change RocksDB License 2017-07-15 16:11:23 -07:00
xpress.h Change RocksDB License 2017-07-15 16:11:23 -07:00

This directory contains interfaces and implementations that isolate the
rest of the package from platform details.

Code in the rest of the package includes "port.h" from this directory.
"port.h" in turn includes a platform specific "port_<platform>.h" file
that provides the platform specific implementation.

See port_posix.h for an example of what must be provided in a platform
specific header file.