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() 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()223 CollectionType coalesce() const& { in coalesce()261 size_t begin_offset_ = 0;262 size_t start_index_ = 0;[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