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

Method get

lib/yamlcpp/src/stream.cpp:260–271  ·  view source on GitHub ↗

get . Extracts a character from the stream and updates our position

Source from the content-addressed store, hash-verified

258// get
259// . Extracts a character from the stream and updates our position
260char Stream::get() {
261 char ch = peek();
262 AdvanceCurrent();
263 m_mark.column++;
264
265 if (ch == '\n') {
266 m_mark.column = 0;
267 m_mark.line++;
268 }
269
270 return ch;
271}
272
273// get
274// . Extracts 'n' characters from the stream and updates our position

Callers 15

EscapeFunction · 0.45
GetOutputCharsetMethod · 0.45
GetStringFormatMethod · 0.45
GetBoolFormatMethod · 0.45
GetBoolLengthFormatMethod · 0.45
GetBoolCaseFormatMethod · 0.45
GetNullFormatMethod · 0.45
GetIntFormatMethod · 0.45
GetIndentMethod · 0.45
GetPreCommentIndentMethod · 0.45
GetPostCommentIndentMethod · 0.45
GetMapKeyFormatMethod · 0.45

Calls 2

getFunction · 0.50
reserveMethod · 0.45

Tested by

no test coverage detected