Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bbidulock/icewm
/ clear
Method
clear
src/yarray.h:421–425 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
419
}
420
421
virtual void clear() {
422
for (SizeType i = 0; i < getCount(); ++i)
423
getItemPtr(i)->release();
424
YBaseArray::clear();
425
}
426
427
virtual void shrink(int reducedCount) {
428
for (SizeType n = getCount(); n > reducedCount; )
Callers
nothing calls this directly
Calls
1
release
Method · 0.45
Tested by
no test coverage detected