MCPcopy Create free account
hub / github.com/NetSys/bess / LookupOnly

Method LookupOnly

core/shared_obj.h:126–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 // Used by Lookup()
125 template <typename T>
126 static std::shared_ptr<T> LookupOnly() {
127 return std::shared_ptr<T>();
128 }
129
130 std::unordered_map<SharedObjectKey, std::weak_ptr<void>, PairHasher> obj_map_;
131};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected