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

Method set_parent

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

Source from the content-addressed store, hash-verified

461 }
462
463 void set_parent(btree_node *p) { GetField<&base_fields::parent>() = p; }
464 field_type &mutable_count() { return GetField<&base_fields::count>(); }
465 slot_type *slot(int i) { return GetField<&leaf_fields::values>() + i; }
466 const slot_type *slot(int i) const { return GetField<&leaf_fields::values>() + i; }

Callers 3

init_childMethod · 0.80
init_leafMethod · 0.80
swapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected