MCPcopy Create free account
hub / github.com/google/pprof / findPolygon

Function findPolygon

internal/driver/html/common.js:552–559  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

550 }
551
552 function findPolygon(elem) {
553 if (elem.localName == 'polygon') return elem;
554 for (const c of elem.children) {
555 const p = findPolygon(c);
556 if (p != null) return p;
557 }
558 return null;
559 }
560
561 function setSampleIndexLink(si) {
562 const elem = document.getElementById('sampletype-' + si);

Callers 1

setNodeHighlightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…