San Jose's MLK library lets you bring drinks and food, with some restrictions. There is also a decent coffee shop on the ground floor. The down side is the large number of homeless hitting you up for money, the fragrant bathrooms, and some SJSU students who can be a little inconsiderate about noise / cell phones. Still, if you need a quiet place with internet to work, I'd recommend it.