MCPcopy Create free account
hub / github.com/acl-dev/acl / push_front

Method push_front

lib_acl_cpp/src/stdlib/pipe_stream.cpp:109–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool pipe_manager::push_front(pipe_stream* stream)
110{
111 std::list<pipe_stream*>::const_iterator cit = m_streams.begin();
112
113 for (; cit != m_streams.end(); ++cit) {
114 if (stream == *cit) {
115 return false;
116 }
117 }
118
119 m_streams.push_front(stream);
120 return true;
121}
122
123bool pipe_manager::update(const char* src, size_t len,
124 pipe_stream* out /* = NULL */)

Callers 7

test_zlib_pipeFunction · 0.80
mime_test1Function · 0.80
putMethod · 0.80
put_frontMethod · 0.80
save_bodyMethod · 0.80
saveMethod · 0.80
putMethod · 0.80

Calls 2

beginMethod · 0.80
endMethod · 0.45

Tested by 1

test_zlib_pipeFunction · 0.64