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

Class TBucket

library/cpp/text_processing/dictionary/mmap_hash_table.h:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 constexpr ui64 MAX_SEED_CHOICE_COUNT = 10;
12
13 struct TBucket {
14 static constexpr ui64 InvalidHashValue = 0xffffffffffffffffull;
15 using THashType = ui64;
16
17 THashType Hash = InvalidHashValue;
18 TTokenId TokenId = 0;
19
20 bool operator==(const TBucket& other) const {
21 return std::tie(Hash, TokenId) == std::tie(other.Hash, other.TokenId);
22 }
23 };
24
25 inline ui64 GetBucketIndex(
26 ui64 hash,

Callers 1

BuildBucketsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected