Definition at line 183 of file FileUtilTest.cpp.
folly::test::IovecBuffers::IovecBuffers |
( |
std::initializer_list< size_t > |
sizes | ) |
|
|
explicit |
Definition at line 201 of file FileUtilTest.cpp.
References b, s, and string.
208 iov.iov_base = &
b[0];
209 iov.iov_len =
b.size();
std::vector< iovec > iov_
std::vector< std::string > buffers_
std::vector< iovec > iov() const
folly::test::IovecBuffers::IovecBuffers |
( |
std::vector< size_t > |
sizes | ) |
|
|
explicit |
Definition at line 214 of file FileUtilTest.cpp.
References b, s, and string.
215 iov_.reserve(sizes.size());
216 for (
auto s : sizes) {
221 iov.iov_base = &
b[0];
222 iov.iov_len =
b.size();
std::vector< iovec > iov_
std::vector< std::string > buffers_
std::vector< iovec > iov() const
std::vector<iovec> folly::test::IovecBuffers::iov |
( |
| ) |
const |
|
inline |
size_t folly::test::IovecBuffers::size |
( |
| ) |
const |
std::vector<std::string> folly::test::IovecBuffers::buffers_ |
|
private |
std::vector<iovec> folly::test::IovecBuffers::iov_ |
|
private |
The documentation for this class was generated from the following file: