MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / push

Method push

tests/fixtures/sample.cpp:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void push(const T& item) {
98 if (data_.size() < capacity_) {
99 data_.push_back(item);
100 }
101 }
102
103 size_t size() const { return data_.size(); }
104

Callers 15

walkFunction · 0.80
build_contextFunction · 0.80
build_queriesFunction · 0.80
bench_allFunction · 0.80
add_to_gitignoreFunction · 0.80
parse_cargo_outputFunction · 0.80
hook_import_sourcesFunction · 0.80
import_hook_analyticsFunction · 0.80
import_sourceFunction · 0.80

Calls 1

sizeMethod · 0.45