http://code.ohloh.net/ https://github.com/search?q=malloc&type=Code&ref=searchresul... http://searchcode.com/ http://codesearch.debian.net/
Symbolhound is also quite interesting, http://symbolhound.com/
Full disclosure I wrote and maintain searchcode.