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

Function handleKey

internal/driver/html/common.js:433–439  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

431 }
432
433 function handleKey(e) {
434 if (e.keyCode != 13) return;
435 setHrefParams(window.location, function (params) {
436 params.set('f', search.value);
437 });
438 e.preventDefault();
439 }
440
441 function handleSearch() {
442 // Delay expensive processing so a flurry of key strokes is handled once.

Callers

nothing calls this directly

Calls 2

setHrefParamsFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…