MCPcopy Create free account
hub / github.com/acl-dev/acl / clear

Method clear

lib_acl_cpp/src/stream/aio_timer_callback.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43int aio_timer_callback::clear()
44{
45 int n = 0;
46 std::list<aio_timer_task*>::iterator it = tasks_.begin();
47 for (; it != tasks_.end(); ++it) {
48 delete (*it);
49 n++;
50 }
51 tasks_.clear();
52 length_ = 0;
53 return n;
54}
55
56bool aio_timer_callback::empty() const
57{

Callers 12

readMethod · 0.45
getsMethod · 0.45
readtagsMethod · 0.45
istream.cppFile · 0.45
set_sni_hostMethod · 0.45
create_host_keyMethod · 0.45
closeMethod · 0.45
create_host_keyMethod · 0.45
~aio_timer_delay_freeMethod · 0.45
triggerMethod · 0.45
~aio_listen_streamMethod · 0.45
del_timerMethod · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected