proxygen
|
Public Member Functions | |
TestingHuffTree (const HuffTree &tree) | |
const SuperHuffNode * | getInternalTable () |
Public Member Functions inherited from proxygen::huffman::HuffTree | |
HuffTree (const uint32_t *codes, const uint8_t *bits) | |
HuffTree (HuffTree &&tree)=default | |
~HuffTree () | |
bool | decode (const uint8_t *buf, uint32_t size, folly::fbstring &literal) const |
uint32_t | encode (folly::StringPiece literal, folly::io::QueueAppender &buf) const |
uint32_t | getEncodeSize (folly::StringPiece literal) const |
std::pair< uint32_t, uint8_t > | getCode (uint8_t ch) const |
const uint32_t * | codesTable () const |
const uint8_t * | bitsTable () const |
Static Public Member Functions | |
static TestingHuffTree | getHuffTree () |
Additional Inherited Members | |
Protected Member Functions inherited from proxygen::huffman::HuffTree | |
HuffTree (const HuffTree &tree) | |
Protected Attributes inherited from proxygen::huffman::HuffTree | |
SuperHuffNode | table_ [46] |
Class used in testing to expose the internal tables for requests and responses
Definition at line 264 of file HuffmanTests.cpp.
|
inlineexplicit |
Definition at line 267 of file HuffmanTests.cpp.
|
inlinestatic |
Definition at line 273 of file HuffmanTests.cpp.
References proxygen::huffman::huffTree().
Referenced by TEST_F().
|
inline |