MCPcopy Create free account
hub / github.com/assaultcube/AC / empty

Method empty

source/src/tools.h:372–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 T &last() { ASSERT(ulen > 0); return buf[ulen-1]; }
371 void drop() { ASSERT(ulen > 0); buf[--ulen].~T(); }
372 bool empty() const { return ulen==0; }
373
374 int capacity() const { return alen; }
375 int length() const { return ulen; }

Callers 15

logworkerthreadFunction · 0.45
poll_logbuffersFunction · 0.45
loopiFunction · 0.45
closemenuFunction · 0.45
menukeyFunction · 0.45
remainingMethod · 0.45
leastconnectedMethod · 0.45
buildstripsMethod · 0.45
renderstripsskyFunction · 0.45
md2animFunction · 0.45
md2tagFunction · 0.45
md2emitFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected