MCPcopy Create free account
hub / github.com/apache/trafficserver / push_back

Method push_back

lib/yamlcpp/src/node_data.cpp:179–190  ·  view source on GitHub ↗

sequence

Source from the content-addressed store, hash-verified

177
178// sequence
179void node_data::push_back(node& node,
180 const shared_memory_holder& /* pMemory */) {
181 if (m_type == NodeType::Undefined || m_type == NodeType::Null) {
182 m_type = NodeType::Sequence;
183 reset_sequence();
184 }
185
186 if (m_type != NodeType::Sequence)
187 throw BadPushback();
188
189 m_sequence.push_back(&node);
190}
191
192void node_data::insert(node& key, node& value,
193 const shared_memory_holder& pMemory) {

Callers 15

dump_contextFunction · 0.45
TSPluginInitFunction · 0.45
TESTFunction · 0.45
AddEntryMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
StartStreamMethod · 0.45
PushIndentToMethod · 0.45
LoadAllFunction · 0.45

Calls 1

BadPushbackFunction · 0.85

Tested by 15

TESTFunction · 0.36
AddEntryMethod · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
ATestMethod · 0.36
CB_Update_SecretFunction · 0.36
CB_handle_rpc_io_callFunction · 0.36
addToHeaderListFunction · 0.36
getDataMethod · 0.36
FailureInfoMethod · 0.36