MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Store

Method Store

tensorflow/lite/testing/message.h:65–68  ·  view source on GitHub ↗

Takes ownership of the given pointer. Subclasses can use this method if they don't want to implement their own ownership semantics.

Source from the content-addressed store, hash-verified

63 // Takes ownership of the given pointer. Subclasses can use this method if
64 // they don't want to implement their own ownership semantics.
65 Message* Store(Message* n) {
66 children_.emplace_back(n);
67 return n;
68 }
69
70 // Returns a list of all owned submessages.
71 const std::vector<std::unique_ptr<Message>>& Children() const {

Callers 4

test_ast_to_sourceMethod · 0.45
generate_AssignMethod · 0.45
convert_func_to_astFunction · 0.45

Calls 1

emplace_backMethod · 0.45

Tested by 1

test_ast_to_sourceMethod · 0.36