MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / push_back

Method push_back

lib/Epub/Epub/css/CssParser.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 size_t len = 0;
21
22 void push_back(char c) {
23 if (len < CAPACITY - 1) {
24 data[len++] = c;
25 }
26 }
27
28 void clear() { len = 0; }
29 bool empty() const { return len == 0; }

Callers 15

readChaptersMethod · 0.80
loadFamilyMethod · 0.80
findClosestReaderSizeMethod · 0.80
availableSizesMethod · 0.80
scanDirectoryMethod · 0.80
scanRootMethod · 0.80
nextIndexMethod · 0.80
onStartElementMethod · 0.80
onStartElementMethod · 0.80
measureWordWidthFunction · 0.80

Calls

no outgoing calls

Tested by 12

loadTestDataFunction · 0.64
positionsToHyphenatedFunction · 0.64
onKeyFunction · 0.64
onStringFunction · 0.64
onNumberFunction · 0.64
onBoolFunction · 0.64
onNullFunction · 0.64
onObjectStartFunction · 0.64
onObjectEndFunction · 0.64
onArrayStartFunction · 0.64
onArrayEndFunction · 0.64