Matt Callanan
974fcc49e8
Fix compilation errors under C++11.
...
`std::string::data()` is const-only until C++17.
PiperOrigin-RevId: 479708109
2022-10-08 08:41:35 +02:00
Matt Callanan
9758c9dfd7
Add `snappy::CompressFromIOVec`.
...
This reads from an `iovec` array rather than from a `char` array as in `snappy::Compress`.
PiperOrigin-RevId: 476930623
2022-09-29 09:32:28 -07:00
Victor Costan
d1d1f48604
Remove unused include in snappy_benchmark.cc.
...
PiperOrigin-RevId: 347861229
2020-12-16 19:28:12 +00:00
Victor Costan
4ebd8b2f23
Split benchmarks and test tools into separate targets.
...
This lets us remove main() from snappy_bench.cc and snappy_unittest.cc,
which simplifies integrating these tests and benchmarks with other
suites.
PiperOrigin-RevId: 347857427
2020-12-16 19:09:56 +00:00