MCPcopy Create free account
hub / github.com/audacity/audacity / Seek

Method Seek

libraries/lib-network-manager/MultipartData.cpp:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 bool Seek(int64_t offset, int origin = SEEK_SET) override
144 {
145 static constexpr wxSeekMode map[] = { wxFromStart, wxFromCurrent,
146 wxFromEnd };
147
148 if (origin < SEEK_SET || origin > SEEK_END)
149 return false;
150
151 return wxInvalidOffset != mFile.Seek(offset, map[origin]);
152 }
153
154private:
155 wxFile mFile;

Callers 11

DataStreamSeekFunction · 0.45
MimePartSeekFunction · 0.45
OpusSeekCallbackMethod · 0.45
OpenMethod · 0.45
SeekCallbackMethod · 0.45
FileSeekMethod · 0.45
OpenMethod · 0.45
FindDialogClass · 0.45
ProcessMethod · 0.45
ImportMethod · 0.45
AddID3ChunkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected