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

Function findTouch

internal/driver/html/common.js:137–142  ·  view source on GitHub ↗
(tlist, id)

Source from the content-addressed store, hash-verified

135
136 // Find touch object with specified identifier.
137 function findTouch(tlist, id) {
138 for (const t of tlist) {
139 if (t.identifier == id) return t;
140 }
141 return null;
142 }
143
144 // Return distance between two touch points
145 function touchGap(t1, t2) {

Callers 2

handleTouchMoveFunction · 0.85
handleTouchEndFunction · 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…