Shameless plug:

This is what I based Debian Code Search on: https://codesearch.debian.net/

See also https://codesearch.debian.net/research/bsc-thesis.pdf if you’re interested in details.

Is your code open source?