NFD: Named Data Networking Forwarding Daemon 24.07-28-gdcc0e6e0
Loading...
Searching...
No Matches
name-tree-hashtable.cpp File Reference
+ Include dependency graph for name-tree-hashtable.cpp:

Go to the source code of this file.

Namespaces

namespace  nfd
 
namespace  nfd::name_tree
 

Typedefs

using nfd::name_tree::HashFunc = std::conditional_t<(sizeof(HashValue) > 4), Hash64, Hash32 >
 A type with a compute() static method to compute the hash value from a raw buffer.
 

Functions

HashValue nfd::name_tree::computeHash (const Name &name, size_t prefixLen=std::numeric_limits< size_t >::max())
 Computes hash value of name.getPrefix(prefixLen).
 
HashSequence nfd::name_tree::computeHashes (const Name &name, size_t prefixLen=std::numeric_limits< size_t >::max())
 Computes hash values for each prefix of name.getPrefix(prefixLen).
 
Nodenfd::name_tree::getNode (const Entry &entry)