Do I still have a chance of transferring to UCB,UCLA, or UCSD? (computer science major)

I would suggest working harder at your current institution, since you might face worse situation after getting into more selective colleges. As a computer science major, you really don’t need a toptier brand. As long as you are technically competent and show that through projects and internships, you can also go into good firms in the end.