proxygen
Compression.cpp File Reference
#include <folly/compression/Compression.h>
#include <glog/logging.h>
#include <folly/Conv.h>
#include <folly/Memory.h>
#include <folly/Portability.h>
#include <folly/Random.h>
#include <folly/ScopeGuard.h>
#include <folly/Varint.h>
#include <folly/compression/Utils.h>
#include <folly/io/Cursor.h>
#include <folly/lang/Bits.h>
#include <folly/stop_watch.h>
#include <algorithm>
#include <unordered_set>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::io
 

Functions

static std::unique_ptr< IOBuf > folly::io::addOutputBuffer (MutableByteRange &output, uint64_t size)
 
static uint64_t folly::io::computeBufferLength (uint64_t const compressedLength, uint64_t const blockSize)
 
bool folly::io::hasCodec (CodecType type)
 
std::unique_ptr< Codec > folly::io::getCodec (CodecType type, int level)
 
bool folly::io::hasStreamCodec (CodecType type)
 
std::unique_ptr< StreamCodec > folly::io::getStreamCodec (CodecType type, int level)
 
std::unique_ptr< Codec > folly::io::getAutoUncompressionCodec (std::vector< std::unique_ptr< Codec >> customCodecs, std::unique_ptr< Codec > terminalCodec)
 

Variable Documentation

std::vector<std::unique_ptr<Codec> > codecs_
private

Definition at line 1836 of file Compression.cpp.

uint64_t maxUncompressedLength_
private

Definition at line 1839 of file Compression.cpp.

bool needsUncompressedLength_
private

Definition at line 1838 of file Compression.cpp.

std::unique_ptr<Codec> terminalCodec_
private

Definition at line 1837 of file Compression.cpp.