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

Method erase

tensorflow/core/lib/gtl/flatmap.h:261–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259 }
260
261 size_t erase(const Key& k) {
262 auto r = rep_.Find(k);
263 if (!r.found) return 0;
264 rep_.Erase(r.b, r.index);
265 return 1;
266 }
267 iterator erase(iterator pos) {
268 rep_.Erase(pos.b_, pos.i_);
269 ++pos;

Callers 7

EraseKeyReturnValuePtrFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
UnregisterMethod · 0.45

Calls 2

FindMethod · 0.45
EraseMethod · 0.45

Tested by 4

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36