Searched defs:ContiguousMemoryRange (Results 1 – 3 of 3) sorted by relevance
27 struct ContiguousMemoryRange { struct28 uint8_t* begin;29 uint8_t* end; // STL style: one byte past the end of the buffer.31 inline bool is_valid() const { return begin != nullptr; } in is_valid()32 inline void reset() { begin = nullptr; } in reset()33 inline size_t size() const { return static_cast<size_t>(end - begin); } in size()
697 struct ContiguousMemoryRange { struct698 uint8_t* begin;699 uint8_t* end; // STL style: one byte past the end of the buffer.701 inline bool is_valid() const { return begin != nullptr; } in is_valid()702 inline void reset() { begin = nullptr; } in reset()703 inline size_t size() const { return static_cast<size_t>(end - begin); } in size()
1972 struct ContiguousMemoryRange { struct1973 uint8_t* begin;1974 uint8_t* end; // STL style: one byte past the end of the buffer.1976 inline bool is_valid() const { return begin != nullptr; } in is_valid()1977 inline void reset() { begin = nullptr; } in reset()1978 inline size_t size() const { return static_cast<size_t>(end - begin); } in size()