MCPcopy Index your code
hub / github.com/microsoft/SandDance / getAnchors

Function getAnchors

docs/app/js/sanddance-app.js:139104–139109  ·  view source on GitHub ↗
(_, count)

Source from the content-addressed store, hash-verified

139102 return offsets;
139103}
139104function getAnchors(_, count) {
139105 const anchors = new Int8Array(count), n = _.length;
139106 for(let i12 = 0; i12 < n; ++i12)anchors[i12] |= anchorCode[_[i12]];
139107 for(let i11 = n; i11 < count; ++i11)anchors[i11] = anchors[n - 1];
139108 return anchors;
139109}
139110function markType(item) {
139111 return item && item.mark && item.mark.marktype;
139112}

Callers 1

labelLayoutFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected