MCPcopy Index your code
hub / github.com/python/cpython / performSearch

Function performSearch

Lib/profiling/sampling/_flamegraph_assets/flamegraph.js:700–707  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

698
699 let searchTimeout;
700 function performSearch() {
701 const term = searchInput.value.trim();
702 updateSearchHighlight(term, searchInput);
703 // Toggle has-value class for clear button visibility
704 if (searchWrapper) {
705 searchWrapper.classList.toggle("has-value", term.length > 0);
706 }
707 }
708
709 searchInput.addEventListener("input", function () {
710 clearTimeout(searchTimeout);

Callers 1

searchForHotspotFunction · 0.85

Calls 2

updateSearchHighlightFunction · 0.85
toggleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…