A substantial fraction of workers were absent on any given day, and those at work were often able to come and go... at their pleasure to eat or smoke... [the workplace] would have eating places, barbers, drink shops, and other facilities to serve the workers taking a break. Some mothers allegedly brought their children with them... Workers' relatives would bring food to them.
Gregory Clark. A Farewell To Alms. p. 363
This is not about a Silicon Valley company, but a description of a 19th century Indian textile factory.