Searched defs:IOVector (Results 1 – 2 of 2) sorted by relevance
138 struct IOVector { struct143 IOVector() = default; argument145 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector() function148 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector() argument150 IOVector& operator=(const IOVector& copy) = delete; argument151 IOVector& operator=(IOVector&& move) noexcept; argument153 const value_type* front_data() const { in front_data()179 IOVector take_front(size_type len); argument182 void append(block_type&& block) { in append()201 void iterate_blocks(Fn&& callback) const { in iterate_blocks()[all …]
44 TEST(IOVector, empty) { in TEST() argument50 TEST(IOVector, move_constructor) { in TEST() argument57 TEST(IOVector, single_block) { in TEST() argument67 TEST(IOVector, single_block_split) { in TEST() argument78 TEST(IOVector, aligned_split) { in TEST() argument100 TEST(IOVector, misaligned_split) { in TEST() argument132 TEST(IOVector, drop_front) { in TEST() argument149 TEST(IOVector, take_front) { in TEST() argument163 TEST(IOVector, trim_front) { in TEST() argument