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

Method clear_no_resize

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

Source from the content-addressed store, hash-verified

98 }
99
100 void clear_no_resize() {
101 for (Bucket* b = array_; b != end_; b++) {
102 for (uint32 i = 0; i < kWidth; i++) {
103 if (b->marker[i] >= 2) {
104 b->Destroy(i);
105 b->marker[i] = kEmpty;
106 }
107 }
108 }
109 not_empty_ = 0;
110 deleted_ = 0;
111 }
112
113 void clear() {
114 clear_no_resize();

Callers

nothing calls this directly

Calls 1

DestroyMethod · 0.45

Tested by

no test coverage detected