MCPcopy
hub / github.com/lutzroeder/netron / map

Method map

source/python.js:5314–5322  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

5312 }
5313 }
5314 map(size) {
5315 const map = {};
5316 for (let i = 0; i < size; i++) {
5317 const key = this.value();
5318 const value = this.value();
5319 map[key] = value;
5320 }
5321 return map;
5322 }
5323 array(size) {
5324 const array = new Array(size);
5325 for (let i = 0; i < size; i++) {

Callers 15

copyFunction · 0.80
unlinkFunction · 0.80
installFunction · 0.80
publishFunction · 0.80
compareFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
constructorMethod · 0.80
_buildContentMethod · 0.80
_buildEnumMethod · 0.80
_buildTypeMethod · 0.80
buildSchemaFunction · 0.80

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected