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

Class Appender

tensorflow/core/lib/gtl/cleanup_test.cc:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74struct Appender {
75 Appender(string* s, const string& msg) : s_(s), msg_(msg) {}
76 void operator()() const { s_->append(msg_); }
77 string* s_;
78 string msg_;
79};
80
81TEST(CleanupTest, NonLambda) {
82 string s = "active";

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68