MCPcopy Create free account
hub / github.com/MariaDB/server / push

Method push

tpool/tpool_structs.h:262–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 m_head = current_size;
261 }
262 void push(T ele)
263 {
264 if (full())
265 {
266 assert(size() == m_capacity - 1);
267 resize(size() + 1024);
268 }
269 m_buffer[m_head] = ele;
270 m_head = (m_head + 1) % m_capacity;
271 }
272 void push_front(T ele)
273 {
274 if (full())

Callers 2

executeMethod · 0.45
submit_taskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected