MCPcopy Create free account
hub / github.com/microsoft/SandDance / patchCubeArray

Function patchCubeArray

docs/app/js/sanddance-app.js:8689–8694  ·  view source on GitHub ↗
(allocatedSize, empty, cubes)

Source from the content-addressed store, hash-verified

8687parcelHelpers.defineInteropFlag(exports);
8688parcelHelpers.export(exports, "patchCubeArray", ()=>patchCubeArray);
8689function patchCubeArray(allocatedSize, empty, cubes) {
8690 const patched = new Array(allocatedSize);
8691 patched.fill(empty);
8692 cubes.forEach((cube)=>patched[cube.ordinal] = cube);
8693 return patched;
8694}
8695
8696},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"cqSrU":[function(require,module,exports) {
8697var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected