MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / virtual_size

Method virtual_size

lib/asmjit/asmjit/core/codeholder.h:305–306  ·  view source on GitHub ↗

Returns the virtual size of the section. Virtual size is initially zero and is never changed by AsmJit. It's normal if virtual size is smaller than size returned by `buffer_size()` as the buffer stores real data emitted by assemblers or appended by users. Use `real_size()` to get the real and final size of this section.

Source from the content-addressed store, hash-verified

303 //!
304 //! Use `real_size()` to get the real and final size of this section.
305 [[nodiscard]]
306 ASMJIT_INLINE_NODEBUG uint64_t virtual_size() const noexcept { return _virtual_size; }
307
308 //! Sets the virtual size of the section.
309 ASMJIT_INLINE_NODEBUG void set_virtual_size(uint64_t virtual_size) noexcept { _virtual_size = virtual_size; }

Callers 3

_addMethod · 0.80
relocate_to_baseMethod · 0.80
copy_flattened_dataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected