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

Method hasMax

include/ast/type.h:73–73  ·  view source on GitHub ↗

Getter and setter for limit mode.

Source from the content-addressed store, hash-verified

71
72 /// Getter and setter for limit mode.
73 bool hasMax() const noexcept { return static_cast<uint8_t>(Type) & 0x01U; }
74 bool isShared() const noexcept { return static_cast<uint8_t>(Type) & 0x02U; }
75 bool is32() const noexcept { return static_cast<uint8_t>(Type) < 0x04U; }
76 bool is64() const noexcept { return !is32(); }

Callers 11

validateMethod · 0.80
matchLimitFunction · 0.80
instantiateMethod · 0.80
WasmEdge_LimitHasMaxFunction · 0.80
WasmEdge_LimitIsEqualFunction · 0.80
loadLimitMethod · 0.80
serializeLimitMethod · 0.80
growTableMethod · 0.80
growPageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected