MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / SelectRow

Method SelectRow

src/plugin/kernel/src/AFCTable.cpp:315–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315uint32_t AFCTable::SelectRow() const
316{
317 if (data_.size() == current_row_)
318 {
319 return current_row_ + 1;
320 }
321 else
322 {
323 // row starts from 1
324 uint32_t row = 1u;
325 for (auto iter : data_)
326 {
327 if (iter.first != row)
328 {
329 break;
330 }
331
332 row += 1;
333 }
334
335 return row;
336 }
337}
338
339void AFCTable::ReleaseRow(AFIRow* row_data)
340{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected