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

Method push_front

src/msg/async/dpdk/circular_buffer.h:270–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268
269template <typename T, typename Alloc>
270inline void circular_buffer<T, Alloc>::push_front(const T& data) {
271 maybe_expand();
272 auto p = &_impl.storage[mask(_impl.begin - 1)];
273 _impl.construct(p, data);
274 --_impl.begin;
275}
276
277template <typename T, typename Alloc>
278inline void circular_buffer<T, Alloc>::push_front(T&& data) {

Callers 15

update_membershipMethod · 0.45
add_dir_contextMethod · 0.45
get_overlapping_locksMethod · 0.45
get_waiting_overlapsMethod · 0.45
hit_dirMethod · 0.45
adjust_pop_for_renameMethod · 0.45
touch_capMethod · 0.45
try_subtree_merge_atMethod · 0.45
show_subtreesMethod · 0.45
queue_waiter_frontMethod · 0.45
_enqueueMethod · 0.45

Calls 2

maskFunction · 0.85
constructMethod · 0.45

Tested by

no test coverage detected