UNDATED (AP) — Giants pitcher Tim Lincecum (LIHN'-seh-kuhm) has endured a rough 2 ½-year stretch on the mound, going 25-34 with a 4.79 ERA entering Wednesday's start in San Francisco. But something comes over the two-time Cy Young Award winner whenever he faces the San Diego Padres.

Lincecum no-hit the Padres for the second time in less than a year, tossing 113 pitches and facing just one batter over the limit in the Giants' 4-0 win over San Diego. He struck out six and kept the Padres off-balance despite throwing just 12 first-pitch strikes to the 28 batters he faced.

The only runner to reach base against Lincecum was Chase Headley, who walked in the second inning.

Lincecum was no stiff at the plate, either, going 2-for-3 with a walk and two runs scored.

The gem comes less than a year after Lincecum needed 148 pitches to no-hit the Padres in San Diego. The right-hander joins Addie Joss as the only pitchers to toss two no-hitters against the same team.

Lincecum threw the 16th no-hitter in Giants' team history. Christy Mathewson is the only other Giant to throw two no-hitters.

Buster Posey had four of the Giants' 11 hits, including a two-run double that capped the scoring.

Elsewhere in the majors:

— Dee Gordon scored twice while going 4-for-5 in the Dodgers' 5-4 win at Kansas City. Matt Kemp hit a solo homer and the Los Angeles bullpen worked 4 2/3 shutout innings, but the game was tied 4-4 until A.J. Ellis was hit by a pitch with the bases loaded in the eighth.

— Stephen Strasburg had one of the two worst outings of his career as the Brewers crushed the Washington Nationals 9-2 in Milwaukee. Strasburg was rocked for eight hits and seven runs in 4 2/3 innings, including Scooter Gennett's grand slam. Khris Davis also homered off Strasburg, who also allowed a career-high seven earned runs in a two-inning start last July.

— Atlanta blanked Houston 4-0 as Alex Wood held the Astros to three hits over seven shutout innings in his return to the rotation. Justin Upton put the Braves ahead with a sacrifice fly in the second inning before adding a two-run homer in the seventh.

— The St. Louis Cardinals trailed 5-1 in the fifth before rallying for a 9-6 win over the Rockies in Colorado. Matt Adams hit a two-run homer, Matt Carpenter drove in a pair of runs and Matt Holliday was 3-for-4 with an RBI and a run scored as the Cardinals took the rubber match of the three-game set.

— David Price was terrific in Tampa Bay's 5-1 win over Pittsburgh, striking out 11 and holding the Pirates to five hits and a walk in 8 1/3 innings. Price became the first pitcher to fan at least 10 in five consecutive starts since Minnesota's Johan Santana in 2004. Kevin Kiermaier drove in two runs for the Rays, who won for only the ninth time in 29 games.

— Jarrod Saltalamacchia (sahl-tah-lah-MAH'-kee-uh) hit a two-run double in a three-run fourth that pushed Miami past Philadelphia 3-2. Henderson Alvarez lowered his ERA to 2.32 by holding the Phillies to one earned run and seven hits over 6 2/3 innings.

— Mat Latos (LAY'-tohs) gave up a run and five hits in seven innings of Cincinnati's 4-1 triumph over the Cubs in Chicago. Jay Bruce had two RBIs and Joey Votto doubled home the go-ahead run.

— Yoenis Cespedes (yoh-EH'-nehs SEHS'-peh-dehs) hit a three-run double to give Oakland a 6-0 lead in the second inning of an 8-5 win over the Mets in New York. Coco Crisp went 3-for-5 with two RBIs and two runs scored as the Athletics earned a split of the two-game series.

— Kole Calhoun hit a two-run double in the second inning to put the Angels ahead to stay in a 6-2 win against Minnesota. The Angels earned their fifth straight win behind the pitching of Garrett Richards, who's 8-2 after limiting the Twins to two runs and four hits over 7 1/3 innings.

— David Ortiz smacked a two-run homer and had three RBIs as Boston beat the Mariners 5-4 in Seattle to end a two-game skid. Daniel Nava (NAH'-vah) had three hits and an RBI for the Red Sox.

— Mark Teixeira (the-SHEHR'-uh) hit a two-run homer and had three RBIs as the New York Yankees beat Toronto 5-3 to avoid a three-game sweep. Jacoby Ellsbury had three hits and Hiroki Kuroda (hih-ROH'-kee kuh-ROH'-duh) pitched into the seventh to help the Yankees end a four-game skid.

— Nelson Cruz launched a game-tying, grand slam in the eighth inning before pinch-runner David Lough scored on a wild pitch by Daniel Webb in the 12th inning to complete Baltimore's comeback in a 5-4 win over the Chicago White Sox. Nick Markakis (mahr-KAY'-kihs) had four hits as the Orioles climbed within 1 ½ games of the AL East-leading Blue Jays.

— Victor Martinez and J.D. Martinez each hit solo homers and collected two RBIs as Detroit outscored Texas 8-6 to complete a three-game sweep and earn its sixth consecutive win. Miguel Cabrera also had two ribbies to back a shaky Anibal (AH'-nih-bahl) Sanchez, who allowed four runs and six hits in 5 1/3 innings.

— Corey Kluber was the star in Cleveland's 6-1 win at Arizona, striking out eight and scattering four hits in seven shutout innings. Yan Gomes (gohmz) and Michael Brantley homered for the Indians, while Michael Bourne went 3-for-4 with two runs scored.