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

Method set

src/iocore/hostdb/P_RefCountCache.h:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 // Need a no-argument constructor to use the classAllocator
85 RefCountCacheHashEntry() : item(Ptr<RefCountObj>()), meta(0, 0) {}
86 void
87 set(RefCountObj *i, uint64_t key, unsigned int size, time_t expire_time)
88 {
89 this->item = make_ptr(i);
90 this->meta = RefCountCacheItemMeta(key, size, expire_time);
91 }
92
93 // make these values comparable -- so we can sort them
94 bool

Callers 2

putMethod · 0.45
copyMethod · 0.45

Calls 2

make_ptrFunction · 0.85

Tested by

no test coverage detected