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

Method Erase

tensorflow/core/lib/gtl/flatrep.h:203–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 void Erase(Bucket* b, uint32 i) {
204 b->Destroy(i);
205 b->marker[i] = kDeleted;
206 deleted_++;
207 grow_ = 0; // Consider shrinking on next insert
208 }
209
210 void Prefetch(const Key& k) const {
211 size_t h = hash_(k);

Callers 2

eraseMethod · 0.45
eraseMethod · 0.45

Calls 1

DestroyMethod · 0.45

Tested by

no test coverage detected