Searched defs:MemchunkBuffer (Results 1 – 1 of 1) sorted by relevance
478 template <typename Memchunk> struct MemchunkBuffer { struct479 MemchunkBuffer(Pool<Memchunk> *pool) : pool(pool), chunk(nullptr) {} in MemchunkBuffer() function481 MemchunkBuffer(MemchunkBuffer &&other) noexcept in MemchunkBuffer() function485 MemchunkBuffer &operator=(const MemchunkBuffer &) = delete; argument499 ~MemchunkBuffer() { in ~MemchunkBuffer() argument529 // MemchunkBuffer provides the same interface functions with Buffer. argument533 uint8_t *pos() const { return chunk->pos; } in pos()534 uint8_t *last() const { return chunk->last; } in last()536 size_t rleft() const { return chunk->len(); } in rleft()537 size_t wleft() const { return chunk->left(); } in wleft()[all …]