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

Method Trie

include/tscore/Trie.h:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43{
44public:
45 Trie() { m_root.Clear(); }
46 // will return false for duplicates; key should be nullptr-terminated
47 // if key_len is defaulted to -1
48 bool Insert(const char *key, T *value, int rank, int key_len = -1);

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected