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

Method ExistsActiveSimpleKey

lib/yamlcpp/src/simplekey.cpp:47–53  ·  view source on GitHub ↗

ExistsActiveSimpleKey . Returns true if there's a potential simple key at our flow level (there's allowed at most one per flow level, i.e., at the start of the flow start token)

Source from the content-addressed store, hash-verified

45// (there's allowed at most one per flow level, i.e., at the start of the flow
46// start token)
47bool Scanner::ExistsActiveSimpleKey() const {
48 if (m_simpleKeys.empty())
49 return false;
50
51 const SimpleKey& key = m_simpleKeys.top();
52 return key.flowLevel == GetFlowLevel();
53}
54
55// InsertPotentialSimpleKey
56// . If we can, add a potential simple key to the queue,

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
topMethod · 0.45

Tested by

no test coverage detected