leveldb/port
Victor Costan 201f52201f Remove leveldb::port::kLittleEndian.
Clang 10 includes the optimizations described in
https://bugs.llvm.org/show_bug.cgi?id=41761. This means that the
platform-independent implementations of {Decode,Encode}Fixed{32,64}()
compile to one instruction on the most recent Clang and GCC.

PiperOrigin-RevId: 306330166
2020-04-14 01:10:05 +00:00
..
port_config.h.in Remove leveldb::port::kLittleEndian. 2020-04-14 01:10:05 +00:00
port_example.h Remove leveldb::port::kLittleEndian. 2020-04-14 01:10:05 +00:00
port_stdcxx.h Remove leveldb::port::kLittleEndian. 2020-04-14 01:10:05 +00:00
port.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
README.md Moved port/README to port/README.md. 2019-05-02 19:05:04 -07:00
thread_annotations.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -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_.h" file that provides the platform specific implementation.

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