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

Function handleResize

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

Source from the content-addressed store, hash-verified

737// ============================================================================
738
739function handleResize() {
740 let resizeTimeout;
741 window.addEventListener("resize", function () {
742 clearTimeout(resizeTimeout);
743 resizeTimeout = setTimeout(resizeChart, 100);
744 });
745}
746
747function initSidebarResize() {
748 const sidebar = document.getElementById('sidebar');

Callers 1

initFlamegraphFunction · 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…