There is one quite well known and very large codebase that does this extensively: the Linux kernel.
I have mixed opinions about it.
I have mixed opinions about it.
Meanwhile, the Windows XP codebase had 45M LOC in 2011.
Truly big codebases need to be written in sane languages, mostly OOP ones. That excludes C, Zig and Rust.