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

Method InvalidateSimpleKey

lib/yamlcpp/src/simplekey.cpp:84–95  ·  view source on GitHub ↗

InvalidateSimpleKey . Automatically invalidate the simple key in our flow level

Source from the content-addressed store, hash-verified

82// InvalidateSimpleKey
83// . Automatically invalidate the simple key in our flow level
84void Scanner::InvalidateSimpleKey() {
85 if (m_simpleKeys.empty())
86 return;
87
88 // grab top key
89 SimpleKey& key = m_simpleKeys.top();
90 if (key.flowLevel != GetFlowLevel())
91 return;
92
93 key.Invalidate();
94 m_simpleKeys.pop();
95}
96
97// VerifySimpleKey
98// . Determines whether the latest simple key to be added is valid,

Callers

nothing calls this directly

Calls 4

InvalidateMethod · 0.80
emptyMethod · 0.45
topMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected