MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / clear

Method clear

dnn/include/megdnn/thin/small_vector.h:314–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 }
313
314 void clear() {
315 this->destroy_range(this->begin(), this->end());
316 this->m_end_ptr = this->m_begin_ptr;
317 }
318
319 void resize(size_type n) {
320 if (n < this->size()) {

Callers 1

small_vector.hFile · 0.45

Calls 3

destroy_rangeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected