Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clementgallet/libTAS
/ remap
Method
remap
src/external/qhexview/src/model/buffer/qmappedfilebuffer.cpp:43–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
void QMappedFileBuffer::remap() {
44
QFile* f = qobject_cast<QFile*>(m_device);
45
if(!f)
46
return;
47
48
if(m_mappeddata)
49
f->unmap(m_mappeddata);
50
m_mappeddata = f->map(0, f->size());
51
}
Callers
2
read
Method · 0.95
write
Method · 0.95
Calls
1
size
Method · 0.45
Tested by
no test coverage detected