Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ medianPush
Function
medianPush
src/tailwind/Backgrounds/GridScan/GridScan.jsx:869–872 ·
view source on GitHub ↗
(buf, v, maxLen)
Source
from the content-addressed store, hash-verified
867
}
868
869
function medianPush(buf, v, maxLen) {
870
buf.push(v);
871
if (buf.length > maxLen) buf.shift();
872
}
873
874
function median(buf) {
875
if (buf.length === 0) return 0;
Callers
1
detect
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected