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

Method GetLightest

library/cpp/cache/cache.h:398–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396 }
397
398 TItem* GetLightest() {
399 FixHeap();
400
401 Y_ASSERT(!Heap.empty());
402
403 return Heap.front();
404 }
405
406 // This method doesn't remove items from the heap.
407 // Erased items are stored in Removed set

Callers 3

TLWCacheClass · 0.80
FindLightestMethod · 0.80
Y_UNIT_TESTFunction · 0.80

Calls 2

emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected