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

Method LookupAnchor

lib/yamlcpp/src/nodeevents.cpp:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14anchor_t NodeEvents::AliasManager::LookupAnchor(
15 const detail::node& node) const {
16 auto it = m_anchorByIdentity.find(node.ref());
17 if (it == m_anchorByIdentity.end())
18 return 0;
19 return it->second;
20}
21
22NodeEvents::NodeEvents(const Node& node)
23 : m_pMemory(node.m_pMemory), m_root(node.m_pNode), m_refCount{} {

Callers 1

EmitMethod · 0.45

Calls 3

refMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected