Not in source code, but the word is also officially used in aviation as an automated audio warning to the pilots to, IIRC, slow down or pull back. The system screams "Retard! Retard! Retard!". I think they often hear it during normal landing procedures.

https://www.youtube.com/watch?v=SbLHah4XUwk&t=815s

IIRC Family Guy has a scene where Peter responds to the announcement in kind.

Notably French and English are the two languages of international aviation