MCPcopy Create free account
hub / github.com/bloomberg/quantum / push

Method push

quantum/impl/quantum_buffer_impl.h:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31template <class T, class ALLOCATOR>
32template <class V>
33BufferStatus Buffer<T,ALLOCATOR>::push(V&& value)
34{
35 if (_isClosed)
36 {
37 return BufferStatus::Closed;
38 }
39 _buffer.push_back(std::forward<V>(value));
40 return BufferStatus::DataPosted;
41}
42
43template <class T, class ALLOCATOR>
44BufferStatus Buffer<T,ALLOCATOR>::pull(T& value)

Callers 6

TEST_PFunction · 0.45
jquery.jsFile · 0.45
bFFunction · 0.45
byFunction · 0.45
JFunction · 0.45
HFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.36