proxygen
|
Protected Member Functions | |
void | SetUp () override |
std::unique_ptr< IOBuf > | makeBuf () |
void | check (std::unique_ptr< IOBuf > &buf) |
Protected Attributes | |
int | elementSize_ |
int | elementCount_ |
bool | shared_ |
BufType | type_ |
std::unique_ptr< IOBuf > | buf_ |
std::unique_ptr< IOBuf > | buf2_ |
std::vector< std::unique_ptr< uint8_t[]> > | ownedBuffers_ |
Definition at line 852 of file IOBufTest.cpp.
|
inlineprotected |
Definition at line 907 of file IOBufTest.cpp.
References folly::IOBuf::computeChainDataLength(), folly::IOBuf::countChainElements(), EXPECT_EQ, EXPECT_FALSE, folly::IOBuf::isChained(), folly::IOBuf::length(), and folly::IOBuf::moveToFbString().
|
inlineprotected |
Definition at line 874 of file IOBufTest.cpp.
References folly::IOBuf::append(), CREATE, data, folly::gen::move, TAKE_OWNERSHIP_CUSTOM, TAKE_OWNERSHIP_MALLOC, testFreeFn(), type_, uint8_t, USER_OWNED, and folly::IOBuf::writableData().
|
inlineoverrideprotected |
|
protected |
Definition at line 922 of file IOBufTest.cpp.
|
protected |
Definition at line 921 of file IOBufTest.cpp.
|
protected |
Definition at line 918 of file IOBufTest.cpp.
|
protected |
Definition at line 917 of file IOBufTest.cpp.
|
protected |
Definition at line 923 of file IOBufTest.cpp.
|
protected |
Definition at line 919 of file IOBufTest.cpp.
|
protected |
Definition at line 920 of file IOBufTest.cpp.