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

Method TBookmark

util/memory/pool.h:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 class TBookmark {
136 public:
137 inline TBookmark(TMemoryPool& memoryPool)
138 : OwnerPoolRef_(memoryPool)
139 , BookmarkChunk_(memoryPool.Current_)
140 , BookmarkChunkDataSize_(memoryPool.Current_->DataSize())
141 {
142 }
143
144 inline ~TBookmark() {
145 OwnerPoolRef_.Current_->ResetChunk();

Callers

nothing calls this directly

Calls 1

DataSizeMethod · 0.80

Tested by

no test coverage detected