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() argument148 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 …]
40 TEST(IOVector, empty) { in TEST() argument46 TEST(IOVector, single_block) { in TEST() argument56 TEST(IOVector, single_block_split) { in TEST() argument67 TEST(IOVector, aligned_split) { in TEST() argument89 TEST(IOVector, misaligned_split) { in TEST() argument121 TEST(IOVector, drop_front) { in TEST() argument