MCPcopy Create free account
hub / github.com/comaps/comaps / SetOffsetAndSize

Method SetOffsetAndSize

libs/coding/mmap_reader.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void MmapReader::SetOffsetAndSize(uint64_t offset, uint64_t size)
146{
147 ASSERT_LESS_OR_EQUAL(offset + size, Size(), (offset, size));
148 m_offset = offset;
149 m_size = size;
150}

Callers

nothing calls this directly

Calls 1

SizeFunction · 0.85

Tested by

no test coverage detected