Hard-throwing veteran Jeff Samardzija took advantage of a young Padres lineup on Thursday night, tossing seven shutout innings in a Giants victory.