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

Method eat

lib/yamlcpp/src/stream.cpp:287–290  ·  view source on GitHub ↗

eat . Eats 'n' characters and updates our position.

Source from the content-addressed store, hash-verified

285// eat
286// . Eats 'n' characters and updates our position.
287void Stream::eat(int n) {
288 for (int i = 0; i < n; i++)
289 get();
290}
291
292void Stream::AdvanceCurrent() {
293 if (!m_readahead.empty()) {

Callers 10

ScanToNextTokenMethod · 0.80
ScanDirectiveMethod · 0.80
ScanDocStartMethod · 0.80
ScanDocEndMethod · 0.80
ScanFlowEntryMethod · 0.80
ScanBlockEntryMethod · 0.80
ScanKeyMethod · 0.80
ScanValueMethod · 0.80
ScanBlockScalarMethod · 0.80
ScanScalarFunction · 0.80

Calls 1

getFunction · 0.50

Tested by

no test coverage detected