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

Method peek

lib/yamlcpp/src/stream.cpp:245–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243Stream::~Stream() { delete[] m_pPrefetched; }
244
245char Stream::peek() const {
246 if (m_readahead.empty()) {
247 return Stream::eof();
248 }
249
250 return m_readahead[0];
251}
252
253Stream::operator bool() const {
254 return m_input.good() ||

Callers 15

HandleDocumentMethod · 0.80
HandleNodeMethod · 0.80
HandleSequenceMethod · 0.80
HandleBlockSequenceMethod · 0.80
HandleFlowSequenceMethod · 0.80
HandleMapMethod · 0.80
HandleBlockMapMethod · 0.80
HandleFlowMapMethod · 0.80
HandleCompactMapMethod · 0.80
ParsePropertiesMethod · 0.80
ParseTagMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected