MCPcopy Create free account
hub / github.com/catboost/catboost / insert_unique

Method insert_unique

util/generic/hash_table.h:672–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670
671 template <class OtherValue>
672 std::pair<iterator, bool> insert_unique(const OtherValue& obj) {
673 reserve(num_elements + 1);
674 return insert_unique_noresize(obj);
675 }
676
677 template <class OtherValue>
678 iterator insert_equal(const OtherValue& obj) {

Callers 4

THashMapMethod · 0.45
insertMethod · 0.45
THashSetMethod · 0.45
insertMethod · 0.45

Calls 2

distanceFunction · 0.85
reserveFunction · 0.50

Tested by

no test coverage detected