leveldb/port
gabor@google.com 60bd8015f2 Speed up Snappy uncompression, new Logger interface.
- Removed one copy of an uncompressed block contents changing
  the signature of Snappy_Uncompress() so it uncompresses into a
  flat array instead of a std::string.
        
  Speeds up readrandom ~10%.

- Instead of a combination of Env/WritableFile, we now have a
  Logger interface that can be easily overridden applications
  that want to supply their own logging.

- Separated out the gcc and Sun Studio parts of atomic_pointer.h
  so we can use 'asm', 'volatile' keywords for Sun Studio.




git-svn-id: https://leveldb.googlecode.com/svn/trunk@39 62dab493-f737-651d-591e-8d6aee1b9529
2011-07-21 02:40:18 +00:00
..
win reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
atomic_pointer.h Speed up Snappy uncompression, new Logger interface. 2011-07-21 02:40:18 +00:00
port_android.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
port_android.h Speed up Snappy uncompression, new Logger interface. 2011-07-21 02:40:18 +00:00
port_chromium.cc Speed up Snappy uncompression, new Logger interface. 2011-07-21 02:40:18 +00:00
port_chromium.h Speed up Snappy uncompression, new Logger interface. 2011-07-21 02:40:18 +00:00
port_example.h Speed up Snappy uncompression, new Logger interface. 2011-07-21 02:40:18 +00:00
port_posix.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
port_posix.h Speed up Snappy uncompression, new Logger interface. 2011-07-21 02:40:18 +00:00
port.h Platform detection during build, plus compatibility patches for machines without <cstdatomic>. 2011-06-29 00:30:50 +00:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
sha1_portable.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
sha1_portable.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
sha1_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00: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.