Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.h
File · 0.45
Calls
3
destroy_range
Method · 0.45
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected