MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / format_int

Function format_int

rtpose_wrapper/include/caffe/util/format.hpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace caffe {
9
10inline std::string format_int(int n, int numberOfLeadingZeros = 0 ) {
11 std::ostringstream s;
12 s << std::setw(numberOfLeadingZeros) << std::setfill('0') << n;
13 return s.str();
14}
15
16}
17

Callers 8

mainFunction · 0.85
SnapshotFilenameMethod · 0.85
FillUnrolledNetMethod · 0.85
FillUnrolledNetMethod · 0.85
MakeTempFilenameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected