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

Method Tree

include/proxy/http2/Http2DependencyTree.h:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116{
117public:
118 explicit Tree(uint32_t max_concurrent_streams) : _max_depth(MIN(max_concurrent_streams, HTTP2_DEPENDENCY_TREE_MAX_DEPTH))
119 {
120 _ancestors.resize(_max_ancestors);
121 }
122 ~Tree() { delete _root; }
123 Node *find(uint32_t id, bool *is_max_leaf = nullptr);
124 Node *find_shadow(uint32_t id, bool *is_max_leaf = nullptr);

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected