PALO ALTO, California (Ticker) -- Julius Barnes and Josh Childress showed no rust for No. 20 Stanford.
Barnes scored 17 points and Childress added 16 as the Cardinal defeated intrastate foe St. Mary's, 76-58, in their first game in more than two weeks.
Stanford (5-1) had not played due to exams since losing to North Carolina, 74-57, in the final of the Preseason NIT on November 29. Barnes and Childress each scored 17 points in the defeat.
In this one, the Cardinal led by just 37-31 at halftime and 45-42 after a dunk by St. Mary's Frederic Adjiwanou with 13:37 to play.
But Stanford countered with a 13-4 run that was capped by a dunk by Barnes, and the Gaels got no closer than seven points down the stretch.
It was Stanford's 18th consecutive non-conference victory at Maples Pavilion. The Cardinal have won 42 of their last 43 non-conference home games and are 100-18 overall here since the 1994-95 season.
Adjiwanou had 16 points off the bench to pace the Gaels (4-3), who were facing the Cardinal for the first time since the 1988-89 campaign.
Tyler Herr chipped in 13 points and Daniel Kickert 11 for St. Mary's, which had won three of its previous four contests. Kickert made all five of his free-throw attempts to extend his streak to 21 consecutive made free throws.
Stanford shot 47 percent (25-of-53), including 44 percent from the arc (7-of-16). St. Mary's was held to 39 percent (18-of-46) overall and an anemic 10.5 percent from 3-point range (2-of-19).
The Cardinal are 30-15 all time against the Gaels.