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

Method leaf

src/include/cpp-btree/btree.h:481–481  ·  view source on GitHub ↗

Getter/setter for whether this is a leaf node or not. This value doesn't change after the node is created.

Source from the content-addressed store, hash-verified

479 // Getter/setter for whether this is a leaf node or not. This value doesn't
480 // change after the node is created.
481 bool leaf() const { return GetField<&base_fields::max_count>() != kInternalNodeMaxCount; }
482
483 // Getter for the position of this node in its parent.
484 field_type position() const { return GetField<&base_fields::position>(); }

Callers 15

is_rootMethod · 0.80
incrementMethod · 0.80
decrementMethod · 0.80
internal_statsMethod · 0.80
swapMethod · 0.80
increment_slowMethod · 0.80
decrement_slowMethod · 0.80
eraseMethod · 0.80
erase_same_nodeMethod · 0.80
erase_from_leaf_nodeMethod · 0.80
verifyMethod · 0.80
rebalance_or_splitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected