SAN FRANCISCO – Matt Cain provided stability Saturday night. He threw seven shutout innings, all concrete and rebar, and it was exactly what the Giants needed to reinforce themselves after losing 13 of 17 games.