MCPcopy Create free account
hub / github.com/arvidn/libtorrent / export_progress

Method export_progress

src/file_progress.cpp:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void file_progress::export_progress(vector<std::int64_t, file_index_t>& fp)
123 {
124 INVARIANT_CHECK;
125 fp.resize(m_file_progress.size(), 0);
126 std::copy(m_file_progress.begin(), m_file_progress.end(), fp.begin());
127 }
128
129 void file_progress::clear()
130 {

Callers 2

TORRENT_TESTFunction · 0.80
file_progressMethod · 0.80

Calls 4

resizeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 1

TORRENT_TESTFunction · 0.64