MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / getPageSize

Method getPageSize

include/runtime/instance/memory.h:86–89  ·  view source on GitHub ↗

Get page size of memory.data

Source from the content-addressed store, hash-verified

84
85 /// Get page size of memory.data
86 uint64_t getPageSize() const noexcept {
87 // The memory page size is bound to the limit in the memory type.
88 return MemType.getLimit().getMin();
89 }
90
91 /// Get memory size of memory.data
92 uint64_t getSize() const noexcept {

Callers 6

runMemorySizeOpMethod · 0.80
runMemoryGrowOpMethod · 0.80
proxyMemGrowMethod · 0.80
proxyMemSizeMethod · 0.80
TESTFunction · 0.80

Calls 1

getMinMethod · 0.80

Tested by 1

TESTFunction · 0.64