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

Function handleSearch

internal/driver/html/common.js:441–450  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

439 }
440
441 function handleSearch() {
442 // Delay expensive processing so a flurry of key strokes is handled once.
443 if (searchAlarm != null) {
444 clearTimeout(searchAlarm);
445 }
446 searchAlarm = setTimeout(selectMatching, 300);
447
448 regexpActive = true;
449 updateButtons();
450 }
451
452 function selectMatching() {
453 searchAlarm = null;

Callers

nothing calls this directly

Calls 1

updateButtonsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…