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

Function fts_maxarglen

util/folder/fts.cpp:1340–1351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1338}
1339
1340static size_t
1341fts_maxarglen(char* const* argv)
1342{
1343 size_t len, max;
1344
1345 for (max = 0; *argv; ++argv) {
1346 if ((len = strlen(*argv)) > max) {
1347 max = len;
1348 }
1349 }
1350 return (max + 1);
1351}
1352
1353/*
1354 * Change to dir specified by fd or p->fts_accpath without getting

Callers 1

yfts_openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected