MCPcopy Create free account
hub / github.com/apache/trafficserver / commit

Method commit

lib/swoc/src/ArenaWriter.cc:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29bool
30ArenaWriter::commit(size_t n) {
31 if (_attempted + n > _capacity) {
32 this->realloc(_attempted + n);
33 return false;
34 }
35 return this->super_type::commit(n);
36}
37
38void
39ArenaWriter::realloc(size_t n) {

Callers 8

Adjust_AlignmentFunction · 0.45
bw_format.ccFile · 0.45
writeOnceFunction · 0.45
proxy_protocol_v1_buildFunction · 0.45
proxy_protocol_v2_buildFunction · 0.45
DbgCtl.ccFile · 0.45

Calls 1

reallocMethod · 0.95

Tested by 1

writeOnceFunction · 0.36