Searched defs:IOVector (Results 1 – 2 of 2) sorted by relevance
140 struct IOVector { struct145 IOVector() = default; argument147 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector() function150 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector() argument152 IOVector& operator=(const IOVector& copy) = delete; argument153 IOVector& operator=(IOVector&& move) noexcept; argument155 const value_type* front_data() const { in front_data()181 IOVector take_front(size_type len); argument184 void append(block_type&& block) { in append()203 void iterate_blocks(Fn&& callback) const { in iterate_blocks()[all …]
48 TEST(IOVector, empty) { in TEST() argument54 TEST(IOVector, move_constructor) { in TEST() argument61 TEST(IOVector, single_block) { in TEST() argument71 TEST(IOVector, single_block_split) { in TEST() argument82 TEST(IOVector, aligned_split) { in TEST() argument104 TEST(IOVector, misaligned_split) { in TEST() argument136 TEST(IOVector, drop_front) { in TEST() argument153 TEST(IOVector, take_front) { in TEST() argument167 TEST(IOVector, trim_front) { in TEST() argument