MCPcopy Create free account
hub / github.com/apache/fory / clear

Method clear

cpp/fory/util/flat_int_map.h:279–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 bool empty() const { return size_ == 0; }
278
279 void clear() {
280 clear_entries(entries_.get(), capacity_);
281 size_ = 0;
282 }
283
284 Iterator begin() { return Iterator(entries_.get(), capacity_, 0); }
285 Iterator end() { return Iterator(entries_.get(), capacity_, capacity_); }

Callers 15

resetMethod · 0.45
resetMethod · 0.45
resetMethod · 0.45
resetMethod · 0.45
resetMethod · 0.45
resetMethod · 0.45
resetMethod · 0.45
resetMethod · 0.45
__index__Method · 0.45
resetFunction · 0.45
multiplyMethod · 0.45

Calls 1

getMethod · 0.65

Tested by 6

__index__Method · 0.36
newMethod · 0.36
dropMethod · 0.36