MCPcopy Create free account
hub / github.com/aria2/aria2 / leaf

Method leaf

src/DHTBucketTree.h:66–66  ·  view source on GitHub ↗

Returns true iff this is a leaf node.

Source from the content-addressed store, hash-verified

64 bool isInRange(const unsigned char* key) const;
65 // Returns true iff this is a leaf node.
66 bool leaf() const { return bucket_.get(); }
67 const unsigned char* getMaxId() const { return maxId_; }
68 const unsigned char* getMinId() const { return minId_; }
69 DHTBucketTreeNode* getParent() const { return parent_; }

Callers 4

findTreeNodeForFunction · 0.80
collectDownwardLeftFirstFunction · 0.80
enumerateBucketFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected