tokens: The dam was holding a full reservoir of 12.4 billion gallons ( 47 billion liters ) of water that surged down San Francisquito Canyon and emptied into the Santa Clara River , flowing down the river valley to the ocean .