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

Class TListItem

library/cpp/threading/skip_list/perf/main.cpp:31–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 ////////////////////////////////////////////////////////////////////////////////
30
31 struct TListItem {
32 TStringBuf Key;
33 TStringBuf Value;
34
35 TListItem(const TStringBuf& key, const TStringBuf& value)
36 : Key(key)
37 , Value(value)
38 {
39 }
40
41 int Compare(const TListItem& other) const {
42 return Key.compare(other.Key);
43 }
44 };
45
46 using TListType = TSkipList<TListItem>;
47

Callers 5

TEST_InsertRandomMethod · 0.85
TEST_InsertSequentialMethod · 0.85
TEST_LookupRandomMethod · 0.85
TEST_ConcurrentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected