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

Function Duplicate

util/system/file.cpp:1347–1349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1345}
1346
1347TFile Duplicate(FILE* f) {
1348 return Duplicate(fileno(f));
1349}
1350
1351TFile Duplicate(int fd) {
1352#if defined(_win_)

Callers 4

OpenOutputFunction · 0.85
CalcModelSingleHostMethod · 0.85
Duplicate2PosixMethod · 0.85
TImplMethod · 0.85

Calls 3

LastSystemErrorFunction · 0.85
TFileClass · 0.70
dupFunction · 0.50

Tested by

no test coverage detected