Transfer to Binghamton or UB for Computer Science

My main question is: if I do stellar in both programs, will a grad school necessarily make a decision on my application purely based on the college I went to? I understand that UB is much bigger, and so it is less selective. At the same time, I have friends who go there who can help me find the academic clubs on campus. Binghamton is smaller and more selective, so I know that it is ranked higher. I understand that it also offers smaller classes, but I don’t think class size matters because I always sit in the front seat and get to know the professor anyway. I care about being able to study Linguistics. I think that Buffalo’s linguistics program is definitely better than Binghamton’s. Thoughts?