| 228 | } |
| 229 | |
| 230 | void Buffer::Clear() const { |
| 231 | // Caller is in charge of calling Flush/Invalidate as needed |
| 232 | assert(mapped_ptr); |
| 233 | memset((uint8_t*)mapped_ptr, 0, static_cast<size_t>(size)); |
| 234 | } |
| 235 | |
| 236 | void BufferRange::Clear() const { |
| 237 | // Caller is in charge of calling Flush/Invalidate as needed |
no outgoing calls
no test coverage detected