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

Function write

plugins/experimental/inliner/cache.cc:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace cache
38{
39 void
40 write(const std::string &k, std::string &&s)
41 {
42 Key key(k);
43 TSCont continuation = TSContCreate(Write::handle, nullptr);
44 assert(continuation != nullptr);
45 TSContDataSet(continuation, new Write(std::move(s)));
46 TSCacheWrite(continuation, key.key());
47 }
48
49 int
50 Write::handle(TSCont c, TSEvent e, void *v)

Callers 3

doneMethod · 0.70
writeMethod · 0.70
handleMethod · 0.70

Calls 4

TSContCreateFunction · 0.85
TSContDataSetFunction · 0.85
TSCacheWriteFunction · 0.85
keyMethod · 0.45

Tested by

no test coverage detected