MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / table_clear

Method table_clear

benchmarks/tbb/enumerable_thread_specific.h:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154 template<ets_key_usage_type ETS_key_type>
155 void ets_base<ETS_key_type>::table_clear() {
156 while( array* r = my_root ) {
157 my_root = r->next;
158 free(r);
159 }
160 my_count = 0;
161 }
162
163 template<ets_key_usage_type ETS_key_type>
164 void* ets_base<ETS_key_type>::table_lookup( bool& exists ) {

Callers 1

clearMethod · 0.45

Calls 1

freeFunction · 0.85

Tested by

no test coverage detected