Even if companies didn't have copyright protection on their source code, that doesn't mean they'd post it all on the internet for anybody to freely download.