MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / skippedBefore

Method skippedBefore

Telegram/SourceFiles/data/data_sparse_ids.cpp:44–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44std::optional<int> SparseIdsMergedSlice::skippedBefore() const {
45 return _unsorted
46 ? _unsorted->skippedBefore()
47 : Add(
48 isolatedInMigrated() ? 0 : _part.skippedBefore(),
49 _migrated
50 ? (isolatedInPart()
51 ? _migrated->fullCount()
52 : _migrated->skippedBefore())
53 : 0
54 );
55}
56
57std::optional<int> SparseIdsMergedSlice::skippedAfter() const {
58 return _unsorted

Callers 9

findCurrentMethod · 0.45
playlistOtherKeyMethod · 0.45
moveInPlaylistMethod · 0.45
validateShuffleDataMethod · 0.45
HistoryMessagesViewerFunction · 0.45
isolatedInPartMethod · 0.45
PollMessagesViewerFunction · 0.45
refreshViewerMethod · 0.45
listSourceMethod · 0.45

Calls 1

fullCountMethod · 0.45

Tested by

no test coverage detected