MCPcopy Create free account
hub / github.com/apache/brpc / bottom

Method bottom

src/butil/containers/bounded_queue.h:237–239  ·  view source on GitHub ↗

Get address of bottom-most item, NULL if queue is empty

Source from the content-addressed store, hash-verified

235
236 // Get address of bottom-most item, NULL if queue is empty
237 T* bottom() {
238 return _count ? ((T*)_items + _mod(_start + _count - 1, _cap)) : NULL;
239 }
240 const T* bottom() const {
241 return _count ? ((const T*)_items + _mod(_start + _count - 1, _cap)) : NULL;
242 }

Callers 7

TESTFunction · 0.80
AddMethod · 0.80
IsExcludedMethod · 0.80
UpdateMethod · 0.80
HeaderAtFunction · 0.80
get_valueMethod · 0.80
get_samplesMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64