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

Method resize

library/cpp/token/token_structure.h:169–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 return Tokens.size();
168 }
169 void resize(size_t newsize) {
170 Tokens.resize(Min(newsize, MAX_SUBTOKENS));
171 }
172 size_t capacity() const {
173 return MAX_SUBTOKENS;
174 }

Callers 15

EncodeMethod · 0.45
DecodeMethod · 0.45
SessionLevelTestFunction · 0.45
InitMethod · 0.45
SetPacketCountMethod · 0.45
InitMethod · 0.45
InitMethod · 0.45
CreateGroupMergeFunction · 0.45
CreateAllGatherMethod · 0.45
RdmaWriteMethod · 0.45
TIBCollectiveMethod · 0.45
ReadArrFunction · 0.45

Calls 1

MinFunction · 0.50

Tested by 3

SessionLevelTestFunction · 0.36
SessionLevelTestFunction · 0.36
TestPackerFunction · 0.36