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

Method getLength

include/runtime/instance/array.h:50–52  ·  view source on GitHub ↗

Get array length.

Source from the content-addressed store, hash-verified

48
49 /// Get array length.
50 uint32_t getLength() const noexcept {
51 return static_cast<uint32_t>(Data.size());
52 }
53
54private:
55 /// \name Data of array instance.

Callers 10

logArrayOOBFunction · 0.80
logDoubleArrayOOBFunction · 0.80
runArrayLenOpMethod · 0.80
arrayGetMethod · 0.80
arraySetMethod · 0.80
arrayFillMethod · 0.80
arrayInitDataMethod · 0.80
arrayInitElemMethod · 0.80
arrayCopyMethod · 0.80
proxyArrayLenMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected