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

Method THashTable

util/generic/hash_table.h:517–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515
516public:
517 THashTable()
518 : base_type(HashFcn(), ExtractKey(), EqualKey(), node_allocator_type())
519 , buckets(nodep_allocator_type())
520 , num_elements(0)
521 {
522 initialize_buckets(buckets, 0);
523 }
524
525 THashTable(size_type n, const HashFcn& hf, const EqualKey& eql, const ExtractKey& ext)
526 : base_type(hf, ext, eql, node_allocator_type())

Callers

nothing calls this directly

Calls 7

swapMethod · 0.95
_get_hash_funMethod · 0.80
_get_key_extractMethod · 0.80
_get_key_eqMethod · 0.80
ExtSizeMethod · 0.80
get_allocatorMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected