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

Function getMaxAddress

include/common/types.h:731–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731inline uint64_t getMaxAddress(const AddressType AT) noexcept {
732 switch (AT) {
733 case AddressType::I32:
734 return static_cast<uint64_t>(std::numeric_limits<uint32_t>::max());
735 case AddressType::I64:
736 return static_cast<uint64_t>(std::numeric_limits<uint64_t>::max());
737 default:
738 assumingUnreachable();
739 }
740}
741
742// <<<<<<<< Functions to access address value from ValVariant <<<<<<<<<<<<<<<<<<
743

Callers 3

checkInstrMethod · 0.85
validateMethod · 0.85
growTableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected