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

Method alloc_first_seg

util/memory/segmented_string_pool.h:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150 }
151 void alloc_first_seg() {
152 Y_ASSERT(capacity() == 0);
153 check_capacity(segment_size);
154 Y_ASSERT(capacity() == segment_size * sizeof(T));
155 }
156};
157
158class segmented_string_pool: public segmented_pool<char> {

Callers

nothing calls this directly

Calls 1

capacityFunction · 0.50

Tested by

no test coverage detected