Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ clear
Method
clear
crawl-ref/source/message.cc:268–274 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
266
circ_vec() : end(0), has_circled(false) {}
267
268
void clear()
269
{
270
end = 0;
271
has_circled = false;
272
for (int i = 0; i < SIZE; ++i)
273
data[i] = T();
274
}
275
276
int size() const
277
{
Callers
7
clear_lines
Method · 0.45
scroll
Method · 0.45
roll_back
Method · 0.45
clear
Method · 0.45
force_update
Method · 0.45
clear_messages
Function · 0.45
clear_message_store
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected