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

Method slot

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

Source from the content-addressed store, hash-verified

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; }
467 void set_position(field_type v) { GetField<&base_fields::position>() = v; }
468 void set_count(field_type v) { GetField<&base_fields::count>() = v; }

Callers 15

initMethod · 0.45
unpauseMethod · 0.45
make_ttl_reaper_asyncMethod · 0.45
get_cancellation_slotMethod · 0.45
get_cancellation_slotMethod · 0.45
get_cancellation_slotMethod · 0.45
get_cancellation_slotMethod · 0.45
startMethod · 0.45
start_renewalMethod · 0.45
captureFunction · 0.45
captureFunction · 0.45
captureFunction · 0.45

Calls

no outgoing calls

Tested by 7

captureFunction · 0.36
captureFunction · 0.36
captureFunction · 0.36
captureFunction · 0.36
captureFunction · 0.36
captureFunction · 0.36
captureFunction · 0.36