searchcode logo

Search 75 billion lines of code from 40 million projects

Simple, comprehensive code search

Helping you find real world examples of functions, API's and libraries in 243 languages across 10+ public code sources

Example Searches

Filter by Source or Language

Filter down to one or many sources such as Bitbucket, CodePlex, Fedora Project, GitLab, Github, Gitorious, Google Android, Google Code, Minix3, Seek Quarry, Sourceforge, Tizen, codeberg, repo.or.cz, sr.ht or by 243+ languages.

Real-time stats

Searches in the past day by hour.
Last hour: 1,392
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
API Searches in the past day by hour.
Last hour: 6,609
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Code views in the past day by hour.
Last hour: 2,627