Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Clear
Method
Clear
libs/coding/huffman.cpp:46–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
void HuffmanCoder::Clear()
47
{
48
DeleteHuffmanTree(m_root);
49
m_root = nullptr;
50
m_encoderTable.clear();
51
m_decoderTable.clear();
52
}
53
54
void HuffmanCoder::DeleteHuffmanTree(Node * root)
55
{
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected